/* ============================================================
   EMERITT — Maquette site vitrine · feuille de style partagée
   Thème SOMBRE (anthracite) + or · Montserrat
   + sections « îlot clair » via la classe .light
   ============================================================ */

:root{
  --bg:#191b1e; --bg-2:#20232a; --bg-3:#282c33; --panel:rgba(255,255,255,.045);
  --gold:#C9A15A; --gold-bright:#E7C989; --gold-deep:#9c6f2b;
  --white:#ffffff; --text:#d7d2c8; --muted:#a7a094; --dim:#847e73;
  --line:rgba(255,255,255,.11); --line-gold:rgba(201,161,90,.32);
  /* jeton clairs (pour les sections .light) */
  --l-ink:#1c1d1a; --l-text:#4b4c47; --l-muted:#7b7c74; --l-line:rgba(0,0,0,.10);
  --font:'Montserrat',-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  --container:1200px; --header-h:74px;
  --radius:14px; --radius-sm:8px;
  --shadow:0 20px 50px rgba(0,0,0,.45); --shadow-l:0 18px 44px rgba(30,25,15,.12);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth; scroll-padding-top:calc(var(--header-h) + 10px)}
body{font-family:var(--font); background:var(--bg); color:var(--text); line-height:1.6;
  -webkit-font-smoothing:antialiased; overflow-x:hidden}
