/* ==========================================================================
   AMEC Conseils — maquette V1 (L'Atelier Numéro Treize, nov. 2026)
   Couleurs issues du logo : marine #21327E · cyan #0799E0
   ========================================================================== */

:root {
  --ink: #070D2B;          /* fond profond, dérivé du marine */
  --ink-2: #0C1540;
  --navy: #21327E;         /* logo */
  --navy-2: #2B3F96;
  --cyan: #0799E0;         /* logo */
  --cyan-soft: #5CC4F5;
  --ice: #E9F4FC;
  --paper: #F6F8FC;
  --white: #FFFFFF;
  --text: #0E1638;
  --muted: #5A6487;
  --line: rgba(255,255,255,.12);
  --line-dark: rgba(14,22,56,.12);

  --f-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  --r: 22px;
  --wrap: 1240px;
  --ease: cubic-bezier(.2,.7,.1,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--cyan); color: var(--white); }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.cyan { color: var(--cyan); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--cyan-soft);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.light .eyebrow { color: var(--cyan); }

h1, h2, h3 { font-weight: 700; letter-spacing: -.025em; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(36px, 5vw, 64px); }
h2 .serif { font-size: 1.08em; }

/* ------------------------------------------------------------------ Boutons */
.btn {
  --bg: var(--cyan);
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 18px 16px 26px; border-radius: 999px;
  background: var(--bg); color: var(--white);
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
}
.btn .arrow {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.2); transition: transform .4s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover .arrow { transform: rotate(-45deg); }
.btn.ghost { --bg: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--cyan); }
.light .btn.ghost { box-shadow: inset 0 0 0 1.5px var(--line-dark); color: var(--text); }

