/* ==========================================================================
   Maison Wallaert Conciergerie — feuille de style unique
   Palette extraite du logo : marine #1C435F · or #E4B730 · crème #F8F3C3
   ========================================================================== */

/* --- 1. Tokens ---------------------------------------------------------- */

:root {
  /* Marque */
  --marine-900: #0A1D2B;
  --marine-800: #102F44;
  --marine:     #1C435F;
  --marine-600: #2C6087;
  --marine-400: #6C93AE;

  --or:      #E4B730;
  --or-300:  #F0CE68;
  --or-700:  #B48C16;

  --creme:   #F8F3C3;
  --sable:   #FBF8F1;
  --sable-2: #F3EDE2;

  --encre:  #0F1E29;
  --gris:   #5B6E7C;
  --gris-2: #8A9AA6;
  --ligne:  #E2DACB;

  --blanc: #FFFFFF;

  /* Typo */
  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Échelle fluide */
  --t-hero:  clamp(2.6rem, 1.4rem + 5.2vw, 5.4rem);
  --t-h2:    clamp(2rem, 1.35rem + 2.6vw, 3.4rem);
  --t-h3:    clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  --t-lead:  clamp(1.06rem, 0.99rem + 0.34vw, 1.28rem);
  --t-body:  1.0625rem;
  --t-small: 0.875rem;
  --t-kicker: 0.78rem;

  /* Rythme */
  --gap:     clamp(1.25rem, 0.9rem + 1.4vw, 2rem);
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --bord:    4px;
  --bord-lg: 8px;

  --max: 1220px;
  --max-etroit: 760px;

  --ombre-s: 0 1px 2px rgba(15, 30, 41, .05), 0 2px 8px rgba(15, 30, 41, .04);
  --ombre-m: 0 2px 4px rgba(15, 30, 41, .05), 0 12px 32px rgba(15, 30, 41, .08);
  --ombre-l: 0 4px 12px rgba(15, 30, 41, .07), 0 28px 64px rgba(15, 30, 41, .13);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --- 2. Base ------------------------------------------------------------ */

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

/* L'attribut hidden doit l'emporter sur les display: grid/flex des composants. */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--sable);
  color: var(--encre);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}
h1 { font-size: var(--t-hero); line-height: 1.02; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.2; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

strong { font-weight: 700; }

::selection { background: var(--or); color: var(--marine-900); }

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

.saut-contenu {
  position: absolute; left: -9999px;
  background: var(--marine); color: #fff;
  padding: .8rem 1.2rem; z-index: 999; border-radius: var(--bord);
}
.saut-contenu:focus { left: 1rem; top: 1rem; }

/* --- 3. Utilitaires de mise en page ------------------------------------- */

.enveloppe {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, .6rem + 2.4vw, 2.5rem);
}
.enveloppe--etroite { max-width: var(--max-etroit); }

.section { padding-block: var(--section); position: relative; }
.section--serre { padding-block: calc(var(--section) * .62); }

.section--marine {
  background: var(--marine-900);
  color: #E7EFF4;
}
.section--marine h2, .section--marine h3 { color: #fff; }
.section--creme { background: var(--sable-2); }

.centre { text-align: center; }
.mesure { max-width: 62ch; }
.centre .mesure { margin-inline: auto; }

/* Kicker : petit label capitales précédé d'un filet or */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--sans);
  font-size: var(--t-kicker);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--or-700);
  margin-bottom: 1.4rem;
}
.kicker::before {
  content: "";
  width: 30px; height: 2px;
  background: var(--or);
  flex: none;
}
.centre .kicker { justify-content: center; }
.section--marine .kicker { color: var(--or-300); }

