/* ==========================================================================
   My Webspot — feuille de style unique (site vitrine statique)
   Charte § 10 du cahier des charges. Mobile first. Thème clair uniquement.
   ========================================================================== */

/* 1. Variables ----------------------------------------------------------- */
:root{
  --navy:#00163A;          /* titres, en-tête, pied de page, boutons « Commander » */
  --navy-90:#1A2E52;       /* survol boutons navy */
  --green:#80D343;         /* boutons « Recharger », coches, chevrons, focus */
  --green-90:#6FC132;      /* survol boutons verts */
  --green-10:#F1FAE8;      /* fond encadrés « clients existants », succès */
  --bg:#FFFFFF; --bg-alt:#F9F9F9;
  --text:#121212; --muted:#4B5563; --border:#E5E7EB;
  --error:#B42318; --error-bg:#FEF3F2;
  --radius-card:16px; --radius-btn:8px; --radius-field:8px;
  --shadow-card:0 4px 16px rgba(0,22,58,.08);
  --container:1100px; --gutter:16px;

  --field-border:#CBD2DC;
  --footer-text:#C7CDD8;
  --font:"Assistant", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --header-h:56px;
  --sticky-h:64px;
  --focus-ring:0 0 0 4px rgba(128,211,67,.35);
}

@media (min-width:768px){
  :root{ --gutter:24px; }
}
@media (min-width:1152px){
  :root{ --header-h:64px; }
}

/* 2. Police auto-hébergée ------------------------------------------------ */
@font-face{
  font-family:"Assistant";
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url("/assets/fonts/Assistant-400.woff2") format("woff2");
}
@font-face{
  font-family:"Assistant";
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url("/assets/fonts/Assistant-600.woff2") format("woff2");
}
@font-face{
  font-family:"Assistant";
  font-style:normal;
  font-weight:800;
  font-display:swap;
  src:url("/assets/fonts/Assistant-800.woff2") format("woff2");
}

/* 3. Reset léger --------------------------------------------------------- */
*,*::before,*::after{ box-sizing:border-box; }
html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--header-h) + 16px);
}
html{ background:var(--navy); }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,p,ul,ol,figure,fieldset{ margin:0; }
ul,ol{ padding:0; }
fieldset{ padding:0; border:0; min-width:0; }
legend{ padding:0; }
img,svg,picture{ display:block; max-width:100%; }
img{ height:auto; }
button,input,select,textarea{ font:inherit; color:inherit; }
button{ cursor:pointer; }
a{ color:var(--navy); }
a:hover{ text-decoration-color:var(--green); }
strong{ font-weight:600; }
[hidden]{ display:none !important; }
:focus-visible{ outline:3px solid var(--navy); outline-offset:2px; }
.site-header :focus-visible,.platform :focus-visible,.site-footer :focus-visible{ outline-color:var(--green); }
::selection{ background:var(--green); color:var(--navy); }
main:focus{ outline:none; }

/* 4. Typographie --------------------------------------------------------- */
h1,h2,h3{ color:var(--navy); line-height:1.2; font-weight:800; }
h1{ font-size:clamp(30px,4vw,44px); line-height:1.15; }
h2{ font-size:clamp(24px,3vw,32px); }
h3{ font-size:20px; font-weight:600; }
.lead{ font-size:clamp(16px,1.6vw,18px); }
.eyebrow{
  font-size:13px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--navy);
  margin-bottom:12px;
}
small{ font-size:14px; }

