/* SimpliFM — site vitrine. Mobile d'abord. Jetons de design : voir BLUEPRINT.md §6. */

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../assets/polices/sora-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../assets/polices/sora-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Palette imposée */
  --marine: #12263F;
  --sarcelle: #0E8A78;          /* icônes, bordures, grands éléments (4,26:1 sur blanc) */
  --sarcelle-texte: #0B7A6A;    /* liens et petit texte accentué (5,24:1 sur blanc) */
  --sarcelle-clair: #3FCBB3;    /* accent sur fond Marine (7,57:1) */
  --signal: #F2873A;            /* bouton principal et alertes, avec texte Marine (6,04:1) */
  --signal-texte: #B4530F;      /* texte d'alerte sur fond clair (5,02:1) */
  --brume: #F5F7F9;
  --blanc: #FFFFFF;
  /* Dérivés neutres */
  --gris: #4A5A6E;              /* texte secondaire (7,05:1) */
  --gris-clair: #B8C4D2;        /* texte secondaire sur Marine (8,63:1) */
  --trait: #DCE3EA;
  --marine-2: #1A3352;

  --police: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  --rayon: 12px;
  --rayon-s: 8px;
  --ombre: 0 1px 2px rgba(18, 38, 63, .06), 0 8px 24px rgba(18, 38, 63, .08);
  --ombre-forte: 0 2px 4px rgba(18, 38, 63, .08), 0 24px 60px rgba(18, 38, 63, .18);
  --largeur: 1200px;
  --gouttiere: 16px;
  --t-xs: .8125rem;
  --t-s: .9375rem;
  --t-m: 1.0625rem;
  --t-l: clamp(1.125rem, 1rem + .4vw, 1.25rem);
  --t-h3: clamp(1.125rem, 1rem + .5vw, 1.3125rem);
  --t-h2: clamp(1.625rem, 1.2rem + 1.6vw, 2.375rem);
  --t-h1: clamp(2rem, 1.3rem + 3vw, 3.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--police);
  font-size: var(--t-m);
  line-height: 1.6;
  color: var(--marine);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--sarcelle-texte); text-underline-offset: 3px; }
a:hover { color: var(--marine); }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: var(--t-h1); letter-spacing: -.025em; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--sarcelle); outline-offset: 3px; border-radius: 4px; }
.sombre :focus-visible { outline-color: var(--sarcelle-clair); }

.visuellement-cache {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.lien-evitement {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--marine); color: var(--blanc); padding: 10px 16px; border-radius: var(--rayon-s);
}
.lien-evitement:focus { top: 8px; color: var(--blanc); }