.chapo {
  font-size: var(--t-lead);
  line-height: 1.62;
  color: var(--gris);
}
.section--marine .chapo { color: #B9CEDC; }

.entete-section { margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }

/* --- 4. Boutons --------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .005em;
  line-height: 1;
  padding: 1.05rem 1.75rem;
  border: 1.5px solid transparent;
  border-radius: var(--bord);
  cursor: pointer;
  text-align: center;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }

.btn--or {
  background: var(--or);
  color: var(--marine-900);
  box-shadow: 0 4px 14px rgba(228, 183, 48, .3);
}
.btn--or:hover { background: var(--or-300); box-shadow: 0 8px 22px rgba(228, 183, 48, .42); }

.btn--marine { background: var(--marine); color: #fff; }
.btn--marine:hover { background: var(--marine-800); box-shadow: var(--ombre-m); }

.btn--contour {
  background: transparent;
  color: var(--marine);
  border-color: rgba(28, 67, 95, .3);
}
.btn--contour:hover { border-color: var(--marine); background: rgba(28, 67, 95, .05); }

.btn--fantome {
  background: rgba(255, 255, 255, .07);
  color: #fff;
  border-color: rgba(255, 255, 255, .32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--fantome:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); }

.btn--large { padding: 1.2rem 2.1rem; font-size: 1rem; }
.btn--bloc { width: 100%; }

.groupe-btn { display: flex; flex-wrap: wrap; gap: .85rem; }
.centre .groupe-btn { justify-content: center; }

/* Lien fléché */
.lien-fleche {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 700; font-size: .93rem;
  color: var(--marine);
  border-bottom: 1.5px solid rgba(28, 67, 95, .25);
  padding-bottom: 2px;
  transition: border-color .2s var(--ease), gap .2s var(--ease), color .2s var(--ease);
}
.lien-fleche:hover { border-color: var(--or); gap: .75rem; color: var(--or-700); }
.section--marine .lien-fleche { color: var(--or-300); border-color: rgba(240, 206, 104, .35); }
.section--marine .lien-fleche:hover { color: var(--or); border-color: var(--or); }

/* --- 5. En-tête / navigation -------------------------------------------- */

.entete {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 1.1rem;
  transition: background-color .35s var(--ease), padding .35s var(--ease),
              box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.entete.est-collee {
  background: rgba(10, 29, 43, .93);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  padding-block: .7rem;
  border-bottom-color: rgba(228, 183, 48, .18);
  box-shadow: 0 10px 30px rgba(10, 29, 43, .22);
}
/* Pages intérieures : fond opaque dès le chargement */
.entete--solide { background: var(--marine-900); }

.entete__interieur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo { display: flex; align-items: center; flex: none; }
.logo img {
  height: clamp(34px, 3.2vw, 42px);
  width: auto;
  transition: height .35s var(--ease);
}
.est-collee .logo img { height: clamp(30px, 2.8vw, 36px); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__liens { display: flex; align-items: center; gap: 1.9rem; }
.nav__liens a {
  font-size: .93rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .82);
  position: relative;
  padding-block: .3rem;
  transition: color .2s var(--ease);
}
.nav__liens a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--or);
  transition: width .28s var(--ease);
}
.nav__liens a:hover { color: #fff; }
.nav__liens a:hover::after { width: 100%; }

.nav .btn { padding: .8rem 1.35rem; font-size: .88rem; }

.burger {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--bord);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex: none;
}
.burger span {
  display: block; position: relative;
  width: 19px; height: 1.5px; background: #fff;
  transition: background-color .2s var(--ease);
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0;
  width: 19px; height: 1.5px; background: #fff;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 940px) {
  .burger { display: flex; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 86vw);
    background: var(--marine-900);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 2.2rem;
    padding: 2rem clamp(1.5rem, 5vw, 2.5rem);
    transform: translateX(101%);
    transition: transform .42s var(--ease);
    box-shadow: -20px 0 60px rgba(0, 0, 0, .35);
    overflow-y: auto;
  }
  .nav.est-ouverte { transform: translateX(0); }
  .nav__liens { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__liens a {
    font-size: 1.15rem;
    font-family: var(--serif);
    letter-spacing: -.01em;
    padding-block: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .nav__liens a::after { display: none; }
  .nav .btn { padding: 1.05rem 1.5rem; font-size: .95rem; }
}

.voile-nav {
  position: fixed; inset: 0;
  background: rgba(10, 29, 43, .5);
  backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease);
  z-index: 99;
}
.voile-nav.est-visible { opacity: 1; pointer-events: auto; }