img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
h1,h2,h3,h4{color:var(--white); font-weight:800; line-height:1.12; letter-spacing:-.01em}
p{color:var(--text)}
::selection{background:var(--gold); color:#1a1200}

/* ---------- layout helpers ---------- */
.container{width:100%; max-width:var(--container); margin:0 auto; padding:0 24px}
.section{padding:clamp(56px,8vw,104px) 0}
.section--tight{padding:clamp(40px,6vw,72px) 0}
.bg-2{background:var(--bg-2)} .bg-3{background:var(--bg-3)}
.center{text-align:center}
.kicker{display:inline-flex; align-items:center; gap:10px; font-size:12px; font-weight:700;
  letter-spacing:.24em; text-transform:uppercase; color:var(--gold-bright); margin-bottom:16px}
.kicker::before{content:''; width:30px; height:1px; background:var(--gold)}
.center .kicker::before{display:none}
.section-title{font-size:clamp(28px,4.4vw,44px); margin-bottom:18px}
.section-intro{max-width:640px; color:var(--muted); font-size:clamp(15px,1.8vw,17px)}
.center .section-intro{margin-left:auto; margin-right:auto}

/* ---------- buttons ---------- */
.btn{display:inline-flex; align-items:center; gap:9px; font-family:var(--font); font-weight:700;
  font-size:14px; letter-spacing:.02em; padding:13px 26px; border-radius:var(--radius-sm);
  cursor:pointer; border:1px solid transparent; transition:.22s; white-space:nowrap}
.btn svg{width:17px; height:17px; fill:currentColor}
.btn-gold{background:var(--gold); color:#1a1200}
.btn-gold:hover{background:var(--gold-bright); transform:translateY(-2px)}
.btn-ghost{background:transparent; border-color:var(--line-gold); color:var(--white)}
.btn-ghost:hover{border-color:var(--gold); color:var(--gold-bright)}
.btn-lg{padding:16px 32px; font-size:15px}

/* ---------- header / nav ---------- */
.header{position:fixed; top:0; left:0; right:0; z-index:100; height:var(--header-h);
  display:flex; align-items:center; background:rgba(24,26,29,.74); backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line); transition:background .3s}
.header .container{display:flex; align-items:center; justify-content:space-between; gap:20px}
.brand{display:flex; align-items:center; gap:10px; flex:0 0 auto}
.brand img{height:46px; width:auto; filter:drop-shadow(0 0 18px rgba(201,161,90,.4))}
.nav{display:flex; align-items:center; gap:4px}
.nav a{position:relative; padding:9px 12px; font-size:13.5px; font-weight:600; color:var(--text);
  border-radius:6px; transition:.2s; white-space:nowrap}
.nav a:hover{color:var(--gold-bright)}
.nav a.active{color:var(--gold-bright)}
.nav a.active::after{content:''; position:absolute; left:12px; right:12px; bottom:2px; height:2px;
  background:var(--gold); border-radius:2px}
.nav .btn-gold{display:none}
.header-actions{display:flex; align-items:center; gap:12px; flex:0 0 auto}
.lang-mini{display:flex; gap:3px}
.lang-mini a{font-size:11.5px; font-weight:600; color:var(--muted); padding:4px 7px; border:1px solid var(--line);
  border-radius:5px; transition:.2s}
.lang-mini a:hover{color:var(--gold-bright); border-color:var(--gold)}
.lang-mini a.active{background:var(--gold); color:#1a1200; border-color:var(--gold)}
.nav-toggle{display:none; width:44px; height:44px; border:1px solid var(--line); border-radius:8px;
  background:transparent; cursor:pointer; flex-direction:column; gap:5px; align-items:center; justify-content:center}
.nav-toggle span{width:20px; height:2px; background:var(--white); border-radius:2px; transition:.25s}

/* ---------- hero (page) ---------- */
.hero{position:relative; min-height:min(88vh,760px); display:flex; align-items:center;
  padding-top:var(--header-h); overflow:hidden; background:#141619}
.hero__bg{position:absolute; inset:0; z-index:0; background-size:cover; background-position:center;
  filter:brightness(.6) grayscale(.18)}
.hero__bg::after{content:''; position:absolute; inset:0;
  background:linear-gradient(90deg,rgba(20,22,25,.9),rgba(20,22,25,.55) 58%,rgba(20,22,25,.3)),
             linear-gradient(0deg,rgba(25,27,30,.9),transparent 45%)}
.hero__inner{position:relative; z-index:1; max-width:720px; padding:60px 0}
.hero h1{font-size:clamp(38px,6.4vw,68px); margin-bottom:22px}
.hero h1 em{font-style:normal; color:var(--gold-bright)}
.hero__lead{font-size:clamp(16px,2vw,20px); color:#e7e2d7; max-width:620px; margin-bottom:32px}
.hero__cta{display:flex; flex-wrap:wrap; gap:14px}
.pagehero{position:relative; padding:calc(var(--header-h) + 70px) 0 60px; overflow:hidden; background:#141619}
.pagehero__bg{position:absolute; inset:0; z-index:0; background-size:cover; background-position:center;
  filter:brightness(.5) grayscale(.25)}
.pagehero__bg::after{content:''; position:absolute; inset:0;
  background:linear-gradient(90deg,rgba(20,22,25,.9),rgba(20,22,25,.6)),linear-gradient(0deg,rgba(25,27,30,1),transparent 62%)}
.pagehero__inner{position:relative; z-index:1; max-width:800px}
.pagehero h1{font-size:clamp(30px,5vw,52px); margin-bottom:14px}
.pagehero p{color:var(--muted); font-size:clamp(15px,1.8vw,18px); max-width:640px}
.breadcrumb{font-size:12.5px; color:var(--dim); margin-bottom:18px; letter-spacing:.02em}
.breadcrumb a:hover{color:var(--gold-bright)} .breadcrumb .sep{margin:0 8px; color:var(--gold); opacity:.6}

/* ---------- value strip ---------- */
.value{font-size:clamp(20px,3vw,30px); font-weight:600; line-height:1.4; color:var(--white); max-width:900px}
.value b{color:var(--gold-bright); font-weight:700}

/* ---------- cards grid ---------- */
.grid{display:grid; gap:22px}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.card{background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); padding:30px 26px;
  transition:.25s; position:relative; overflow:hidden}
.card:hover{border-color:var(--line-gold); transform:translateY(-4px); box-shadow:var(--shadow)}
.card__ico{width:52px; height:52px; border-radius:12px; display:grid; place-items:center; margin-bottom:18px;
  background:rgba(201,161,90,.1); border:1px solid var(--line-gold)}
.card__ico svg{width:26px; height:26px; fill:none; stroke:var(--gold-bright); stroke-width:1.7}
.card__num{font-size:13px; font-weight:700; color:var(--gold); letter-spacing:.1em; margin-bottom:10px}
.card h3{font-size:19px; margin-bottom:10px}
.card p{font-size:14.5px; color:var(--muted)}
.card__link{display:inline-flex; align-items:center; gap:7px; margin-top:16px; font-size:13px; font-weight:700;
  color:var(--gold-bright); letter-spacing:.02em}
.card__link svg{width:15px; height:15px; fill:currentColor; transition:.2s}
.card:hover .card__link svg{transform:translateX(3px)}

/* ---------- feature list ---------- */
.checks{display:grid; gap:14px; margin-top:8px}
.checks li{list-style:none; display:flex; gap:13px; align-items:flex-start; color:var(--text); font-size:15px}
.checks li svg{flex:0 0 auto; width:22px; height:22px; margin-top:1px; fill:none; stroke:var(--gold-bright); stroke-width:2}
.split{display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(30px,5vw,64px); align-items:center}
.media-frame{border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); position:relative}
.media-frame img{width:100%; height:100%; object-fit:cover; filter:grayscale(.15) brightness(.92)}
.media-frame--tall{aspect-ratio:4/5}

/* ---------- stats ---------- */
.stats{display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center}
.stat .num{font-size:clamp(34px,5vw,52px); font-weight:800; color:var(--white); line-height:1; letter-spacing:-.02em}
.stat .num span{color:var(--gold-bright)}
.stat .lbl{margin-top:10px; font-size:13px; color:var(--muted); letter-spacing:.03em}

/* ---------- sector tags ---------- */
.tags{display:flex; flex-wrap:wrap; gap:11px; justify-content:center}
.tags span{border:1px solid var(--line); border-radius:999px; padding:9px 18px; font-size:13.5px;
  color:var(--text); background:var(--panel); transition:.2s}
.tags span:hover{border-color:var(--gold); color:var(--gold-bright)}

/* ---------- presence ---------- */
.presence{display:grid; grid-template-columns:1fr 1fr; gap:22px}
.presence .card h3{display:flex; align-items:center; gap:10px}
.flag{width:26px; height:18px; border-radius:3px; overflow:hidden; flex:0 0 auto; box-shadow:0 0 0 1px rgba(255,255,255,.15)}
.flag svg{width:100%; height:100%}

/* ---------- CTA band ---------- */
.cta-band{background:linear-gradient(120deg,#241c12,#191b1e); border-top:1px solid var(--line-gold);
  border-bottom:1px solid var(--line-gold)}
.cta-band .inner{display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap}
.cta-band h2{font-size:clamp(24px,3.4vw,36px); max-width:640px}
.cta-band p{color:var(--muted); margin-top:8px}

/* ---------- forms ---------- */
.form{display:grid; gap:16px}
.form .row{display:grid; grid-template-columns:1fr 1fr; gap:16px}
.field{display:flex; flex-direction:column; gap:7px}
.field label{font-size:12.5px; font-weight:600; color:var(--muted); letter-spacing:.02em}
.field input,.field select,.field textarea{background:rgba(255,255,255,.05); border:1px solid var(--line);
  border-radius:8px; color:var(--white); font-family:var(--font); font-size:14.5px; padding:12px 14px; transition:.2s}
.field textarea{min-height:130px; resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{outline:0; border-color:var(--gold)}
.field select{appearance:none}

/* ---------- footer ---------- */
.footer{background:#131518; border-top:1px solid var(--line); padding:64px 0 26px}
.footer__top{display:grid; grid-template-columns:1.4fr 1fr 1fr 1.1fr; gap:40px}
.footer__brand img{height:56px; margin-bottom:16px}
.footer__brand p{color:var(--muted); font-size:14px; max-width:280px}
.footer h4{font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:var(--gold-bright); margin-bottom:18px}
.footer ul{list-style:none; display:grid; gap:11px}
.footer ul a{font-size:14px; color:var(--muted); transition:.2s} .footer ul a:hover{color:var(--gold-bright)}
.footer .contact-line{display:flex; gap:10px; align-items:flex-start; font-size:14px; color:var(--muted); margin-bottom:12px}
.footer .contact-line svg{width:17px; height:17px; fill:var(--gold); flex:0 0 auto; margin-top:2px}
.socials{display:flex; gap:10px; margin-top:18px}
.socials a{width:38px; height:38px; border:1px solid var(--line); border-radius:8px; display:grid; place-items:center; transition:.2s}
.socials a:hover{background:var(--gold); border-color:var(--gold)} .socials svg{width:16px; height:16px; fill:var(--white); transition:.2s}
.socials a:hover svg{fill:#1a1200}
.footer__bottom{margin-top:48px; padding-top:22px; border-top:1px solid var(--line);
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:12.5px; color:var(--dim)}
.footer__bottom a:hover{color:var(--gold-bright)} .footer__bottom .sep{margin:0 8px; opacity:.5}

/* ---------- whatsapp float ---------- */
.wa{position:fixed; right:20px; bottom:24px; z-index:90; width:56px; height:56px; border-radius:50%;
  background:#25D366; display:grid; place-items:center; box-shadow:0 8px 26px rgba(37,211,102,.45);
  transition:transform .2s} .wa:hover{transform:scale(1.08)} .wa svg{width:31px; height:31px; fill:#fff}

/* ---------- reveal on scroll ---------- */
.js .reveal{opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s ease}
.js .reveal.in{opacity:1; transform:none}

/* ============================================================
   SECTIONS « ÎLOT CLAIR » (.light) — fond blanc, texte anthracite
   Utilisé sur : Services, Chiffres, Présence.
   ============================================================ */
.light{background:#ffffff; color:var(--l-text)}
.light h1,.light h2,.light h3,.light h4{color:var(--l-ink)}
.light p{color:var(--l-text)}
.light .kicker{color:var(--gold-deep)}
.light .section-intro{color:var(--l-muted)}
.light .value{color:var(--l-ink)} .light .value b{color:var(--gold-deep)}
.light .card{background:#fff; border-color:var(--l-line); box-shadow:0 6px 20px rgba(30,25,15,.06)}
.light .card:hover{border-color:var(--line-gold); box-shadow:var(--shadow-l)}
.light .card h3{color:var(--l-ink)} .light .card p{color:var(--l-muted)}
.light .card__num,.light .card__link{color:var(--gold-deep)}
.light .card__ico{background:rgba(201,161,90,.12); border-color:var(--line-gold)}
.light .card__ico svg{stroke:var(--gold-deep)}
.light .checks li{color:var(--l-text)} .light .checks li svg{stroke:var(--gold-deep)}
.light .stat .num{color:var(--l-ink)} .light .stat .num span{color:var(--gold-deep)}
.light .stat .lbl{color:var(--l-muted)}
.light .tags span{background:#fff; border-color:var(--l-line); color:var(--l-text); box-shadow:0 5px 16px rgba(30,25,15,.05)}
.light .tags span:hover{border-color:var(--gold); color:var(--gold-deep)}
.light .flag{box-shadow:0 0 0 1px var(--l-line)}
.light .media-frame{border-color:var(--l-line)}
.light .dim, .light [style*="--dim"]{color:var(--l-muted) !important}

/* ======================= responsive ======================= */
@media (max-width:1000px){
  .footer__top{grid-template-columns:1fr 1fr; gap:34px}
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .stats{grid-template-columns:repeat(2,1fr); gap:34px}
}
@media (max-width:860px){
  .nav, .header-actions .lang-mini, .header-actions .btn{display:none}
  .nav-toggle{display:flex}
  .header-actions{gap:10px}
  .nav.open{display:flex; position:fixed; top:var(--header-h); left:0; right:0; flex-direction:column;
    align-items:stretch; gap:2px; background:#1c1e22; border-bottom:1px solid var(--line);
    padding:14px 24px 22px; max-height:calc(100vh - var(--header-h)); overflow:auto}
  .nav.open a{padding:13px 8px; font-size:15px; border-bottom:1px solid var(--line)}
  .nav.open a.active::after{display:none}
  .nav.open .btn-gold{display:inline-flex; justify-content:center; margin-top:12px; border-bottom:0}
  .split, .grid-3, .grid-2, .presence, .cta-band .inner{grid-template-columns:1fr}
  .split .media-frame{order:-1}
  .form .row{grid-template-columns:1fr}
}
@media (max-width:560px){
  .grid-4{grid-template-columns:1fr 1fr} .footer__top{grid-template-columns:1fr}
  .section{padding:52px 0}
  .hero__cta{flex-direction:column; align-items:stretch} .hero__cta .btn{justify-content:center}
}
@media (prefers-reduced-motion:reduce){ .js .reveal{opacity:1; transform:none; transition:none} html{scroll-behavior:auto} }
