/* =====================================================================
   STYLE DU SITE – version 5 « Sable et bois », affinée
   ---------------------------------------------------------------------
   Idée : un fond couleur sable, des détails couleur bois brut et des
   touches de vert (sapin pour les boutons et le pied de page, sauge
   pour les petits repères). Grande écriture élégante, formes droites.

   Les couleurs et les polices sont réglées tout en haut (« :root »).
   Pour changer une couleur partout sur le site : modifier la valeur ici.
   Le site est pensé d'abord pour le téléphone, puis adapté aux grands
   écrans (les blocs « @media » à la fin du fichier).
   ===================================================================== */

/* ---------- Polices (fichiers dans le dossier polices/) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../polices/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../polices/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../polices/cormorant-garamond-latin-500-italic.woff2") format("woff2");
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../polices/cormorant-garamond-latin-600-italic.woff2") format("woff2");
  font-weight: 600; font-style: italic; font-display: swap;
}

/* ---------- Couleurs et réglages généraux ---------- */
:root {
  --fond: #EAE1D2;          /* sable : fond du site */
  --fond-2: #F2ECE1;        /* sable clair : menu, cases, bandeaux */
  --fond-3: #DDD2BF;        /* sable foncé : fond des photos en chargement */
  --trait: #D6C9B4;         /* lignes de séparation */
  --trait-fort: #8C7B62;    /* bordure des champs : bien visible (contraste 3:1) */
  --exemple: #6B6253;       /* texte d'exemple dans les champs (contraste 4,5:1) */
  --lin: #26291F;           /* texte principal (brun-vert très foncé) */
  --lin-doux: #635C4F;      /* texte secondaire */
  --sapin: #2F4A3A;         /* vert sapin : boutons, liens, pied de page */
  --sapin-fonce: #1F3428;   /* vert sapin foncé : survol des boutons */
  --sauge: #8A9B78;         /* vert sauge : petits repères, focus clavier */
  --bois: #8C6441;          /* bois brut : prix, page active, détails */
  --bois-fonce: #74522F;    /* bois foncé : petits textes (plus lisible) */
  --bois-clair: #C9AE8A;    /* bois clair : traits décoratifs */
  --erreur: #9B2C1C;        /* messages d'erreur du formulaire */
  --blanc: #FFFFFF;         /* texte posé sur les photos */

  --police-titres: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --police-texte: "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

  --largeur-max: 1320px;
  --marge: 1.25rem;
  --hauteur-entete: 4.6rem;
  --courbe: cubic-bezier(.2, .7, .2, 1);

  /* Le site a un seul thème, clair : les listes et calendriers du
     téléphone restent clairs même si le téléphone est en mode sombre. */
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--hauteur-entete); scrollbar-color: var(--bois-clair) var(--fond); }

body {
  margin: 0;
  background: var(--fond);
  color: var(--lin);
  font-family: var(--police-texte);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--sapin);
  overflow-wrap: break-word; /* les mots très longs (adresse email) passent à la ligne */
}
main { flex: 1; }

img { max-width: 100%; display: block; }

/* Petites icônes dessinées (téléphone, email, flèches…) */
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

h1, h2, h3 {
  font-family: var(--police-titres);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  font-variant-numeric: lining-nums; /* chiffres bien droits */
  text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 8vw, 5.4rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
h3 { font-size: 1.5rem; }

p { margin: 0 0 1em; }

a { color: var(--lin); text-decoration-color: var(--bois-clair); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color 0.2s, text-decoration-color 0.2s; }
a:hover { color: var(--sapin); text-decoration-color: var(--sapin); }

:focus-visible { outline: 2px solid var(--sauge); outline-offset: 3px; }
::selection { background: var(--sapin); color: var(--blanc); }

.lien-evitement {
  position: absolute; left: -9999px; top: 0;
  background: var(--lin); color: var(--fond); padding: 0.6rem 1rem; z-index: 300;
}
.lien-evitement:focus { left: 0.5rem; top: 0.5rem; }

.conteneur {
  width: 100%;
  max-width: var(--largeur-max);
  margin: 0 auto;
  padding: 0 var(--marge);
}
.conteneur--etroit { max-width: 780px; }

.section { padding: 3rem 0; }

/* Titre en haut des pages intérieures */
.titre-page { padding: 3rem 0 2.25rem; border-bottom: 1px solid var(--bois-clair); margin-bottom: 2.25rem; }
.titre-page h1 { margin-bottom: 0.25em; }
.introduction { color: var(--lin-doux); max-width: 38em; font-size: 1.08rem; }
.titre-page--compact { padding: 2rem 0 1.25rem; margin-bottom: 1.25rem; border-bottom: 0; }
.titre-page--compact h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); }
.titre-page--compact .introduction { margin-bottom: 0; }