/* --- 6. Héros ----------------------------------------------------------- */

.heros {
  position: relative;
  min-height: min(96vh, 900px);
  display: flex;
  align-items: flex-end;
  padding-top: 8rem;
  padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem);
  overflow: hidden;
  background: var(--marine-900);
}
.heros__fond {
  position: absolute; inset: 0;
  z-index: 0;
}
.heros__fond img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.heros__fond::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10, 29, 43, .96) 0%, rgba(10, 29, 43, .78) 34%, rgba(10, 29, 43, .34) 68%, rgba(10, 29, 43, .5) 100%),
    linear-gradient(to right, rgba(10, 29, 43, .6) 0%, rgba(10, 29, 43, 0) 62%);
}
.heros .enveloppe { position: relative; z-index: 1; }

.heros__contenu { max-width: 46rem; color: #fff; }
.heros h1 { color: #fff; margin-bottom: .45em; text-wrap: balance; }
.heros h1 em {
  font-style: italic;
  color: var(--or);
  font-variation-settings: "SOFT" 40, "WONK" 1;
}
.heros__chapo {
  font-size: var(--t-lead);
  color: rgba(255, 255, 255, .88);
  max-width: 38rem;
  margin-bottom: 2.2rem;
}
.heros .kicker { color: var(--or-300); }

.heros__mentions {
  display: flex; flex-wrap: wrap; gap: 1.4rem;
  margin-top: 2.2rem;
  font-size: var(--t-small);
  color: rgba(255, 255, 255, .7);
}
.heros__mentions li { display: flex; align-items: center; gap: .5rem; }
.heros__mentions svg { color: var(--or); flex: none; }

.defilement {
  position: absolute;
  left: 50%; bottom: 1.6rem;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, .5);
  animation: flotte 2.4s var(--ease) infinite;
}
@keyframes flotte {
  0%, 100% { transform: translate(-50%, 0); opacity: .5; }
  50%      { transform: translate(-50%, 7px); opacity: 1; }
}

/* --- 7. Bandeau de confiance -------------------------------------------- */

.confiance {
  background: var(--marine-900);
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-block: clamp(1.6rem, 1.2rem + 1vw, 2.2rem);
}
.confiance__grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.4rem clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}
.confiance__item {
  display: flex; align-items: center; gap: .85rem;
  color: rgba(255, 255, 255, .8);
  font-size: .9rem;
  line-height: 1.35;
}
.confiance__item svg { color: var(--or); flex: none; }
.confiance__item strong { display: block; color: #fff; font-weight: 700; }
.confiance__item span { font-size: .8rem; color: rgba(255, 255, 255, .55); }

.plateformes { display: flex; align-items: center; gap: 1.25rem; }
.plateformes svg { height: 26px; width: auto; opacity: .92; }

/* --- 8. Grilles génériques ---------------------------------------------- */

.grille { display: grid; gap: var(--gap); }
.grille--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grille--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grille--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* Bloc texte + image côte à côte */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 5vw, 5rem);
  align-items: center;
}
.duo--inverse .duo__media { order: -1; }
@media (max-width: 860px) {
  .duo { grid-template-columns: 1fr; }
  .duo--inverse .duo__media { order: 0; }
}
.duo__media { position: relative; }
.duo__media img {
  width: 100%;
  border-radius: var(--bord-lg);
  box-shadow: var(--ombre-l);
}

/* --- 9. Cartes ---------------------------------------------------------- */

