/* A propos.css — PROMETI */

:root{
  color-scheme  : light;
  --blue        : #0ea5e9;
  --blue-mid    : #0284c7;
  --blue-deep   : #0369a1;
  --blue-lt     : #f0f9ff;
  --blue-50     : #eff6ff;
  --navy        : #07101e;
  --navy-deep   : #020a16;
  --slate-900   : #0f172a;
  --slate-800   : #1e293b;
  --slate-700   : #334155;
  --slate-600   : #475569;
  --slate-500   : #64748b;
  --slate-400   : #94a3b8;
  --slate-300   : #cbd5e1;
  --slate-200   : #e2e8f0;
  --slate-100   : #f1f5f9;
  --white       : #ffffff;
  --bg          : #f7f9fc;
  --ease        : cubic-bezier(.4,0,.2,1);
  --ease-out    : cubic-bezier(0,0,.2,1);
  --tr          : .26s;
  --shadow-sm   : 0 1px 4px rgba(15,23,42,0.06);
  --shadow-md   : 0 4px 20px rgba(15,23,42,0.08), 0 1px 6px rgba(15,23,42,0.04);
  --shadow-lg   : 0 12px 40px rgba(15,23,42,0.12), 0 4px 12px rgba(15,23,42,0.06);
}

/* ══ RESET ══ */
*{ box-sizing:border-box; margin:0; padding:0; }
button,input,textarea,select{ font-family:inherit; font-size:inherit; }
html{ height:100%; font-size:16px; -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body{
  height:100%; overflow-x:clip;
  font-family:'Inter',ui-sans-serif,system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  color:var(--slate-700);
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
  background:var(--bg);
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; height:auto; display:block; }

.page-bg-gradient{
  position:fixed; top:0; left:0; width:100%; height:100%; z-index:-1;
  background:transparent; pointer-events:none;
}
.container{ width:min(1240px,94%); margin:0 auto; }

/* ══ BOUTONS ══ */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 28px; border-radius:8px; font-weight:700; font-size:14px;
  border:1px solid transparent; cursor:pointer;
  -webkit-appearance:none; -moz-appearance:none; appearance:none;
  -webkit-transition:transform .18s,box-shadow .18s,filter .18s;
  transition:transform .18s,box-shadow .18s,filter .18s; white-space:nowrap;
  line-height:1;
}
.btn:hover{ transform:translateY(-2px); }

/* ── HERO ── */
.hero{
  padding-top:76px; min-height:auto;
  display:flex; align-items:center; justify-content:center;
  position:relative; overflow:hidden;
  background:transparent;
}
.hero-bg,.hero-noise,.hero-deco{ display:none; }
.hero-inner{
  position:relative; width:min(1080px,96%);
  text-align:center; padding:44px 0 36px;
}
.hero-title{
  font-family:'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  font-size:clamp(26px,3.8vw,52px);
  font-weight:900; font-style:normal; line-height:.90;
  letter-spacing:.05em; text-transform:uppercase; color:var(--slate-900);
  text-shadow:none;
}
.section-title-accent{ color:var(--blue-mid); }
.hero-underline{
  width:min(280px,48%); height:3px;
  margin:20px auto 0; border-radius:999px;
  background:linear-gradient(90deg,transparent,#0ea5e9 30%,#3b82f6 50%,#0ea5e9 70%,transparent);
  position:relative; overflow:hidden;
}
@-webkit-keyframes lineShine{ 0%{left:-40%} 50%{left:120%} 100%{left:120%} }
@keyframes lineShine{ 0%{left:-40%} 50%{left:120%} 100%{left:120%} }
.hero-underline::after{
  content:""; position:absolute; top:0; left:-40%; width:40%; height:100%;
  background:linear-gradient(90deg,transparent,rgba(59,130,246,0.70),transparent);
  -webkit-animation:lineShine 3.5s ease-in-out infinite;
  animation:lineShine 3.5s ease-in-out infinite;
}
@keyframes leadFadeUp{
  from{ opacity:0; transform:translateY(10px); }
  to  { opacity:1; transform:translateY(0); }
}
.hero-lead{
  margin:26px auto 0; max-width:none;
  line-height:1.74; font-weight:500;
  color:#7a93ab; font-size:17.5px;
  letter-spacing:.012em;
  white-space:nowrap;
  opacity:0;
  animation:leadFadeUp .55s .12s cubic-bezier(.22,1,.36,1) both;
}
.hero-lead-2{
  margin:8px auto 0; max-width:none;
  line-height:1.74; font-weight:500;
  color:#94a8ba; font-size:17.5px;
  letter-spacing:.01em;
  white-space:nowrap;
  opacity:0;
  animation:leadFadeUp .55s .25s cubic-bezier(.22,1,.36,1) both;
}

/* ══════════════════════════════════════════════════
   MAIN CONTENT — structure générale
══════════════════════════════════════════════════ */
.about{ padding:0; }

.about > .container > .panel{
  padding:46px 0;
  border-bottom:1px solid var(--slate-200);
}
.about > .container > .panel:first-of-type{ padding-top:24px; }
.about > .container > .panel:last-of-type{ border-bottom:none; padding-bottom:28px; }
.about .certif-section{ margin-top:28px; }

.panel{ position:relative; }
.panel::before,.panel::after{ display:none; }

/* ── Eyebrow label de section — sobre, sans badge ── */
.section-eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-size:10.5px; font-weight:800; letter-spacing:.26em; text-transform:uppercase;
  color:var(--blue-mid); margin-bottom:10px;
  background:none; border:none; border-radius:0; padding:0;
}
.section-eyebrow::before{
  content:''; width:20px; height:2px; border-radius:999px;
  background:linear-gradient(90deg,var(--blue),rgba(14,165,233,0.30));
  flex-shrink:0;
}