.conteneur { width: 100%; max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin: 0 auto; padding: 0 var(--gouttiere); }
.etroit { max-width: calc(780px + 2 * var(--gouttiere)); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.brume { background: var(--brume); }
.sombre { background: var(--marine); color: var(--blanc); }
.sombre a { color: var(--sarcelle-clair); }
.sombre a:hover { color: var(--blanc); }
.sombre .sous-titre, .sombre .discret { color: var(--gris-clair); }
.surtitre {
  display: inline-block; font-size: var(--t-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sarcelle-texte); margin-bottom: 12px;
}
.sombre .surtitre { color: var(--sarcelle-clair); }
.sous-titre { font-size: var(--t-l); color: var(--gris); max-width: 46em; }
.discret { color: var(--gris); font-size: var(--t-s); }
.entete-section { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.entete-section.centre { margin-left: auto; margin-right: auto; text-align: center; }
.entete-section.centre .sous-titre { margin-left: auto; margin-right: auto; }

/* Emplacements à compléter : volontairement visibles */
mark.a-completer {
  background: #FFF1E6; color: var(--signal-texte); border: 1px dashed var(--signal-texte);
  border-radius: 4px; padding: 0 .3em; font-weight: 500;
}
.sombre mark.a-completer, .pionniers mark.a-completer { background: #3A2A1E; color: #FFD2B0; border-color: #FFD2B0; }

/* Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 10px; border: 2px solid transparent;
  font: inherit; font-size: var(--t-s); font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.bouton:hover { transform: translateY(-1px); }
.bouton-principal { background: var(--signal); color: var(--marine); box-shadow: 0 6px 16px rgba(242, 135, 58, .28); }
.bouton-principal:hover { background: #F59A57; color: var(--marine); }
.sombre .bouton-principal, .sombre .bouton-principal:hover, .pionniers .bouton-principal { color: var(--marine); }
.bouton-secondaire { background: transparent; color: var(--marine); border-color: var(--marine); }
.bouton-secondaire:hover { background: var(--marine); color: var(--blanc); }
.sombre .bouton-secondaire { color: var(--blanc); border-color: rgba(255, 255, 255, .55); }
.sombre .bouton-secondaire:hover { background: var(--blanc); color: var(--marine); border-color: var(--blanc); }
.bouton-discret { background: var(--brume); color: var(--marine); }
.bouton-discret:hover { background: var(--trait); color: var(--marine); }
.bouton svg { width: 18px; height: 18px; flex: none; }
.groupe-boutons { display: flex; flex-wrap: wrap; gap: 12px; }

/* En-tête */
.entete {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.entete.defile { border-bottom-color: var(--trait); }
.entete .conteneur { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; flex: none; }
.logo img { height: 24px; width: auto; }
.essai-mobile { margin-left: auto; min-height: 40px; padding: 8px 14px; font-size: var(--t-xs); white-space: nowrap; }
.nav-bascule {
  margin-left: 8px; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  background: none; border: 1px solid var(--trait); border-radius: 10px; color: var(--marine); cursor: pointer;
}
.nav-bascule svg { width: 22px; height: 22px; }
.nav-principale { display: none; }
.nav-principale.ouverte {
  display: block; position: absolute; left: 0; right: 0; top: 68px; background: var(--blanc);
  border-bottom: 1px solid var(--trait); box-shadow: var(--ombre); padding: 8px var(--gouttiere) 20px;
  max-height: calc(100vh - 68px); overflow-y: auto;
}
.nav-principale ul { list-style: none; margin: 0; padding: 0; }
.nav-liens a {
  display: block; padding: 12px 4px; color: var(--marine); text-decoration: none; font-weight: 500;
  border-bottom: 1px solid var(--brume);
}
.nav-liens a[aria-current="page"] { color: var(--sarcelle-texte); }
.nav-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.nav-actions .bouton { width: 100%; }
.langues { display: flex; gap: 4px; margin-top: 16px; }
.langues a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px;
  border-radius: 8px; text-decoration: none; color: var(--gris); font-size: var(--t-s); font-weight: 600;
}
.langues a[aria-current="true"] { background: var(--brume); color: var(--marine); }
.langues a:hover { color: var(--marine); }
.no-js .nav-bascule { display: none; }
.no-js .nav-principale { display: block; width: 100%; }
.no-js .entete .conteneur { flex-wrap: wrap; }

@media (min-width: 1024px) {
  .nav-bascule, .essai-mobile { display: none; }
  .nav-principale, .no-js .nav-principale { display: flex; align-items: center; flex: 1; gap: 8px; width: auto; }
  .nav-principale.ouverte { position: static; box-shadow: none; border: 0; padding: 0; }
  .nav-liens { display: flex; gap: 4px; margin: 0 auto; }
  .nav-liens a { border: 0; padding: 8px 12px; border-radius: 8px; font-size: var(--t-s); }
  .nav-liens a:hover { background: var(--brume); }
  .nav-actions { flex-direction: row; align-items: center; margin: 0; gap: 8px; }
  .nav-actions .bouton { width: auto; min-height: 44px; padding: 10px 18px; }
  .langues { margin: 0 4px 0 0; gap: 0; }
  .langues a { min-width: 40px; font-size: var(--t-xs); }
}

/* Héros */
.heros { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 88px) 0 0; background: var(--marine); color: var(--blanc); }
.heros::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(63, 203, 179, .18), transparent 70%),
    radial-gradient(50% 40% at 0% 100%, rgba(63, 203, 179, .10), transparent 70%);
  pointer-events: none;
}
.heros .conteneur { position: relative; }
.heros-texte { max-width: 820px; margin: 0 auto; text-align: center; }
.heros h1 { color: var(--blanc); margin-bottom: 20px; }
.heros h1 em { font-style: normal; color: var(--sarcelle-clair); }
.heros .sous-titre { color: var(--gris-clair); margin: 0 auto 28px; }
.heros .groupe-boutons { justify-content: center; }
.garanties {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; list-style: none; padding: 0; margin: 22px 0 0;
  font-size: var(--t-s); color: var(--gris-clair);
}
.garanties li { display: inline-flex; align-items: center; gap: 6px; }
.garanties svg { width: 18px; height: 18px; color: var(--sarcelle-clair); }
.heros-visuel { position: relative; margin: clamp(40px, 6vw, 64px) auto 0; max-width: 1080px; }
.heros-visuel .cadre { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
@media (max-width: 599px) {
  .heros-visuel { max-width: 300px; }
  .cadre-heros { border-radius: 28px 28px 0 0; border: 8px solid #0B1A2C; border-bottom: 0; max-height: 520px; }
  .cadre-heros .cadre-barre { display: none; }
}
.heros-mobile {
  display: none; position: absolute; right: -12px; bottom: 24px; width: 22%; max-width: 220px;
  border-radius: 22px; border: 6px solid #0B1A2C; box-shadow: var(--ombre-forte); overflow: hidden; background: #0B1A2C;
}
@media (min-width: 900px) { .heros-mobile { display: block; } }
.legende-demo { font-size: var(--t-xs); color: var(--gris); margin-top: 10px; }
.heros .legende-demo { position: absolute; left: 0; right: 0; bottom: -2px; text-align: center; color: var(--gris-clair); }

/* Cadre de navigateur autour des captures */
.cadre { border-radius: var(--rayon); background: var(--blanc); box-shadow: var(--ombre-forte); overflow: hidden; border: 1px solid rgba(18, 38, 63, .08); }
.cadre-barre { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #EEF2F6; border-bottom: 1px solid var(--trait); }
.cadre-barre span { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E0; }
.cadre-barre .adresse {
  width: auto; height: 20px; margin-left: 12px; flex: 0 1 320px; border-radius: 6px; background: var(--blanc);
  font-size: 11px; line-height: 20px; color: var(--gris); padding: 0 10px; overflow: hidden; white-space: nowrap;
}
.cadre picture, .cadre img { width: 100%; }
.cadre-mobile { max-width: 300px; margin: 0 auto; border-radius: 28px; border: 8px solid var(--marine); box-shadow: var(--ombre-forte); overflow: hidden; background: var(--marine); }

/* Grilles et cartes */
.grille { display: grid; gap: 20px; }
@media (min-width: 640px) { .grille-2, .grille-3, .grille-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grille-3 { grid-template-columns: repeat(3, 1fr); } .grille-4 { grid-template-columns: repeat(4, 1fr); } }
.carte { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 24px; }
.brume .carte { border-color: transparent; box-shadow: 0 1px 2px rgba(18, 38, 63, .05); }
.carte h3 { margin-bottom: 8px; }
.carte p:last-child, .carte ul:last-child { margin-bottom: 0; }
.icone {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 16px;
  border-radius: 10px; background: rgba(14, 138, 120, .1); color: var(--sarcelle);
}
.icone svg { width: 22px; height: 22px; }
.sombre .icone { background: rgba(63, 203, 179, .14); color: var(--sarcelle-clair); }
.sombre .carte { background: var(--marine-2); border-color: rgba(255, 255, 255, .08); color: var(--blanc); }
.sombre .carte p { color: var(--gris-clair); }
.liste-coches { list-style: none; padding: 0; margin: 0 0 1em; }
.liste-coches li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.liste-coches li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--sarcelle) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.sombre .liste-coches li::before { background-color: var(--sarcelle-clair); }
.liste-non { list-style: none; padding: 0; margin: 0; }
.liste-non li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.liste-non li::before {
  content: ""; position: absolute; left: 3px; top: .55em; width: 10px; height: 2px; background: var(--gris);
}

.apres-clic { font-size: var(--t-xs); color: var(--gris); margin: 12px 0 0; }
.sombre .apres-clic { color: var(--gris-clair); }
.cta-visite { margin-top: 32px; display: grid; gap: 20px; align-items: center; border: 2px solid var(--sarcelle); }
@media (min-width: 900px) { .cta-visite { grid-template-columns: 1fr auto; } }
.cta-visite h3 { margin-bottom: 4px; }
.cta-visite p { margin: 0; }

/* Constat */
.constat .carte { border-left: 4px solid var(--signal); }
.constat .carte h3 { font-size: var(--t-m); }

/* Visite guidée */
.onglets { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 12px; margin: 0 -4px 12px; scrollbar-width: thin; }
.onglet {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--trait); background: var(--blanc); color: var(--marine); font: inherit; font-size: var(--t-s); font-weight: 500; cursor: pointer;
}
.onglet svg { width: 18px; height: 18px; color: var(--sarcelle); }
.onglet[aria-selected="true"] { background: var(--marine); color: var(--blanc); border-color: var(--marine); }
.onglet[aria-selected="true"] svg { color: var(--sarcelle-clair); }
.no-js .onglets { display: none; }
.panneau { display: grid; gap: 28px; align-items: center; }
.panneau + .panneau { margin-top: 48px; }
.js .panneau + .panneau { margin-top: 0; }
.js .panneau[hidden] { display: none; }
.js .panneau { animation: fondu .25s ease; }
@media (min-width: 1000px) { .panneau { grid-template-columns: 1fr 2.1fr; gap: 48px; } }
.panneau h3 { font-size: var(--t-h3); }

/* Bénéfices / fonctionnalités en alternance */
.bloc { display: grid; gap: 28px; align-items: center; }
.bloc + .bloc { margin-top: clamp(56px, 8vw, 96px); }
@media (min-width: 1000px) {
  .bloc { grid-template-columns: 1fr 1.35fr; gap: 64px; }
  .bloc.inverse .bloc-texte { order: 2; }
}
.bloc-texte h2 { font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2rem); }