.carte {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--bord-lg);
  padding: clamp(1.6rem, 1.2rem + 1vw, 2.2rem);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.carte::before {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: 3px;
  background: var(--or);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.carte:hover {
  transform: translateY(-5px);
  box-shadow: var(--ombre-m);
  border-color: rgba(228, 183, 48, .45);
}
.carte:hover::before { transform: scaleX(1); }

.carte__icone {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: var(--bord);
  background: rgba(28, 67, 95, .07);
  color: var(--marine);
  margin-bottom: 1.3rem;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.carte:hover .carte__icone { background: var(--or); color: var(--marine-900); }
.carte h3 { margin-bottom: .5rem; }
.carte p { color: var(--gris); font-size: .97rem; margin-bottom: 0; }
.carte__note {
  display: block;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ligne);
  font-size: .84rem;
  color: var(--gris-2);
}

/* --- 10. Constat (liste de frictions) ----------------------------------- */

.frictions { display: grid; gap: 1px; background: var(--ligne); border-radius: var(--bord-lg); overflow: hidden; border: 1px solid var(--ligne); }
.frictions li {
  background: var(--blanc);
  padding: 1.4rem 1.6rem;
  display: flex; gap: 1rem; align-items: flex-start;
  font-size: .99rem;
}
.frictions svg { color: var(--or-700); flex: none; margin-top: 3px; }
.frictions strong { display: block; font-size: 1rem; margin-bottom: .15rem; }
.frictions span { color: var(--gris); font-size: .93rem; }

/* --- 11. Étapes --------------------------------------------------------- */

.etapes { counter-reset: etape; display: grid; gap: 0; }
.etape {
  counter-increment: etape;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.2rem, .8rem + 1.5vw, 2.2rem);
  padding-bottom: clamp(2.2rem, 1.5rem + 2vw, 3.4rem);
  position: relative;
}
.etape:last-child { padding-bottom: 0; }
.etape__puce {
  position: relative;
  width: 58px; height: 58px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(228, 183, 48, .5);
  background: rgba(228, 183, 48, .1);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--or);
  z-index: 1;
}
.etape__puce::after { content: "0" counter(etape); }
/* Filet vertical reliant les étapes */
.etape:not(:last-child) .etape__puce::before {
  content: "";
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  width: 1.5px;
  height: calc(100% + clamp(2.2rem, 1.5rem + 2vw, 3.4rem));
  background: linear-gradient(to bottom, rgba(228, 183, 48, .5), rgba(228, 183, 48, .08));
}
.etape__texte { padding-top: .55rem; }
.etape__texte h3 { margin-bottom: .4rem; }
.etape__texte p { color: #B9CEDC; margin-bottom: 0; max-width: 52ch; }

/* --- 12. Modèle de rémunération ----------------------------------------- */

.modele {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--bord-lg);
  overflow: hidden;
  box-shadow: var(--ombre-m);
}
.modele__tete {
  background: var(--marine-900);
  color: #fff;
  padding: clamp(2rem, 1.5rem + 2vw, 3rem);
  position: relative;
  overflow: hidden;
}
.modele__tete::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 183, 48, .22), transparent 70%);
}
.modele__tete h3 {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem);
  color: #fff;
  margin-bottom: .45rem;
  position: relative;
}
.modele__tete p { color: #B9CEDC; margin-bottom: 0; position: relative; max-width: 46ch; }

.modele__liste { padding: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); display: grid; gap: 1.15rem; }
.modele__liste li { display: flex; gap: .9rem; align-items: flex-start; }
.modele__liste svg { flex: none; margin-top: 3px; }
.modele__liste .oui { color: #1F7A5A; }
.modele__liste .info { color: var(--or-700); }
.modele__liste strong { display: block; margin-bottom: .1rem; }
.modele__liste span { color: var(--gris); font-size: .95rem; }

.modele__pied {
  border-top: 1px solid var(--ligne);
  background: var(--sable-2);
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  display: flex; flex-wrap: wrap; gap: 1.2rem;
  align-items: center; justify-content: space-between;
}
.modele__pied p { margin: 0; font-size: .95rem; color: var(--gris); max-width: 44ch; }

/* --- 13. Zone d'intervention -------------------------------------------- */

.villes { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); border-radius: var(--bord-lg); overflow: hidden; }
.ville {
  background: var(--blanc);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  transition: background-color .3s var(--ease);
  display: block;
}
.ville:hover { background: var(--sable); }
.ville__rang {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--or-700);
  display: block; margin-bottom: .6rem;
}
.ville h3 { font-size: 1.4rem; margin-bottom: .35rem; }
.ville p { font-size: .92rem; color: var(--gris); margin-bottom: .9rem; }