/* ── Titre de section — Inter 700, élégant et premium ── */
.section-title{
  font-family:'Inter',ui-sans-serif,system-ui,-apple-system,sans-serif;
  font-size:clamp(22px,2.6vw,34px);
  font-weight:700; letter-spacing:-.025em;
  line-height:1.26; color:var(--slate-900);
  text-wrap:balance;
}
.panel-top{ margin-bottom:32px; }

/* Trait accentué sous le titre — animé */
.title-line{
  width:52px; height:3px; border-radius:999px;
  margin:18px 0 0;
  background:linear-gradient(90deg,var(--blue),#38bdf8 50%,rgba(14,165,233,0.30));
  position:relative; overflow:hidden;
}
.title-line::after{
  content:''; position:absolute; top:0; left:-60%; width:50%; height:100%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,0.70),transparent);
  -webkit-animation:lineShine 3s ease-in-out infinite;
  animation:lineShine 3s ease-in-out infinite;
}

/* ── Paragraphes ── */
.panel p{
  line-height:1.82; font-weight:400;
  color:var(--slate-600); font-size:15.5px;
  max-width:760px;
  text-align:justify;
  text-align-last:left;
}

/* ══════════════════════════════════════════════════════════════
   SECTION 1 — QUI SOMMES-NOUS ?
   Layout 50/50 : texte gauche | mosaïque photo droite
══════════════════════════════════════════════════════════════ */
.qui-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:72px;
  align-items:center;
}

/* Texte gauche */
.qui-text .panel p{ max-width:none; }
.qui-text .panel-top{ margin-bottom:28px; }

/* ── Mosaïque à droite ── */
.qui-visual{ position:relative; }

.qui-mosaic{
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-template-rows:250px 200px;
  gap:10px;
  border-radius:18px;
  overflow:hidden;
}

/* Image principale : colonne gauche, pleine hauteur */
.qui-photo:first-child{
  grid-row:1 / 3;
  border-radius:14px 0 0 14px;
}
/* Images secondaires : colonne droite, empilées */
.qui-photo:nth-child(2){ border-radius:0 14px 0 0; }
.qui-photo:nth-child(3){ border-radius:0 0 14px 0; }

.qui-photo{
  overflow:hidden;
  background:var(--slate-200);
}
.qui-photo img{
  width:100%; height:100%;
  object-fit:cover; object-position:center;
  display:block;
  -webkit-transition:-webkit-transform .70s var(--ease);
  transition:transform .70s var(--ease);
  filter:brightness(0.92) saturate(1.08);
  -webkit-transform:translateZ(0); transform:translateZ(0);
  will-change:transform;
}
.qui-photo:hover img{ -webkit-transform:scale(1.04); transform:scale(1.04); }

/* Badge flottant "47+ Projets" — bouton */
.qui-badge{
  appearance:none; -webkit-appearance:none;
  font-family:inherit; cursor:pointer; text-align:left;
  position:absolute;
  bottom:-20px; left:-24px;
  background:#152233;
  border:1px solid rgba(14,165,233,0.36);
  border-radius:16px;
  padding:20px 26px;
  box-shadow:0 28px 64px rgba(2,10,22,0.38), 0 0 0 1px rgba(14,165,233,0.10);
  z-index:3;
  min-width:160px;
  transition:box-shadow .22s, border-color .22s;
}
.qui-badge:hover{
  border-color:rgba(14,165,233,0.65);
  box-shadow:0 28px 64px rgba(2,10,22,0.45), 0 0 0 1px rgba(14,165,233,0.22);
}
.qui-badge-num{
  display:block;
  font-family:'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  font-size:40px; font-weight:900; line-height:1;
  color:var(--blue); letter-spacing:-.02em;
}
.qui-badge-label{
  display:block;
  font-size:10.5px; font-weight:700; letter-spacing:.18em;
  text-transform:uppercase; color:rgba(255,255,255,0.52);
  margin-top:7px;
}