/* Étapes */
.etapes { counter-reset: etape; list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
@media (min-width: 900px) { .etapes { grid-template-columns: repeat(4, 1fr); } }
.etapes li { counter-increment: etape; position: relative; }
.etapes li::before {
  content: counter(etape); display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 14px;
  border-radius: 50%; background: var(--marine); color: var(--blanc); font-weight: 600; font-size: var(--t-s);
}
.etapes h3 { font-size: var(--t-m); }
.etapes p { color: var(--gris); font-size: var(--t-s); }

/* Tailles */
.tailles .carte strong { display: block; font-size: 1.5rem; font-weight: 600; margin-bottom: 4px; }

/* Tarifs */
.bascule-periode { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--brume); border: 1px solid var(--trait); margin-bottom: 32px; }
.bascule-periode button {
  min-height: 40px; padding: 8px 18px; border-radius: 999px; border: 0; background: transparent; color: var(--gris);
  font: inherit; font-size: var(--t-s); font-weight: 600; cursor: pointer;
}
.bascule-periode button[aria-pressed="true"] { background: var(--blanc); color: var(--marine); box-shadow: var(--ombre); }
.no-js .bascule-periode { display: none; }
.plans { display: grid; gap: 16px; }
@media (min-width: 700px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(5, 1fr); } .plans-3 { grid-template-columns: repeat(3, 1fr); } .plan .pour { min-height: 4.8em; } }
.plan { display: flex; flex-direction: column; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 24px 20px; position: relative; }
.plan.recommande { border: 2px solid var(--sarcelle); box-shadow: var(--ombre); }
.plan-badge {
  position: absolute; top: -13px; left: 20px; background: var(--sarcelle-texte); color: var(--blanc);
  font-size: var(--t-xs); font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: var(--t-l); margin-bottom: 4px; }
