@charset "utf-8";
/* =========================================================================
   KV Entreprise Générale Sàrl - feuille de style unique
   Mobile-first · aucune dépendance externe · aucun build
   ========================================================================= */

/* ------------------------------------------------------------------ 1. Jetons */
:root {
  /* Charte KV */
  --navy-900: #050F26;
  --navy: #071A3F;
  --navy-700: #0E2A5C;
  --navy-500: #1B3E7A;
  --or: #E2A83B;
  --or-clair: #F2C871;
  --or-sombre: #B98420;

  /* Surfaces (thème clair) */
  --fond: #FFFFFF;
  --fond-alt: #F6F4EF;
  --fond-carte: #FFFFFF;
  --bordure: #E4E0D6;
  --bordure-forte: #CFC9BA;

  /* Texte */
  --txt: #14213A;
  --txt-doux: #55607A;
  --txt-inverse: #FFFFFF;
  --txt-inverse-doux: #B9C4DA;
  --lien: var(--navy-500);          /* éclairci en thème sombre */

  /* Formes */
  --r-sm: 6px;
  --r: 12px;
  --r-lg: 20px;
  --ombre: 0 1px 2px rgb(7 26 63 / .06), 0 4px 16px rgb(7 26 63 / .07);
  --ombre-forte: 0 10px 40px rgb(7 26 63 / .16);

  /* Rythme */
  --gouttiere: 20px;
  --max: 1180px;
  --section-y: clamp(3.5rem, 9vw, 7rem);

  /* Typo */
  --police: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Roboto, "Noto Sans", Arial, sans-serif;
  --police-titre: "Segoe UI Semibold", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Roboto, "Noto Sans", Arial, sans-serif;

  --barre-mobile: 0px; /* remplacé à 0px par la barre d'action mobile */
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="clair"]) {
    --fond: #0C1220;
    --fond-alt: #121A2C;
    --fond-carte: #141D31;
    --bordure: #23304A;
    --bordure-forte: #33425F;
    --txt: #E8ECF4;
    --txt-doux: #9DA9C0;
    --lien: #8CB4F0;
    --ombre: 0 1px 2px rgb(0 0 0 / .3), 0 4px 16px rgb(0 0 0 / .35);
    --ombre-forte: 0 10px 40px rgb(0 0 0 / .5);
  }
}
:root[data-theme="sombre"] {
  --fond: #0C1220;
  --fond-alt: #121A2C;
  --fond-carte: #141D31;
  --bordure: #23304A;
  --bordure-forte: #33425F;
  --txt: #E8ECF4;
  --txt-doux: #9DA9C0;
  --lien: #8CB4F0;
  --ombre: 0 1px 2px rgb(0 0 0 / .3), 0 4px 16px rgb(0 0 0 / .35);
  --ombre-forte: 0 10px 40px rgb(0 0 0 / .5);
}

/* ------------------------------------------------------------------ 2. Base */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;   /* pas de zoom auto du texte en paysage iOS */
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--police);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--txt);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  padding-bottom: var(--barre-mobile);
}

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

h1, h2, h3, h4 {
  font-family: var(--police-titre);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 6.2vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--lien); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--or-sombre); }

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

ul, ol { padding-left: 1.25em; }
li { margin-bottom: .4em; }

/* Lien d'évitement (accessibilité clavier) */
.saut {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--r) 0; font-weight: 600;
}
.saut:focus { left: 0; }