/* Bloc insight (pull quote) */
.insight-block{
  margin-top:28px;
  padding:18px 22px;
  background:rgba(14,165,233,0.05);
  border-left:3px solid var(--blue);
  border-radius:0 8px 8px 0;
}
.insight-block::before,.insight-block::after{ display:none; }
.insight-label{
  display:block; margin-bottom:8px;
  font-size:9.5px; font-weight:800; letter-spacing:.26em;
  text-transform:uppercase; color:var(--blue-mid);
}
.insight-block p{
  font-size:14.5px !important; line-height:1.88; font-weight:400;
  color:var(--blue-deep) !important;
  max-width:none !important;
  text-align:justify;
  text-align-last:left;
}

/* ══════════════════════════════════════════════════════════════
   SECTION 2 — PILIERS STRATÉGIQUES
   4 colonnes horizontales — design corporate haut de gamme
══════════════════════════════════════════════════════════════ */

/* Texte intro de la section */
.vision-intro{
  margin-bottom:52px;
}
.vision-intro p{
  max-width:720px;
  font-size:16px;
  line-height:1.82;
  color:var(--slate-700);
  text-align:justify;
  text-align-last:left;
}

/* Grille 4 colonnes */
.bullets{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-radius:18px;
  overflow:hidden;
  background:var(--white);
  border:1px solid var(--slate-200);
  box-shadow:var(--shadow-md);
}

/* Chaque pilier = colonne */
.bullet{
  padding:30px 26px 34px;
  border-right:1px solid var(--slate-200);
  position:relative;
  overflow:hidden;
  transition:background .24s var(--ease);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-height:200px;
}
.bullet:last-child{ border-right:none; }

/* Barre de couleur animée en haut */
.bullet::before{
  content:'';
  position:absolute;
  top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg,var(--blue),#38bdf8);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .30s var(--ease-out);
}
.bullet::after{ display:none; }
.bullet:hover{ background:var(--blue-lt); }
.bullet:hover::before{ transform:scaleX(1); }

/* Badge numéro — masqué */
.bullet-index{ display:none; }

/* Titre du pilier */
.bullet h3{
  font-family:'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  font-size:18px;
  font-weight:900;
  letter-spacing:.03em;
  line-height:1.22;
  text-transform:uppercase;
  color:var(--slate-900);
  margin:0;
  min-height:2.6em;
  text-wrap:balance;
}
.bullet h3::after{ display:none; }