/* 5. Utilitaires --------------------------------------------------------- */
.container{
  width:min(100% - 2 * var(--gutter), var(--container));
  margin-inline:auto;
}
.sr-only{
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.skip-link{
  position:absolute;
  top:-100px; left:16px;
  z-index:100;
  padding:12px 20px;
  background:var(--green);
  color:var(--navy);
  font-weight:600;
  border-radius:var(--radius-btn);
  text-decoration:none;
}
.skip-link:focus{ top:12px; }
.js-only{ display:none; }
html.js .js-only{ display:revert; }
.hp{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.svg-defs{ position:absolute; width:0; height:0; overflow:hidden; }

/* Icônes SVG inline (style Lucide, trait 1,75) */
.icon{
  width:20px; height:20px;
  flex:none;
  fill:none;
  stroke:currentColor;
  stroke-width:1.75;
  stroke-linecap:round;
  stroke-linejoin:round;
  display:inline-block;
  vertical-align:middle;
}
.icon-sm{ width:14px; height:14px; }
.icon-lg{ width:24px; height:24px; }

/* Sections */
.section{ padding:clamp(48px,8vw,96px) 0; }
.section-alt{ background:var(--bg-alt); }
.section-head{
  max-width:720px;
  margin:0 auto clamp(32px,5vw,48px);
  text-align:center;
}
.section-head p{ margin-top:16px; }
.cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  align-items:center;
  justify-content:center;
  margin-top:clamp(24px,4vw,40px);
}

/* 6. Boutons ------------------------------------------------------------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:48px;
  padding:0 24px;
  border:2px solid transparent;
  border-radius:var(--radius-btn);
  font-size:16px;
  font-weight:600;
  line-height:1.2;
  text-align:center;
  text-decoration:none;
  background:transparent;
  transition:background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary{ background:var(--navy); color:#fff; }
.btn-primary:hover{ background:var(--navy-90); color:#fff; }
.btn-primary-inverse{ background:#fff; color:var(--navy); }
.btn-primary-inverse:hover{ background:var(--border); color:var(--navy); }
.btn-portal{ background:var(--green); color:var(--navy); }
.btn-portal:hover{ background:var(--green-90); color:var(--navy); }
.btn-outline{ border-color:var(--navy); color:var(--navy); }
.btn-outline:hover{ background:var(--bg-alt); }
.btn-lg{ min-height:56px; font-size:17px; }
.btn-block{ width:100%; }
.btn[disabled],.btn[aria-busy="true"]{ opacity:.75; cursor:progress; }
.btn[aria-busy="true"]::before{
  content:"";
  width:18px; height:18px;
  border:2px solid currentColor;
  border-right-color:transparent;
  border-radius:50%;
  animation:mw-spin .8s linear infinite;
}
@keyframes mw-spin{ to{ transform:rotate(360deg); } }

/* Lien portail « vert » : soulignement vert épais + icône verte
   (texte navy pour garder un contraste AA, cf. § 10.1). */
.link-portal{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:var(--navy);
  font-weight:600;
  text-decoration:underline;
  text-decoration-color:var(--green);
  text-decoration-thickness:2px;
  text-underline-offset:4px;
}
.link-portal .icon{ color:var(--green); }
.link-portal:hover{ color:var(--navy-90); }

/* 7. Cartes, listes à coches, badges, tuiles ----------------------------- */
.check-list{ list-style:none; display:grid; gap:10px; }
.check-list li{ display:flex; gap:10px; align-items:flex-start; }
.check-list .icon{ color:var(--green); margin-top:3px; }

.badges{ display:flex; flex-wrap:wrap; gap:8px; }
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  background:var(--bg-alt);
  color:var(--navy);
  font-size:14px;
  font-weight:600;
}
.badge .icon{ color:var(--navy); }

.tiles{
  display:grid;
  list-style:none;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
  text-align:center;
}
@media (min-width:768px){
  .tiles{ grid-template-columns:repeat(4,1fr); }
}
.tile-value{
  font-size:28px;
  font-weight:800;
  color:var(--navy);
  line-height:1.2;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:4px 8px;
}
.tile-label{ font-size:14px; color:var(--muted); margin-top:6px; }

/* 8. En-tête ------------------------------------------------------------- */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:var(--navy);
  color:#fff;
  transition:box-shadow .15s ease;
}
.site-header.is-scrolled{ box-shadow:0 2px 8px rgba(0,22,58,.25); }
.header-inner{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px 16px;
  min-height:var(--header-h);
}
.brand{ display:inline-flex; align-items:center; padding:8px 0; flex:none; }
.brand img{ flex:none; width:143px; height:32px; max-width:none; }

