/* ACTUADVISE — feuille de style */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/jost-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("fonts/cormorant-latin.woff2") format("woff2");
}

:root {  --ink: #14161a;
  --ink-2: #1d2128;
  --text: #2b2f36;
  --muted: #5a606b;
  --line: #e4e1da;
  --paper: #faf8f4;
  --white: #ffffff;
  --gold: #b8924f;
  --gold-dark: #a07c3f;
  --gold-light: #d9b878;
  --on-dark: #c3c8d0;
  --on-dark-2: #a6acb6;
  --line-dark: rgba(255,255,255,.12);
  --radius: 6px;
  --max: 1160px;
  --header: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0; font-weight: 600; }
p, dl, dd, figure { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex-shrink: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--radius); border: 1px solid transparent;
  font: 500 15px/1 "Jost", sans-serif; letter-spacing: .03em;
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn .ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,244,.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(20,22,26,.06); background: rgba(250,248,244,.86); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header); gap: 24px; transition: height .35s cubic-bezier(.16,1,.3,1); }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 52px; width: auto; mix-blend-mode: multiply; transition: height .35s cubic-bezier(.16,1,.3,1); }
.scrolled .nav { height: 62px; }
.scrolled .brand img { height: 40px; }
.nav ul { display: flex; gap: 34px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav ul a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--text); display: inline-flex; align-items: center; gap: 8px; position: relative; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav ul a:hover, .nav ul a.active { color: var(--gold); }
.nav ul a:hover::after, .nav ul a.active::after { transform: scaleX(1); }
.nav .lock { width: 13px; height: 13px; fill: none; stroke: var(--gold); stroke-width: 2; }
.btn-nav { padding: 12px 20px; font-size: 14px; }
.nav-social { margin-right: -10px; display: inline-flex; flex-shrink: 0; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid #cdc6b8; border-radius: 50%; color: var(--ink); transition: color .2s, border-color .2s, background .2s; }
.nav-social svg { width: 15px; height: 15px; fill: currentColor; }
.nav-social:hover { color: var(--gold); border-color: var(--gold); background: rgba(184,146,79,.06); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .menu-btn span:nth-child(2) { opacity: 0; }
.nav.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink);
  color: #d5d8de;
  padding: 104px 0 0;
}
.hero-photo { position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 0; background: url("images/hero-buildings.jpg") center 35% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(20,22,26,.97) 0%, rgba(20,22,26,.88) 42%, rgba(20,22,26,.55) 100%),
    linear-gradient(0deg, var(--ink) 0%, rgba(20,22,26,0) 45%); }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .6; z-index: 1; }
.hero .wrap { position: relative; z-index: 2; }
.announce {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 30px;
  padding: 6px 16px 6px 6px; border: 1px solid rgba(217,184,120,.35); border-radius: 100px;
  font-size: 15px; color: var(--gold-light); text-decoration: none;
  background: rgba(20,22,26,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .2s, border-color .2s;
}
.announce:hover { background: rgba(217,184,120,.14); border-color: var(--gold-light); }
.announce:hover > span:last-child { transform: translateX(3px); }
.announce > span:last-child { transition: transform .2s; }
.announce-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: var(--white); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 100px; }
.announce-tag svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.hero .eyebrow { display: flex; }
.hero h1 { color: var(--white); font-size: clamp(36px, 5.4vw, 64px); font-weight: 600; max-width: 860px; margin: 22px 0 24px; letter-spacing: -.015em; }
.hero h1 em { font-style: normal; color: var(--gold-light); font-weight: 500; }
.hero .announce, .hero .eyebrow, .hero .lead, .hero .ctas { animation: rise .9s cubic-bezier(.16,1,.3,1) both; }
.hero .eyebrow { animation-delay: .08s; }
.hero .lead { animation-delay: .3s; }
.hero .ctas { animation-delay: .45s; }
.hero .facts { animation: fade 1s .6s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.hero .lead { font-size: 19px; max-width: 660px; color: var(--on-dark); }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 38px 0 0; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 96px; border-top: 1px solid var(--line-dark); }
.fact { padding: 30px 24px 34px 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.fact dt { color: var(--white); font-size: 28px; font-weight: 600; line-height: 1.2; }
.fact dd { font-size: 14px; color: var(--on-dark-2); margin-top: 8px; }

/* Sections */
section { padding: 96px 0; }
.section-head { margin-bottom: 44px; }
.section-head h2 { max-width: 760px; }
.section-head h2, .bench h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 16px 0 14px; letter-spacing: -.01em; }
.section-head > p:last-child { color: var(--muted); font-size: 18px; }