/* Texte qui reste à compléter : bien visible, sans casser le style */
.a-completer { background: #FFF1C2; color: #6B4A00; padding: 0 0.2em; }

.petite-mention { font-size: 0.85rem; color: var(--lin-doux); }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 60;
  background: rgba(234, 225, 210, 0.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--trait);
  transition: background 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.entete--defile { box-shadow: 0 6px 24px rgba(38, 41, 31, 0.06); }

.entete__conteneur {
  max-width: var(--largeur-max);
  margin: 0 auto;
  min-height: var(--hauteur-entete);
  padding: 0.8rem var(--marge);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.entete__marque {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none; color: var(--lin); line-height: 1;
}
.entete__textes { display: flex; flex-direction: column; }
/* Monogramme du logo dans l'en-tête */
.logo-mono { width: 2.6rem; height: 2.6rem; flex-shrink: 0; transition: color 0.3s; }
.logo-mono .logo-lettres { fill: currentColor; stroke: none; }
.logo-mono .logo-cadre { stroke: var(--bois); transition: stroke 0.3s; }
.entete__marque:hover .logo-mono { color: var(--sapin); }
.entete__nom { font-family: var(--police-titres); font-size: 1.55rem; font-weight: 500; transition: color 0.3s; }
.entete__metier { font-size: 0.78rem; color: var(--lin-doux); margin-top: 0.3rem; letter-spacing: 0.03em; transition: color 0.3s; }
.entete__marque:hover .entete__nom { color: var(--sapin); }

.entete__droite { display: flex; align-items: center; gap: 2rem; }
.entete__raccourci {
  display: none;
  font-size: 0.9rem; font-weight: 600; text-decoration: none;
  padding: 0.55rem 1rem; border: 1px solid currentColor; color: var(--sapin);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.entete__raccourci:hover { background: var(--sapin); border-color: var(--sapin); color: var(--blanc); }

/* Sur l'accueil : l'en-tête est posé sur la grande photo (transparent,
   texte blanc), puis prend un fond sable quand on fait défiler. */
body[data-page="accueil"] .entete {
  position: fixed; left: 0; right: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0));
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
body[data-page="accueil"] .entete.entete--defile,
body[data-page="accueil"] .entete.entete--menu-ouvert {
  background: rgba(234, 225, 210, 0.96);
  border-bottom-color: var(--trait);
}
body[data-page="accueil"] .entete:not(.entete--defile):not(.entete--menu-ouvert) .entete__nom,
body[data-page="accueil"] .entete:not(.entete--defile):not(.entete--menu-ouvert) .menu__bouton,
body[data-page="accueil"] .entete:not(.entete--defile):not(.entete--menu-ouvert) .entete__raccourci { color: var(--blanc); }
body[data-page="accueil"] .entete:not(.entete--defile):not(.entete--menu-ouvert) .entete__metier { color: rgba(255, 255, 255, 0.82); }
body[data-page="accueil"] .entete:not(.entete--defile):not(.entete--menu-ouvert) .logo-mono { color: var(--blanc); }
body[data-page="accueil"] .entete:not(.entete--defile):not(.entete--menu-ouvert) .logo-mono .logo-cadre { stroke: rgba(255, 255, 255, 0.75); }
body[data-page="accueil"] .entete:not(.entete--defile):not(.entete--menu-ouvert) .entete__raccourci:hover { background: var(--blanc); color: var(--lin); border-color: var(--blanc); }

/* ---------- Menu déroulant ---------- */
.menu__bouton {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: none; border: 0; color: var(--lin);
  font: inherit; font-size: 0.95rem; cursor: pointer; padding: 0.6rem 0;
  position: relative; z-index: 2;
  transition: color 0.3s;
}
.menu__texte { min-width: 3.4em; text-align: right; }
.menu__traits { width: 26px; height: 10px; position: relative; }
.menu__traits::before, .menu__traits::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform 0.3s ease, top 0.3s ease;
}
.menu__traits::before { top: 0; }
.menu__traits::after { top: 8px; }
.menu__bouton[aria-expanded="true"] .menu__traits::before { top: 4px; transform: rotate(45deg); }
.menu__bouton[aria-expanded="true"] .menu__traits::after { top: 4px; transform: rotate(-45deg); }
.menu__bouton:hover { color: var(--sapin); }

/* Fond sombre derrière le menu ouvert */
.menu__fond {
  position: fixed; inset: 0; z-index: 0;
  background: rgba(24, 30, 25, 0.45);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s, visibility 0s 0.4s;
}
.menu--ouvert .menu__fond { opacity: 1; visibility: visible; transition: opacity 0.4s; }

/* Le panneau descend depuis le haut de l'écran */
.menu__panneau {
  position: fixed; left: 0; right: 0; top: 0; z-index: 1;
  background: var(--fond-2);
  border-bottom: 1px solid var(--trait);
  padding: 6.25rem var(--marge) 2.5rem;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.5s var(--courbe), visibility 0s 0.5s;
  max-height: 100vh; max-height: 100dvh; overflow-y: auto;
  box-shadow: 0 20px 50px rgba(24, 30, 25, 0.18);
}
.menu--ouvert .menu__panneau {
  transform: translateY(0); visibility: visible;
  transition: transform 0.5s var(--courbe);
}
.menu__interieur {
  max-width: var(--largeur-max); margin: 0 auto;
  display: grid; gap: 2.5rem;
}
.menu__liste { list-style: none; margin: 0; padding: 0; }
.menu__lien {
  display: block; padding: 0.2rem 0;
  font-family: var(--police-titres); font-size: clamp(2rem, 7vw, 3.4rem); line-height: 1.15;
  color: var(--lin); text-decoration: none;
}
.menu__lien:hover { color: var(--sapin); }
.menu__lien[aria-current="page"] { color: var(--bois); font-style: italic; }
.menu__contact { color: var(--lin-doux); font-size: 0.95rem; }
.menu__contact p { margin: 0 0 0.45rem; }
.menu__contact a:not(.bouton) { color: var(--lin); }
.menu__etiquette { font-size: 0.75rem !important; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bois-fonce); margin-bottom: 0.8rem !important; }
.menu__contact .bouton { margin-top: 1.25rem; }