/* ------------------------------------------------------------------ Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .4s, backdrop-filter .4s, padding .4s var(--ease);
  padding: 22px 0;
}
.site-header.scrolled {
  background: rgba(7,13,43,.78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 66px; width: auto; transition: height .4s var(--ease); }
.scrolled .logo img { height: 46px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a.link {
  position: relative; padding: 10px 16px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: rgba(255,255,255,.78);
  transition: color .3s, background .3s;
}
.nav a.link:hover { color: var(--white); background: rgba(255,255,255,.06); }
.nav a.link[aria-current="page"] { color: var(--white); }
.nav a.link[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px;
  margin-left: -2.5px; border-radius: 50%; background: var(--cyan);
}
.nav .tel {
  margin-left: 14px; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14.5px;
  background: var(--white); color: var(--ink); transition: background .3s, color .3s;
}
.nav .tel:hover { background: var(--cyan); color: var(--white); }
.nav .social { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: rgba(255,255,255,.7); transition: .3s; }
.nav .social:hover { color: var(--white); background: rgba(255,255,255,.08); }

.burger { display: none; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.08); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--white); border-radius: 2px; transition: .4s var(--ease); }
.burger span:nth-child(1) { top: 19px; } .burger span:nth-child(2) { top: 27px; right: 20px; }
.menu-open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 23px; right: 14px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; padding: 100px 24px 40px;
  clip-path: circle(0% at calc(100% - 48px) 46px); transition: clip-path .7s var(--ease);
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 48px) 46px); }
.mobile-menu a.big { display: flex; align-items: baseline; font-size: 36px; line-height: 1.1; font-weight: 700; letter-spacing: -.03em; padding: 10px 0; }
.mobile-menu a.big span { flex: none; width: 34px; color: var(--cyan); font-size: 13px; font-weight: 700; letter-spacing: 0; }
.mobile-menu .meta { margin-top: 40px; color: rgba(255,255,255,.6); font-size: 15px; }

/* ------------------------------------------------------------------ Hero accueil */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 140px 0 120px; overflow: hidden; isolation: isolate;
}
.hero::before { /* halo */
  content: ""; position: absolute; z-index: -2; width: 1100px; height: 1100px; right: -260px; top: 50%;
  transform: translateY(-50%);
  border-radius: 50%; background: var(--ink-2); width: 980px; height: 980px; right: -300px;
}
.hero .grid-bg {
  position: absolute; inset: 0; z-index: -3; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 50%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 50%, #000 0%, transparent 75%);
}
.hero-mark {
  position: absolute; z-index: -1; right: max(-120px, calc((100vw - var(--wrap)) / 2 - 120px)); top: 50%;
  width: min(760px, 62vw); transform: translateY(-50%);
}
.hero-mark .ring { fill: none; stroke: var(--white); stroke-opacity: .9; }
.hero-mark .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.8s .3s var(--ease) forwards; }
.hero-mark .fillin { fill: url(#gm); opacity: 0; animation: fade 1.6s 1.9s var(--ease) forwards; }

@keyframes fade { to { opacity: 1; } }
.hero-mark .orbit { fill: none; stroke: rgba(255,255,255,.14); stroke-width: .18; stroke-dasharray: .5 2.2; }
.hero-mark { will-change: transform; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-content { max-width: 760px; position: relative; }
.hero h1 { font-size: clamp(34px, 10.4vw, 88px); margin: 26px 0 0; letter-spacing: -.04em; line-height: .98; }
.hero h1 .serif { display: block; font-size: 1.04em; color: var(--cyan-soft); }
.hero .lede { margin-top: 30px; font-size: clamp(18px, 1.6vw, 21px); color: rgba(255,255,255,.75); max-width: 560px; }
.rotator { display: block; min-height: 2.2em; color: var(--white); font-weight: 600; }
.rotator .word { display: inline-block; border-bottom: 2px solid var(--cyan); }
.rotator .caret { display: inline-block; width: 2px; height: 1.1em; background: var(--cyan); margin-left: 3px; vertical-align: -.18em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }

.hero-meta {
  position: absolute; left: 0; right: 0; bottom: 34px;
}
.hero-meta .wrap { display: flex; justify-content: space-between; align-items: end; gap: 20px; font-size: 13.5px; color: rgba(255,255,255,.55); }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue i { width: 26px; height: 42px; border-radius: 20px; border: 1.5px solid rgba(255,255,255,.35); position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 8px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--cyan); animation: cue 2s infinite var(--ease); }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ------------------------------------------------------------------ Sections */
section { position: relative; }
.pad { padding: clamp(90px, 12vw, 160px) 0; }
.light { background: var(--paper); color: var(--text); }
.light .muted, .muted-l { color: var(--muted); }
.muted { color: rgba(255,255,255,.66); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(50px, 7vw, 90px); }
.sec-head p { margin: 0; max-width: 460px; justify-self: end; font-size: 18px; }

/* ------------------------------------------------------------------ Expertises (4 pôles) */
.poles { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.pole-list { border-top: 1px solid var(--line-dark); }
.pole-btn {
  width: 100%; text-align: left; display: grid; grid-template-columns: 70px 1fr 40px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid var(--line-dark); color: var(--text); position: relative;
}
.pole-btn .num { font-size: 14px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; transition: color .3s; }
.pole-btn .name { font-size: clamp(26px, 3.2vw, 42px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; transition: transform .5s var(--ease), color .3s; }
.pole-btn .pm { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-dark); transition: .4s var(--ease); }
.pole-btn::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--cyan); transition: width .7s var(--ease); }
.pole-btn:hover .name { transform: translateX(8px); }
.pole-btn.active .num { color: var(--cyan); }
.pole-btn.active .name { color: var(--navy); }
.pole-btn.active .pm { background: var(--cyan); color: var(--white); box-shadow: none; transform: rotate(45deg); }
.pole-btn.active::after { width: 100%; }
.pole-mobile { display: none; }

.pole-panel {
  position: sticky; top: 110px; border-radius: 30px; overflow: hidden; color: var(--white);
  background: linear-gradient(160deg, var(--navy) 0%, var(--ink-2) 75%);
  padding: clamp(30px, 4vw, 52px); min-height: 520px; isolation: isolate;
}
.pole-panel .ring-wrap { position: absolute; right: -90px; top: -90px; width: 340px; z-index: -1; opacity: .9; }
.pole-panel .ring-wrap .track { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 14; }
.pole-panel .ring-wrap .arc { fill: none; stroke: var(--cyan); stroke-width: 14; stroke-linecap: round; transition: transform .9s var(--ease); transform-origin: 50% 50%; transform-box: fill-box; }
.pole-panel .ring-wrap .pdot { fill: var(--white); }
.pole-panel .count { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-soft); }
.pole-panel h3 { font-size: clamp(30px, 3vw, 40px); margin: 18px 0 30px; max-width: 80%; }
.pole-panel ul { list-style: none; margin: 0; padding: 0; }
.pole-panel li {
  display: flex; gap: 16px; align-items: baseline; padding: 15px 0; border-top: 1px solid var(--line);
  font-size: 17.5px; opacity: 0; transform: translateY(12px);
}
.pole-panel li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); transform: translateY(-2px); }
.pole-panel li.etc { color: rgba(255,255,255,.5); }
.pole-panel li.etc::before { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.pole-panel.show li { animation: rise .6s var(--ease) forwards; }
.pole-panel.show li:nth-child(2) { animation-delay: .06s; } .pole-panel.show li:nth-child(3) { animation-delay: .12s; }
.pole-panel.show li:nth-child(4) { animation-delay: .18s; } .pole-panel.show li:nth-child(5) { animation-delay: .24s; }
.pole-panel.show li:nth-child(6) { animation-delay: .30s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ FAQ */
.faq { background: var(--ink); }
.faq-layout { display: grid; grid-template-columns: 360px 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq-side { position: sticky; top: 120px; }
.faq-side h2 { font-size: clamp(40px, 5vw, 68px); }
.faq-side p { margin: 22px 0 32px; }
.search {
  position: relative; display: flex; align-items: center;
  background: rgba(255,255,255,.06); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .3s, background .3s;
}
.search:focus-within { box-shadow: inset 0 0 0 1.5px var(--cyan); background: rgba(255,255,255,.09); }
.search svg { position: absolute; left: 18px; color: rgba(255,255,255,.5); }
.search input {
  width: 100%; padding: 17px 18px 17px 50px; background: transparent; border: 0; outline: 0;
  font: inherit; font-size: 16px; color: var(--white);
}
.search input::placeholder { color: rgba(255,255,255,.45); }
.light .search { background: var(--white); box-shadow: inset 0 0 0 1px var(--line-dark), 0 10px 30px -18px rgba(14,22,56,.4); }
.light .search input { color: var(--text); }
.light .search input::placeholder, .light .search svg { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--line); color: rgba(255,255,255,.75); transition: .3s;
}
.chip:hover { color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.chip.on { background: var(--white); color: var(--ink); box-shadow: none; }
.faq-count { margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,.5); }

.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 52px 1fr 44px; gap: 10px; align-items: center;
  padding: 26px 0; font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; letter-spacing: -.01em; line-height: 1.35;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .n { font-family: var(--f-mono); font-size: 13px; font-weight: 500; color: var(--cyan-soft); font-variant-numeric: tabular-nums; }
.qa summary .pm { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; transition: .4s var(--ease); }
.qa summary:hover .pm { box-shadow: inset 0 0 0 1px var(--cyan); }
.qa details[open] summary .pm { background: var(--cyan); box-shadow: none; transform: rotate(45deg); }
.qa .answer { padding: 0 54px 34px 62px; color: rgba(255,255,255,.74); font-size: 16.5px; }
.qa .answer p { margin: 0 0 14px; }
.qa .answer ul { margin: 0 0 14px; padding-left: 0; list-style: none; }
.qa .answer li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.qa .answer li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.qa .answer strong { color: var(--white); }
.qa mark { background: rgba(7,153,224,.35); color: var(--white); border-radius: 3px; padding: 0 2px; }
.qa .empty { padding: 40px 0; color: rgba(255,255,255,.6); display: none; }

/* ------------------------------------------------------------------ Bandeau outils */
.tools {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--cyan); color: var(--white);
}
.tools .wrap { display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center; padding: clamp(70px, 9vw, 120px) 0; }
.tools p { margin: 0; font-size: clamp(26px, 3.2vw, 44px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.tools .btn { --bg: var(--ink); }
.tools .deco { position: absolute; z-index: -1; right: -120px; top: 50%; width: 560px; transform: translateY(-50%); opacity: .22; }
.tools .deco circle { fill: none; stroke: var(--white); }

/* ------------------------------------------------------------------ Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); }
.contact-card {
  background: var(--ink); color: var(--white); border-radius: 30px; padding: clamp(30px, 4vw, 50px);
  display: flex; flex-direction: column; gap: 30px; position: relative; overflow: hidden; isolation: isolate;
}
.contact-card .deco { position: absolute; right: -70px; bottom: -70px; width: 260px; z-index: -1; opacity: .5; }
.contact-card dt { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan-soft); margin-bottom: 6px; }
.contact-card dd { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.45; }
.contact-card dd a { border-bottom: 1px solid rgba(255,255,255,.25); transition: border-color .3s; }
.contact-card dd a:hover { border-color: var(--cyan); }
.contact-card .big-tel { font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; letter-spacing: -.02em; border: 0; }
.map {
  border-radius: 18px; height: 180px; position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(32deg, rgba(255,255,255,.05) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(-58deg, rgba(255,255,255,.05) 0 1px, transparent 1px 46px),
    var(--ink-2);
}
.map .pin { position: absolute; left: 58%; top: 52%; width: 16px; height: 16px; margin: -8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 8px rgba(7,153,224,.25), 0 0 0 20px rgba(7,153,224,.1); }
.map span { position: absolute; left: 16px; bottom: 12px; font-size: 12.5px; color: rgba(255,255,255,.6); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--text);
  padding: 26px 20px 12px; border: 0; border-radius: 16px; background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line-dark); outline: 0; transition: box-shadow .3s; resize: vertical;
}
.field textarea { min-height: 170px; }
.field input:focus, .field textarea:focus { box-shadow: inset 0 0 0 2px var(--cyan); }
.field label { position: absolute; left: 21px; top: 19px; font-size: 16px; color: var(--muted); pointer-events: none; transition: .25s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--cyan); }
.form .foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-top: 6px; }
.form .foot small { color: var(--muted); font-size: 12.5px; max-width: 340px; line-height: 1.5; }

/* ------------------------------------------------------------------ Footer */
.site-footer { background: var(--ink); padding: 90px 0 36px; position: relative; overflow: hidden; }
.site-footer .top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line); }
.site-footer .top img { height: 64px; width: auto; }
.site-footer h4 { margin: 0 0 16px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan-soft); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; color: rgba(255,255,255,.72); }
.site-footer li a:hover { color: var(--white); }
.site-footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 13.5px; color: rgba(255,255,255,.5); }
.site-footer .bottom a:hover { color: var(--white); }
.giant {
  font-size: clamp(110px, 27vw, 380px); font-weight: 800; letter-spacing: -.06em; line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); margin: 70px 0 10px; white-space: nowrap; user-select: none;
}
.giant .gdot { display: inline-block; width: .19em; height: .19em; border-radius: 50%; background: var(--cyan); margin-left: .04em; }