.plan .pour { color: var(--gris); font-size: var(--t-s); min-height: 3.2em; margin-bottom: 12px; }
.prix { font-size: 2.25rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.prix small { display: block; margin-top: 4px; font-size: var(--t-xs); font-weight: 500; color: var(--gris); letter-spacing: 0; }
.prix-annuel { font-size: var(--t-xs); color: var(--gris); margin: 4px 0 16px; min-height: 1.4em; }
.plan .bouton { width: 100%; margin-bottom: 18px; }
.plan ul { font-size: var(--t-s); }
.plan .quotas { border-top: 1px solid var(--trait); padding-top: 14px; margin-top: auto; }
.quotas dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 8px; margin: 0; font-size: var(--t-s); }
.quotas dt { color: var(--gris); }
.quotas dd { margin: 0; font-weight: 600; text-align: right; }
.tableau-defile { position: relative; overflow-x: auto; border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--blanc); }
table { width: 100%; border-collapse: collapse; font-size: var(--t-s); min-width: 760px; }
caption { text-align: left; padding: 16px 20px 0; font-weight: 600; }
th, td { padding: 12px 16px; border-bottom: 1px solid var(--brume); text-align: center; }
th[scope="row"] { text-align: left; font-weight: 500; }
thead th { font-weight: 600; background: var(--brume); }
td .oui { color: var(--sarcelle); display: inline-block; }
td .oui svg { width: 20px; height: 20px; }
td .non { color: var(--gris); }

/* Pionniers */
.pionniers { border-radius: 20px; padding: clamp(28px, 5vw, 56px); background: linear-gradient(135deg, var(--marine) 0%, #18395E 100%); color: var(--blanc); position: relative; overflow: hidden; }
.pionniers::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(63, 203, 179, .12); }
.pionniers > * { position: relative; }
.pionniers h2 { color: var(--blanc); }
.pionniers .grille { margin: 24px 0 28px; }
.pionniers h3 { font-size: var(--t-m); color: var(--sarcelle-clair); }

/* Sécurité */
.securite li strong { display: block; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-weight: 600; font-size: var(--t-m);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--sarcelle); border-bottom: 2px solid var(--sarcelle);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq .reponse { padding: 0 0 20px; color: var(--gris); }
.faq .reponse p:last-child { margin-bottom: 0; }

/* Appel final */
.appel-final { text-align: center; }
.appel-final h2 { color: var(--blanc); max-width: 720px; margin-left: auto; margin-right: auto; }
.appel-final .sous-titre { margin: 0 auto 28px; }
.appel-final .groupe-boutons { justify-content: center; }

/* En-tête de page intérieure */
.page-entete { background: var(--marine); color: var(--blanc); padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-entete::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 90% 0%, rgba(63, 203, 179, .16), transparent 70%); }
.page-entete .conteneur { position: relative; }
.page-entete h1 { color: var(--blanc); max-width: 860px; }
.page-entete .sous-titre { color: var(--gris-clair); }