/* --- 14. Fondateur ------------------------------------------------------ */

.fondateur__portrait {
  position: relative;
  border-radius: var(--bord-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--marine-800);
  box-shadow: var(--ombre-l);
}
/* La photo livrée est déjà recadrée au format 4:5 du cadre : rien n'est rogné.
   Si vous la remplacez par une photo verticale de téléphone (plus allongée),
   passez object-position à « center 30% » pour éviter de couper le visage. */
.fondateur__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* État vide en attendant la vraie photo */
.portrait-vide {
  display: grid; place-content: center; text-align: center;
  gap: .8rem; padding: 2rem;
  color: rgba(255, 255, 255, .55);
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px),
    var(--marine-800);
  height: 100%;
}
.portrait-vide svg { margin-inline: auto; color: rgba(228, 183, 48, .5); }
.portrait-vide span { font-size: .82rem; letter-spacing: .04em; line-height: 1.5; }

.citation {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.85rem);
  line-height: 1.35;
  font-style: italic;
  letter-spacing: -.015em;
  color: var(--marine);
  border-left: 2.5px solid var(--or);
  padding-left: clamp(1.1rem, .8rem + 1vw, 1.8rem);
  margin: 0 0 1.8rem;
}
.section--marine .citation { color: #fff; }

.signature { display: flex; align-items: center; gap: 1rem; }
.signature__nom { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.signature__role { font-size: .87rem; color: var(--gris); }
.section--marine .signature__role { color: var(--marine-400); }

/* --- 15. Témoignages ---------------------------------------------------- */

.temoignage {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--bord-lg);
  padding: clamp(1.6rem, 1.2rem + 1vw, 2.1rem);
  display: flex; flex-direction: column; gap: 1.2rem;
  height: 100%;
}
.etoiles { display: flex; gap: .18rem; color: var(--or); }
.temoignage p { font-size: 1rem; line-height: 1.6; margin: 0; flex: 1; }
.temoignage footer { display: flex; align-items: center; gap: .8rem; border-top: 1px solid var(--ligne); padding-top: 1.1rem; }
.temoignage__initiales {
  width: 42px; height: 42px; flex: none;
  border-radius: 50%;
  background: var(--marine); color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: .88rem;
}
.temoignage__nom { font-weight: 700; font-size: .95rem; }
.temoignage__lieu { font-size: .82rem; color: var(--gris-2); }

/* --- 16. FAQ ------------------------------------------------------------ */

.faq { border-top: 1px solid var(--ligne); }
.faq details {
  border-bottom: 1px solid var(--ligne);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.55rem 3rem 1.55rem 0;
  position: relative;
  font-family: var(--serif);
  font-size: clamp(1.05rem, .98rem + .35vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.35;
  transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--marine-600); }
.faq summary::after {
  content: "";
  position: absolute; right: .35rem; top: 50%;
  width: 13px; height: 13px;
  margin-top: -6px;
  background:
    linear-gradient(var(--or), var(--or)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--or), var(--or)) center / 1.5px 100% no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq__reponse { padding: 0 clamp(0rem, 4vw, 3.5rem) 1.7rem 0; color: var(--gris); }
.faq__reponse p:last-child { margin-bottom: 0; }
.faq__reponse a { color: var(--marine); font-weight: 600; border-bottom: 1px solid var(--or); }

/* --- 17. Formulaire ----------------------------------------------------- */

.bloc-form {
  background: var(--blanc);
  border-radius: var(--bord-lg);
  box-shadow: var(--ombre-l);
  overflow: hidden;
  border: 1px solid var(--ligne);
}

.progression { padding: clamp(1.4rem, 1.1rem + 1vw, 2rem) clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem) 0; }
.progression__barre {
  height: 3px; background: var(--sable-2); border-radius: 99px; overflow: hidden;
}
.progression__jauge {
  height: 100%; width: 33.33%;
  background: var(--or);
  border-radius: 99px;
  transition: width .45s var(--ease);
}
.progression__legende {
  display: flex; justify-content: space-between;
  margin-top: .75rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gris-2);
}
.progression__legende span.est-actif { color: var(--marine); }