/* ------------------------------------------------------------------ 3. Mise en page */
.conteneur {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.section { padding-block: var(--section-y); }
.section--alt { background: var(--fond-alt); }
.section--nuit {
  background: var(--navy);
  color: var(--txt-inverse);
  background-image: radial-gradient(120% 90% at 15% 0%, #0E2A5C 0%, transparent 62%);
}
.section--nuit h1, .section--nuit h2, .section--nuit h3 { color: #fff; }
.section--nuit p { color: var(--txt-inverse-doux); }
.section--nuit a { color: var(--or-clair); }

.entete-section { max-width: 62ch; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.entete-section.centre { margin-inline: auto; text-align: center; }

.surtitre {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--or-sombre);
  margin-bottom: .85rem;
}
.section--nuit .surtitre { color: var(--or); }

.plomb { font-size: clamp(1.05rem, 2.1vw, 1.2rem); color: var(--txt-doux); }
.section--nuit .plomb { color: var(--txt-inverse-doux); }

.grille { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
@media (min-width: 640px)  { .g-2, .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px)  { .g-3 { grid-template-columns: repeat(3, 1fr); }
                             .g-4 { grid-template-columns: repeat(4, 1fr); } }

/* ------------------------------------------------------------------ 4. Boutons */
.btn {
  --btn-fond: var(--or);
  --btn-txt: var(--navy-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;                 /* cible tactile confortable */
  padding: .78em 1.5em;
  border: 2px solid transparent;
  border-radius: var(--r);
  background: var(--btn-fond);
  color: var(--btn-txt);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;              /* un n° de téléphone ne se coupe jamais */
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn:hover { color: var(--btn-txt); transform: translateY(-2px); box-shadow: var(--ombre-forte); }
.btn:active { transform: translateY(0); }
.btn--or      { --btn-fond: var(--or); --btn-txt: var(--navy-900); }
.btn--nuit    { --btn-fond: var(--navy); --btn-txt: #fff; }
.btn--fantome { --btn-fond: transparent; --btn-txt: #fff; border-color: rgb(255 255 255 / .45); }
.btn--fantome:hover { background: rgb(255 255 255 / .1); }
.btn--contour { --btn-fond: transparent; --btn-txt: var(--txt); border-color: var(--bordure-forte); }
.btn--contour:hover { background: var(--fond-alt); }
.btn--grand { min-height: 54px; padding: .9em 1.9em; font-size: 1.05rem; }
.btn--bloc { width: 100%; }

.barre-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.barre-cta.centre { justify-content: center; }
/* Sur très petits écrans, les boutons s'empilent en pleine largeur */
@media (max-width: 479px) {
  .barre-cta .btn { width: 100%; }
}

.lien-fleche {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 700; text-decoration: none; color: var(--lien);
}
.lien-fleche span { transition: transform .18s ease; }
.lien-fleche:hover span { transform: translateX(4px); }

/* ------------------------------------------------------------------ 5. En-tête */
.entete {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--fond) 88%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bordure);
}
.entete__barre {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 68px;
}
.marque { display: flex; align-items: center; flex-shrink: 0; }
.marque img { width: auto; height: 40px; }
.marque .logo-clair { display: none; }
:root[data-theme="sombre"] .marque .logo-sombre { display: none; }
:root[data-theme="sombre"] .marque .logo-clair { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="clair"]) .marque .logo-sombre { display: none; }
  :root:not([data-theme="clair"]) .marque .logo-clair { display: block; }
}

.entete__actions { display: flex; align-items: center; gap: .5rem; }

.bouton-icone {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--bordure); border-radius: var(--r-sm);
  background: transparent; color: var(--txt); cursor: pointer;
}
.bouton-icone:hover { background: var(--fond-alt); }
.bouton-icone svg { width: 20px; height: 20px; }

/* Navigation - mobile : panneau déroulant */
.nav { display: none; }
.nav[data-ouvert="true"] { display: block; }
@media (max-width: 959px) {
  .nav {
    position: absolute; inset-inline: 0; top: 100%;
    background: var(--fond);
    border-bottom: 1px solid var(--bordure);
    box-shadow: var(--ombre-forte);
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    padding: .5rem var(--gouttiere) 1.25rem;
  }
  .nav ul { list-style: none; margin: 0; padding: 0; }
  .nav li { margin: 0; }
  .nav a {
    display: block; padding: .85rem .25rem;
    font-weight: 600; text-decoration: none; color: var(--txt);
    border-bottom: 1px solid var(--bordure);
  }
  .nav .sous-menu a { padding-left: 1.25rem; font-weight: 500; color: var(--txt-doux); }
  .nav .nav-cta { margin-top: 1rem; }
  .nav .nav-cta a { border: 0; }
}

/* Navigation - bureau */
@media (min-width: 960px) {
  .bascule-nav { display: none; }
  .nav { display: block !important; }
  .nav > ul { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
  .nav > ul > li { position: relative; margin: 0; }
  .nav > ul > li > a {
    display: block; padding: .6rem .85rem; border-radius: var(--r-sm);
    font-weight: 600; font-size: .96rem; text-decoration: none; color: var(--txt);
    white-space: nowrap;
  }
  .nav > ul > li > a:hover,
  .nav > ul > li > a[aria-current="page"] { background: var(--fond-alt); color: var(--lien); }
  .nav .nav-cta { margin-left: .5rem; }
  .nav .nav-cta a {
    background: var(--or); color: var(--navy-900); padding: .65rem 1.15rem;
    border-radius: var(--r); font-weight: 700;
  }
  .nav .nav-cta a:hover { background: var(--or-clair); }

  .sous-menu {
    position: absolute; top: calc(100% + 6px); left: 0;
    min-width: 260px; padding: .4rem;
    background: var(--fond-carte);
    border: 1px solid var(--bordure); border-radius: var(--r);
    box-shadow: var(--ombre-forte);
    list-style: none; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
  }
  .a-sous-menu:hover .sous-menu,
  .a-sous-menu:focus-within .sous-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .sous-menu a {
    display: block; padding: .6rem .75rem; border-radius: var(--r-sm);
    font-size: .93rem; font-weight: 500; text-decoration: none; color: var(--txt);
  }
  .sous-menu a:hover { background: var(--fond-alt); color: var(--lien); }
}

/* ------------------------------------------------------------------ 6. Héros */
.heros {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(460px, 82svh, 760px);
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
}
.heros__media { position: absolute; inset: 0; }
.heros__media picture { display: block; width: 100%; height: 100%; }
.heros__media img { width: 100%; height: 100%; object-fit: cover; }
.heros__voile {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgb(5 15 38 / .62) 0%, rgb(5 15 38 / .30) 32%, rgb(5 15 38 / .88) 100%),
    linear-gradient(90deg, rgb(5 15 38 / .58) 0%, transparent 68%);
}
.heros__contenu {
  position: relative;
  padding-block: clamp(2.5rem, 8vw, 5rem);
}
/* Le bloc garde la largeur du conteneur (aligné sur le reste du site),
   mais son contenu reste sur une mesure de lecture confortable. */
.heros__contenu > * { max-width: 46rem; }
.heros h1 { color: #fff; margin-bottom: .55em; }
.heros h1 .or { color: var(--or); }
.heros p { color: #DCE3F0; font-size: clamp(1.02rem, 2.3vw, 1.2rem); max-width: 40rem; }
.heros .barre-cta { margin-top: 1.75rem; }

.heros__pastilles {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-top: 2rem; padding: 0; list-style: none;
}
.heros__pastilles li {
  margin: 0; padding: .35rem .85rem;
  border: 1px solid rgb(255 255 255 / .28); border-radius: 999px;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: #E7ECF7;
}

/* Héros secondaire (pages internes) */
.heros-page {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding-block: clamp(2.75rem, 7vw, 4.5rem);
  overflow: hidden;
}
.heros-page__media { position: absolute; inset: 0; }
.heros-page__media picture { display: block; width: 100%; height: 100%; }
.heros-page__media img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.heros-page::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 8%, rgb(7 26 63 / .55) 100%);
}
.heros-page .conteneur { position: relative; z-index: 1; }
.heros-page h1 { color: #fff; margin-bottom: .35em; }
.heros-page p { color: var(--txt-inverse-doux); max-width: 56ch; margin: 0; }

/* Fil d'Ariane */
.ariane { font-size: .85rem; margin-bottom: 1rem; color: var(--txt-inverse-doux); }
.ariane ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.ariane li { margin: 0; }
.ariane li + li::before { content: "›"; margin-right: .4rem; opacity: .6; }
.ariane a { color: #fff; text-decoration: none; opacity: .85; }
.ariane a:hover { opacity: 1; text-decoration: underline; }

/* ------------------------------------------------------------------ 7. Cartes */
.carte {
  display: flex; flex-direction: column;
  padding: clamp(1.4rem, 3vw, 1.9rem);
  background: var(--fond-carte);
  border: 1px solid var(--bordure);
  border-radius: var(--r-lg);
  box-shadow: var(--ombre);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.carte h3 { margin-bottom: .45em; }
.carte p { color: var(--txt-doux); flex-grow: 1; }
.carte .lien-fleche { margin-top: 1.1rem; }

a.carte { text-decoration: none; color: inherit; }
a.carte:hover, .carte--survol:hover {
  transform: translateY(-4px);
  box-shadow: var(--ombre-forte);
  border-color: var(--or);
}

.carte__num {
  font-size: .8rem; font-weight: 800; letter-spacing: .1em;
  color: var(--or-sombre); margin-bottom: .6rem;
}
.carte__icone {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: 1.1rem;
  border-radius: var(--r);
  background: color-mix(in srgb, var(--or) 16%, transparent);
  color: var(--or-sombre);
}
.carte__icone svg { width: 26px; height: 26px; }

.etiquettes { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.1rem; padding: 0; list-style: none; }
.etiquettes li {
  margin: 0; padding: .28rem .7rem;
  background: var(--fond-alt); border: 1px solid var(--bordure);
  border-radius: 999px; font-size: .76rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: var(--txt-doux);
}

/* Carte prestation avec photo */
.carte-presta { padding: 0; overflow: hidden; }
.carte-presta img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.carte-presta__corps { padding: clamp(1.3rem, 3vw, 1.75rem); display: flex; flex-direction: column; flex-grow: 1; }

/* ------------------------------------------------------------------ 8. Chiffres */
.chiffres {
  display: grid; gap: clamp(1.5rem, 4vw, 2rem);
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
}
@media (min-width: 860px) { .chiffres { grid-template-columns: repeat(4, 1fr); } }
.chiffre__val {
  font-family: var(--police-titre);
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  font-weight: 800; line-height: 1; letter-spacing: -.03em;
  color: var(--or);
}
.chiffre__lib { display: block; margin-top: .6rem; font-size: .93rem; color: var(--txt-inverse-doux); }

/* ------------------------------------------------------------------ 9. Méthode */
.methode { counter-reset: etape; display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .methode { grid-template-columns: repeat(4, 1fr); } }
.etape { position: relative; padding-top: 3.25rem; }
.etape::before {
  counter-increment: etape; content: counter(etape);
  position: absolute; top: 0; left: 0;
  display: grid; place-items: center;
  width: 42px; height: 42px;
  background: var(--or); color: var(--navy-900);
  border-radius: 50%; font-weight: 800; font-size: 1.05rem;
}
.etape::after {
  content: ""; position: absolute; top: 21px; left: 52px; right: -1.5rem;
  height: 2px; background: linear-gradient(90deg, var(--or), transparent);
}
.etape:last-child::after { display: none; }
@media (max-width: 759px) { .etape::after { display: none; } }
.etape h3 { font-size: 1.1rem; margin-bottom: .35em; }
.etape p { color: var(--txt-doux); font-size: .95rem; margin: 0; }
.section--nuit .etape p { color: var(--txt-inverse-doux); }

/* ------------------------------------------------------------------ 10. Galerie */
.filtres {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: 1.75rem; padding: 0; list-style: none;
}
.filtres li { margin: 0; }
.filtre {
  min-height: 42px; padding: .5rem 1.05rem;
  border: 1px solid var(--bordure-forte); border-radius: 999px;
  background: transparent; color: var(--txt);
  font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
  transition: background-color .16s, color .16s, border-color .16s;
}
.filtre:hover { background: var(--fond-alt); }
.filtre[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.galerie {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px)  { .galerie { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 1040px) { .galerie { grid-template-columns: repeat(4, 1fr); } }

.vignette {
  position: relative; display: block; padding: 0;
  border: 0; border-radius: var(--r); overflow: hidden;
  background: var(--fond-alt); cursor: zoom-in;
  aspect-ratio: 4 / 3;
}
.vignette img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.vignette:hover img { transform: scale(1.06); }
.vignette__legende {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 1.6rem .8rem .65rem;
  background: linear-gradient(transparent, rgb(5 15 38 / .88));
  color: #fff; font-size: .8rem; line-height: 1.35; text-align: left;
  opacity: 0; transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
}
.vignette:hover .vignette__legende,
.vignette:focus-visible .vignette__legende { opacity: 1; transform: translateY(0); }
/* Sur écran tactile, la vignette est trop étroite pour une légende lisible :
   elle est portée par l'attribut alt et affichée dans la visionneuse. */
.vignette[hidden] { display: none; }

.galerie-vide { padding: 2rem 0; color: var(--txt-doux); }

/* Visionneuse */
.visionneuse {
  position: fixed; inset: 0; z-index: 300;
  display: none; place-items: center;
  /* on annule entièrement le style natif de <dialog> */
  width: 100%; max-width: 100%;
  height: 100%; max-height: 100%;
  margin: 0; border: 0;
  padding: env(safe-area-inset-top, 12px) 12px env(safe-area-inset-bottom, 12px);
  background: rgb(4 10 24 / .95);
  color: #fff;
  overflow: hidden;
  overscroll-behavior: contain;
}
.visionneuse[open] { display: grid; }
.visionneuse::backdrop { background: rgb(4 10 24 / .95); }
.visionneuse img {
  max-width: min(100%, 1400px);
  max-height: 78svh;
  width: auto; margin-inline: auto;
  border-radius: var(--r);
  object-fit: contain;
}
.visionneuse__pied {
  margin-top: .9rem; text-align: center;
  color: #E7ECF7; font-size: .9rem;
}
.visionneuse__compteur { display: block; margin-top: .3rem; color: #93A1BC; font-size: .8rem; }
.visionneuse__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border: 1px solid rgb(255 255 255 / .28); border-radius: 50%;
  background: rgb(7 26 63 / .6); color: #fff; cursor: pointer;
}
.visionneuse__nav:hover { background: var(--navy-700); }
.visionneuse__nav svg { width: 22px; height: 22px; }
.visionneuse__prec { left: 12px; }
.visionneuse__suiv { right: 12px; }
.visionneuse__fermer {
  position: absolute; top: 12px; right: 12px;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid rgb(255 255 255 / .28); border-radius: 50%;
  background: rgb(7 26 63 / .6); color: #fff; cursor: pointer;
}
.visionneuse__fermer svg { width: 20px; height: 20px; }
@media (max-width: 639px) {
  .visionneuse__nav { width: 44px; height: 44px; }
  .visionneuse__prec { left: 6px; }
  .visionneuse__suiv { right: 6px; }
}

/* ------------------------------------------------------------------ 11. Duo texte/image */
.duo { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: center; }
@media (min-width: 900px) {
  .duo { grid-template-columns: 1fr 1fr; }
  .duo--inverse .duo__media { order: -1; }
}
.duo__media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--ombre-forte); }

.liste-atouts { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.liste-atouts li {
  display: grid; grid-template-columns: 26px 1fr; gap: .85rem;
  align-items: start; margin: 0;
}
.liste-atouts svg { width: 24px; height: 24px; color: var(--or-sombre); margin-top: 2px; }
.section--nuit .liste-atouts svg { color: var(--or); }
.liste-atouts strong { display: block; }
.liste-atouts span { color: var(--txt-doux); font-size: .95rem; }
.section--nuit .liste-atouts span { color: var(--txt-inverse-doux); }

/* ------------------------------------------------------------------ 12. Formulaire */
.formulaire { display: grid; gap: 1.15rem; }
.champ { display: grid; gap: .4rem; }
.champ label { font-weight: 600; font-size: .93rem; }
.champ .indice { font-weight: 400; color: var(--txt-doux); font-size: .85rem; }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 48px;
  padding: .7rem .9rem;
  font: inherit; font-size: 16px;      /* 16px : empêche le zoom auto sur iOS */
  color: var(--txt); background: var(--fond-carte);
  border: 1px solid var(--bordure-forte); border-radius: var(--r-sm);
  transition: border-color .16s, box-shadow .16s;
}
.champ textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.champ input:focus, .champ select:focus, .champ textarea:focus {
  outline: none;
  border-color: var(--navy-500);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--navy-500) 22%, transparent);
}
.champ input:user-invalid, .champ textarea:user-invalid { border-color: #C0392B; }
.champ .erreur { color: #C0392B; font-size: .85rem; font-weight: 600; }
.champ--requis label::after { content: " *"; color: #C0392B; }

@media (min-width: 700px) { .formulaire .duo-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; } }

.consentement { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; }
.consentement input { width: 22px; min-height: 22px; height: 22px; margin: 3px 0 0; }
.consentement label { font-weight: 400; font-size: .9rem; color: var(--txt-doux); }

.pot-a-miel { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.message-form { padding: 1rem 1.15rem; border-radius: var(--r); font-weight: 600; }
.message-form--ok { background: #E8F5EC; border: 1px solid #58B071; color: #14532D; }
.message-form--ko { background: #FDECEA; border: 1px solid #E08074; color: #7A231A; }

/* ------------------------------------------------------------------ 13. Coordonnées */
.coordonnees { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.coordonnees li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; margin: 0; }
.coordonnees .ico {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--or) 18%, transparent);
  color: var(--or-sombre);
}
.coordonnees .ico svg { width: 21px; height: 21px; }
.coordonnees dt, .coordonnees .lib {
  font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--txt-doux);
}
.coordonnees a {
  display: inline-flex; align-items: center; min-height: 40px;
  font-weight: 600; text-decoration: none; font-size: 1.05rem;
}
.coordonnees a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ 14. Accordéon FAQ */
.faq { display: grid; gap: .75rem; }
.faq details {
  background: var(--fond-carte);
  border: 1px solid var(--bordure); border-radius: var(--r);
  overflow: hidden;
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.25rem; min-height: 56px;
  font-weight: 700; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0;
  width: 11px; height: 11px;
  border-right: 2px solid var(--or-sombre); border-bottom: 2px solid var(--or-sombre);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq summary:hover { background: var(--fond-alt); }
.faq .reponse { padding: 0 1.25rem 1.25rem; color: var(--txt-doux); }

/* ------------------------------------------------------------------ 15. Pied de page */
.pied {
  background: var(--navy-900);
  color: var(--txt-inverse-doux);
  padding-block: clamp(2.75rem, 6vw, 4rem) 1.5rem;
  font-size: .93rem;
}
.pied a { color: #DCE3F0; text-decoration: none; }
.pied a:hover { color: var(--or); text-decoration: underline; }
.pied__grille { display: grid; gap: 2.25rem; }
@media (min-width: 720px)  { .pied__grille { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .pied__grille { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; } }
.pied h2, .pied h3 {
  font-size: .82rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #fff; margin-bottom: 1.1rem;
}
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: .6rem; }
.pied__logo { height: 46px; width: auto; margin-bottom: 1.1rem; }
.pied__bas {
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem;
  justify-content: space-between; align-items: center;
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / .12);
  font-size: .85rem; color: #8A97B2;
}
.pied__bas ul { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.pied__bas li { margin: 0; }

/* ------------------------------------------------------------------ 16. Barre d'action mobile */
.barre-action {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--navy);
  border-top: 1px solid rgb(255 255 255 / .12);
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-shadow: 0 -4px 20px rgb(5 15 38 / .3);
}
.barre-action a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .2rem; min-height: 58px; padding: .45rem .3rem;
  color: #fff; text-decoration: none;
  font-size: .74rem; font-weight: 600; letter-spacing: .01em;
}
.barre-action a + a { border-left: 1px solid rgb(255 255 255 / .12); }
.barre-action a:hover, .barre-action a:active { background: var(--navy-700); color: #fff; }
.barre-action .principal { background: var(--or); color: var(--navy-900); }
.barre-action .principal:hover, .barre-action .principal:active { background: var(--or-clair); color: var(--navy-900); }
.barre-action svg { width: 21px; height: 21px; }

@media (min-width: 960px) { .barre-action { display: none; } }
@media (max-width: 959px) { body { --barre-mobile: 62px; } }

/* ------------------------------------------------------------------ 17. Utilitaires */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.centre { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mesure { max-width: 68ch; }

.encadre {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--fond-alt);
  border-left: 4px solid var(--or);
  border-radius: 0 var(--r) var(--r) 0;
}
.encadre p:last-child { margin-bottom: 0; }

/* Apparition au défilement */
.apparait { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.apparait.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .apparait { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ 18. Impression */
@media print {
  .entete, .barre-action, .nav, .visionneuse, .btn, .filtres { display: none !important; }
  body { color: #000; background: #fff; padding-bottom: 0; }
  .section--nuit, .heros, .heros-page { background: #fff !important; color: #000 !important; }
  .section--nuit *, .heros *, .heros-page * { color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
}