/* ---------- Boutons ---------- */
.bouton {
  max-width: 100%; text-wrap: balance;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font: inherit; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--sapin); border-radius: 0;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.bouton svg { transition: transform 0.25s var(--courbe); }
.bouton:hover svg { transform: translateX(3px); }
.bouton--principal { background: var(--sapin); color: var(--blanc); }
.bouton--principal:hover { background: var(--sapin-fonce); border-color: var(--sapin-fonce); color: var(--blanc); }
.bouton--secondaire { background: transparent; color: var(--lin); border-color: rgba(38, 41, 31, 0.3); }
.bouton--secondaire:hover { border-color: var(--lin); color: var(--lin); background: var(--fond-2); }
.bouton--clair { background: var(--fond); color: var(--sapin); border-color: var(--fond); }
.bouton--clair:hover { background: var(--blanc); border-color: var(--blanc); color: var(--sapin-fonce); }
.pied .bouton--clair { color: var(--sapin); text-decoration: none; }
.pied .bouton--clair:hover { color: var(--sapin-fonce); }
.bouton--large { width: 100%; }
/* Bouton Instagram : icône + pseudo, lien direct vers le profil */
.bouton--instagram svg { width: 1.25rem; height: 1.25rem; }
.bouton--instagram:hover svg { transform: none; }
.bouton:disabled { opacity: 0.6; cursor: wait; }

.groupe-boutons { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-top: 1.75rem; }

/* Lien texte avec une petite flèche */
.lien-fleche { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--sapin); }
.lien-fleche svg { transition: transform 0.25s var(--courbe); }
.lien-fleche:hover svg { transform: translateX(3px); }