.etape-form { padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem); }
.etape-form[hidden] { display: none; }
.etape-form h3 { margin-bottom: .3rem; }
.etape-form > p { color: var(--gris); font-size: .95rem; margin-bottom: 1.8rem; }

.champs { display: grid; gap: 1.15rem; }
.champs--2 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.champ { display: flex; flex-direction: column; gap: .45rem; }
.champ label {
  font-size: .84rem; font-weight: 700;
  letter-spacing: .02em;
  color: var(--marine-800);
}
.champ label .opt { font-weight: 500; color: var(--gris-2); }

.champ input[type="text"],
.champ input[type="email"],
.champ input[type="tel"],
.champ input[type="number"],
.champ select,
.champ textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--encre);
  background: var(--sable);
  border: 1.5px solid var(--ligne);
  border-radius: var(--bord);
  padding: .85rem 1rem;
  width: 100%;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.champ textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.champ select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%235B6E7C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}
.champ :is(input, select, textarea):focus {
  outline: none;
  border-color: var(--or);
  background: var(--blanc);
  box-shadow: 0 0 0 3px rgba(228, 183, 48, .18);
}
.champ :is(input, select, textarea):user-invalid {
  border-color: #C0392B;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, .12);
}

/* Groupes de choix en « pilules » */
.pilules { display: flex; flex-wrap: wrap; gap: .55rem; }
.pilule input { position: absolute; opacity: 0; width: 0; height: 0; }
.pilule span {
  display: inline-block;
  padding: .6rem 1rem;
  border: 1.5px solid var(--ligne);
  border-radius: 99px;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--sable);
  transition: all .2s var(--ease);
  user-select: none;
}
.pilule span:hover { border-color: var(--marine-400); }
.pilule input:checked + span {
  background: var(--marine);
  border-color: var(--marine);
  color: #fff;
}
.pilule input:focus-visible + span { outline: 2px solid var(--or); outline-offset: 2px; }

.case-rgpd {
  display: flex; gap: .75rem; align-items: flex-start;
  font-size: .85rem; color: var(--gris); line-height: 1.55;
}
.case-rgpd input { margin-top: 3px; accent-color: var(--marine); width: 17px; height: 17px; flex: none; }
.case-rgpd a { color: var(--marine); border-bottom: 1px solid var(--or); }

.actions-form {
  display: flex; gap: .8rem; justify-content: space-between;
  margin-top: 2rem; padding-top: 1.6rem;
  border-top: 1px solid var(--ligne);
}
.actions-form .btn { flex: 1; }
.actions-form .btn--contour { flex: 0 0 auto; }

.form-message {
  margin-top: 1.2rem;
  padding: .95rem 1.15rem;
  border-radius: var(--bord);
  font-size: .92rem;
  font-weight: 600;
  display: none;
}
.form-message.est-visible { display: block; }
.form-message--erreur { background: rgba(192, 57, 43, .08); color: #A5321F; border: 1px solid rgba(192, 57, 43, .25); }
.form-message--info { background: rgba(28, 67, 95, .07); color: var(--marine-800); border: 1px solid rgba(28, 67, 95, .22); font-weight: 500; line-height: 1.55; }

.merci { padding: clamp(2.5rem, 2rem + 3vw, 4rem) clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem); text-align: center; }
.merci__pastille {
  width: 62px; height: 62px; margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: rgba(31, 122, 90, .12); color: #1F7A5A;
  display: grid; place-items: center;
}
.merci p { color: var(--gris); max-width: 40ch; margin-inline: auto; }