/* Expertise : grille 2 × 2 */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px; display: flex; flex-direction: column;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.card:hover { border-color: var(--gold-light); box-shadow: 0 16px 40px rgba(20,22,26,.07); }
.card:hover::before { transform: scaleX(1); }
.card .num { font-size: 14px; font-weight: 600; color: var(--gold); letter-spacing: .1em; }
.card h3 { font-size: 23px; margin: 12px 0 8px; }
.card .sub { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 20px; font-weight: 500; }
.card ul { list-style: none; margin: 0 0 4px; padding: 0; }
.card li { position: relative; padding-left: 20px; margin: 8px 0; }
.card li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 1px; background: var(--gold); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 24px; }
.tags span { font-size: 13px; font-weight: 500; padding: 5px 12px; border: 1px solid var(--line); border-radius: 100px; color: var(--muted); background: var(--paper); transition: border-color .3s, color .3s; }
.card:hover .tags span { border-color: #d8ccb4; color: var(--text); }

/* Modes d'intervention */
.modes {
  padding: 72px 0;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 60px 60px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 60px 60px,
    radial-gradient(800px 300px at 90% 0%, #262b33, var(--ink) 70%);
}
.modes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.modes-grid > div { border-top: 1px solid rgba(217,184,120,.45); padding-top: 22px; }
.modes h3 { font-size: 20px; margin-bottom: 8px; font-weight: 500; color: var(--white); }
.modes p { color: var(--on-dark-2); font-size: 16px; }

/* Secteurs */
.sectors { margin-top: 24px; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.sector { padding: 36px 26px; transition: background .3s; }
.sector + .sector { border-left: 1px solid var(--line); }
.sector svg { width: 30px; height: 30px; stroke: var(--gold); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; transition: transform .3s, stroke .3s; }
.sector h3 { font-size: 18px; font-weight: 500; transition: color .3s; }
.sector h3 span { display: block; }
.sector:hover { background: var(--ink); }
.sector:hover h3 { color: var(--white); }
.sector:hover svg { stroke: var(--gold-light); }
.clients { margin-top: 32px; color: var(--muted); font-size: 17px; }
.clients strong { color: var(--ink); font-weight: 600; }

/* Benchmarks */
.bench { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 10% 0%, #262b33 0%, var(--ink) 65%); color: var(--on-dark); }
.bench h2 { color: var(--white); }
.bench h2 em { font-style: normal; color: var(--gold-light); font-weight: 500; }
.bench-top { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.bench-lead { font-size: 18px; max-width: 540px; }
.bench-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.bench-stats dt { font-size: 32px; font-weight: 600; color: var(--white); line-height: 1.1; }
.bench-stats dd { font-size: 14px; color: var(--on-dark-2); margin-top: 6px; line-height: 1.45; }
.bench-stats dd small { display: block; margin-top: 4px; font-size: 12px; letter-spacing: .08em; color: var(--gold-light); opacity: .8; }

.preview {
  position: relative; border-radius: 10px; overflow: hidden;
  background: #1b1f26; border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 40px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(217,184,120,.08);
}

.pv-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #22272f; border-bottom: 1px solid rgba(255,255,255,.06); }
.pv-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a404a; }
.pv-bar span { margin-left: 12px; font-size: 12px; color: #7d838e; background: #1b1f26; padding: 3px 12px; border-radius: 100px; }
.preview figcaption { margin-left: auto; font-size: 11px; color: #646a75; letter-spacing: .05em; white-space: nowrap; }

/* Aperçu benchmarks : mini-application floutée, onglets en rotation (main.js) */
.bm-app { position: relative; background: #f4f2ee; color: #2b2f36; }
.bm-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px; background: #faf9f6; border-bottom: 1px solid #e6e2da; }
.bm-head img { height: 30px; width: auto; }
.bm-head span { font-size: 11.5px; color: #6b6f77; }
.bm-stage { position: relative; height: 330px; overflow: hidden; }
.bm-slide { position: absolute; inset: 0; padding: 12px 16px 0; opacity: 0; transform: translateX(14px); transition: opacity .55s ease, transform .55s ease; filter: blur(4px); }
.bm-slide.on { opacity: 1; transform: none; }
.bm-crumb { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.bm-title { font-size: 16px; font-weight: 500; color: #1d2026; margin: 3px 0 10px; line-height: 1.25; }
.bm-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.bm-kpi { background: #fff; border-radius: 10px; padding: 8px 11px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.bm-kpi.dark { background: #161719; }
.bm-kpi b { display: block; font-size: 21px; font-weight: 500; color: #1d2026; line-height: 1.15; }
.bm-kpi.dark b { color: var(--white); }
.bm-kpi b small { font-size: 11px; color: var(--gold); margin-left: 2px; }
.bm-kpi p { margin: 1px 0 0; font-size: 9.5px; line-height: 1.3; color: #7a7e86; }
.bm-kpi.dark p { color: #b7bac0; }
.bm-card { background: #fff; border-radius: 10px; padding: 9px 11px 6px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.bm-card h4 { margin: 0 0 4px; font-size: 11.5px; font-weight: 500; color: #1d2026; }
.bm-card svg { display: block; width: 100%; height: 150px; }
.bm-card svg text { font-family: inherit; font-size: 9px; fill: #8a8d93; }
.bm-lock { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: rgba(244,242,238,.15); }
.bm-lock svg { width: 44px; height: 44px; padding: 10px; box-sizing: content-box; border-radius: 50%; border: 1px solid rgba(217,184,120,.6); background: rgba(20,22,26,.82); fill: none; stroke: var(--gold-light); stroke-width: 1.6; margin-bottom: 8px; }
.bm-lock strong { color: #1d2026; font-size: 18px; font-weight: 500; text-shadow: 0 0 12px rgba(255,255,255,.9); }
.bm-nav { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: #faf9f6; border-top: 1px solid #e6e2da; padding: 9px 4px 11px; }
.bm-nav div { text-align: center; font-size: 10.5px; line-height: 1.3; color: #8a8d93; white-space: nowrap; transition: color .3s; }
.bm-nav svg { display: block; margin: 0 auto 3px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bm-nav div.on { color: var(--gold); font-weight: 500; }
.bm-progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; height: 2px; background: rgba(0,0,0,.05); }
.bm-progress i { display: block; height: 100%; width: 0; background: var(--gold); }

.themes { list-style: none; margin: 88px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-dark); }
.themes li { padding: 30px 24px 8px 0; }
.themes li + li { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.t-head { display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; }
.t-ico { width: 26px; height: 26px; fill: none; stroke: var(--gold-light); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; opacity: .85; transition: transform .3s, opacity .3s; }
.themes li:hover .t-ico { opacity: 1; }
.t-num { font-size: 13px; font-weight: 600; color: var(--gold); letter-spacing: .1em; }
.themes h3 { color: var(--white); font-size: 19px; font-weight: 500; margin: 8px 0 8px; }
.themes p { font-size: 15px; color: var(--on-dark-2); }

.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.offer { position: relative; padding: 32px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255,255,255,.02); display: flex; flex-direction: column; transition: border-color .3s, background .3s; }
.offer:hover { border-color: rgba(217,184,120,.45); background: rgba(255,255,255,.04); }
.offer h3 { color: var(--white); font-size: 20px; font-weight: 500; margin-bottom: 10px; }
.offer p { font-size: 15px; color: var(--on-dark-2); margin-bottom: 22px; }
.offer-price { margin-top: auto; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); }
.bench-src { margin-top: 36px; font-size: 13px; color: #7d838e; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: stretch; }
.contact-visual {
  min-height: 260px; padding: 32px 36px; border-radius: var(--radius); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end;
  background:
    linear-gradient(0deg, rgba(20,22,26,.85) 0%, rgba(20,22,26,.45) 55%, rgba(20,22,26,.3) 100%),
    url("images/contact-bureau.jpg") center / cover no-repeat,
    var(--ink);
}
.contact-visual h2 { color: var(--white); font-size: clamp(26px, 2.6vw, 34px); font-weight: 500; letter-spacing: -.01em; margin-bottom: 10px; }
.contact-visual p { color: var(--on-dark); font-size: 17px; max-width: 460px; }
.c-items { display: flex; flex-direction: column; justify-content: center; }
.c-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.c-row:first-child { border-top: 1px solid var(--line); }
.c-key { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.c-val { display: flex; align-items: center; gap: 10px; font-size: 17px; text-align: right; overflow-wrap: anywhere; transition: color .2s; }
.c-in { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.c-arr { color: #c9c4b8; transition: transform .2s, color .2s; }
a.c-row:hover .c-val { color: var(--gold); }
a.c-row:hover .c-arr { transform: translateX(4px); color: var(--gold); }

/* À propos du cabinet */
.about { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.about .section-head { margin-bottom: 0; }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.values li { background: var(--white); padding: 26px 26px; transition: background .3s; }
.values li:hover { background: var(--paper); }
.values h3 { font-size: 19px; font-weight: 500; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.values h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.values p { color: var(--muted); font-size: 15px; }

/* Pied de page */
.site-footer { background: var(--ink); color: var(--on-dark-2); font-size: 15px; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.f-brand img { height: 60px; width: auto; filter: invert(1); margin-bottom: 18px; }
.f-brand { display: flex; flex-direction: column; align-items: center; text-align: center; width: fit-content; max-width: 320px; }
.f-brand p { line-height: 1.6; }
.f-col { display: flex; flex-direction: column; gap: 10px; }
.f-col h2 { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 8px; }
.f-col a { color: var(--on-dark); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; width: fit-content; overflow-wrap: anywhere; transition: color .2s; }
.f-col a:hover { color: var(--gold-light); }
.f-lock { width: 13px; height: 13px; fill: none; stroke: var(--gold-light); stroke-width: 2; }
.f-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--line-dark); font-size: 13px; color: #7d838e; }
.f-bottom button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.f-bottom button:hover { color: var(--gold-light); }

/* Mentions légales */
dialog {
  max-width: 640px; width: calc(100% - 32px); max-height: 85vh; border: 0; border-radius: var(--radius);
  padding: 40px; color: var(--text); line-height: 1.6; background: var(--white);
}
dialog::backdrop { background: rgba(20,22,26,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
dialog h2 { font-size: 26px; margin-bottom: 20px; }
dialog h3 { font-size: 16px; margin: 22px 0 6px; }
dialog p { font-size: 15px; }
dialog .close { position: absolute; top: 14px; right: 16px; background: none; border: 0; font-size: 28px; cursor: pointer; color: var(--muted); line-height: 1; }

/* Page 404 */
.notfound { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 80px 0; }

/* Grands titres en Cormorant Garamond */
.hero h1, .section-head h2, .bench h2, .contact-visual h2 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; letter-spacing: 0; }
.hero h1 { font-size: clamp(42px, 6vw, 74px); line-height: 1.08; }
.section-head h2, .bench h2 { font-size: clamp(36px, 4.2vw, 52px); line-height: 1.1; }
.contact-visual h2 { font-size: clamp(32px, 3.2vw, 42px); }
.swipe-hint { display: none; }

/* Tablette (iPad paysage et portrait) */
@media (max-width: 1020px) {
  .nav ul { gap: 22px; }
  section { padding: 80px 0; }
  .bench-top { grid-template-columns: 1fr; gap: 48px; }
  .preview { max-width: 640px; }
  .themes { grid-template-columns: repeat(3, 1fr); margin-top: 64px; }
  .themes li:nth-child(4) { padding-left: 0; border-left: 0; }
  .themes li:nth-child(n+4) { border-top: 1px solid var(--line-dark); margin-top: 22px; }
  .offers { gap: 16px; margin-top: 48px; }
  .offer { padding: 26px 22px; }
  .footer-grid { gap: 32px; }
}
@media (max-width: 960px) {
  .nav ul { display: none; }
  .menu-btn { display: block; }
  .nav-social { margin-left: auto; }
  .nav.open ul {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 24px 18px;
    box-shadow: 0 16px 30px rgba(20,22,26,.08);
  }
  .nav.open ul a { display: flex; padding: 13px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav.open ul li:last-child a { border-bottom: 0; }
  .nav ul a::after { display: none; }
  .card { padding: 30px 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-layout { grid-template-columns: 1.2fr 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
  .modes-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 40px; }
  .sector { padding: 28px 18px; }
  .sector h3 { font-size: 16px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}

/* Grand smartphone et petite tablette */
@media (max-width: 760px) {
  .sectors { grid-template-columns: 1fr; }
  .sector + .sector { border-left: 0; border-top: 1px solid var(--line); }
  .sector { display: flex; align-items: center; gap: 16px; padding: 18px 20px; }
  .sector svg { margin: 0; flex-shrink: 0; width: 26px; height: 26px; }
  .sector h3 { font-size: 16px; }
  .sector h3 span { display: inline; }
  .contact-layout { grid-template-columns: 1fr; gap: 20px; }
  .offers { grid-template-columns: 1fr; }
}

/* Smartphone : version compacte */
@media (max-width: 640px) {
  :root { --header: 60px; }
  body { font-size: 15px; line-height: 1.6; }
  .wrap { padding: 0 18px; }
  .brand img { height: 40px; }
  .btn-nav { padding: 10px 14px; font-size: 13px; }
  .nav-social { width: 36px; height: 36px; margin-right: -2px; }
  .nav { gap: 10px; }
  .nav.open ul { padding: 4px 18px 14px; }
  .scrolled .nav { height: 54px; }
  .scrolled .brand img { height: 34px; }

  .hero { padding-top: 36px; }
  .hero-photo { background-position: 60% 35%; }
  .announce { font-size: 12px; gap: 8px; margin-bottom: 20px; padding-right: 12px; }
  .announce-tag { font-size: 9.5px; padding: 4px 8px; }
  .hero .eyebrow { font-size: 10.5px; letter-spacing: .1em; gap: 8px; }
  .hero .eyebrow::before { width: 16px; }
  .hero h1 { font-size: 35px; margin: 14px 0 16px; }
  .hero .lead { font-size: 15.5px; }
  .ctas { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 26px; }
  .ctas .btn { justify-content: center; padding: 14px 20px; }
  .facts { margin-top: 40px; }
  .fact { padding: 16px 10px 18px 0; }
  .fact + .fact { padding-left: 14px; }
  .fact:nth-child(3) { padding-left: 0; }
  .fact dt { font-size: 20px; }
  .fact dd { font-size: 12px; margin-top: 4px; }

  section { padding: 56px 0; }
  .section-head { margin-bottom: 24px; }
  .section-head h2, .bench h2 { font-size: 32px; margin: 10px 0 10px; }
  .section-head > p:last-child, .clients, .bench-lead { font-size: 15px; }

  /* Domaines : carrousel horizontal */
  .cards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -18px; padding: 4px 18px 12px; scroll-padding: 0 18px; scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 86%; scroll-snap-align: start; padding: 22px 20px; }
  .card h3 { font-size: 19px; margin: 8px 0 6px; }
  .card .sub { font-size: 11px; margin-bottom: 12px; }
  .card li { font-size: 14.5px; margin: 6px 0; }
  .tags { gap: 6px; padding-top: 16px; }
  .tags span { font-size: 11px; padding: 3px 9px; }
  .swipe-hint { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); text-align: center; letter-spacing: .04em; }

  .modes { padding: 44px 0; }
  .modes-grid { gap: 22px 18px; }
  .modes-grid > div { padding-top: 14px; }
  .modes h3 { font-size: 16px; margin-bottom: 4px; }
  .modes p { font-size: 13.5px; line-height: 1.5; }

  .sector { padding: 15px 18px; }
  .clients { margin-top: 20px; }

  .bench-stats { grid-template-columns: 1fr; gap: 14px; margin-top: 26px; padding-top: 22px; }
  .bench-stats > div { display: flex; align-items: baseline; gap: 14px; }
  .bench-stats dt { font-size: 24px; min-width: 84px; }
  .bench-stats dd { font-size: 13px; margin-top: 0; }
  .bench-top { gap: 36px; }
  .bm-stage { height: 300px; }
  .bm-title { font-size: 14px; }
  .bm-kpi b { font-size: 18px; }
  .bm-card svg { height: 125px; }
  .bm-nav div { font-size: 9px; }
  .bm-nav svg { width: 16px; height: 16px; }
  .themes { grid-template-columns: 1fr; margin-top: 40px; }
  .themes li, .themes li + li, .themes li:nth-child(4) { padding: 16px 0; border-left: 0; margin-top: 0; }
  .themes li + li { border-top: 1px solid var(--line-dark); }
  .themes h3 { font-size: 17px; margin: 4px 0 4px; }
  .themes p { font-size: 14px; }
  .t-ico { width: 22px; height: 22px; }
  .offers { gap: 12px; margin-top: 32px; }
  .offer { padding: 20px 18px; }
  .offer h3 { font-size: 18px; margin-bottom: 6px; }
  .offer p { font-size: 14px; margin-bottom: 14px; }

  .about-grid { gap: 24px; }
  .values { grid-template-columns: 1fr 1fr; }
  .values li { padding: 16px 14px; }
  .values h3 { font-size: 15.5px; gap: 8px; }
  .values h3::before { width: 6px; height: 6px; }
  .values p { font-size: 13px; line-height: 1.5; }

  .contact-visual { min-height: 170px; padding: 22px 20px; }
  .contact-visual h2 { font-size: 28px; margin-bottom: 0; }
  .c-row { padding: 15px 0; flex-direction: column; align-items: flex-start; gap: 4px; }
  .c-val { text-align: left; font-size: 15px; }

  .site-footer { padding-top: 44px; font-size: 14px; }
  .footer-grid { gap: 28px; padding-bottom: 32px; }
  .f-brand { margin: 0 auto; }
  .f-brand img { height: 50px; margin-bottom: 12px; }
  .f-bottom { flex-direction: column; align-items: center; text-align: center; }
  dialog { padding: 30px 22px; }
}
@media (max-width: 360px) {
  .btn-nav { display: none; }
  .values { grid-template-columns: 1fr; }
}

/* Apparitions douces au défilement (si JavaScript actif) */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s cubic-bezier(.16,1,.3,1); }
.js .reveal.in { opacity: 1; transform: none; }
.curve { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.4s .3s cubic-bezier(.4,0,.2,1) forwards; }
.c2 { animation-delay: .5s; }
.c3 { animation-delay: .7s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bm-slide { transition: none; }
}