/* Contact */
.formulaire { display: grid; gap: 18px; }
@media (min-width: 640px) { .formulaire .deux { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } }
.champ label { display: block; font-weight: 600; font-size: var(--t-s); margin-bottom: 6px; }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #9AA8B8; border-radius: var(--rayon-s);
  font: inherit; font-size: 1rem; color: var(--marine); background: var(--blanc);
}
.champ textarea { min-height: 150px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 3px solid rgba(14, 138, 120, .35); border-color: var(--sarcelle); }
.obligatoire { color: var(--signal-texte); }
.message-form { font-size: var(--t-s); padding: 12px 14px; border-radius: var(--rayon-s); background: var(--brume); }
.message-form[hidden] { display: none; }
.message-form.erreur { background: #FFF1E6; color: var(--signal-texte); }
.coordonnees dt { font-weight: 600; margin-top: 16px; }
.coordonnees dd { margin: 4px 0 0; color: var(--gris); }

/* Bandeau de consentement (Google Analytics) : refuser et accepter ont le même poids visuel */
.consentement {
  position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 16px; max-width: 520px;
  background: var(--blanc); color: var(--marine); border: 1px solid var(--trait); border-radius: var(--rayon);
  box-shadow: var(--ombre-forte); padding: 20px;
}
.consentement[hidden] { display: none; }
.consentement h2 { font-size: var(--t-m); margin-bottom: 6px; }
.consentement p { font-size: var(--t-s); color: var(--gris); }
.consentement .groupe-boutons .bouton { flex: 1; min-height: 44px; }
.lien-bouton { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.lien-bouton:hover { color: var(--blanc); }

/* Pages légales */
.texte-legal h2 { font-size: var(--t-h3); margin-top: 2em; }
.texte-legal h2:first-child { margin-top: 0; }
.texte-legal p, .texte-legal li { color: #2A3B50; }
.sommaire-legal { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 32px; }
.sommaire-legal a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--brume); text-decoration: none; color: var(--marine); font-size: var(--t-s); }
.sommaire-legal a[aria-current="page"] { background: var(--marine); color: var(--blanc); }

/* Pied de page */
.pied { background: #0D1C30; color: var(--gris-clair); padding: 56px 0 32px; font-size: var(--t-s); }
.pied a { color: var(--gris-clair); text-decoration: none; }
.pied a:hover { color: var(--blanc); text-decoration: underline; }
.pied-grille { display: grid; gap: 32px; }
@media (min-width: 800px) { .pied-grille { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.pied .logo img { height: 22px; filter: brightness(0) invert(1); }
.pied h2 { font-size: var(--t-s); color: var(--blanc); margin-bottom: 12px; letter-spacing: 0; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: 8px; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 24px; font-size: var(--t-xs); }

/* Animations utiles — désactivées si l'utilisateur réduit les animations */
@keyframes fondu { from { opacity: 0; } to { opacity: 1; } }
.js .apparait { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.js .apparait.visible { opacity: 1; transform: none; }
.js .heros-visuel .cadre { transform: perspective(1600px) rotateX(8deg) translateY(24px); transform-origin: 50% 100%; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .heros-visuel.visible .cadre { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .apparait, .js .heros-visuel .cadre { opacity: 1; transform: none; }
}

@media print {
  .entete, .pied, .nav-bascule, .appel-final { display: none; }
  .heros, .page-entete, .sombre { background: none; color: #000; }
}
@media (min-width: 1000px) { .bloc.grille-contact { grid-template-columns: 1.3fr 1fr; } }
/* Très petits écrans (≤ 379 px) : en-tête resserré pour garder logo, bouton d'essai et menu visibles */
@media (max-width: 379px) {
  .entete .conteneur { gap: 8px; }
  .logo img { height: 20px; }
  .essai-mobile { padding: 8px 10px; }
  .nav-bascule { width: 44px; height: 44px; margin-left: 0; }
}