.burger{
  display:none;
  width:48px; height:48px;
  align-items:center;
  justify-content:center;
  margin-right:-8px;
  background:none;
  border:0;
  border-radius:var(--radius-btn);
  color:#fff;
}
.burger .icon{ width:26px; height:26px; }
.burger .icon-close{ display:none; }
.burger[aria-expanded="true"] .icon-menu{ display:none; }
.burger[aria-expanded="true"] .icon-close{ display:block; }

.site-nav{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px 16px;
  width:100%;
  padding-bottom:12px;
}
.nav-links{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:4px 20px;
}
.nav-links a{
  display:block;
  padding:12px 0;
  color:#fff;
  font-size:15px;
  font-weight:600;
  text-decoration:underline;
  text-decoration-color:transparent;
  text-decoration-thickness:2px;
  text-underline-offset:6px;
  transition:text-decoration-color .15s ease;
}
.nav-links a:hover,.nav-links a:focus-visible{ text-decoration-color:var(--green); }
.nav-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
}

/* Mobile avec JS : panneau plein écran */
@media (max-width:1151.98px){
  html.js .burger{ display:inline-flex; }
  html.js .site-nav{ display:none; }
  html.js .site-nav.is-open{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    position:fixed;
    top:var(--header-h); right:0; bottom:0; left:0;
    z-index:40;
    padding:24px var(--gutter) 40px;
    background:var(--navy);
    overflow-y:auto;
  }
  html.js .site-nav.is-open .nav-links{ flex-direction:column; gap:0; }
  html.js .site-nav.is-open .nav-links a{ font-size:20px; padding:12px 0; }
  html.js .site-nav.is-open .nav-actions{
    flex-direction:column;
    align-items:stretch;
    margin-top:24px;
  }
  html.js .site-nav.is-open .nav-actions .btn{ width:100%; }
  body.menu-open{ overflow:hidden; }
}

/* Desktop */
@media (min-width:1152px){
  .header-inner{ flex-wrap:nowrap; }
  html.js .burger{ display:none; }
  .site-nav{
    flex:1;
    flex-wrap:nowrap;
    justify-content:space-between;
    width:auto;
    padding-bottom:0;
    margin-left:24px;
  }
  .nav-links{ margin:0 auto; flex-wrap:nowrap; white-space:nowrap; gap:10px; }
  .nav-links a{ font-size:14px; line-height:24px; }
  .nav-actions{ flex-wrap:nowrap; gap:8px; }
  .nav-actions .btn{ padding:0 12px; min-height:48px; font-size:14px; white-space:nowrap; }
}

/* 9. Hero ---------------------------------------------------------------- */
.hero{ padding:clamp(40px,6vw,72px) 0; }
.hero-grid{ display:grid; gap:32px; align-items:center; }
.hero-copy .lead{ margin-top:16px; color:var(--text); }
.hero-cards{ display:grid; gap:16px; margin-top:28px; }
.path-card{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:12px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius-card);
  padding:24px;
  transition:box-shadow .15s ease;
}
.path-card:hover{ box-shadow:var(--shadow-card); }
.path-card .card-icon{ width:28px; height:28px; color:var(--navy); }
.path-card h2{ font-size:20px; font-weight:800; }
.path-card p{ font-size:15px; }
.path-card .btn{ width:100%; margin-top:auto; }
.path-card .btn::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:var(--radius-card);
}
.path-card .btn:focus-visible::after{
  outline:3px solid var(--navy);
  outline-offset:2px;
}
.card-note{ font-size:13px; color:var(--muted); }
.path-card h2,.path-card > p{ position:relative; z-index:1; }
.hero-media{ border-radius:var(--radius-card); overflow:hidden; }
.hero-media img{ width:100%; height:200px; object-fit:cover; }