/* Engagements (retouches, 24 h) : une ligne de texte simple, pas de pastilles */
.engagements {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.75rem;
  padding: 0; margin: 1.25rem 0 0; list-style: none;
  color: var(--lin-doux); font-size: 0.95rem;
}
.engagements li { padding-left: 1.1rem; position: relative; }
.engagements li::before {
  content: ""; position: absolute; left: 0; top: 0.68em;
  width: 0.5rem; height: 1px; background: var(--bois);
}

/* ---------- Accueil ---------- */
.accueil-hero {
  position: relative; min-height: 88vh; min-height: 88svh; color: var(--blanc);
  display: flex; align-items: flex-end;
  overflow: hidden; background: var(--fond-3);
}
.accueil-hero img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  animation: zoom-lent 2.4s var(--courbe) both;
}
.accueil-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(20,22,18,0.62) 100%),
    radial-gradient(120% 70% at 0% 100%, rgba(20,22,18,0.35), rgba(20,22,18,0) 70%);
}
.accueil-hero__texte {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--largeur-max); margin: 0 auto;
  padding: 0 var(--marge) 3rem;
}
/* Le nom en très grand : l'élément fort du site */
.accueil-hero__nom {
  font-size: clamp(3.6rem, 16vw, 11rem);
  line-height: 0.88; letter-spacing: -0.025em; font-weight: 500;
  margin: 0 0 1.4rem;
  animation: apparition 1.2s var(--courbe) both;
}
.accueil-hero__nom span { display: block; }
/* « Merlin » en italique, aligné à gauche sous « Mathys » : avec ce calage, le « l »
   tombe sous le « t » et le « h », loin de la queue du « y » (aucune lettre ne se touche). */
.accueil-hero__nom span + span { font-style: italic; }
.accueil-hero .phrase { font-size: 1.12rem; color: var(--blanc); max-width: 32em; opacity: 0.94; animation: apparition 1.2s 0.15s var(--courbe) both; }
.accueil-hero .groupe-boutons { animation: apparition 1.2s 0.3s var(--courbe) both; }
.accueil-hero .bouton--secondaire { color: var(--blanc); border-color: rgba(255, 255, 255, 0.7); }
.accueil-hero .bouton--secondaire:hover { background: var(--blanc); color: var(--lin); border-color: var(--blanc); }
.accueil-hero .bouton--principal:hover { background: var(--blanc); border-color: var(--blanc); color: var(--lin); }

@keyframes apparition {
  from { opacity: 0; transform: translateY(0.4em); }
  to   { opacity: 1; transform: none; }
}
@keyframes zoom-lent {
  from { transform: scale(1.06); }
  to   { transform: none; }
}

/* Deux grandes entrées : Ma galerie / L'immobilier */
.entrees { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); padding: 3rem 0 1rem; }
.entree {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 5; text-decoration: none; color: var(--blanc);
  background: var(--fond-3);
}
.entree img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--courbe); }
.entree::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55) 100%);
}
.entree__texte { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.4rem; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.entree__titre { font-family: var(--police-titres); font-size: clamp(2rem, 5vw, 3rem); line-height: 1; display: block; }
.entree__detail { font-size: 0.95rem; color: rgba(255, 255, 255, 0.88); }
.entree__fleche {
  width: 2.75rem; height: 2.75rem; border: 1px solid rgba(255, 255, 255, 0.7);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background 0.3s, color 0.3s;
}
.entree:hover { color: var(--blanc); }
.entree:hover img { transform: scale(1.04); }
.entree:hover .entree__fleche { background: var(--blanc); color: var(--lin); }

/* Bloc de présentation courte sur l'accueil */
.presentation {
  display: grid; gap: 1.5rem; padding: 4rem 0;
  border-top: 1px solid var(--trait); margin-top: 3rem;
}
.presentation__citation {
  font-family: var(--police-titres); font-style: italic;
  font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.18; margin: 0; max-width: 18em;
}
.presentation__texte { color: var(--lin-doux); max-width: 34em; }

/* ---------- Étapes « Comment ça se passe » ---------- */
.bloc-etapes { padding: 3.5rem 0 1rem; border-top: 1px solid var(--trait); margin-top: 3rem; }
.bloc-etapes__entete { margin-bottom: 2rem; }
.etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; counter-reset: etape; }
.etape { border-top: 1px solid var(--bois-clair); padding-top: 1.25rem; }
.etape__numero {
  display: block; font-family: var(--police-titres); font-size: 2.6rem; line-height: 1;
  color: var(--bois); margin-bottom: 0.75rem; font-variant-numeric: lining-nums;
}
.etape__titre { font-size: 1.6rem; margin-bottom: 0.4rem; }
.etape__texte { color: var(--lin-doux); margin: 0; max-width: 26em; }