/* Trait accent sous le titre */
.bullet-rule{
  display:block;
  width:22px; height:2px;
  background:linear-gradient(90deg,var(--blue),#38bdf8);
  border-radius:999px;
  margin:10px 0 14px;
  flex-shrink:0;
  transition:width .28s var(--ease);
}
.bullet:hover .bullet-rule{ width:38px; }

/* Description — left align obligatoire : colonnes trop étroites pour justify */
.bullet p{
  font-size:14px; line-height:1.80; font-weight:400;
  color:var(--slate-600); max-width:none;
  flex:1;
  text-align:left;
}


/* ══════════════════════════════════════════════════════════════
   SECTION 3 — EXPANSION INTERNATIONALE
   4 cards premium en grille 2×2
══════════════════════════════════════════════════════════════ */
.expansion-grid{
  margin-top:36px;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

.expansion-card{
  background:var(--white);
  border:1px solid var(--slate-200);
  border-radius:14px;
  padding:36px 32px 32px;
  position:relative;
  overflow:hidden;
  transition:border-color .24s var(--ease), box-shadow .24s var(--ease), transform .24s var(--ease);
  box-shadow:var(--shadow-sm);
  display:flex;
  flex-direction:column;
}
.expansion-card::before{
  content:'';
  position:absolute;
  top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg,var(--blue),#38bdf8);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .30s var(--ease-out);
}
.expansion-card:hover{
  border-color:rgba(14,165,233,0.28);
  box-shadow:0 10px 36px rgba(14,165,233,0.13), 0 2px 8px rgba(15,23,42,0.06);
  transform:translateY(-3px);
}
.expansion-card:hover::before{ transform:scaleX(1); }

.expansion-title{
  display:flex; align-items:center; gap:10px;
  font-family:'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  font-size:18px; font-weight:800; letter-spacing:.03em;
  text-transform:uppercase; color:var(--slate-900);
  margin-bottom:14px; line-height:1.22;
}
.expansion-title svg{
  width:19px; height:19px; flex-shrink:0;
  stroke:var(--blue); stroke-width:1.8; fill:none;
  stroke-linecap:round; stroke-linejoin:round;
  opacity:.85;
}
.expansion-card .expansion-text{
  font-size:14px; line-height:1.78; color:var(--slate-600);
  font-weight:400;
  text-align:left;
  flex:1;
}

/* Masquer l'ancienne liste */
.list{ display:none; }

/* ══════════════════════════════════════════════════════════════
   SECTION 4 — CAPITAL HUMAIN
   Layout 2 colonnes : texte gauche | photo droite
══════════════════════════════════════════════════════════════ */
.capital-layout{
  display:grid;
  grid-template-columns:1fr 420px;
  gap:64px;
  align-items:center;
}
.capital-text .panel p{ max-width:none; }

/* Photo droite — légèrement descendue */
.capital-visual{ position:relative; padding-top:32px; }
.capital-photo{
  border-radius:16px;
  overflow:hidden;
  background:var(--slate-200);
  box-shadow:var(--shadow-lg);
  aspect-ratio:4/3;
}
.capital-photo img{
  width:100%; height:100%;
  object-fit:cover; object-position:center;
  display:block;
  -webkit-transition:-webkit-transform .70s var(--ease);
  transition:transform .70s var(--ease);
  filter:brightness(0.92) saturate(1.08);
  -webkit-transform:translateZ(0); transform:translateZ(0);
  will-change:transform;
}
.capital-photo:hover img{ -webkit-transform:scale(1.04); transform:scale(1.04); }
.capital-photo-caption{
  margin-top:10px;
  font-size:11.5px; font-weight:600; color:var(--slate-400);
  letter-spacing:.05em; text-align:right;
  padding-right:2px;
}

.atc-badge{
  display:inline-flex; align-items:center; gap:12px;
  margin-top:24px;
  padding:14px 20px;
  background:var(--white);
  border:1px solid var(--slate-200);
  border-radius:12px;
  box-shadow:var(--shadow-sm);
}
.atc-badge-logo{
  font-family:'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  font-size:22px; font-weight:900; letter-spacing:.04em;
  color:var(--blue-mid); line-height:1;
  white-space:nowrap;
  border-right:1px solid var(--slate-200);
  padding-right:12px;
}
.atc-badge-text{ font-size:12.5px; font-weight:600; color:var(--slate-600); line-height:1.40; }
.atc-badge-text strong{ display:block; font-size:13px; font-weight:800; color:var(--slate-900); }

/* ══════════════════════════════════════════════════════════════
   SECTION 5 — ENGAGEMENT & AMBITION
══════════════════════════════════════════════════════════════ */
/* ══ FOOTER ══ */
.footer-bottom{
  position:relative; z-index:1;
  width:min(1260px,92%); margin:0 auto;
  border-top:1px solid rgba(255,255,255,0.20);
  box-shadow:0 -1px 0 rgba(14,165,233,0.10);
  padding:18px 0 22px;
  display:flex; align-items:center; justify-content:center;
}
.footer-copy-text{ font-size:13px; font-weight:600; color:rgba(255,255,255,0.70); letter-spacing:.25px; text-align:center; margin:0; }
.footer-copy-text strong{ color:var(--blue); font-weight:800; }
.footer-copy-text a{ color:rgba(255,255,255,0.70); text-decoration:none; font-weight:600; }
.footer-copy-text a:hover{ color:var(--blue-light); text-decoration:underline; }

/* ══ REVEAL ══ */
.reveal{ opacity:0; -webkit-transform:translateY(28px); transform:translateY(28px); -webkit-transition:opacity .75s var(--ease),-webkit-transform .75s var(--ease); transition:opacity .75s var(--ease),transform .75s var(--ease); }
.reveal.is-visible{ opacity:1; -webkit-transform:translateY(0); transform:translateY(0); }

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width:1100px){
  .qui-layout{ gap:48px; }
  .capital-layout{ grid-template-columns:1fr 340px; gap:44px; }
  .bullets{ grid-template-columns:repeat(2,1fr); }
  .bullet:nth-child(2){ border-right:none; }
  .bullet:nth-child(1),.bullet:nth-child(2){ border-bottom:1px solid var(--slate-200); }
  .bullet:nth-child(3){ border-right:1px solid var(--slate-200); }
}
@media (max-width:980px){
  .nav-links,.btn-contact-nav,.lang-switch{ display:none; }
  .burger{ display:flex; }
  .nav-container{ grid-template-columns:auto 1fr; }
  .qui-layout{ grid-template-columns:1fr; gap:40px; }
  .qui-visual{ max-width:520px; }
  .qui-badge{ left:auto; right:20px; bottom:-12px; }
  .capital-layout{ grid-template-columns:1fr; gap:36px; }
  .capital-visual{ max-width:480px; }
  .expansion-grid{ grid-template-columns:1fr; }
  .engagement-layout{ grid-template-columns:1fr; gap:28px; }
  .about > .container > .panel{ padding:52px 0; }
}
@media (max-width:760px){
  .bullets{ grid-template-columns:1fr; border-radius:14px; }
  .bullet{ border-right:none !important; border-bottom:1px solid var(--slate-200) !important; }
  .bullet:last-child{ border-bottom:none !important; }
  .qui-mosaic{ grid-template-columns:1fr; grid-template-rows:220px 140px 140px; }
  .qui-photo:first-child{ grid-row:auto; border-radius:14px 14px 0 0; }
  .qui-photo:nth-child(2){ border-radius:0; }
  .qui-photo:nth-child(3){ border-radius:0 0 14px 14px; }
}
@media (max-width:768px){
  .hero-lead,.hero-lead-2{ white-space:normal; }
}
@media (max-width:680px){
  .hero-title{ font-size:clamp(28px,7.5vw,42px); }
  .hero-lead{ font-size:15px; }
  .hero-lead-2{ font-size:14.5px; }
  .section-title{ font-size:clamp(22px,5.5vw,30px); }
  .panel p{ font-size:14.5px; }
  .insight-block p{ font-size:14px !important; }
  .about > .container > .panel{ padding:36px 0; }
  .expansion-card{ padding:22px 20px; }
  .bullet{ padding:28px 22px; }
}
@media (max-width:480px){
  .nav-container{ padding:0 16px; }
  .about{ padding:0 0 60px; }
  .hero-inner{ padding:36px 0 24px; }
  .qui-badge{ position:static; display:inline-flex; gap:10px; align-items:baseline;
    margin-top:16px; border-radius:10px; padding:12px 18px; }
  .qui-badge-num{ font-size:28px; }
}

/* ══════════════════════════════════════════════════
   COMPATIBILITÉ CROSS-BROWSER — À PROPOS
   Chrome · Edge · Firefox · Safari
   ══════════════════════════════════════════════════ */

/* 1. color-scheme pour éviter les overrides dark-mode OS */
html { color-scheme: light; }

/* 2. Reset apparence native des boutons et inputs (Safari/iOS/Firefox) */
.btn, button {
  -webkit-appearance: none;
  -moz-appearance:    none;
  appearance:         none;
}

/* 3. text-wrap:balance — fallback pour Firefox < 121 et Safari < 17.4 */
.section-title, .bullet h3 {
  overflow-wrap: break-word;
  word-break: normal;
}
@supports not (text-wrap: balance) {
  .section-title { max-width: 100%; }
  .bullet h3 { max-width: 100%; }
}

/* 4. aspect-ratio — fallback pour Safari < 15 */
@supports not (aspect-ratio: 4/3) {
  .capital-photo { height: 320px; }
}

/* 5. Fallback gap flexbox pour Safari < 14.1 */
.section-eyebrow > * + * { margin-left: 10px; }
@supports (gap: 1px) {
  .section-eyebrow > * + * { margin-left: 0; }
}

/* 6. Hover transforms avec -webkit- pour anciens WebKit */
.expansion-card:hover { -webkit-transform: translateY(-3px); transform: translateY(-3px); }
.btn:hover            { -webkit-transform: translateY(-2px); transform: translateY(-2px); }

/* 7. Transitions cards — ne pas écraser la photo (.qui-photo img a ses propres 0.70s) */
.expansion-card {
  -webkit-transition: border-color .24s cubic-bezier(.4,0,.2,1), box-shadow .24s cubic-bezier(.4,0,.2,1), transform .24s cubic-bezier(.4,0,.2,1);
  transition:         border-color .24s cubic-bezier(.4,0,.2,1), box-shadow .24s cubic-bezier(.4,0,.2,1), transform .24s cubic-bezier(.4,0,.2,1);
}
.bullet {
  -webkit-transition: background .24s cubic-bezier(.4,0,.2,1);
  transition:         background .24s cubic-bezier(.4,0,.2,1);
}
.bullet-rule {
  -webkit-transition: width .28s cubic-bezier(.4,0,.2,1);
  transition:         width .28s cubic-bezier(.4,0,.2,1);
}

/* 8. Scroll fluide iOS sur les zones scrollables */
.about {
  -webkit-overflow-scrolling: touch;
}

/* 9. Cohérence rendu texte cross-browser */
.hero-lead { -webkit-font-smoothing: antialiased; }
.hero-lead-2 { -webkit-font-smoothing: antialiased; }

/* 10. Images — évite le débordement sur Safari */
.qui-photo img,
.capital-photo img {
  max-width: 100%;
  height: 100%;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.about-map-link{
  display:inline-flex; align-items:center; gap:7px;
  margin-top:14px;
  color:var(--blue);
  font-size:12.5px; font-weight:500; letter-spacing:.4px;
  text-decoration:none;
  transition:color .20s;
}
.about-map-link svg{
  width:13px; height:13px; flex-shrink:0;
  stroke:var(--blue);
  transition:transform .20s;
}
.about-map-link:hover{ color:#1565c0; }
.about-map-link:hover svg{ transform:scale(1.15); }

.about-map-line{
  display:block;
  width:48px; height:3px;
  margin-top:14px;
  background:var(--blue);
  border-radius:2px;
  text-decoration:none;
  transition:width .25s ease, background .20s;
}
.about-map-line:hover{
  width:72px;
  background:#1565c0;
}

.about-p1-map-link{
  color:var(--blue);
  text-decoration:none;
  border-bottom:1.5px solid var(--blue);
  padding-bottom:1px;
  transition:color .20s, border-color .20s;
}
.about-p1-map-link:hover{
  color:#1565c0;
  border-color:#1565c0;
}

/* ══════════════════════════════════════════════
   FICHE TECHNIQUE — premium
══════════════════════════════════════════════ */
.fiche-section{
  background:linear-gradient(135deg,#061322 0%,#0b2044 50%,#061322 100%);
  padding:40px 0 48px;
  position:relative; overflow:hidden;
}
.fiche-section::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(ellipse 70% 80% at 20% 50%, rgba(14,165,233,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 82% 78%, rgba(59,130,246,0.06) 0%, transparent 60%);
}
.fiche-inner{
  width:min(1240px,94%); margin:0 auto; position:relative; z-index:1;
}

/* ── Grille principale : texte | séparateur | livre ── */
.fiche-content{
  display:grid;
  grid-template-columns: 1.3fr 72px 0.7fr;
  gap:0;
  align-items:center;
}

/* ══ COLONNE TEXTE ══ */
.fiche-text-col{
  display:flex; flex-direction:column; align-items:flex-start;
  padding-right:48px; padding-left:0;
  transform:translateZ(0);
  will-change:auto;
}

.fiche-eyebrow{
  display:inline-flex; align-items:center; gap:12px;
  font-family:'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  font-size:12px; font-weight:700; letter-spacing:.26em; text-transform:uppercase;
  color:#7dd3fc; margin-bottom:12px;
}
.fiche-eyebrow::before{
  content:""; display:block; width:24px; height:2px;
  background:linear-gradient(90deg,#0ea5e9,#38bdf8);
  border-radius:1px; flex-shrink:0;
}

.fiche-title{
  font-family:'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  font-size:clamp(30px,3.8vw,46px); font-weight:900;
  text-transform:uppercase; letter-spacing:.04em;
  color:#ffffff; line-height:.95; margin:0;
}
.fiche-rule{
  width:clamp(180px,16vw,280px); height:2px;
  margin:8px 0 26px;
  align-self:flex-start;
  background:linear-gradient(90deg, #0ea5e9 0%, #3b82f6 55%, transparent 100%);
  border-radius:2px;
  position:relative;
}
.fiche-rule::before{
  content:""; position:absolute; left:0; top:50%;
  transform:translateY(-50%);
  width:5px; height:5px; border-radius:50%;
  background:#0ea5e9;
  box-shadow:0 0 8px 3px rgba(14,165,233,0.55);
}
.fiche-rule::after{ display:none; }
.fiche-desc{
  font-size:15px; color:rgba(255,255,255,0.72);
  line-height:1.85; margin:0 0 28px; max-width:500px;
  text-align:justify;
  hyphens:auto; -webkit-hyphens:auto;
}

/* Bouton premium */
.fiche-dl-btn{
  display:inline-flex; align-items:center; gap:0;
  align-self:flex-start;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.12);
  color:#ffffff;
  text-decoration:none; border-radius:14px;
  overflow:hidden;
  transition:border-color .28s, background .28s, transform .28s, box-shadow .28s;
  box-shadow:0 4px 24px rgba(0,0,0,0.28);
}
.fiche-dl-btn:hover{
  border-color:rgba(14,165,233,0.48);
  background:rgba(14,165,233,0.09);
  transform:translateY(-3px);
  box-shadow:0 12px 40px rgba(14,165,233,0.22);
}
.fiche-dl-btn-icon{
  display:flex; align-items:center; justify-content:center;
  width:56px; height:56px; flex-shrink:0;
  background:linear-gradient(135deg,#0284c7,#0ea5e9);
  transition:background .28s;
}
.fiche-dl-btn:hover .fiche-dl-btn-icon{ background:linear-gradient(135deg,#0369a1,#0284c7); }
.fiche-dl-btn-icon svg{ width:19px; height:19px; stroke:#ffffff; flex-shrink:0; }
.fiche-dl-btn-meta{
  display:flex; flex-direction:column; gap:3px;
  padding:0 28px;
}
.fiche-dl-btn-label{ font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:#ffffff; }
.fiche-dl-btn-sub{ font-size:10.5px; font-weight:500; letter-spacing:.05em; color:rgba(255,255,255,0.38); text-transform:none; }

/* ══ SÉPARATEUR VERTICAL — style premium ══ */
.fiche-divider{
  align-self:stretch;
  display:flex; align-items:center; justify-content:center;
  position:relative;
}
/* Ligne principale */
.fiche-divider::before{
  content:"";
  position:absolute; top:0; bottom:0; left:50%;
  transform:translateX(-50%);
  width:1px;
  background:linear-gradient(180deg,
    transparent 0%,
    rgba(62,132,186,0.12) 6%,
    rgba(62,132,186,0.45) 30%,
    rgba(62,132,186,0.70) 50%,
    rgba(62,132,186,0.45) 70%,
    rgba(62,132,186,0.12) 94%,
    transparent 100%
  );
}
.fiche-divider::after{ display:none; }
/* Aucun élément central — ligne seule */
.fiche-div-dot{ display:none; }

/* ══ COLONNE VISUELLE ══ */
.fiche-visual-col{
  display:flex; justify-content:center; align-items:center;
  padding-left:24px;
}

/* ── Couverture document ── */
.fiche-cover{
  width:215px;
  aspect-ratio:210/297;
  position:relative;
  display:flex; flex-direction:column;
  border-radius:11px; overflow:hidden;
  box-shadow:
    0 48px 96px rgba(0,0,0,0.68),
    0 12px 32px rgba(14,165,233,0.16),
    0 0 0 1px rgba(255,255,255,0.09);
  transform:rotate(2.5deg);
  transition:transform .38s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow .38s ease;
  will-change:transform;
  flex-shrink:0;
}
.fiche-cover:hover{
  transform:rotate(0deg) translateY(-7px);
  box-shadow:0 64px 112px rgba(0,0,0,0.55), 0 20px 48px rgba(14,165,233,0.24);
}

/* ── En-tête masqué ── */
.fiche-cover-top{
  display:none;
}
.fiche-doc-logo{
  width:82%; height:auto;
  object-fit:contain; display:block;
  image-rendering:-webkit-optimize-contrast;
  image-rendering:crisp-edges;
  filter:brightness(1.08) contrast(1.15) saturate(1.12);
}
.fiche-cover-top-sub{ display:none; }
.fiche-cover-accent{ display:none; }

/* ── Corps : photo Stade Moulay Hassan + overlay navbar ── */
.fiche-cover-body{
  position:relative; z-index:2;
  flex:1; overflow:hidden;
  padding:18px 16px 16px;
  display:flex; flex-direction:column; justify-content:flex-end;
}
/* Photo stade en fond — nette et lumineuse */
.fiche-cover-body::before{
  content:""; position:absolute; inset:0; z-index:0;
  background:url('Projet_realisation/Stade Moulay hassan.webp') center 35%/cover no-repeat;
  filter:brightness(1.50) contrast(1.18) saturate(1.30);
}
/* Overlay bleu navbar pour lisibilité texte */
.fiche-cover-body::after{
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(170deg,
    rgba(46,108,160,0.42) 0%,
    rgba(34,88,136,0.38) 40%,
    rgba(10,28,60,0.72)  100%
  );
}
.fiche-cover-body > *{ position:relative; z-index:2; }

.fiche-cover-rule{
  width:28px; height:2.5px; margin-bottom:11px;
  background:rgba(255,255,255,0.82); border-radius:2px;
}
.fiche-cover-label{
  font-family:'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  font-size:21px; font-weight:900; letter-spacing:.06em;
  text-transform:uppercase; color:#ffffff; line-height:1.06;
}
.fiche-cover-sub{
  font-family:'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  font-size:8px; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:rgba(255,255,255,0.92); margin-top:8px; line-height:1.6;
  text-shadow:0 1px 6px rgba(0,0,0,0.70);
}

/* ── Bande basse ── */
.fiche-cover-footer{
  position:relative; z-index:2;
  background:#1a3a5c;
  padding:9px 16px 8px;
  display:flex; align-items:center; justify-content:space-between;
}
.fiche-cover-footer-lines{ display:flex; flex-direction:column; gap:3px; }
.fiche-cover-footer-lines span{ display:block; border-radius:1px; }
.fiche-cover-footer-lines span:nth-child(1){ width:40px; height:2.5px; background:rgba(255,255,255,0.55); }
.fiche-cover-footer-lines span:nth-child(2){ width:25px; height:2px; background:rgba(255,255,255,0.25); }
.fiche-cover-year{
  font-family:'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  font-size:9px; font-weight:700; letter-spacing:.16em;
  color:#ffffff; text-transform:uppercase;
}

/* Badge PDF */
.fiche-doc-badge{
  position:absolute; top:0; right:16px; z-index:4;
  background:linear-gradient(135deg,#ef4444,#dc2626);
  color:#fff; font-size:8.5px; font-weight:900; letter-spacing:.18em;
  padding:4px 10px 3px; border-radius:0 0 7px 7px;
  box-shadow:0 4px 14px rgba(220,38,38,0.45);
}

/* ══ RESPONSIVE ══ */
@media(max-width:900px){
  .fiche-content{ grid-template-columns:1fr; gap:52px; }
  .fiche-divider{ display:none; }
  .fiche-text-col{ padding-right:0; align-items:flex-start; }
  .fiche-visual-col{ padding-left:0; justify-content:flex-start; }
  .fiche-cover{ transform:rotate(0); }
}
@media(max-width:540px){
  .fiche-section{ padding:48px 0 56px; }
  .fiche-dl-btn{ align-self:stretch; }
  .fiche-cover{ width:185px; }
}

/* ══════════════════════════════════════════════════
   VISIONNEUSE CERTIFICATS (PDF.js)
   ══════════════════════════════════════════════════ */

.certif-modal{
  position:fixed; inset:0; z-index:9500;
  display:flex; align-items:center; justify-content:center;
  pointer-events:none; opacity:0;
  transition:opacity .28s ease;
}
.certif-modal.certif-modal-open{
  pointer-events:auto; opacity:1;
}

.certif-modal-backdrop{
  position:absolute; inset:0;
  background:rgba(4,10,24,0.78);
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
  cursor:pointer;
}

.certif-modal-box{
  position:relative; z-index:1;
  width:min(860px,96vw);
  max-height:92vh;
  background:#ffffff;
  border-radius:18px;
  box-shadow:0 40px 100px rgba(0,0,0,0.40), 0 0 0 1px rgba(255,255,255,0.06);
  display:flex; flex-direction:column; overflow:hidden;
  transform:scale(.95) translateY(20px);
  transition:transform .32s cubic-bezier(.22,1,.36,1);
}
.certif-modal.certif-modal-open .certif-modal-box{
  transform:scale(1) translateY(0);
}

/* En-tête */
.certif-modal-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:20px 28px 18px;
  border-bottom:1px solid #e9eef5;
  flex-shrink:0;
  background:#ffffff;
}
.certif-modal-title{
  font-family:'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  font-size:17px; font-weight:800;
  letter-spacing:.06em; text-transform:uppercase;
  color:#0f172a;
}
.certif-modal-close{
  display:flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:9px;
  border:1px solid #e2e8f0; background:#fff; cursor:pointer;
  color:#64748b;
  transition:background .18s ease, color .18s ease, border-color .18s ease;
  flex-shrink:0;
}
.certif-modal-close:hover{ background:#f1f5f9; color:#0f172a; border-color:#94a3b8; }
.certif-modal-close svg{ width:18px; height:18px; }

/* Zone de visualisation */
.certif-modal-viewer{
  flex:1; overflow-y:auto; overflow-x:hidden;
  display:flex; align-items:flex-start; justify-content:center;
  padding:28px 24px;
  background:#f1f5f9;
  position:relative;
  min-height:320px;
}
.certif-modal-viewer canvas{
  display:none;
  max-width:100%;
  border-radius:6px;
  box-shadow:0 8px 32px rgba(0,0,0,0.18);
  user-select:none;
  -webkit-user-select:none;
}

/* Loader */
.certif-loader{
  position:absolute; inset:0;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  gap:14px;
  color:#64748b; font-size:14px; font-weight:500;
}
.certif-spinner{
  width:36px; height:36px; border-radius:50%;
  border:3px solid #e2e8f0;
  border-top-color:#0ea5e9;
  animation:certifSpin .8s linear infinite;
}
@keyframes certifSpin{ to{ transform:rotate(360deg); } }

/* Navigation */
.certif-modal-nav{
  display:flex; align-items:center; justify-content:center;
  gap:20px;
  padding:14px 24px 18px;
  border-top:1px solid #e9eef5;
  background:#ffffff;
  flex-shrink:0;
}
.certif-nav-btn{
  display:flex; align-items:center; justify-content:center;
  width:38px; height:38px; border-radius:9px;
  border:1.5px solid #e2e8f0; background:#fff; cursor:pointer;
  color:#334155;
  transition:background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.certif-nav-btn:hover:not(:disabled){
  background:#f0f9ff; border-color:#38bdf8; color:#0284c7;
  transform:translateY(-1px);
}
.certif-nav-btn:disabled{ opacity:.35; cursor:default; }
.certif-nav-btn svg{ width:18px; height:18px; }
.certif-page-info{
  font-family:'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  font-size:15px; font-weight:700; letter-spacing:.04em;
  color:#334155; min-width:72px; text-align:center;
}

@media(max-width:560px){
  .certif-modal{ align-items:flex-end; }
  .certif-modal-box{
    width:100%; max-height:92dvh;
    border-radius:16px 16px 0 0;
  }
  .certif-modal-header{ padding:14px 16px 12px; }
  .certif-modal-title{ font-size:14px; }
  .certif-modal-viewer{ padding:12px 10px; min-height:240px; }
  .certif-modal-nav{ padding:10px 14px 14px; gap:12px; }
  .certif-page-info{ font-size:13px; min-width:56px; }
}