@media (min-width:640px){
  .hero-cards{ grid-template-columns:1fr 1fr; }
  .path-card .card-note{ min-height:3.2em; }
}
@media (min-width:1024px){
  .hero-grid{ grid-template-columns:55fr 45fr; gap:48px; }
  .hero-media img{ height:460px; }
}

/* 10. Bandeau de confiance ---------------------------------------------- */
.trust{ background:var(--bg-alt); padding:32px 0; }

/* 11. Le boîtier et les offres ------------------------------------------ */
.device-grid{
  display:grid;
  gap:32px;
  grid-template-areas:"figure" "offers" "specs";
}
.device-figure{ grid-area:figure; }
.device-figure img{ display:block; width:auto; height:auto; max-width:100%; max-height:220px; margin:0 auto; }
.device-offers{ grid-area:offers; }
.device-specs{ grid-area:specs; }
.device-specs h3{ margin-bottom:16px; }
.device-specs .badges{ margin-top:24px; }
.offers{ display:grid; gap:16px; }
.offer{
  display:flex;
  flex-direction:column;
  gap:8px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius-card);
  padding:24px;
  transition:box-shadow .15s ease;
}
.offer:hover{ box-shadow:var(--shadow-card); }
.offer h3{ font-size:16px; font-weight:600; color:var(--text); }
.offer-detail{ font-size:14px; color:var(--muted); }
.offer-price{ font-size:32px; font-weight:800; color:var(--navy); line-height:1.1; margin:8px 0; }
.offer .btn{ width:100%; margin-top:auto; }
.offers-note{ font-size:14px; color:var(--muted); margin-top:16px; }

@media (min-width:640px){
  .offers{ grid-template-columns:1fr 1fr; }
}
@media (min-width:1024px){
  .device-grid{
    grid-template-columns:1fr 1.15fr;
    grid-template-areas:"figure offers" "specs offers";
    align-items:start;
  }
  .device-figure img{ width:100%; max-width:320px; max-height:none; }
}

/* 12. Comment ça marche -------------------------------------------------- */
.steps{ display:grid; gap:24px; }
.step{ display:flex; flex-direction:column; gap:12px; }
.step-head{ display:flex; align-items:center; gap:12px; }
.step-num{
  width:40px; height:40px;
  border-radius:50%;
  background:var(--green);
  color:var(--navy);
  font-size:18px;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:none;
}
.step-head .icon{ color:var(--navy); }
.step h3{ font-size:18px; font-weight:600; }
.step p{ font-size:15px; }
.daypass-box{
  background:#fff;
  border-left:4px solid var(--green);
  border-radius:12px;
  padding:24px;
  margin-top:clamp(32px,5vw,48px);
}
.daypass-box h3{ margin-bottom:8px; }
.daypass-price{ font-size:28px; font-weight:800; color:var(--navy); margin-bottom:12px; }
.daypass-box ul{ padding-left:22px; display:grid; gap:8px; }

@media (min-width:768px){
  .steps{ grid-template-columns:repeat(3,1fr); gap:32px; }
}

