/* Okku — site vitrine */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

/* Latin étendu (polonais, etc.) : chargé seulement si la page en a besoin. */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-ext.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --fond: #EEEAE3;
  --carte: #F8F6F2;
  --encre: #1D1C1A;
  --texte-2: #4A4640;
  --texte-3: #5E5A54;
  --libre: #1F6F78;
  --libre-fonce: #164F55;
  --occupe: #F0A47A;
  --occupe-texte: #A3431A;
  --papier: #E6E4DC;
  --eink: #222220;
  --jaune: #F2C230;
  --noir: #0F0F0F;
  --trait: #CFC8BC;
  --sable: #E2DCD2;
  --titre: "Space Grotesk", "Inter", system-ui, sans-serif;
  --corps: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gouttiere: clamp(20px, 5vw, 64px);
  --bois: repeating-linear-gradient(90deg, #A97C55 0, #A97C55 26px, #A57852 26px, #A57852 31px, #AE8259 31px, #AE8259 70px);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--corps);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img, svg { display: block; max-width: 100%; }
a { color: var(--libre); }
a:hover { color: var(--libre-fonce); }

:focus-visible { outline: 3px solid var(--libre); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, .phone-title { font-family: var(--titre); font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.25rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.05; }
h3 { font-size: 1.1875rem; line-height: 1.25; letter-spacing: -0.01em; }

.wrap { width: 100%; max-width: 1328px; margin-inline: auto; padding-inline: var(--gouttiere); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.lead { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: var(--texte-2); max-width: 34em; }
.kicker { font-size: 0.9375rem; font-weight: 600; color: var(--libre); margin-bottom: 10px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--encre); color: var(--carte); padding: 10px 16px; border-radius: 10px; z-index: 10; }
.skip:focus { top: 16px; color: var(--carte); }

/* Boutons et liens */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  border: 0; border-radius: 14px;
  background: var(--encre); color: var(--carte);
  font: 600 1rem var(--corps); text-decoration: none; cursor: pointer;
  transition: background-color .15s;
}
.btn:hover { background: #3A3733; color: var(--carte); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; border-radius: 12px; }
.link { font-weight: 600; text-underline-offset: 4px; }

/* En-tête */
.top { display: flex; align-items: center; gap: 24px; padding-block: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 1.5rem var(--titre); letter-spacing: -0.03em; color: var(--encre); text-decoration: none; }
.logo:hover { color: var(--encre); }
.logo-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--carte); border: 2px solid var(--encre); position: relative; }
.logo-dot::after { content: ""; position: absolute; left: 50%; top: 3px; width: 8px; height: 2px; margin-left: -4px; border-radius: 2px; background: var(--encre); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--encre); text-decoration: none; font-size: 0.9375rem; font-weight: 500; padding-block: 12px; }
.nav a:hover { color: var(--libre); }
@media (max-width: 900px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
}

/* Sélecteur de langue : menu déroulant sous le bouton, identique sur tous les écrans */
.lang { position: relative; flex: none; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--trait); border-radius: 12px; font-size: 0.875rem; font-weight: 600; white-space: nowrap; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--encre); border-bottom: 2px solid var(--encre); transform: translateY(-2px) rotate(45deg); }
.lang[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.lang summary:hover { background: var(--carte); }
.flag { flex: none; width: 21px; height: 14px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(29, 28, 26, .14); }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; display: grid; grid-template-columns: repeat(2, max-content); gap: 2px; width: max-content; padding: 6px; border-radius: 14px; background: var(--carte); box-shadow: 0 16px 40px -12px rgba(40, 30, 20, .35); }
.lang a { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 9px; color: var(--encre); text-decoration: none; font-size: 0.875rem; font-weight: 600; }
.lang a:hover { background: var(--sable); color: var(--encre); }
.lang a[aria-current="page"] { background: var(--encre); color: var(--carte); }

