/* =========================================================
   ACF — Accompagnement Conseil & Formation
   Feuille de style principale
   ========================================================= */

:root{
  --navy: #0B1B33;
  --navy-2: #132A4C;
  --white: #FFFFFF;
  --grey-light: #F5F6F8;
  --grey-line: #E4E7EC;
  --anthracite: #2B2F36;
  --text-muted: #6B7280;
  --gold: #B08D4F;
  --gold-light: #CDA96A;
  --shadow: 0 20px 45px rgba(11,27,51,0.08);
  --radius: 2px;
  --container: 1140px;
}

*,*::before,*::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin:0;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: var(--anthracite);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4{
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 16px 0;
  font-weight: 600;
}

h1{ font-size: clamp(2rem, 4vw, 3rem); }
h2{ font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3{ font-size: 1.3rem; }
h4{ font-size: 1.05rem; }

p{ margin: 0 0 16px 0; color: var(--anthracite); }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
img{ max-width:100%; display:block; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow{
  display:inline-block;
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}

.rule{
  width: 46px;
  height: 2px;
  background: var(--gold);
  margin: 18px 0 26px 0;
  border:none;
}
.rule.center{ margin-left:auto; margin-right:auto; }

.lead{
  font-size: 1.08rem;
  color: #4A5160;
  max-width: 640px;
}

.section{ padding: 90px 0; }
.section.tight{ padding: 60px 0; }
.section.grey{ background: var(--grey-light); }
.section.navy{ background: var(--navy); color: #fff; }
.section.navy h2, .section.navy h3{ color: #fff; }
.section.navy p{ color: #C4CBD9; }

.text-center{ text-align:center; }

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 14px 30px;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all .25s ease;
  border: 1px solid transparent;
  cursor:pointer;
}
.btn-primary{
  background: var(--navy);
  color: #fff !important;
  border-color: var(--navy);
}
.btn-primary:hover{ background: var(--navy-2); }
.btn-gold{
  background: var(--gold);
  color: #fff !important;
  border-color: var(--gold);
}
.btn-gold:hover{ background: #9c7a41; }
.btn-outline{
  background: transparent;
  color: var(--white) !important;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover{ border-color: #fff; }
.btn-outline-navy{
  background: transparent;
  color: var(--navy) !important;
  border-color: var(--navy);
}
.btn-outline-navy:hover{ background: var(--navy); color:#fff !important; }

/* ---------------- Header / Nav ---------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--grey-line);
}
.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height: 82px;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  letter-spacing: 4px;
  color: var(--navy);
}
.brand span{ color: var(--gold); }
.brand-logo{ height: 30px; width:auto; display:block; }
.brand-logo-round{ height: 46px; width:46px; display:block; border-radius:50%; flex-shrink:0; }
.brand-name{
  font-family:'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  letter-spacing: 3px;
  color: var(--navy);
  font-weight:600;
}
.brand small{
  display:none;
  font-family:'Inter',sans-serif;
  font-size: 0.55rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  border-left: 1px solid var(--grey-line);
  padding-left: 12px;
  max-width: 90px;
  line-height: 1.4;
}
@media (min-width: 1300px){
  .brand small{ display:block; }
}

.main-nav{ display:flex; align-items:center; gap: 2px; }
.main-nav ul{ display:flex; align-items:center; gap: 0; }
.main-nav > ul > li{ position:relative; }
.main-nav a{
  display:block;
  padding: 10px 11px;
  font-size: 0.78rem;
  letter-spacing: 0.2px;
  color: var(--anthracite);
  font-weight: 500;
  white-space: nowrap;
  transition: color .2s ease;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a{ color: var(--gold); }

.has-dropdown .dropdown{
  position:absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--grey-line);
  box-shadow: var(--shadow);
  padding: 10px;
  opacity:0;
  visibility:hidden;
  transform: translateY(6px);
  transition: all .2s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown{
  opacity:1; visibility:visible; transform:none;
}
.dropdown a{
  padding: 10px 12px;
  border-radius: 2px;
  font-size:0.82rem;
}
.dropdown a:hover{ background: var(--grey-light); }

.nav-cta{ margin-left: 10px; }

.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding: 6px;
}
.nav-toggle span{
  width: 24px; height: 2px; background: var(--navy);
}

/* ---------------- Hero ---------------- */
.hero{
  position:relative;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-2) 60%, #0E2140 100%);
  color:#fff;
  padding: 130px 0 110px 0;
  overflow:hidden;
}
.hero::after{
  content:"";
  position:absolute;
  right:-120px; top:-120px;
  width: 420px; height:420px;
  border:1px solid rgba(205,169,106,0.18);
  border-radius:50%;
}
.hero::before{
  content:"";
  position:absolute;
  right:20px; top:60px;
  width: 300px; height:300px;
  border:1px solid rgba(205,169,106,0.14);
  border-radius:50%;
}
.hero-inner{ position:relative; z-index:2; max-width: 680px; }
.hero .eyebrow{ color: var(--gold-light); }
.hero h1{ color:#fff; }
.hero p.lead{ color:#C4CBD9; }
.hero-cta{ display:flex; gap:16px; margin-top: 32px; flex-wrap:wrap; }

.hero-figures{
  position:relative; z-index:2;
  display:flex; gap: 48px; margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 28px;
  flex-wrap:wrap;
}
.hero-figures .fig .n{ font-family:'Playfair Display',serif; font-size:2rem; color:#fff; }
.hero-figures .fig .n span{ color: var(--gold-light); }
.hero-figures .fig .l{ font-size:0.72rem; letter-spacing:1.5px; text-transform:uppercase; color:#93A0B8; margin-top:4px; }

.page-hero{
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-2) 100%);
  color:#fff;
  padding: 88px 0 64px 0;
}
.page-hero .eyebrow{ color: var(--gold-light); }
.page-hero h1{ color:#fff; max-width: 760px; }
.page-hero p.lead{ color:#C4CBD9; max-width: 620px; }
.breadcrumb{
  font-size:0.72rem; letter-spacing:1.5px; text-transform:uppercase;
  color:#93A0B8; margin-bottom:18px;
}
.breadcrumb a{ color:#93A0B8; }
.breadcrumb a:hover{ color: var(--gold-light); }

/* ---------------- Cards / Grids ---------------- */
.grid{ display:grid; gap: 30px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }

.card{
  background:#fff;
  border: 1px solid var(--grey-line);
  padding: 34px 28px;
  transition: box-shadow .25s ease, transform .25s ease;
}
.card:hover{ box-shadow: var(--shadow); transform: translateY(-3px); }
.card .num{
  font-family:'Playfair Display',serif;
  font-size:1.8rem;
  color: var(--navy);
  opacity:.2;
  font-weight:700;
  margin-bottom:10px;
}
.card h3{ margin-bottom:10px; }
.card p{ font-size:0.92rem; color: var(--text-muted); margin-bottom:0; }
.card.gold-top{ border-top: 3px solid var(--gold); }

.icon-tile{
  width:52px; height:52px;
  border: 1px solid var(--gold);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 18px;
  color: var(--gold);
}
.icon-tile svg{ width:24px; height:24px; stroke: var(--gold); }

.list-check{ margin-top: 6px; }
.list-check li{
  position:relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size:0.95rem;
  color: var(--anthracite);
}
.list-check li::before{
  content:"—";
  position:absolute; left:0; color: var(--gold); font-weight:700;
}

.tag-grid{ display:flex; flex-wrap:wrap; gap:10px; margin-top: 18px; }
.tag-grid span{
  font-size:0.82rem;
  border:1px solid var(--grey-line);
  padding: 9px 18px;
  border-radius: 30px;
  color: var(--anthracite);
  background:#fff;
  transition: all .2s ease;
}
.tag-grid span:hover{ border-color: var(--gold); color: var(--gold); }

.step-list{ counter-reset: step; margin-top: 40px; }
.step{
  display:flex;
  gap: 26px;
  padding: 28px 0;
  border-bottom: 1px solid var(--grey-line);
  align-items:flex-start;
}
.step:last-child{ border-bottom:none; }
.step .step-num{
  font-family:'Playfair Display',serif;
  font-size: 2rem;
  color: var(--gold);
  min-width: 60px;
  opacity:.85;
}
.step h3{ margin-bottom:6px; }
.step p{ color: var(--text-muted); margin-bottom:0; max-width: 560px; }

.quote-block{
  background: var(--navy);
  color:#fff;
  padding: 40px 48px;
  position:relative;
  margin: 10px 0;
}
.quote-block::before{
  content:"";
  position:absolute; left:0; top:0; bottom:0; width:4px; background: var(--gold);
}
.quote-block p{
  font-family:'Playfair Display',serif;
  font-style:italic;
  font-size: 1.25rem;
  color:#E7EAF0;
  margin-bottom:10px;
}
.quote-block cite{ font-size:0.8rem; color: var(--gold-light); font-style:normal; letter-spacing:1px; text-transform:uppercase; }

.value-row{
  display:flex; gap:16px; align-items:flex-start;
  padding: 22px 0;
  border-bottom:1px solid var(--grey-line);
}
.value-row:last-child{ border-bottom:none; }
.value-row .v-num{ font-family:'Playfair Display',serif; color: var(--gold); font-size:1.1rem; min-width:34px; }

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items:center;
}
.media-block{
  background: var(--grey-light);
  border: 1px solid var(--grey-line);
  aspect-ratio: 4/3;
  display:flex;
  align-items:center;
  justify-content:center;
  color: #9AA3B2;
  font-size: 0.78rem;
  letter-spacing:1.5px;
  text-transform:uppercase;
  text-align:center;
  padding: 20px;
  position:relative;
}
.media-block::before{
  content:"";
  position:absolute; inset:14px;
  border: 1px solid var(--grey-line);
}
.media-block span{ position:relative; z-index:1; background:var(--grey-light); padding: 0 10px;}

.media-photo{ position:relative; }
.media-photo img{
  width:100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display:block;
  box-shadow: var(--shadow);
  position:relative;
  z-index:1;
}
.media-photo::before{
  content:"";
  position:absolute;
  right:-16px; bottom:-16px;
  width:90px; height:90px;
  border-right: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  z-index:0;
}
.media-photo-left::before{
  right:auto; left:-16px;
  border-right:none;
  border-left: 3px solid var(--gold);
}
@media (max-width: 640px){
  .media-photo::before{ width:50px; height:50px; right:-8px; bottom:-8px; }
  .media-photo-left::before{ right:auto; left:-8px; }
}

.cta-band{
  background: var(--navy);
  color:#fff;
  padding: 70px 0;
  text-align:center;
}
.cta-band h2{ color:#fff; }
.cta-band p{ color:#C4CBD9; max-width:560px; margin-left:auto; margin-right:auto; }
.cta-band .hero-cta{ justify-content:center; }

/* ---------------- Reveal animation ---------------- */
.js .reveal{
  opacity:0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.js .reveal.is-visible{ opacity:1; transform:none; }

/* ---------------- Footer ---------------- */
.site-footer{
  background: var(--navy);
  color:#C4CBD9;
  padding: 70px 0 26px 0;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h4{ color:#fff; font-family:'Inter',sans-serif; font-size:0.78rem; letter-spacing:2px; text-transform:uppercase; margin-bottom:18px; font-weight:600; }
.footer-grid p{ font-size:0.85rem; color:#93A0B8; }
.footer-grid ul li{ margin-bottom:10px; }
.footer-grid a{ font-size:0.85rem; color:#C4CBD9; }
.footer-grid a:hover{ color: var(--gold-light); }
.footer-brand{ display:flex; align-items:center; gap:14px; margin-bottom:16px;}
.footer-logo-round{ height: 52px; width:52px; display:block; border-radius:50%; }
.footer-brand-name{
  font-family:'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  letter-spacing: 3px;
  color:#fff;
}
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top: 24px; font-size:0.75rem; color:#7C879C; flex-wrap:wrap; gap:10px;
}
.footer-bottom a{ color:#7C879C; }
.footer-bottom a:hover{ color: var(--gold-light); }
.social-links{ display:flex; gap:14px; }

/* ---------------- Contact page ---------------- */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info .item{ margin-bottom: 26px; }
.contact-info .lbl{ font-size:0.72rem; letter-spacing:2px; text-transform:uppercase; color: var(--gold); font-weight:700; margin-bottom:6px; display:block;}
form.contact-form{ display:flex; flex-direction:column; gap:16px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.contact-form label{ font-size:0.75rem; letter-spacing:1px; text-transform:uppercase; color: var(--text-muted); margin-bottom:6px; display:block; }
.contact-form input, .contact-form textarea, .contact-form select{
  width:100%;
  border: 1px solid var(--grey-line);
  padding: 13px 14px;
  font-family:'Inter',sans-serif;
  font-size:0.92rem;
  border-radius: var(--radius);
  background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus{ outline:none; border-color: var(--gold); }
.contact-form textarea{ resize:vertical; min-height:120px; }
.form-note{ font-size:0.78rem; color: var(--text-muted); }
.form-note a{ color: var(--gold); text-decoration:underline; }
.hidden-field{ position:absolute; left:-9999px; top:-9999px; height:0; width:0; overflow:hidden; }
.form-assurance{
  background: var(--grey-light);
  border-left: 3px solid var(--gold);
  padding: 16px 18px;
  margin: 4px 0 4px 0;
}
.form-assurance li{ font-size:0.85rem; margin-bottom:8px; }
.form-assurance li:last-child{ margin-bottom:0; }

/* ---------------- Legal page ---------------- */
.legal-section{ padding: 50px 0; border-bottom:1px solid var(--grey-line); }
.legal-section:last-of-type{ border-bottom:none; }
.legal-section h2{ margin-bottom:18px; }
.legal-section h3{ margin-top:24px; }
.legal-section p, .legal-section li{ color:#4A5160; font-size:0.95rem; }
.lega