/* 13. Couverture --------------------------------------------------------- */
.search-wrap{ max-width:640px; margin:0 auto; position:relative; }
.search-wrap label{
  display:block;
  font-size:14px;
  font-weight:600;
  color:var(--navy);
  margin-bottom:6px;
}
.search-field{ position:relative; }
.search-field .icon{
  position:absolute;
  left:14px; top:50%;
  transform:translateY(-50%);
  color:var(--muted);
  pointer-events:none;
}
.search-field input[type="search"]{ padding-left:44px; }
.search-results{
  list-style:none;
  position:absolute;
  left:0; right:0;
  z-index:20;
  margin-top:6px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius-field);
  box-shadow:var(--shadow-card);
  overflow:hidden;
}
.search-results:empty{ display:none; }
.search-results li{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:4px 10px;
  padding:10px 14px;
  cursor:pointer;
}
.search-results li + li{ border-top:1px solid var(--border); }
.search-results li small{ font-size:13px; color:var(--muted); }
.search-results li:hover,.search-results li[aria-selected="true"]{ background:var(--green-10); }
.search-results .flag{ flex:none; display:inline-block; width:22px; text-align:center; font-size:18px; line-height:1; }
.search-message{ font-size:14px; color:var(--muted); min-height:1.6em; margin-top:8px; }
.search-message a{ font-weight:600; }
.coverage-legend{
  font-size:14px;
  color:var(--muted);
  max-width:760px;
  margin:24px auto clamp(24px,4vw,40px);
  text-align:center;
}
.regions details{ border-top:1px solid var(--border); }
.regions details:last-of-type{ border-bottom:1px solid var(--border); }
.regions summary,.faq summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 0;
  font-size:17px;
  font-weight:600;
  color:var(--navy);
  cursor:pointer;
  list-style:none;
}
.regions summary::-webkit-details-marker,.faq summary::-webkit-details-marker{ display:none; }
.regions summary::after,.faq summary::after{
  content:"";
  flex:none;
  width:20px; height:20px;
  background-color:var(--green);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition:transform .15s ease;
}
.regions details[open] summary::after,.faq details[open] summary::after{ transform:rotate(180deg); }
.regions details ul{
  list-style:none;
  padding:0 0 16px;
  columns:1;
  column-gap:24px;
}
.regions details li{
  break-inside:avoid;
  padding:6px 8px;
  border-radius:6px;
  font-size:15px;
  transition:background-color .15s ease, box-shadow .15s ease;
}
.regions details li small{ font-size:13px; color:var(--muted); }
.regions .flag{ margin-right:6px; }
.regions li.is-hit{
  background:var(--green-10);
  box-shadow:inset 0 0 0 2px var(--green);
}
.coverage-note{ font-size:14px; color:var(--muted); margin-top:24px; max-width:760px; }

@media (min-width:640px){
  .regions details ul{ columns:2; }
}
@media (min-width:1024px){
  .regions details ul{ columns:3; }
}

/* 14. Plateforme (clients existants) ------------------------------------ */
.platform{
  background:var(--navy);
  color:#fff;
  border-top:6px solid var(--green);
}
.platform h2,.platform h3{ color:#fff; }
.platform-grid{ display:grid; gap:32px; align-items:center; }
.platform-copy > h2 + p{ margin-top:16px; }
.platform-figure{ display:none; }
.platform-figure img{ width:100%; max-width:260px; margin:0 auto; }
.platform .check-list{ margin-top:20px; }
.platform .btn-portal{ margin-top:28px; width:100%; }
.platform-note{ font-size:14px; color:var(--footer-text); margin-top:12px; }
.platform-help{ margin-top:32px; font-size:14px; }
.platform-help h3{ font-size:18px; margin-bottom:8px; }
.platform-help p + p{ margin-top:6px; }
.platform-help a{ color:#fff; text-decoration:underline; text-underline-offset:3px; }
.platform-help a:hover{ text-decoration-color:var(--green); }

@media (min-width:640px){
  .platform .btn-portal{ width:auto; }
}
@media (min-width:768px){
  .platform-grid{ grid-template-columns:1fr 260px; gap:48px; }
  .platform-figure{ display:block; }
}

/* 15. Entreprises -------------------------------------------------------- */
.biz-grid{ display:grid; gap:32px; align-items:start; }
.biz-copy h3{ margin:24px 0 12px; }
.biz-copy > h2 + p{ margin-top:16px; }
.biz-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius-card);
  padding:32px 24px;
  text-align:center;
}
.biz-icons{
  display:flex;
  justify-content:center;
  gap:24px;
  color:var(--navy);
  margin-bottom:16px;
}
.biz-icons .icon{ width:28px; height:28px; }
.biz-card p{ font-weight:600; color:var(--navy); }
.biz-actions{ display:flex; flex-wrap:wrap; gap:16px; align-items:center; margin-top:28px; }