/* Colonne latérale du formulaire */
.aside-contact { display: grid; gap: 1.6rem; align-content: start; }
.contact-direct {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.15rem 1.3rem;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--bord-lg);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.contact-direct:hover { background: rgba(255, 255, 255, .1); border-color: rgba(228, 183, 48, .5); transform: translateX(3px); }
.contact-direct__icone {
  width: 44px; height: 44px; flex: none;
  border-radius: var(--bord);
  background: rgba(228, 183, 48, .16); color: var(--or);
  display: grid; place-items: center;
}
.contact-direct__label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--marine-400); font-weight: 700; }
.contact-direct__valeur { font-weight: 700; color: #fff; font-size: 1.02rem; }

/* --- 18. Rendez-vous ---------------------------------------------------- */

.bloc-rdv {
  border: 1px solid rgba(228, 183, 48, .4);
  border-radius: var(--bord-lg);
  background: rgba(228, 183, 48, .07);
  padding: clamp(1.8rem, 1.4rem + 2vw, 2.6rem);
  text-align: center;
}
.bloc-rdv > svg { color: var(--or); margin: 0 auto 1.1rem; }
.bloc-rdv h3 { margin-bottom: .5rem; }
.bloc-rdv p { color: var(--gris); max-width: 46ch; margin: 0 auto 1.5rem; }
.section--marine .bloc-rdv p { color: #B9CEDC; }
.bloc-rdv__note {
  display: block;
  margin-top: .9rem;
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--gris-2);
}
.section--marine .bloc-rdv__note { color: var(--marine-400); }

/* --- 19. Appel à l'action final ----------------------------------------- */

.cta-final {
  position: relative;
  overflow: hidden;
  background: var(--marine-900);
  color: #fff;
  text-align: center;
}
.cta-final::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 90% at 50% 110%, rgba(228, 183, 48, .2), transparent 65%);
}
.cta-final .enveloppe { position: relative; }
.cta-final h2 { color: #fff; text-wrap: balance; }

/* --- 20. Pied de page --------------------------------------------------- */

.pied {
  background: var(--marine-900);
  color: rgba(255, 255, 255, .62);
  padding-top: clamp(3.5rem, 2.5rem + 3vw, 5.5rem);
  font-size: .93rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.pied__haut {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  padding-bottom: 3rem;
}
@media (max-width: 900px) { .pied__haut { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pied__haut { grid-template-columns: 1fr; } }

.pied__marque img { height: 40px; width: auto; margin-bottom: 1.2rem; }
.pied__marque p { max-width: 30ch; font-size: .9rem; line-height: 1.6; }

.pied h4 {
  font-family: var(--sans);
  font-size: .76rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--or); margin-bottom: 1.1rem;
}
.pied li { margin-bottom: .6rem; }
.pied a { transition: color .2s var(--ease); }
.pied a:hover { color: var(--or-300); }

.pied__bas {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 1.6rem 2rem;
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  font-size: .82rem;
  color: rgba(255, 255, 255, .45);
}
.pied__bas ul { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.pied__bas li { margin: 0; }

.reseaux { display: flex; gap: .6rem; margin-top: 1.2rem; }
.reseaux a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--bord);
  transition: all .25s var(--ease);
}
.reseaux a:hover { background: var(--or); color: var(--marine-900); border-color: var(--or); }

/* --- 21. Barre d'action mobile ------------------------------------------ */

.barre-mobile {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: .6rem;
  padding: .7rem .8rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(10, 29, 43, .96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, .1);
  transform: translateY(105%);
  transition: transform .35s var(--ease);
}
.barre-mobile.est-visible { transform: translateY(0); }
.barre-mobile .btn { flex: 1; padding: .9rem 1rem; font-size: .88rem; }
@media (max-width: 720px) {
  .barre-mobile { display: flex; }
  body { padding-bottom: 0; }
}

/* --- 22. Pages intérieures ---------------------------------------------- */

.entete-page {
  background: var(--marine-900);
  color: #fff;
  padding-top: clamp(8rem, 6rem + 6vw, 11rem);
  padding-bottom: clamp(3rem, 2rem + 3vw, 5rem);
  position: relative;
  overflow: hidden;
}
.entete-page::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 85% 0%, rgba(228, 183, 48, .14), transparent 60%);
}
.entete-page .enveloppe { position: relative; }
.entete-page h1 { color: #fff; max-width: 20ch; text-wrap: balance; }
.entete-page .chapo { max-width: 55ch; }

.fil { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .82rem; color: var(--marine-400); margin-bottom: 1.6rem; }
.fil a { color: var(--marine-400); }
.fil a:hover { color: var(--or-300); }
.fil span[aria-hidden] { opacity: .5; }

/* Contenu rédactionnel (articles, pages légales) */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem); margin-top: 2.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); margin-top: 2em; }
.prose p, .prose li { color: #33454F; line-height: 1.75; }
.prose ul { list-style: none; margin: 0 0 1.4em; display: grid; gap: .6rem; }
.prose ul li { position: relative; padding-left: 1.6rem; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--or);
}
.prose ol { padding-left: 1.2rem; display: grid; gap: .6rem; margin: 0 0 1.4em; }
.prose ol li::marker { color: var(--or-700); font-weight: 700; }
.prose a { color: var(--marine); font-weight: 600; border-bottom: 1px solid var(--or); }
.prose strong { color: var(--encre); }
.prose blockquote {
  margin: 2em 0;
  padding: 1.4rem 1.6rem;
  background: var(--sable-2);
  border-left: 3px solid var(--or);
  border-radius: 0 var(--bord) var(--bord) 0;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .95rem; }