/* ---------- Bandeau d'appel en bas des pages ---------- */
.bandeau {
  margin-top: 4rem; padding: 2.5rem 1.5rem;
  background: var(--fond-2); border: 1px solid var(--trait);
  display: grid; gap: 0.5rem; align-items: center; grid-template-columns: minmax(0, 1fr);
}
.bandeau__texte { font-family: var(--police-titres); font-size: clamp(1.8rem, 4.2vw, 2.6rem); line-height: 1.1; margin: 0; }
.bandeau .groupe-boutons { margin-top: 1rem; }

/* ---------- Filtres de la galerie (onglets soulignés) ---------- */
.filtres {
  display: flex; gap: 1.75rem; margin: 0 calc(var(--marge) * -1) 2rem; padding: 0 var(--marge);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.filtres::-webkit-scrollbar { display: none; }
.filtre {
  background: none; border: 0; color: var(--lin-doux); white-space: nowrap;
  min-height: 44px; padding: 0.45rem 0; font: inherit; font-size: 1rem; cursor: pointer;
  border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s;
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.filtre__nombre { font-size: 0.75rem; color: var(--bois-fonce); font-variant-numeric: tabular-nums; position: relative; top: -0.45em; }
.filtre:hover { color: var(--lin); }
.filtre[aria-pressed="true"] { color: var(--lin); border-bottom-color: var(--bois); }

/* ---------- Mosaïque (colonnes équilibrées) ---------- */
.mosaique { display: flex; align-items: flex-start; gap: 6px; }
.mosaique__colonne { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.mosaique__element {
  display: block; width: 100%; position: relative;
  margin: 0; padding: 0; border: 0;
  background: var(--fond-3);
  cursor: zoom-in; overflow: hidden;
}
.mosaique__element img {
  width: 100%; height: auto;
  opacity: 0; transition: opacity 0.6s, transform 0.8s var(--courbe), filter 0.3s;
}
.mosaique__element.est-charge img { opacity: 1; }
.mosaique__element:hover img { transform: scale(1.03); filter: brightness(0.93); }
.mosaique__vide { color: var(--lin-doux); font-style: italic; }

/* ---------- Plein écran ---------- */
.sans-defilement { overflow: hidden; }

.visionneuse {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20, 22, 18, 0.97);
  display: flex; align-items: center; justify-content: center;
  touch-action: pan-y;
  animation: fondu 0.3s ease both;
}
@keyframes fondu { from { opacity: 0; } to { opacity: 1; } }
.visionneuse__scene {
  margin: 0; max-width: 92vw; max-height: 86vh;
  display: flex; flex-direction: column; align-items: center;
}
.visionneuse__image {
  max-width: 92vw; max-height: 80vh; width: auto; height: auto; object-fit: contain;
  opacity: 0; transition: opacity 0.35s ease;
}
.visionneuse__image.est-pret { opacity: 1; }
.visionneuse__legende {
  color: var(--blanc); margin-top: 0.9rem; text-align: center;
  font-family: var(--police-titres); font-style: italic; font-size: 1.25rem;
}
.visionneuse__compteur {
  position: absolute; bottom: 1.25rem; left: 0; right: 0; margin: 0;
  text-align: center; color: rgba(255, 255, 255, 0.65); font-size: 0.82rem;
  letter-spacing: 0.06em; font-variant-numeric: tabular-nums;
}
.visionneuse button {
  position: absolute;
  background: none; color: var(--blanc);
  border: 0; width: 3.25rem; height: 3.25rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: color 0.2s, background 0.2s;
}
.visionneuse button svg { width: 1.6rem; height: 1.6rem; stroke-width: 1.3; }
.visionneuse button:hover { color: var(--bois-clair); }
.visionneuse__fermer { top: 0.75rem; right: 0.75rem; }
.visionneuse__fleche { top: 50%; transform: translateY(-50%); }
.visionneuse__fleche svg { width: 2rem !important; height: 2rem !important; }
.visionneuse__fleche--gauche { left: 0.25rem; }
.visionneuse__fleche--droite { right: 0.25rem; }

/* ---------- Tarifs : une liste claire, comme une carte de prix ---------- */
.formules { list-style: none; margin: 0; padding: 0; }
.formule {
  display: grid; gap: 0.75rem 2rem; align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 1.75rem 0; border-bottom: 1px solid var(--trait);
}
.formule__nom { font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 0; }
.formule__photos { color: var(--lin-doux); margin: 0.25rem 0 0; font-size: 0.95rem; }
.formule__prix {
  font-family: var(--police-titres);
  font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 500; color: var(--bois);
  margin: 0; line-height: 1; text-align: right;
  font-variant-numeric: lining-nums;
}
.formule .bouton { grid-column: 1 / -1; justify-self: stretch; max-width: 100%; }
.formule:hover .formule__nom { color: var(--sapin); }

.tarifs-inclus { display: grid; gap: 2rem; padding: 2.5rem 0 0; }
.tarifs-inclus h2 { font-size: 1.6rem; margin-bottom: 0.8rem; }
.tarifs-inclus .engagements { margin-top: 0; flex-direction: column; color: var(--lin); }
.tarifs-infos { color: var(--lin-doux); }
.tarifs-infos strong { color: var(--lin); font-weight: 600; }

/* ---------- Questions fréquentes ---------- */
.faq { padding-top: 3.5rem; border-top: 1px solid var(--trait); margin-top: 3rem; }
.faq h2 { margin-bottom: 1.25rem; }
.question { border-bottom: 1px solid var(--trait); }
.question:first-child { border-top: 1px solid var(--trait); }
.question__titre {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 0; font-size: 1.05rem; font-weight: 600;
}
.question__titre::-webkit-details-marker { display: none; }
.question__icone { color: var(--bois); display: flex; transition: transform 0.3s var(--courbe); }
.question__icone svg { width: 1.25rem; height: 1.25rem; }
.question[open] .question__icone { transform: rotate(45deg); }
.question__titre:hover { color: var(--sapin); }
.question__reponse { color: var(--lin-doux); margin: 0 0 1.25rem; max-width: 40em; }

/* ---------- À propos ---------- */
.a-propos-texte p:first-child {
  font-family: var(--police-titres); font-size: clamp(1.7rem, 3.6vw, 2.3rem); line-height: 1.25;
}
.points-forts { list-style: none; padding: 0; margin: 1rem 0 2rem; border-top: 1px solid var(--trait); }
.points-forts li { padding: 1rem 0 1rem 1.5rem; border-bottom: 1px solid var(--trait); position: relative; }
.points-forts li::before { content: ""; position: absolute; left: 0; top: 1.72rem; width: 0.6rem; height: 1px; background: var(--bois); }
.points-forts strong { font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grille { display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr); }
.contact-grille h2 { font-size: 1.9rem; margin-bottom: 1.25rem; }

/* Gros boutons de contact direct (pratiques au doigt) */
.actions-contact { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.action-contact {
  display: flex; flex-direction: column; gap: 0.2rem; height: 100%;
  padding: 1rem; background: var(--fond-2); border: 1px solid var(--trait);
  text-decoration: none; transition: border-color 0.2s, background 0.2s;
}
.actions-contact__large { grid-column: 1 / -1; }
.action-contact:hover { border-color: var(--sapin); color: var(--lin); }
.action-contact__etiquette { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bois-fonce); }
.action-contact__valeur { font-family: var(--police-titres); font-size: 1.25rem; line-height: 1.2; font-variant-numeric: lining-nums; overflow-wrap: anywhere; }

.formulaire { display: grid; gap: 1.6rem; }
.champs-cote { display: grid; gap: 1.6rem; grid-template-columns: minmax(0, 1fr); }
.bloc-immobilier { display: grid; gap: 1.6rem; padding: 1.25rem; background: var(--fond-2); border: 1px solid var(--trait); }

.champ { display: flex; flex-direction: column; gap: 0.4rem; }
.champ label { font-size: 0.9rem; color: var(--lin-doux); }
.champ .facultatif { opacity: 0.75; }
.champ input, .champ select, .champ textarea {
  font: inherit; font-size: 1rem; color: var(--lin);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--trait-fort); border-radius: 0;
  padding: 0.6rem 0; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.champ select { background: transparent; cursor: pointer; }
.champ select option { background: var(--fond-2); color: var(--lin); }
.champ textarea { min-height: 140px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-bottom-color: var(--sapin); box-shadow: 0 1px 0 0 var(--sapin); }
.champ [aria-invalid="true"] { border-bottom-color: var(--erreur); }
.champ__erreur { color: var(--erreur); font-size: 0.85rem; margin: 0.15rem 0 0; }
.champ ::placeholder { color: var(--exemple); opacity: 1; }

/* Choix du type de demande : deux gros boutons */
.choix-type { border: 0; margin: 0; padding: 0; min-width: 0; }
.choix-type legend { font-size: 0.9rem; color: var(--lin-doux); padding: 0; margin-bottom: 0.6rem; }
.choix-type__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choix-type__option { position: relative; cursor: pointer; }
.choix-type__option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choix-type__option span {
  display: block; text-align: center; padding: 0.9rem 0.5rem; font-weight: 600; font-size: 0.95rem;
  border: 1px solid var(--trait-fort); color: var(--lin-doux); transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.choix-type__option + .choix-type__option span { border-left: 0; }
.choix-type__option input:checked + span { background: var(--sapin); border-color: var(--sapin); color: var(--blanc); }
.choix-type__option input:focus-visible + span { outline: 2px solid var(--sauge); outline-offset: 2px; }
.choix-type__option:hover input:not(:checked) + span { color: var(--lin); background: var(--fond-2); }

.case-a-cocher { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.9rem; color: var(--lin-doux); cursor: pointer; }
.case-a-cocher input { margin-top: 0.1rem; width: 1.3rem; height: 1.3rem; accent-color: var(--sapin); flex-shrink: 0; }

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

.formulaire__message { padding: 1rem 1.1rem; border: 1px solid var(--trait); background: var(--fond-2); margin: 0; }
.formulaire__message--succes { border-color: var(--sauge); background: #E6EADC; }
.formulaire__message--erreur { border-color: var(--bois-clair); }

/* ---------- Pages légales ---------- */
.texte-legal h2 { margin-top: 2.5rem; font-size: 1.7rem; }
.texte-legal dl { margin: 0; }
.texte-legal dt { color: var(--lin-doux); font-size: 0.9rem; margin-top: 0.9rem; }
.texte-legal dd { margin: 0; }
.texte-legal ul { padding-left: 1.2rem; }

/* ---------- Pied de page (vert sapin) ---------- */
.pied { margin-top: 5rem; background: var(--sapin); color: var(--fond); }
.pied a { color: var(--fond); text-decoration-color: rgba(234, 225, 210, 0.35); }
.pied a:hover { color: var(--bois-clair); text-decoration-color: var(--bois-clair); }
.pied :focus-visible { outline-color: var(--bois-clair); }
.pied__conteneur {
  max-width: var(--largeur-max); margin: 0 auto;
  padding: 3.5rem var(--marge) 2rem;
  display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr);
}
.pied__haut { display: grid; gap: 1.5rem; align-items: end; grid-template-columns: minmax(0, 1fr); }
.pied__appel { font-family: var(--police-titres); font-size: clamp(2.1rem, 6vw, 4rem); line-height: 1.05; margin: 0; max-width: 14em; hyphens: auto; }
.pied__appel a { text-decoration: none; }
.pied__haut .bouton { justify-self: start; }
.pied__colonnes { display: grid; gap: 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pied__colonne { min-width: 0; }
.pied__colonne:first-child { grid-column: 1 / -1; }
.pied__titre { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(234, 225, 210, 0.6); margin: 0 0 0.8rem; }
.pied__liens { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; align-content: start; }
.pied__liens a { display: inline-block; padding: 0.5rem 0; text-decoration: none; opacity: 0.88; overflow-wrap: anywhere; }
.pied__liens a:hover { opacity: 1; }
.pied__bas {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem;
  border-top: 1px solid rgba(234, 225, 210, 0.2); padding-top: 1.25rem;
}
.pied__copyright { margin: 0; font-size: 0.85rem; color: rgba(234, 225, 210, 0.72); }
.pied__remonter { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px; font-size: 0.85rem; text-decoration: none; opacity: 0.85; }
.pied__bas { align-items: center; }

/* ---------- Icônes WhatsApp et Instagram ---------- */
.icone { display: inline-flex; }
/* Logos d'applis : formes pleines (et non au trait) */
svg.logo-appli { fill: currentColor; stroke: none; }
.icone svg { width: 1.25rem; height: 1.25rem; }
.reseaux { display: flex; gap: 0.6rem; margin-top: 0.9rem; }
.reseau {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--trait-fort); color: var(--lin);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.reseau svg { width: 1.3rem; height: 1.3rem; }
.reseau:hover { background: var(--sapin); border-color: var(--sapin); color: var(--blanc); }
/* Dans le pied de page vert : icônes couleur sable */
.reseaux--pied .reseau { border-color: rgba(234, 225, 210, 0.45); color: var(--fond); opacity: 1; }
.reseaux--pied .reseau:hover { background: var(--fond); border-color: var(--fond); color: var(--sapin); }
.action-contact__icone { display: flex; color: var(--bois-fonce); height: 1.1rem; align-items: center; }
.action-contact__icone svg { width: 1.35rem; height: 1.35rem; }

/* ---------- Barre Appeler / WhatsApp / Email sur téléphone ---------- */
.barre-mobile {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(242, 236, 225, 0.97);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--trait);
  padding-bottom: env(safe-area-inset-bottom);
}
.barre-mobile__bouton {
  display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
  text-decoration: none; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.02em;
  padding: 0.6rem 0.25rem 0.55rem; color: var(--lin);
}
.barre-mobile__bouton svg { width: 1.3rem; height: 1.3rem; }
.barre-mobile__bouton + .barre-mobile__bouton { border-left: 1px solid var(--trait); }
.barre-mobile__bouton--whatsapp { color: var(--sapin); }
.barre-mobile__bouton:active { background: var(--fond); }
body.avec-barre-mobile { padding-bottom: calc(3.6rem + env(safe-area-inset-bottom)); }

/* =====================================================================
   ÉCRANS PLUS GRANDS
   ===================================================================== */
@media (min-width: 640px) {
  .entrees { grid-template-columns: 1fr 1fr; }
  .formule { grid-template-columns: minmax(0, 1fr) auto auto; }
  .formule .bouton { grid-column: auto; justify-self: end; }
  .champs-cote { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bouton--large { width: auto; }
  .pied__colonnes { grid-template-columns: repeat(3, auto); justify-content: start; gap: 4rem; }
  .pied__colonne:first-child { grid-column: auto; }
  .bandeau { padding: 3rem; }
}

@media (min-width: 900px) {
  :root { --marge: 2.5rem; }
  .entete__raccourci { display: inline-block; }
  .mosaique, .mosaique__colonne { gap: 10px; }
  .entrees { padding-top: 5rem; }
  .entree:nth-child(2) { margin-top: 5rem; }
  .presentation { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 4rem; padding: 6rem 0; }
  .etapes { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .contact-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 5rem; align-items: start; }
  .contact-direct { position: sticky; top: calc(var(--hauteur-entete) + 1.5rem); }
  .actions-contact { grid-template-columns: minmax(0, 1fr); }
  .tarifs-inclus { grid-template-columns: 1fr 1fr; }
  .faq { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: start; }
  .bandeau { grid-template-columns: minmax(0, 1fr) auto; padding: 3rem 3.5rem; }
  .bandeau .groupe-boutons { margin-top: 0; justify-content: flex-end; }
  .menu__interieur { grid-template-columns: 2fr 1fr; align-items: end; }
  .pied__haut { grid-template-columns: minmax(0, 1fr) auto; }
  .visionneuse__fleche--gauche { left: 1.5rem; }
  .visionneuse__fleche--droite { right: 1.5rem; }
  .barre-mobile { display: none; }
  body.avec-barre-mobile { padding-bottom: 0; }
}

/* Moins d'animations pour les personnes qui l'ont demandé dans leur système */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