@media (min-width:1024px){
  .biz-grid{ grid-template-columns:1.2fr 1fr; gap:48px; }
}

/* 16. Contact / formulaire ---------------------------------------------- */
.contact-grid{
  display:grid;
  gap:32px;
  grid-template-areas:"reminder" "form" "details";
}
.contact-reminder{ grid-area:reminder; }
.contact-form{ grid-area:form; }
.contact-details{ grid-area:details; }
.reminder{
  background:var(--green-10);
  border-left:4px solid var(--green);
  border-radius:12px;
  padding:20px 24px;
}
.reminder p{ margin-bottom:12px; }
.form-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius-card);
  padding:24px;
}
.field{ margin-bottom:20px; }
.field > label,.field > legend{
  display:block;
  font-size:14px;
  font-weight:600;
  color:var(--navy);
  margin-bottom:6px;
}
.field-optional{ font-weight:400; color:var(--muted); }
.hint{ font-size:13px; color:var(--muted); margin-top:6px; }
.field-error{ font-size:14px; color:var(--error); margin-top:6px; }
input[type="text"],input[type="email"],input[type="tel"],input[type="search"],textarea{
  width:100%;
  height:48px;
  padding:0 14px;
  background:#fff;
  color:var(--text);
  border:1px solid var(--field-border);
  border-radius:var(--radius-field);
  font-size:16px;
  transition:border-color .15s ease, box-shadow .15s ease;
}
input[type="search"]{ -webkit-appearance:none; appearance:none; }
textarea{
  height:auto;
  min-height:120px;
  padding:12px 14px;
  line-height:1.5;
  resize:vertical;
}
input:focus-visible,textarea:focus-visible{
  outline:2px solid var(--navy);
  outline-offset:0;
  border-color:var(--green);
  box-shadow:var(--focus-ring);
}
.is-error input,.is-error textarea{ border-color:var(--error); }
.is-error .segmented{ border-color:var(--error); }
input[aria-invalid="true"],textarea[aria-invalid="true"]{ border-color:var(--error); }