.prose :is(th, td) { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--ligne); }
.prose th { font-weight: 700; background: var(--sable-2); }
.tableau-defilant { overflow-x: auto; }

.encadre {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-left: 3px solid var(--or);
  border-radius: 0 var(--bord-lg) var(--bord-lg) 0;
  padding: clamp(1.3rem, 1.1rem + 1vw, 1.9rem);
  margin: 2em 0;
}
.encadre h3 { margin-top: 0; margin-bottom: .5rem; font-size: 1.1rem; }
.encadre p:last-child { margin-bottom: 0; }

/* Cartes d'articles */
.article-carte {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--bord-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  height: 100%;
}
.article-carte:hover { transform: translateY(-5px); box-shadow: var(--ombre-m); border-color: rgba(228, 183, 48, .45); }
.article-carte__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sable-2); }
.article-carte__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.article-carte:hover .article-carte__img img { transform: scale(1.05); }
.article-carte__corps { padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.etiquette {
  align-self: flex-start;
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--or-700); background: rgba(228, 183, 48, .14);
  padding: .35rem .7rem; border-radius: 99px;
}
.article-carte h3 { font-size: 1.22rem; margin: 0; }
.article-carte p { font-size: .93rem; color: var(--gris); margin: 0; flex: 1; }
.article-carte__meta { font-size: .8rem; color: var(--gris-2); }

/* --- 23. Bandeau cookies ------------------------------------------------ */

.cookies {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 120;
  max-width: 460px;
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--bord-lg);
  box-shadow: var(--ombre-l);
  padding: 1.4rem;
  transform: translateY(calc(100% + 2rem));
  transition: transform .5s var(--ease);
}
.cookies.est-visible { transform: translateY(0); }
.cookies p { font-size: .88rem; color: var(--gris); margin-bottom: 1.1rem; }
.cookies a { color: var(--marine); border-bottom: 1px solid var(--or); }
.cookies__actions { display: flex; gap: .6rem; }
.cookies__actions .btn { flex: 1; padding: .75rem 1rem; font-size: .85rem; }
@media (max-width: 720px) { .cookies { bottom: 5.2rem; } }

/* --- 24. Révélation au défilement --------------------------------------- */

/* L'état masqué n'est appliqué que si JavaScript est actif (classe .js posée
   sur <html> dès le <head>). Sans JS, le contenu reste visible. */
.js .reveler {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveler.est-visible { opacity: 1; transform: none; }
.reveler[data-retard="1"] { transition-delay: .09s; }
.reveler[data-retard="2"] { transition-delay: .18s; }
.reveler[data-retard="3"] { transition-delay: .27s; }
.reveler[data-retard="4"] { transition-delay: .36s; }
.reveler[data-retard="5"] { transition-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveler { opacity: 1; transform: none; }
}

/* --- 25. Divers --------------------------------------------------------- */

.pot-de-miel {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.visuellement-cache {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

@media print {
  .entete, .barre-mobile, .cookies, .defilement, .voile-nav { display: none !important; }
  body { background: #fff; }
}