/* ------------------------------------------------------------------ Pages internes : hero */
.page-hero { padding: 190px 0 90px; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -300px; top: -350px;
  border-radius: 50%; background: var(--ink-2);
}
.page-hero .crumbs { font-size: 13.5px; color: rgba(255,255,255,.55); margin-bottom: 26px; }
.page-hero .crumbs a:hover { color: var(--white); }
.page-hero .crumbs i { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); margin: 0 10px; vertical-align: middle; }
.page-hero h1 { font-size: clamp(50px, 8vw, 116px); letter-spacing: -.045em; line-height: .95; }
.page-hero h1 .serif { color: var(--cyan-soft); }
.page-hero .intro { margin-top: 34px; max-width: 640px; font-size: 20px; color: rgba(255,255,255,.75); }
.page-hero .mark { position: absolute; z-index: -1; right: 6%; top: 150px; width: 300px; opacity: .9; }

/* ------------------------------------------------------------------ Qui sommes-nous */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.story .lead { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.45; font-weight: 500; letter-spacing: -.01em; }
.story .lead strong { color: var(--navy); }
.video-card { position: relative; border-radius: 30px; overflow: hidden; background: var(--ink); aspect-ratio: 16 / 10; }
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.video-card .play {
  position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .4s;
  background: rgba(7,13,43,.55);
}
.video-card .play span { width: 92px; height: 92px; border-radius: 50%; background: var(--cyan); display: grid; place-items: center; box-shadow: 0 0 0 14px rgba(7,153,224,.25); transition: transform .4s var(--ease); }
.video-card .play:hover span { transform: scale(1.08); }
.video-card .play em { position: absolute; left: 26px; bottom: 22px; font-style: normal; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.85); }
.video-card.playing .play { opacity: 0; pointer-events: none; }