.segmented{
  display:grid;
  grid-template-columns:1fr 1fr;
  border:1px solid var(--field-border);
  border-radius:var(--radius-field);
  overflow:hidden;
}
.segmented label{ position:relative; margin:0; display:block; }
.segmented input{
  position:absolute;
  opacity:0;
  width:1px; height:1px;
  margin:0;
}
.segmented span{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 12px;
  font-weight:600;
  color:var(--navy);
  cursor:pointer;
  text-align:center;
  transition:background-color .15s ease, color .15s ease;
}
.segmented label + label span{ border-left:1px solid var(--field-border); }
.segmented input:checked + span{ background:var(--navy); color:#fff; }
.segmented input:focus-visible + span{ outline:3px solid var(--navy); outline-offset:-3px; }
.segmented input:checked:focus-visible + span{ outline-color:var(--green); }

.checkbox-field{ display:flex; flex-wrap:wrap; gap:12px; align-items:flex-start; }
.checkbox-field label{ flex:1 1 0; min-width:0; }
.checkbox-field .field-error{ flex-basis:100%; margin-top:0; }
.checkbox-field input[type="checkbox"]{
  flex:none;
  width:22px; height:22px;
  margin:3px 0 0;
  accent-color:var(--navy);
}
.checkbox-field label{ font-size:15px; font-weight:400; margin:0; }
.form-footnote{ font-size:13px; color:var(--muted); margin-top:16px; }
.form-success{
  background:var(--green-10);
  border:1px solid var(--green);
  border-left-width:4px;
  border-radius:var(--radius-card);
  padding:24px;
}
.form-success p{ margin-bottom:16px; }
.form-success .cta-row{ justify-content:flex-start; margin-top:8px; }
.form-error{
  background:var(--error-bg);
  border-left:4px solid var(--error);
  border-radius:12px;
  padding:16px 20px;
  margin-bottom:20px;
}
.form-error a{ font-weight:600; }

.contact-details h3{ margin-bottom:12px; }
.contact-details h3 + h3,.contact-list + h3{ margin-top:24px; }
.contact-list{ list-style:none; display:grid; gap:12px; }
.contact-list li{ display:flex; gap:10px; align-items:flex-start; }
.contact-list .icon{ color:var(--navy); margin-top:3px; }
.contact-list a{ font-weight:600; }

@media (min-width:768px){
  .form-card{ padding:32px; }
}
@media (min-width:1024px){
  .contact-grid{
    grid-template-columns:2fr 1fr;
    grid-template-rows:auto 1fr;
    grid-template-areas:"form reminder" "form details";
    align-items:start;
    gap:40px;
  }
}

/* 17. FAQ ---------------------------------------------------------------- */
.faq{ max-width:760px; margin:0 auto; }
.faq details{ border-bottom:1px solid var(--border); }
.faq details:first-of-type{ border-top:1px solid var(--border); }
.faq details p{ font-size:16px; color:var(--text); padding:0 0 16px; }
.faq-more{ text-align:center; margin-top:32px; }

/* 18. Pied de page ------------------------------------------------------- */
.site-footer{
  position:relative;
  overflow:hidden;
  background:var(--navy);
  color:var(--footer-text);
  padding:clamp(40px,6vw,64px) 0 calc(24px + var(--sticky-h) + env(safe-area-inset-bottom, 0px));
  font-size:15px;
}
/* Pages sans barre sticky basse (merci) : pas de réserve en bas. */
body.no-sticky .site-footer{ padding-bottom:clamp(40px,6vw,64px); }
.site-footer .container{ position:relative; z-index:1; }
.footer-grid{ display:grid; gap:32px; }
.site-footer h2{ color:#fff; font-size:16px; font-weight:800; margin-bottom:12px; }
.footer-brand img{ height:32px; width:auto; margin-bottom:16px; }
.footer-links{ list-style:none; display:grid; gap:8px; }
.site-footer a{ color:var(--footer-text); text-decoration:none; }
.site-footer a:hover,.site-footer a:focus-visible{ color:#fff; text-decoration:underline; text-decoration-color:var(--green); text-underline-offset:3px; }
.site-footer address{ font-style:normal; display:grid; gap:8px; }
.footer-actions{ display:grid; gap:12px; margin-top:20px; }
.footer-actions .btn,.footer-actions .btn:hover{ text-decoration:none; }
.footer-actions .btn-portal,.footer-actions .btn-portal:hover{ color:var(--navy); }
.footer-actions .btn-primary-inverse,.footer-actions .btn-primary-inverse:hover{ color:var(--navy); }
.footer-watermark{
  position:absolute;
  right:-40px; bottom:24px;
  width:360px;
  opacity:.15;
  display:none;
  pointer-events:none;
}
.footer-bottom{
  display:flex;
  flex-wrap:wrap;
  gap:8px 24px;
  justify-content:space-between;
  align-items:center;
  margin-top:40px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.15);
  font-size:13px;
}
.footer-bottom p{ margin:0; }

@media (min-width:768px){
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (min-width:1024px){
  .footer-grid{ grid-template-columns:1.4fr 1fr 1.1fr 1.2fr; gap:40px; }
  .footer-watermark{ display:block; }
}
/* La réserve basse suit la barre sticky, qui disparaît à 1152 px. */
@media (min-width:1152px){
  .site-footer{ padding-bottom:24px; }
}

/* 19. Barre sticky basse (mobile) --------------------------------------- */
.sticky-bar{
  position:fixed;
  left:0; right:0; bottom:0;
  z-index:45;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  height:calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px));
  padding:8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
  background:#fff;
  border-top:1px solid var(--border);
  box-shadow:0 -2px 12px rgba(0,22,58,.12);
  transition:transform .2s ease, visibility 0s;
}
.sticky-bar .btn{ min-height:48px; padding:0 12px; }
.sticky-bar.is-hidden{
  transform:translateY(100%);
  visibility:hidden;
  transition:transform .2s ease, visibility 0s linear .2s;
}
@media (min-width:1152px){
  .sticky-bar{ display:none; }
}

/* 20. Pages secondaires (légales, merci, 404) --------------------------- */
.page{ padding:clamp(40px,6vw,72px) 0; }
.page-narrow{ max-width:760px; margin:0 auto; }
.legal{ font-size:17px; }
.legal h1{ margin-bottom:16px; }
.legal h2{ font-size:clamp(20px,2.4vw,26px); margin:40px 0 12px; }
.legal h3{ margin:24px 0 8px; }
.legal p + p,.legal ul + p,.legal p + ul,.legal ol + p,.legal p + ol{ margin-top:12px; }
.legal ul,.legal ol{ padding-left:24px; }
.legal li + li{ margin-top:6px; }
.legal .lead{ color:var(--muted); font-size:16px; margin-bottom:24px; }
.legal .legal-subtitle{ font-size:18px; font-weight:600; color:var(--navy); margin-bottom:4px; }
.legal .legal-meta{ color:var(--muted); font-size:15px; line-height:1.6; margin-bottom:24px; }
.legal .legal-copyright{ color:var(--muted); font-size:14px; margin-top:32px; }
.legal .toc-title{ font-size:20px; margin:32px 0 12px; }
.toc{ background:var(--bg-alt); border-radius:12px; padding:20px 24px 20px 44px; margin:24px 0 32px; font-size:15px; }
.toc li + li{ margin-top:4px; }
.breadcrumb{ list-style:none; display:flex; flex-wrap:wrap; gap:4px 8px; font-size:14px; color:var(--muted); margin-bottom:24px; }
.breadcrumb li + li::before{ content:"›"; margin-right:8px; }
.legal .breadcrumb{ padding-left:0; }
.thanks{ max-width:640px; margin:0 auto; text-align:center; }
.thanks h1{ margin-bottom:12px; }
.thanks p{ margin-bottom:16px; }
.thanks h2{ margin-top:32px; }
.thanks ol{ text-align:left; padding-left:24px; margin:16px 0 0; display:grid; gap:8px; }
.thanks .cta-row{ margin-top:32px; }
.check-anim{ width:72px; height:72px; margin:0 auto 24px; color:var(--green); stroke-width:2; }
.check-anim path{
  stroke-dasharray:80;
  stroke-dashoffset:80;
  animation:mw-draw .8s ease-out .2s forwards;
}
@keyframes mw-draw{ to{ stroke-dashoffset:0; } }
.not-found{ max-width:640px; margin:0 auto; text-align:center; }
.not-found h1 + p{ margin-top:12px; }
.not-found .cta-row{ margin-top:32px; }

/* 21. Mouvement réduit --------------------------------------------------- */
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    transition-duration:0s !important;
    animation-duration:0s !important;
    animation-iteration-count:1 !important;
  }
  .check-anim path{ stroke-dashoffset:0; }
}

/* 22. Impression --------------------------------------------------------- */
@media print{
  .site-header,.sticky-bar,.skip-link,.burger,.footer-watermark,.search-wrap,.footer-actions,.nav-actions{ display:none !important; }
  body{ color:#000; background:#fff; font-size:12pt; }
  .section{ padding:16pt 0; }
  .section-alt,.trust{ background:#fff; }
  .platform,.site-footer{ background:#fff; color:#000; border:0; }
  .platform h2,.platform h3,.site-footer h2,.site-footer a,.platform-help a{ color:#000; }
  a[href^="http"]::after{ content:" (" attr(href) ")"; font-size:90%; }
  .btn{ border:1px solid #000; color:#000; background:none; }
  details{ break-inside:avoid; }
}