.foot-langs { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.foot-langs a { color: var(--texte-3); text-decoration: none; display: inline-block; padding-block: 6px; }
.foot-langs a:hover { color: var(--encre); text-decoration: underline; }
.foot-langs a[aria-current="page"] { color: var(--encre); font-weight: 600; }

/* Accueil */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(24px, 4vw, 56px) clamp(48px, 7vw, 96px); }
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }
@media (max-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr); } }

.scene { position: relative; background: var(--sable); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.scene-hint { position: absolute; left: 20px; top: 20px; z-index: 1; padding: 8px 14px; border-radius: 999px; background: var(--carte); font-size: 0.8125rem; font-weight: 600; }
.scene-top { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: end; gap: 8px; padding: 64px clamp(12px, 3vw, 32px) 0; }
.lock { appearance: none; border: 0; background: none; padding: 0; margin: 0 0 clamp(16px, 4vw, 40px); cursor: pointer; border-radius: 24px; -webkit-tap-highlight-color: transparent; }
.lock svg { width: 100%; height: auto; }
.knob { transform-origin: 210px 210px; transition: transform .45s cubic-bezier(.3, 1.3, .5, 1); }
.lock:hover .knob { transform: rotate(8deg); }
.lock[aria-pressed="true"] .knob { transform: rotate(90deg); }
.lock[aria-pressed="true"]:hover .knob { transform: rotate(82deg); }
.lock[aria-pressed="true"] .knob-led { fill: var(--occupe); }
.scene .galet { justify-self: center; margin-bottom: -4px; }
.shelf { height: clamp(44px, 6vw, 64px); background: var(--bois); box-shadow: inset 0 8px 0 #B98D64; }

/* Le Galet */
.galet {
  container-type: inline-size;
  width: min(100%, 340px); aspect-ratio: 340 / 250;
  border-radius: 46% 46% 42% 42% / 52% 52% 48% 48%;
  background: #F7F4EF;
  box-shadow: 0 30px 40px -18px rgba(60, 45, 30, .35), inset 0 -10px 22px rgba(0, 0, 0, .05);
  display: flex; align-items: center; justify-content: center;
}
.galet-screen {
  width: 59%; aspect-ratio: 200 / 128; border-radius: 3cqw;
  background: var(--papier); color: #2A2A28;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .18);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6cqw;
}
.galet-screen .ico { width: 11.5cqw; height: auto; }
.galet-word { font: 700 8.8cqw/1 var(--titre); letter-spacing: -0.01em; }
.galet-since { font-size: max(3.6cqw, 9px); letter-spacing: .04em; line-height: 1; }
.galet.is-occupe .galet-screen { background: #262624; color: var(--papier); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .4); }
.galet.is-occupe .galet-screen .ico { width: 9.5cqw; }
.galet.is-libre .ico-lock, .galet.is-libre .w-occupe, .galet.is-libre .galet-since,
.galet.is-occupe .ico-door, .galet.is-occupe .w-libre { display: none; }

/* La pastille */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.split > div:first-child { display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--trait); font-size: 0.875rem; }

.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card { background: var(--carte); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card p { font-size: 0.9375rem; color: var(--texte-2); }
.mode-ico { width: 64px; height: 64px; margin-bottom: 6px; }

.steps-block { margin-top: clamp(48px, 7vw, 88px); padding-top: 32px; border-top: 1px solid var(--trait); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 24px 48px; }
.steps-title { font-size: 1.5rem; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.num { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--encre); color: var(--carte); display: flex; align-items: center; justify-content: center; font: 600 1rem var(--titre); }
.steps p { padding-top: 5px; }
@media (max-width: 900px) {
  .steps-block { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* En-têtes de section à deux colonnes */
.headrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(32px, 6vw, 88px); align-items: end; }
@media (max-width: 900px) { .headrow { grid-template-columns: minmax(0, 1fr); } }

/* Maison */
.section-maison { padding-bottom: clamp(64px, 9vw, 128px); }
.galets { display: flex; justify-content: center; align-items: flex-end; gap: clamp(16px, 8vw, 120px); margin-top: clamp(40px, 6vw, 72px); }
.galets figure { flex: 0 1 340px; display: flex; flex-direction: column-reverse; align-items: center; gap: 20px; }
.galets figcaption { font-size: 0.9375rem; color: var(--texte-3); text-align: center; }
.galets .galet { margin-bottom: -4px; }
.shelf-wide { height: clamp(56px, 8vw, 104px); box-shadow: inset 0 10px 0 #B98D64; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(40px, 6vw, 72px); }
.facts div { display: flex; flex-direction: column; gap: 8px; }
.facts p { font-size: 0.9375rem; color: var(--texte-2); }
@media (max-width: 1000px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .facts { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* Bureau */
.section-bureau { background: #D8D5CF; }
.section-bureau .lead { color: #3E3B36; }
.section-bureau .kicker { color: var(--libre-fonce); }
.device { margin-top: clamp(40px, 6vw, 72px); display: flex; flex-direction: column; gap: 20px; }
.device figcaption { font-size: 0.9375rem; color: #3E3B36; max-width: 46em; }
.device figcaption strong { color: var(--encre); }

.eink-frame { padding: clamp(10px, 2vw, 26px); border-radius: clamp(14px, 2vw, 22px); background: #1B1B1A; box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .55); }
.eink { border-radius: 6px; background: var(--papier); color: var(--eink); padding: clamp(18px, 3.4vw, 44px); display: flex; flex-direction: column; gap: clamp(18px, 2.6vw, 32px); }
.eink-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 24px; border-bottom: 3px solid var(--eink); padding-bottom: clamp(10px, 1.4vw, 18px); }
.eink-title { font: 700 clamp(1.375rem, 3.2vw, 2.75rem)/1.1 var(--titre); letter-spacing: -0.01em; }
.eink-meta { font-size: clamp(0.8125rem, 1.3vw, 1.125rem); font-weight: 500; }
.eink-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2.4vw, 32px); }
.eink-col { border: 3px solid var(--eink); border-radius: 14px; padding: clamp(14px, 1.8vw, 24px); display: flex; flex-direction: column; gap: clamp(10px, 1.4vw, 18px); }
.eink-name { display: flex; align-items: center; gap: 14px; font: 700 clamp(1.25rem, 2.3vw, 2rem)/1 var(--titre); }
.eink-name svg { height: clamp(34px, 3.8vw, 52px); width: auto; fill: var(--eink); flex: none; }
.eink-count { font-size: clamp(1rem, 1.6vw, 1.375rem); font-weight: 600; display: flex; align-items: baseline; gap: 10px; }
.eink-count b { font: 700 clamp(3.25rem, 7vw, 6rem)/.9 var(--titre); }
.stalls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: auto; }
.stalls li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: clamp(0.6875rem, 1vw, 0.875rem); font-weight: 600; text-align: center; white-space: nowrap; }
.stall { display: block; width: 100%; height: clamp(44px, 6.4vw, 92px); border-radius: 8px; border: 4px solid var(--eink); background: var(--papier); }
.stall.occupe { background: var(--eink); }
.stall.menage { background: repeating-linear-gradient(45deg, var(--eink) 0, var(--eink) 4px, var(--papier) 4px, var(--papier) 12px); }
.eink-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; background: var(--eink); color: var(--papier); border-radius: 10px; padding: clamp(12px, 1.4vw, 16px) clamp(14px, 1.8vw, 22px); font-size: clamp(0.875rem, 1.5vw, 1.25rem); font-weight: 600; }
.eink-way { font-weight: 400; font-size: .85em; }
@media (max-width: 720px) {
  .eink-cols { grid-template-columns: minmax(0, 1fr); }
  .eink-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .eink-col .stalls { grid-column: 1 / -1; }
  .eink-count { justify-content: flex-end; }
}

.duo { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 980px) { .duo { grid-template-columns: minmax(0, 1fr); } }

/* Panneau à palettes */
.flap-wrap { container-type: inline-size; }
.flap {
  --dot: clamp(6px, 1.95cqw, 16px);
  --disc: calc(var(--dot) * 2.75);
  display: grid; grid-template-columns: repeat(3, auto); justify-content: center;
  width: fit-content; max-width: 100%; margin-inline: auto;
  padding: calc(var(--dot) * 1.4); border-radius: 16px; background: var(--noir);
  box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .6);
}
.flap-group { background: #161616; display: flex; flex-direction: column; align-items: center; gap: calc(var(--dot) * 1.4); padding: calc(var(--dot) * 1.9) calc(var(--dot) * 2.2); }
.flap-group + .flap-group { border-left: 2px solid var(--noir); }
.flap-name { font: 600 max(var(--dot), 9px)/1 var(--titre); letter-spacing: .16em; text-transform: uppercase; color: #D9D6CF; }
.flap-picto { display: grid; grid-template-columns: repeat(9, var(--dot)); gap: calc(var(--dot) / 4); }
.flap-picto i { width: var(--dot); height: var(--dot); border-radius: 50%; background: #262626; }
.flap-picto i.on { background: var(--jaune); box-shadow: inset -2px -2px 0 rgba(0, 0, 0, .18); }
.flap-stalls { display: flex; gap: calc(var(--dot) * .9); }
.disc-btn { appearance: none; border: 0; background: none; padding: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; color: #BDB8AF; font: 600 max(calc(var(--dot) * .8), 10px) var(--corps); -webkit-tap-highlight-color: transparent; }
.disc { display: block; width: var(--disc); height: var(--disc); border-radius: 50%; background: #262626; box-shadow: inset 2px 2px 0 rgba(255, 255, 255, .05); }
.disc-btn[aria-pressed="true"] .disc { background: var(--jaune); box-shadow: inset -3px -3px 0 rgba(0, 0, 0, .2); }
.disc-btn.flip .disc { animation: bascule .22s ease-in-out; }
.disc-btn:focus-visible { outline-color: var(--jaune); }
@keyframes bascule { 50% { transform: scaleY(.06); } }

/* Appli mobile */
.phone { width: min(100%, 380px); margin-inline: auto; padding: 28px 18px 22px; border: 8px solid var(--encre); border-radius: 40px; background: #F4F1EC; display: flex; flex-direction: column; gap: 16px; font-size: 0.9375rem; box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .5); }
.phone-place { font-size: 0.8125rem; color: var(--texte-3); margin-bottom: -12px; }
.phone-title { font-size: 2rem; line-height: 1.1; }
.floors { display: flex; gap: 8px; }
.floors button { flex: 1; min-height: 44px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--trait); background: transparent; color: var(--encre); font: 600 0.875rem var(--corps); cursor: pointer; }
.floors button[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: var(--carte); }
#blocs { display: flex; flex-direction: column; gap: 16px; min-height: 372px; }
.bloc { background: #fff; border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.bloc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bloc-head b { font: 600 1.0625rem var(--titre); }
.bloc-head span { font-size: 0.75rem; color: var(--texte-3); }
.row { display: flex; justify-content: space-between; align-items: center; min-height: 34px; }
.row-name { font-weight: 600; line-height: 1.25; }
.row-count { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--libre); }
.row-count.complet { color: var(--occupe-texte); }
.row-stalls { display: flex; gap: 6px; }
.row-stalls i, .sw { display: block; width: 22px; height: 30px; border-radius: 6px; }
.s-l, .sw-l { background: var(--libre); }
.s-o, .sw-o { background: var(--occupe); }
.s-m, .sw-m { border: 1px solid #8A857D; background: repeating-linear-gradient(45deg, #8A857D 0, #8A857D 2px, #fff 2px, #fff 6px); }
.phone-cta { margin-top: auto; min-height: 52px; border-radius: 14px; background: var(--encre); color: var(--carte); font-weight: 600; display: flex; align-items: center; justify-content: center; text-align: center; padding: 8px 12px; }
.legend { display: flex; justify-content: center; gap: 16px; font-size: 0.75rem; color: var(--texte-3); }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend .sw { width: 12px; height: 12px; border-radius: 4px; }

/* Fonctions métier */
.sub { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: clamp(56px, 8vw, 104px); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); margin-top: 24px; }
.features div { padding-block: 22px; border-top: 1px solid #B9B4AB; }
.features dt { font: 600 1.0625rem var(--titre); margin-bottom: 6px; }
.features dd { font-size: 0.9375rem; color: #3E3B36; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* Questions */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }
.faq details { border-top: 1px solid var(--trait); }
.faq details:last-child { border-bottom: 1px solid var(--trait); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 20px; font: 600 1.125rem/1.3 var(--titre); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--encre); border-bottom: 2px solid var(--encre); transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq details p { padding-bottom: 22px; color: var(--texte-2); max-width: 38em; }

/* Formulaire */
.section-form { background: var(--encre); color: var(--carte); }
.section-form .lead { color: #CFC9BF; margin-top: 20px; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.form, .form-done { background: var(--carte); color: var(--encre); border-radius: 24px; padding: clamp(24px, 3.4vw, 40px); }
.form { display: flex; flex-direction: column; gap: 22px; }
.form[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label, .field > legend { font-weight: 600; font-size: 0.9375rem; }
.field > legend { margin-bottom: 8px; }
.form input[type="email"] { width: 100%; min-height: 54px; padding: 0 16px; border: 1.5px solid #B9B2A6; border-radius: 12px; background: #fff; color: var(--encre); font: 400 1.0625rem var(--corps); }
.form input[type="email"]::placeholder { color: #8A857D; }
.form input[type="email"]:focus-visible { outline-offset: 0; border-color: var(--libre); }
.form input[aria-invalid="true"] { border-color: var(--occupe-texte); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--trait); font-size: 0.9375rem; font-weight: 500; }
.choice input:checked + span { background: var(--libre); border-color: var(--libre); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--libre); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form-msg { font-size: 0.9375rem; font-weight: 500; color: var(--occupe-texte); }
.form-msg:empty { display: none; }
.form-note { font-size: 0.8125rem; color: var(--texte-3); }
.form-done { display: flex; flex-direction: column; gap: 12px; }
.form-done[hidden] { display: none; }
.form-done svg { width: 48px; height: 48px; margin-bottom: 8px; }
.form-done h3 { font-size: 1.75rem; }
.form-done p { color: var(--texte-2); overflow-wrap: anywhere; }
.form-done:focus { outline: none; }

/* Confirmation : la carte arrive, la pastille bleue rebondit, la coche se trace. */
.form-done:not([hidden]) { animation: done-carte .45s cubic-bezier(.2, .8, .3, 1) both; }
.form-done:not([hidden]) .done-ico { overflow: visible; }
.form-done:not([hidden]) .done-ico circle { transform-origin: 24px 24px; animation: done-pastille .55s cubic-bezier(.3, 1.6, .5, 1) .1s both; }
.form-done:not([hidden]) .done-ico path { stroke-dasharray: 1; animation: done-coche .35s ease-out .45s both; }
.form-done:not([hidden]) h3, .form-done:not([hidden]) p { animation: done-texte .4s ease-out .55s both; }
.form-done:not([hidden]) p { animation-delay: .65s; }
@keyframes done-carte { from { opacity: 0; transform: translateY(12px); } }
@keyframes done-pastille { from { transform: scale(0); } }
@keyframes done-coche { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes done-texte { from { opacity: 0; transform: translateY(8px); } }

/* Pied de page */
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-block: 32px; font-size: 0.875rem; color: var(--texte-3); }
.foot-year { margin-left: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