.utile { background: var(--ink); }
.utile-head { text-align: center; margin-bottom: 60px; }
.utile-list { list-style: none; margin: 0 auto; padding: 0; max-width: 1060px; }
.utile-list li {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(14px, 3vw, 40px); align-items: baseline;
  padding: 22px 0; border-top: 1px solid var(--line);
  font-size: clamp(24px, 3.4vw, 46px); font-weight: 700; letter-spacing: -.03em; line-height: 1.12;
  color: rgba(255,255,255,.16); transition: color .6s var(--ease);
}
.utile-list li:last-child { border-bottom: 1px solid var(--line); }
.utile-list li small { font-size: 14px; letter-spacing: 0; font-weight: 700; color: rgba(255,255,255,.25); font-variant-numeric: tabular-nums; transition: color .6s; }
.utile-list li .pre { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.utile-list li.lit { color: var(--white); }
.utile-list li.lit small { color: var(--cyan); }
.utile-list li.lit .pre { color: var(--cyan-soft); }

.tiime { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.tiime-badge { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-dark); font-weight: 700; margin-bottom: 26px; }
.tiime-badge b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 13px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature {
  background: var(--white); border-radius: 22px; padding: 26px; box-shadow: inset 0 0 0 1px var(--line-dark);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px var(--cyan); }
.feature .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--ice); color: var(--navy); display: grid; place-items: center; margin-bottom: 18px; }
.feature p { margin: 0; font-weight: 600; font-size: 17px; line-height: 1.4; }
.feature p span { font-style: italic; color: var(--cyan); }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tile { border-radius: 30px; padding: clamp(30px, 4vw, 50px); position: relative; overflow: hidden; isolation: isolate; min-height: 380px; display: flex; flex-direction: column; justify-content: space-between; }
.tile.dark { background: var(--navy); color: var(--white); }
.tile.ice { background: var(--ice); color: var(--text); }
.tile h3 { font-size: clamp(28px, 2.8vw, 38px); margin-top: 18px; }
.people { list-style: none; padding: 0; margin: 30px 0 0; }
.people a { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); font-weight: 600; font-size: 18px; transition: padding .4s var(--ease), color .3s; }
.people a:hover { padding-left: 10px; color: var(--cyan-soft); }
.people a small { font-weight: 500; font-size: 13.5px; color: rgba(255,255,255,.55); }
.tile .deco { position: absolute; right: -60px; top: -60px; width: 240px; z-index: -1; opacity: .35; }
.building { margin-top: 30px; display: flex; gap: 16px; align-items: center; }
.building .b1 { width: 92px; height: 92px; border-radius: 24px; background: var(--white); display: grid; place-items: center; font-size: 30px; font-weight: 800; color: var(--navy); letter-spacing: -.04em; box-shadow: 0 16px 30px -18px rgba(14,22,56,.5); }

/* ------------------------------------------------------------------ Lexique */
.lex-bar { position: sticky; top: 74px; z-index: 20; padding: 18px 0; background: rgba(246,248,252,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-dark); }
.lex-bar .wrap { display: flex; gap: 20px; align-items: center; }
.lex-bar .search { flex: 1 1 300px; }
.az { display: flex; flex-wrap: nowrap; gap: 3px; }
.az a, .az span { width: 31px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.az a { color: var(--navy); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-dark); transition: .3s; }
.az a:hover { background: var(--cyan); color: var(--white); box-shadow: none; }
.az span { color: rgba(14,22,56,.22); }
.lex-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.term {
  background: var(--white); border-radius: 24px; padding: 32px 34px; box-shadow: inset 0 0 0 1px var(--line-dark);
  scroll-margin-top: 170px; position: relative; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.term:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--cyan); }
.term .letter { position: absolute; right: 26px; top: 18px; font-family: var(--f-serif); font-style: italic; font-size: 64px; line-height: 1; color: var(--ice); }
.term h3 { font-size: 24px; letter-spacing: -.02em; color: var(--navy); margin-bottom: 14px; padding-right: 50px; }
.term p { margin: 0; color: #2E3760; font-size: 16.5px; }
.term.hit { animation: hit 1.6s var(--ease); }
@keyframes hit { 0%, 30% { box-shadow: inset 0 0 0 2px var(--cyan), 0 0 0 8px rgba(7,153,224,.15); } }
.lex-empty { display: none; padding: 60px 0; text-align: center; color: var(--muted); }
.lex-outro { margin-top: 70px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 40px; border-radius: 30px; background: var(--navy); color: var(--white); }
.lex-outro p { margin: 0; font-size: 19px; max-width: 760px; }

/* ------------------------------------------------------------------ Reveal */
.rv { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; }

/* ------------------------------------------------------------------ Responsive */
@media (max-width: 1080px) {
  .nav .link, .nav .social { display: none; }
  .burger { display: block; }
  .nav .tel { margin-left: 0; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .sec-head, .poles, .faq-layout, .contact-grid, .story, .tiime, .duo, .site-footer .top { grid-template-columns: 1fr; }
  .sec-head p { justify-self: start; }
  .pole-panel { display: none; }
  .pole-mobile { display: block; overflow: hidden; max-height: 0; transition: max-height .6s var(--ease); }
  .pole-btn.active + .pole-mobile { max-height: 520px; }
  .pole-mobile ul { list-style: none; margin: 0; padding: 6px 0 24px 70px; }
  .pole-mobile li { padding: 6px 0; color: var(--muted); }
  .faq-side { position: static; }
  .qa .answer { padding: 0 0 28px 0; }
  .qa summary { grid-template-columns: 38px 1fr 40px; }
  .tools .wrap { grid-template-columns: 1fr; }
  .lex-grid { grid-template-columns: 1fr; }
  .lex-bar .wrap { flex-direction: column; align-items: stretch; }
  .lex-bar .search { flex: none; }
  .az { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .az a, .az span { flex: none; }
  .lex-outro { grid-template-columns: 1fr; }
  .hero-mark { width: 96vw; right: -36vw; top: 30%; opacity: .7; }
  .page-hero .mark { width: 180px; right: -40px; top: 110px; opacity: .5; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .logo img { height: 46px; }
  .nav .tel span { display: none; }
  .nav .tel { width: 48px; height: 48px; padding: 0; justify-content: center; }
  .form { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .hero-meta .wrap > span:first-child { display: none; }
  .pole-btn { grid-template-columns: 44px 1fr 40px; }
  .pole-mobile ul { padding-left: 44px; }
  .term { padding: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  .hero-mark .draw { stroke-dashoffset: 0; }
}

/* ==========================================================================
   V1.2 — ajouts
   ========================================================================== */
.mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: .02em; }

/* Point voyageur : quitte le monogramme et se pose dans le logo */
.dock {
  position: fixed; left: 0; top: 0; z-index: 70; width: 200px; height: 200px; border-radius: 50%;
  background: var(--cyan); pointer-events: none; will-change: transform; transform-origin: 0 0;
  opacity: 0; animation: fade .7s 1.5s var(--ease) forwards;
}
.no-hero .dock { animation-delay: .2s; }

/* Ouverture circulaire des sections claires */
.reveal { clip-path: circle(var(--r, 150%) at 50% 0); }

/* Récit des pôles au défilement */
.sp-head { padding-top: clamp(90px, 12vw, 160px); margin-bottom: 0; }
.sp { position: relative; height: calc(100vh + 4 * 65vh); }
.sp-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding-top: 70px; }
.sp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.sp-count { display: flex; align-items: baseline; gap: 12px; margin-bottom: 28px; }
.sp-cur { font-size: 15px; font-family: var(--f-mono); font-weight: 600; color: var(--cyan); }
.sp-count .mono { font-size: 15px; color: var(--muted); }
.sp-names { list-style: none; margin: 0; padding: 0; }
.sp-names button {
  display: grid; grid-template-columns: 54px 1fr; align-items: baseline; width: 100%; text-align: left; padding: 10px 0;
  font-size: clamp(30px, 3.5vw, 52px); font-weight: 700; letter-spacing: -.035em; line-height: 1.08;
  color: rgba(14,22,56,.18); transition: color .5s var(--ease), transform .6s var(--ease);
}
.sp-names button .mono { font-size: 13px; letter-spacing: 0; color: rgba(14,22,56,.3); transition: color .5s; }
.sp-names button:hover { color: rgba(14,22,56,.45); }
.sp-names button.on { color: var(--navy); transform: translateX(12px); }
.sp-names button.on .mono { color: var(--cyan); }
.sp-bar { margin-top: 34px; height: 2px; background: var(--line-dark); position: relative; max-width: 420px; }
.sp-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--cyan); }

.sp-panel {
  position: relative; border-radius: 30px; background: var(--navy); color: var(--white);
  min-height: min(620px, 72vh); padding: clamp(30px, 4vw, 52px); overflow: hidden; isolation: isolate;
}
.sp-ring { position: absolute; z-index: -1; right: -70px; top: -70px; width: 330px; }
.sp-ring circle { fill: none; stroke-width: 16; }
.sp-ring .track { stroke: rgba(255,255,255,.1); }
.sp-ring .prog { stroke: var(--cyan); stroke-dasharray: 1; stroke-dashoffset: 1; }
.sp-num { position: absolute; z-index: -1; right: 52px; top: 62px; font-size: 92px; font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.sp-items { position: relative; margin-top: 200px; }
.sp-item { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease); pointer-events: none; }
.sp-item.on { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.sp-item .count { font-size: 12.5px; text-transform: uppercase; color: var(--cyan-soft); }
.sp-item h3 { font-size: clamp(28px, 2.8vw, 38px); margin: 12px 0 22px; }
.sp-item ul { list-style: none; margin: 0; padding: 0; }
.sp-item li { display: grid; grid-template-columns: 46px 1fr; padding: 13px 0; border-top: 1px solid var(--line); font-size: 17px; }
.sp-item li .mono { font-size: 12.5px; color: rgba(255,255,255,.5); padding-top: 3px; }
.sp-item li.etc { color: rgba(255,255,255,.5); }
.poles-m { display: none; padding-bottom: 80px; }

/* Chiffres clés (Qui sommes-nous) */
.figs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.figs > div { padding: 40px clamp(20px, 3vw, 40px) 46px 0; border-right: 1px solid var(--line); }
.figs > div + div { padding-left: clamp(20px, 3vw, 40px); }
.figs > div:last-child { border-right: 0; }
.figs b { display: block; font-size: clamp(64px, 8vw, 120px); font-weight: 800; letter-spacing: -.05em; line-height: .9; margin: 18px 0 16px; font-variant-numeric: tabular-nums; }
.figs b.c { color: var(--cyan); }
.figs p { margin: 0; color: rgba(255,255,255,.7); max-width: 280px; }

/* Lexique : regroupement par lettre */
.lex-letter { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 18px; padding: 34px 0 6px; border-bottom: 1px solid var(--line-dark); margin-bottom: 4px; scroll-margin-top: 170px; }
.lex-letter b { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 72px; line-height: .9; color: var(--cyan); }
.lex-letter .mono { font-size: 12.5px; color: var(--muted); text-transform: uppercase; }

@media (max-width: 900px) {
  .sp { display: none; }
  .poles-m { display: block; }
  .sp-head { margin-bottom: 40px; }
  .figs { grid-template-columns: 1fr; }
  .figs > div, .figs > div + div { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
}
.term .letter { display: none; }
@media (max-width: 900px) {
  .hero { align-items: flex-end; padding-bottom: 110px; }
  .hero-mark { width: 64vw; right: -14vw; top: 160px; opacity: 1; }
  .hero::before { width: 520px; height: 520px; right: -200px; top: 160px; }
}

/* ==========================================================================
   Couche « maison » : élégance et retenue
   Pas de filets, pas de numéros, pas d'étiquettes techniques.
   Titres en serif, beaucoup d'air, le point et l'anneau comme seuls ornements.
   ========================================================================== */
:root { --line: transparent; --line-dark: transparent; }

/* Typographie */
h1, h2, h3, .hero h1, .page-hero h1 { font-family: var(--f-serif); font-weight: 400; letter-spacing: -.015em; }
h2 { font-size: clamp(42px, 5.6vw, 86px); line-height: 1; }
h2 .serif, .hero h1 .serif, .page-hero h1 .serif { font-size: 1em; }
body { font-weight: 400; }
.hero h1 { font-size: clamp(44px, 11.6vw, 132px); line-height: .94; letter-spacing: -.02em; }
.hero-content { max-width: 920px; }
.hero .lede { margin-top: 34px; }
.page-hero h1 { font-size: clamp(56px, 9vw, 140px); line-height: .92; }

/* Petits intitulés : simple texte, sans trait ni majuscules */
.eyebrow { font-family: var(--f-sans); font-size: 15px; font-weight: 500; letter-spacing: .01em; text-transform: none; gap: 0; color: var(--cyan-soft); }
.eyebrow::before { content: none; }
.light .eyebrow { color: var(--cyan); }

/* Phrase tournante : sans soulignement */
.rotator .word { border-bottom: 0; color: var(--cyan-soft); }
.rotator .caret { width: 1.5px; }

/* Boutons : sobres, sans pastille fléchée */
.btn { padding: 18px 34px; font-weight: 600; letter-spacing: .01em; }
.btn .arrow { display: none; }
.btn.ghost { box-shadow: none; padding-inline: 8px; }
.btn.ghost:hover { box-shadow: none; color: var(--cyan-soft); transform: none; }
.light .btn.ghost { box-shadow: none; }

/* Header */
.site-header.scrolled { box-shadow: none; }
.nav .tel { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.nav .tel:hover { background: var(--white); color: var(--ink); }
.mobile-menu a.big { font-family: var(--f-serif); font-weight: 400; font-size: 46px; letter-spacing: -.01em; padding: 6px 0; }

/* Section d'en-tête */
.sec-head { align-items: end; }
.sec-head p { font-size: 18px; line-height: 1.7; }

/* Récit des pôles */
.sp-names button { grid-template-columns: 1fr; font-family: var(--f-serif); font-weight: 400; font-size: clamp(34px, 3.8vw, 60px); letter-spacing: -.015em; line-height: 1.1; padding: 6px 0; color: rgba(14,22,56,.16); }
.sp-names button.on { color: var(--navy); transform: translateX(0); }
.sp-names button.on .nm::after { content: ""; display: inline-block; width: .2em; height: .2em; margin-left: .18em; border-radius: 50%; background: var(--cyan); vertical-align: .08em; }
.sp-panel { border-radius: 36px; }
.sp-items { margin-top: 170px; }
.sp-item h3 { font-size: clamp(34px, 3.2vw, 48px); margin: 0 0 26px; }
.sp-item li { grid-template-columns: 1fr; border: 0; padding: 9px 0 9px 22px; position: relative; font-size: 17.5px; color: rgba(255,255,255,.88); }
.sp-item li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.sp-item li.etc { padding-left: 22px; }
.sp-item li.etc::before { background: rgba(255,255,255,.35); }

/* Pôles mobile */
.pole-list { border: 0; }
.pole-btn { grid-template-columns: 1fr 40px; border: 0; padding: 18px 0; }
.pole-btn .name { font-family: var(--f-serif); font-weight: 400; font-size: 36px; letter-spacing: -.01em; }
.pole-btn::after { display: none; }
.pole-btn .pm { box-shadow: inset 0 0 0 1px rgba(14,22,56,.18); }
.pole-mobile ul { padding: 0 0 18px 0; }

/* FAQ */
.faq-side h2 { font-size: clamp(46px, 5.4vw, 80px); }
.qa, .qa details { border: 0; }
.qa summary { grid-template-columns: 1fr 44px; gap: 24px; padding: 22px 0; font-weight: 500; font-size: clamp(18px, 1.6vw, 21px); }
.qa summary .pm { box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.qa details[open] summary { color: var(--cyan-soft); }
.qa .answer { padding: 0 60px 30px 0; }
.qa .answer li::before { top: .72em; }
.search { border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.chips { gap: 4px 18px; }
.chip { padding: 6px 0; box-shadow: none; border-radius: 0; color: rgba(255,255,255,.6); position: relative; }
.chip:hover { box-shadow: none; }
.chip.on { background: none; color: var(--white); }
.chip.on::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--cyan); }
.faq-count { color: rgba(255,255,255,.45); }

/* Bandeau outils */
.tools p { font-family: var(--f-serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 54px); letter-spacing: -.01em; line-height: 1.12; }
.tools .btn { --bg: var(--white); color: var(--ink); }

/* Contact */
.contact-card { border-radius: 36px; gap: 26px; }
.contact-card dt { font-size: 14px; font-weight: 500; letter-spacing: .01em; text-transform: none; color: rgba(255,255,255,.55); margin-bottom: 2px; }
.contact-card dd a { border-bottom: 0; }
.contact-card dd a:hover { color: var(--cyan-soft); }
.contact-card .big-tel { font-family: var(--f-serif); font-weight: 400; font-size: clamp(38px, 3.8vw, 54px); letter-spacing: 0; }
.map { background: var(--ink-2); border-radius: 22px; }
.field input, .field textarea { box-shadow: none; background: var(--white); }
.field input:focus, .field textarea:focus { box-shadow: inset 0 0 0 1.5px var(--cyan); }
.form .foot small { font-size: 12px; }

/* Footer */
.site-footer { padding: 110px 0 40px; }
.site-footer .top, .site-footer .bottom { border: 0; }
.site-footer h4 { font-size: 14px; letter-spacing: .01em; text-transform: none; font-weight: 500; color: rgba(255,255,255,.5); }
.site-footer .bottom { padding-top: 70px; }

/* Pages internes */
.page-hero .crumbs i { width: 4px; height: 4px; }
.story .lead { font-family: var(--f-serif); font-size: clamp(28px, 2.8vw, 40px); line-height: 1.22; font-weight: 400; letter-spacing: -.005em; }
.story .lead strong { font-weight: 400; color: var(--navy); }
.story .lead .serif { font-size: 1em; }
.figs { border: 0; gap: 20px; }
.figs > div, .figs > div + div { border: 0; padding: 0; }
.figs b { font-family: var(--f-serif); font-weight: 400; font-size: clamp(90px, 10vw, 160px); letter-spacing: -.02em; margin: 0 0 10px; }
.utile-list li { grid-template-columns: 1fr; border: 0 !important; padding: 14px 0; font-family: var(--f-serif); font-weight: 400; font-size: clamp(30px, 4.2vw, 62px); letter-spacing: -.015em; line-height: 1.08; text-align: center; color: rgba(255,255,255,.14); }
.utile-list li .pre { color: inherit; }
.utile-list li.lit .pre { color: var(--cyan-soft); }
.tiime h2 { font-size: clamp(46px, 5.4vw, 80px); }
.features { gap: 4px 40px; }
.feature { background: none; box-shadow: none; padding: 14px 0 14px 24px; border-radius: 0; position: relative; }
.feature::before { content: ""; position: absolute; left: 0; top: 1.4em; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.feature:hover { transform: none; box-shadow: none; }
.feature p { font-size: 19px; font-weight: 500; }
.tile { border-radius: 36px; }
.tile h3 { font-size: clamp(34px, 3.2vw, 48px); line-height: 1.05; }
.people a { border: 0; padding: 10px 0; font-size: 19px; font-weight: 500; }
.people a small { font-size: 14px; }
.building .b1 { font-family: var(--f-serif); font-weight: 400; font-size: 40px; border-radius: 50%; box-shadow: none; }

/* Hero : monogramme repoussé à droite pour laisser respirer le titre */
@media (min-width: 901px) {
  .hero-mark { width: min(660px, 48vw); right: -170px; }
  .hero::before { right: -380px; }
}

/* Lexique */
.lex-bar { border: 0; background: rgba(246,248,252,.92); }
.az a { box-shadow: none; background: transparent; border-radius: 50%; }
.az a:hover { background: var(--navy); }
.lex-grid { gap: 22px; }
.lex-letter { border: 0; padding: 50px 0 0; margin: 0; }
.lex-letter b { font-size: 96px; }
.term { border-radius: 28px; box-shadow: none; padding: 34px 36px; }
.term:hover { box-shadow: none; transform: translateY(-3px); }
.term h3 { font-size: 30px; letter-spacing: -.01em; margin-bottom: 12px; }
.lex-outro { border-radius: 36px; }
.lex-outro p { font-family: var(--f-serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.35; }

@media (max-width: 900px) {
  .figs > div, .figs > div + div { border: 0; padding: 10px 0 24px; }
  .utile-list li { text-align: left; }
  .qa .answer { padding: 0 0 26px; }
}
@media (max-width: 600px) {
  .nav .tel { box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
  .features { grid-template-columns: 1fr; }
}

/* Monogramme du hero : aplat plein, sans contour ni orbites */
.hero-mark .ring, .hero-mark .orbit { display: none; }
.hero-mark .fillin {
  fill: var(--navy); opacity: 0; transform-box: fill-box; transform-origin: 50% 50%;
  animation: markin 1.8s .2s var(--ease) forwards;
}
@keyframes markin { from { opacity: 0; transform: rotate(-40deg) scale(.88); } to { opacity: 1; transform: none; } }
.dock { animation-delay: 1.1s; }
@media (prefers-reduced-motion: reduce) { .hero-mark .fillin { opacity: 1; } }

/* Ciel étoilé du hero */
.hero .stars {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none;
  opacity: 0; animation: fade 2.4s .3s ease forwards;
}
@media (prefers-reduced-motion: reduce) { .hero .stars { opacity: 1; } }

/* Plus de disque derrière le monogramme */
.hero::before, .page-hero::before { content: none; }

/* Phrase tournante : hauteur réservée pour que le hero ne bouge pas */
.hero .lede { max-width: 640px; }
.rotator { min-height: 3.4em; }
.rotator .word { display: inline; }

/* ==========================================================================
   WordPress
   ========================================================================== */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.story .lead p { margin: 0; }
.page-hero .intro p { margin: 0; }
a.map { display: block; color: rgba(255,255,255,.75); }
a.map:hover span { color: var(--white); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form-notice { grid-column: 1 / -1; margin: 0 0 6px; padding: 16px 20px; border-radius: 16px; font-weight: 500; }
.form-notice.ok { background: rgba(7,153,224,.12); color: var(--navy); }
.form-notice.ko { background: #fdecec; color: #8a1c1c; }
.form .foot small a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.prose { max-width: 760px; font-size: 17.5px; color: var(--text); }
.prose h2 { font-size: clamp(30px, 3vw, 42px); margin: 1.6em 0 .5em; }
.prose a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.term p { margin: 0; }

/* Carte OpenStreetMap, teintée aux couleurs du site */
.map { height: 250px; isolation: isolate; }
.map iframe {
  position: absolute; inset: -2px; width: calc(100% + 4px); height: calc(100% + 4px); border: 0;
  filter: invert(1) hue-rotate(180deg) grayscale(.6) brightness(.82) contrast(.92);
}
.map::after { content: ""; position: absolute; inset: 0; background: #21327E; mix-blend-mode: color; opacity: .55; pointer-events: none; z-index: 1; }
.map .pin { left: 50%; top: 50%; z-index: 2; pointer-events: none; }
.map .pin::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid rgba(7,153,224,.5); animation: pinpulse 2.4s ease-out infinite; }
@keyframes pinpulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.map-link {
  position: absolute; left: 14px; top: 14px; z-index: 3; padding: 8px 14px; border-radius: 999px;
  background: rgba(7,13,43,.82); color: var(--white); font-size: 13px; font-weight: 600; transition: background .3s;
}
.map-link:hover { background: var(--cyan); }
@media (prefers-reduced-motion: reduce) { .map .pin::after { animation: none; } }
.prose h3 { font-size: clamp(24px, 2.2vw, 30px); color: var(--navy); margin: 1.5em 0 .35em; line-height: 1.15; }
.prose h2 + h3 { margin-top: .6em; }
.prose p { margin: 0 0 1em; }

/* ==========================================================================
   Formulaire de contact Formidable : même rendu que le formulaire natif
   ========================================================================== */
.amec-frm fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.amec-frm .frm_screen_reader { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.amec-frm .frm_fields_container { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; }
.amec-frm .field { position: relative; margin: 0; }
.amec-frm .field.full, .amec-frm .frm_submit, .amec-frm .frm_error_style, .amec-frm .frm_form_field:not(.field) { grid-column: 1 / -1; }
.amec-frm div:has(> .frm_verify) { display: none; }
/* champs ajoutés plus tard depuis Formidable (libellé au-dessus) : même habillage */
.amec-frm .frm_form_field:not(.field) .frm_primary_label { display: block; margin: 0 0 8px 4px; font-size: 14px; font-weight: 600; color: var(--muted); }
.amec-frm .frm_form_field:not(.field) :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  width: 100%; font: inherit; font-size: 17px; color: var(--text); padding: 16px 20px; border: 0; border-radius: 16px;
  background: var(--white); outline: 0;
}
.amec-frm .frm_form_field:not(.field) :is(input, select, textarea):focus { box-shadow: inset 0 0 0 1.5px var(--cyan); }
.amec-frm .frm_submit { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-top: 6px; }
.amec-frm .frm_submit small { color: var(--muted); font-size: 12px; max-width: 340px; line-height: 1.5; }
.amec-frm .frm_submit small a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.amec-frm .frm_button_submit { border: 0; cursor: pointer; font-family: inherit; }
.amec-frm .frm_button_submit[disabled], .amec-frm .frm_loading_form .frm_button_submit { opacity: .6; cursor: progress; }
.amec-frm .frm_error { margin: 6px 4px 0; font-size: 13px; color: #b42318; }
.amec-frm .frm_blank_field input, .amec-frm .frm_blank_field textarea { box-shadow: inset 0 0 0 1.5px #d92d20; }
.amec-frm .field label { cursor: text; }
.amec-frm .field textarea { min-height: 170px; }
.amec-frm .frm_message, .amec-frm .frm_error_style {
  padding: 18px 22px; border-radius: 16px; font-weight: 500; margin-bottom: 6px;
}
.amec-frm .frm_message { background: rgba(7,153,224,.12); color: var(--navy); }
.amec-frm .frm_message p, .amec-frm .frm_error_style p { margin: 0; }
.amec-frm .frm_error_style { background: #fdecec; color: #8a1c1c; }
.amec-frm .frm_verify, .amec-frm .frm_verify + label { display: none !important; }
@media (max-width: 600px) { .amec-frm .frm_fields_container { grid-template-columns: 1fr; } }

/* récapitulatif d'erreurs : la phrase reste visible, la liste n'est lue que par les lecteurs d'écran */
.amec-frm .frm_error_style ul { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; padding: 0; }
