/* Hameau · mariage champêtre, nuit d'été, pierre blonde.
   Signature : l'ampoule de guirlande du logo, reprise comme puce des listes. */

@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/bodoni-moda-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/bodoni-moda-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/bodoni-moda-latin-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Jetons ---------- */

:root {
  /* Palette, en canaux RGB pour composer les transparences. */
  --rgb-nuit: 26 34 51;
  --rgb-papier: 252 251 248;
  /* Ombre chaude des voiles sur photo : un voile bleu nuit éteindrait la lumière dorée. */
  --rgb-ombre: 26 18 10;
  --nuit: rgb(var(--rgb-nuit));
  --papier: rgb(var(--rgb-papier));
  --pierre: #ede6da;
  --pierre-filet: #d6cab6;
  --pivoine: #a8324a;
  --pivoine-fonce: #8a2439;
  --pivoine-pale: #f7e8eb;
  --ampoule: #e9b44c;
  --texte: var(--nuit);
  --texte-doux: #4a5163;
  --focus: var(--nuit);

  /* Typographie */
  --f-titre: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-texte: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --t-petit: 0.9375rem;
  --t-texte: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --t-moyen: clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem);
  --t-intertitre: clamp(1.45rem, 1.25rem + 0.9vw, 1.9rem);
  --t-parole: clamp(1.4rem, 1.15rem + 1.1vw, 2.1rem);
  --t-titre: clamp(2rem, 1.4rem + 2.6vw, 3.6rem);
  --t-hero: clamp(2.5rem, 1.5rem + 4.2vw, 5.4rem);
  --t-jour: clamp(3rem, 2rem + 3.2vw, 4.75rem);
  /* Assez large pour « Vendredi » et « Dimanche » au corps maximal du nom de jour. */
  --colonne-jour: 18rem;
  --t-montant: clamp(4rem, 2.6rem + 6vw, 8rem);
  --interligne-texte: 1.6;
  --interligne-titre: 1.08;
  --mesure: 34em;

  /* Espacement */
  --esp-1: 0.25rem;
  --esp-2: 0.5rem;
  --esp-3: 0.75rem;
  --esp-4: 1rem;
  --esp-5: 1.5rem;
  --esp-6: 2rem;
  --esp-7: 3rem;
  --esp-8: 4.5rem;
  --esp-section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --gouttiere: clamp(16px, 4vw, 48px);
  --largeur-max: 1240px;
  --hauteur-entete: 4.25rem;

  /* Formes */
  --rayon-photo: 3px;
  --rayon-bouton: 4px;
  --rayon-panneau: 8px;
  --ampoule-taille: 0.5rem;
  --filet: 1px solid var(--pierre-filet);

  /* Mouvement */
  --ease-sortie: cubic-bezier(0.23, 1, 0.32, 1);
  --duree-appui: 160ms;
  --duree-ui: 220ms;
  --duree-fondu: 500ms;
  --duree-entree: 900ms;
  --duree-photo: 2200ms;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--hauteur-entete) + var(--esp-4));
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--texte);
  font-family: var(--f-texte);
  font-size: var(--t-texte);
  line-height: var(--interligne-texte);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--f-titre);
  font-weight: 400;
  line-height: var(--interligne-titre);
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

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

figure {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
}

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

.enveloppe {
  width: 100%;
  max-width: var(--largeur-max);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.evitement {
  position: absolute;
  left: var(--esp-4);
  top: -100px;
  z-index: 30;
  padding: var(--esp-2) var(--esp-4);
  background: var(--papier);
  color: var(--nuit);
}
.evitement:focus {
  top: var(--esp-4);
}

.jour-cache {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Images : fondu à l'arrivée, aplat de pierre si le fichier manque. */
.cadre-repli {
  background: var(--pierre-filet);
}
.js .img-attente {
  opacity: 0;
  transition: opacity var(--duree-fondu) ease;
}
.js .img-attente.chargee {
  opacity: 1;
}
.image-absente img {
  visibility: hidden;
}

/* ---------- Bouton d'action, le seul de la page ---------- */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: var(--esp-3) var(--esp-5);
  border: 0;
  border-radius: var(--rayon-bouton);
  background: var(--pivoine);
  color: var(--papier);
  font-family: var(--f-texte);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition:
    transform var(--duree-appui) var(--ease-sortie),
    background-color var(--duree-ui) ease;
}
.bouton:active {
  transform: scale(0.97);
}
@media (hover: hover) and (pointer: fine) {
  .bouton:hover {
    background: var(--pivoine-fonce);
  }
}
.bouton-grand {
  min-height: 56px;
  padding: var(--esp-4) var(--esp-6);
  font-size: 1.0625rem;
}
.bouton-petit {
  min-height: 40px;
  padding: var(--esp-2) var(--esp-4);
  font-size: var(--t-petit);
}
.bouton-large {
  width: 100%;
}

.microcopie {
  margin-top: var(--esp-3);
  font-size: var(--t-petit);
  opacity: 0.85;
}

/* L'ampoule : puce des listes, reprise du logo. */
.resultats div,
.engagements li {
  position: relative;
  padding-left: calc(var(--ampoule-taille) + var(--esp-4));
}
.resultats div::before,
.engagements li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: var(--ampoule-taille);
  height: var(--ampoule-taille);
  border-radius: 50%;
  background: var(--ampoule);
  box-shadow: 0 0 0 3px rgb(233 180 76 / 0.22);
}

/* ---------- En-tête ---------- */

.entete {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--esp-4);
  height: var(--hauteur-entete);
  padding-inline: var(--gouttiere);
  color: var(--papier);
  transition:
    background-color var(--duree-ui) ease,
    color var(--duree-ui) ease,
    box-shadow var(--duree-ui) ease;
}
.entete.defile {
  background: var(--papier);
  color: var(--nuit);
  box-shadow: 0 1px 0 var(--pierre-filet);
}
.entete-logo {
  display: block;
  color: inherit;
}
.logo {
  display: block;
  width: 7.5rem;
  height: auto;
  aspect-ratio: 366 / 101;
}
.texte-court {
  display: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: max(36rem, 100svh);
  color: var(--papier);
  overflow: hidden;
  isolation: isolate;
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--nuit);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 60%;
}
/* Voile de lecture : le texte repose en haut, sur les toits et le ciel ; les invités, en bas, restent dans la lumière. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgb(var(--rgb-ombre) / 0.82) 0%, rgb(var(--rgb-ombre) / 0.6) 40%, rgb(var(--rgb-ombre) / 0) 66%),
    linear-gradient(to top, rgb(var(--rgb-ombre) / 0.35) 0%, rgb(var(--rgb-ombre) / 0) 18%);
}
.hero-texte {
  text-shadow: 0 1px 14px rgb(var(--rgb-ombre) / 0.45);
  width: 100%;
  max-width: var(--largeur-max);
  margin-inline: auto;
  padding: calc(var(--hauteur-entete) + clamp(1.5rem, 6vh, 4.5rem)) var(--gouttiere) var(--esp-7);
}
.hero h1 {
  max-width: 11em;
  font-size: var(--t-hero);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.hero-promesse {
  max-width: 34em;
  margin-top: var(--esp-5);
  font-size: var(--t-moyen);
  line-height: 1.5;
  color: rgb(var(--rgb-papier) / 0.92);
}
.hero-actions {
  margin-top: var(--esp-6);
}

/* L'arrivée : la photo se pose, puis le texte monte en trois temps. Une seule chorégraphie sur la page. */
.js .hero [data-entree] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity var(--duree-entree) var(--ease-sortie),
    transform var(--duree-entree) var(--ease-sortie);
}
.js .hero.pret [data-entree] {
  opacity: 1;
  transform: none;
}
.js .hero.pret .hero-promesse {
  transition-delay: 120ms;
}
.js .hero.pret .hero-actions {
  transition-delay: 240ms;
}
.js .hero-photo img {
  transform: scale(1.06);
  transition:
    opacity var(--duree-fondu) ease,
    transform var(--duree-photo) var(--ease-sortie);
}
.js .hero.pret .hero-photo img {
  transform: none;
}

/* ---------- Douleur ---------- */

.douleur {
  padding-block: var(--esp-section);
  background: var(--pierre);
}
.douleur-grille {
  display: grid;
  gap: var(--esp-7);
}
.douleur h2 {
  font-size: var(--t-titre);
  max-width: 12em;
}
.douleur-texte p {
  max-width: var(--mesure);
  margin-top: var(--esp-5);
  color: var(--texte-doux);
}
.paroles {
  display: grid;
  gap: var(--esp-5);
  margin: 0;
  padding: 0;
  list-style: none;
}
.paroles li {
  font-family: var(--f-titre);
  font-style: italic;
  font-size: var(--t-parole);
  line-height: 1.25;
  text-wrap: balance;
}

/* ---------- Promesse ---------- */

.promesse-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 40% 50%;
}
.promesse-grille {
  display: grid;
  gap: var(--esp-6);
  padding-block: var(--esp-8) var(--esp-section);
}
.promesse h2 {
  font-size: var(--t-titre);
  max-width: 11em;
}
.promesse-chapeau {
  max-width: var(--mesure);
  font-size: var(--t-moyen);
  line-height: 1.5;
}
.resultats {
  display: grid;
  gap: var(--esp-5);
  margin: var(--esp-7) 0 0;
}
.resultats dt {
  font-weight: 600;
}
.resultats dd {
  margin: var(--esp-1) 0 0;
  color: var(--texte-doux);
  max-width: var(--mesure);
}

/* ---------- Déroulé, du jeudi au lundi ---------- */

.deroule {
  padding-block: var(--esp-section);
  border-top: var(--filet);
}
.deroule-titre {
  font-size: var(--t-titre);
  max-width: 12em;
  margin-bottom: var(--esp-8);
}
.jours {
  display: grid;
  gap: var(--esp-8);
  margin: 0;
  padding: 0;
  list-style: none;
}
.jour {
  display: grid;
  gap: var(--esp-5);
}
.jour-nom {
  font-family: var(--f-titre);
  font-style: italic;
  font-weight: 500;
  font-size: var(--t-jour);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--nuit);
}
.moments {
  display: grid;
  gap: var(--esp-7);
}
.moment {
  display: grid;
  gap: var(--esp-5);
  align-items: end;
}
.moment-photo {
  border-radius: var(--rayon-photo);
  overflow: hidden;
}
.moment-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.moment-portrait .moment-photo img {
  aspect-ratio: 4 / 5;
}
.moment-texte h3 {
  font-size: var(--t-intertitre);
}
.moment-texte p:not(.heure) {
  max-width: var(--mesure);
  margin-top: var(--esp-3);
  color: var(--texte-doux);
}
.heure {
  margin-bottom: var(--esp-2);
  font-weight: 600;
  font-size: var(--t-petit);
  letter-spacing: 0.02em;
  color: var(--pivoine);
  font-variant-numeric: tabular-nums;
}
.moment-seul {
  max-width: 36rem;
}
.relance {
  margin-top: var(--esp-8);
}

/* ---------- Ce qui est inclus : un menu de mariage ---------- */

.inclus {
  padding-block: var(--esp-section);
  background: var(--pierre);
}
.menu {
  max-width: 64rem;
  margin-inline: auto;
  padding: clamp(2.25rem, 1.5rem + 4vw, 5rem) clamp(1.25rem, 0.5rem + 4vw, 4.5rem);
  background: var(--papier);
  border: var(--filet);
  outline: var(--filet);
  outline-offset: -10px;
  text-align: center;
}
.menu h2 {
  font-size: var(--t-titre);
}
.menu-colonnes {
  display: grid;
  gap: var(--esp-7);
  margin-top: var(--esp-7);
}
.menu-service h3 {
  font-style: italic;
  font-size: var(--t-intertitre);
  color: var(--pivoine);
}
.menu-note {
  margin-top: var(--esp-2);
  font-size: var(--t-petit);
  color: var(--texte-doux);
}
.menu-service ul {
  display: grid;
  gap: var(--esp-5);
  margin: var(--esp-6) 0 0;
  padding: 0;
  list-style: none;
}
.menu-service strong {
  display: block;
  font-family: var(--f-titre);
  font-weight: 400;
  font-size: var(--t-moyen);
  line-height: 1.25;
}
.menu-service li span {
  display: block;
  max-width: 24em;
  margin: var(--esp-1) auto 0;
  font-size: var(--t-petit);
  color: var(--texte-doux);
}
/* Entre deux plats, trois ampoules plutôt qu'un filet. */
.menu-service + .menu-service::before {
  content: "";
  display: block;
  width: calc(var(--ampoule-taille) * 7);
  height: var(--ampoule-taille);
  margin: 0 auto var(--esp-7);
  background: radial-gradient(circle, var(--ampoule) 0 calc(var(--ampoule-taille) / 2), transparent calc(var(--ampoule-taille) / 2 + 0.5px)) center / calc(var(--ampoule-taille) * 2.5) 100% repeat-x;
}

/* ---------- Offre et prix ---------- */

.offre {
  --focus: var(--ampoule);
  padding-block: var(--esp-section);
  background: var(--nuit);
  color: var(--papier);
}
.offre-grille {
  display: grid;
  gap: var(--esp-8);
}
.offre h2 {
  font-size: var(--t-titre);
  max-width: 13em;
}
/* « Avec Hameau » s'allume : la seule ampoule qui brille de la section. */
.offre-nom {
  position: relative;
  padding-left: calc(var(--ampoule-taille) + var(--esp-4));
  font-family: var(--f-titre);
  font-style: italic;
  font-size: var(--t-intertitre);
  color: var(--ampoule);
}
.offre-nom::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: var(--ampoule-taille);
  height: var(--ampoule-taille);
  border-radius: 50%;
  background: var(--ampoule);
  box-shadow: 0 0 0 4px rgb(233 180 76 / 0.25), 0 0 18px rgb(233 180 76 / 0.45);
}
.offre-resume {
  max-width: 28em;
  margin-top: var(--esp-6);
  font-size: var(--t-moyen);
  line-height: 1.45;
}
.montant {
  margin-top: var(--esp-4);
  font-family: var(--f-titre);
  font-size: var(--t-montant);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums;
}
.montant span {
  font-family: var(--f-texte);
  font-size: var(--t-moyen);
  letter-spacing: 0.04em;
  color: rgb(var(--rgb-papier) / 0.7);
}
.montant-legende {
  max-width: 28em;
  margin-top: var(--esp-3);
  font-size: var(--t-moyen);
  line-height: 1.45;
  color: rgb(var(--rgb-papier) / 0.88);
}
.tarifs {
  display: grid;
  gap: var(--esp-5);
  margin: var(--esp-7) 0 0;
}
.tarifs dt {
  font-weight: 600;
  color: var(--ampoule);
}
.tarifs dd {
  max-width: var(--mesure);
  margin: var(--esp-1) 0 0;
  color: rgb(var(--rgb-papier) / 0.82);
}
.alternatives h3 {
  font-style: italic;
  font-size: var(--t-intertitre);
}
.alternatives ul {
  margin: var(--esp-5) 0 0;
  padding: 0;
  list-style: none;
}
.alternatives li {
  display: grid;
  gap: var(--esp-1);
  padding-block: var(--esp-5);
  border-top: 1px solid rgb(var(--rgb-papier) / 0.16);
}
.alternatives strong {
  font-family: var(--f-titre);
  font-weight: 400;
  font-size: var(--t-moyen);
}
.alternatives span {
  color: rgb(var(--rgb-papier) / 0.78);
}
.offre-action {
  display: grid;
  gap: var(--esp-5);
  justify-items: start;
  padding-top: var(--esp-7);
  border-top: 1px solid rgb(var(--rgb-papier) / 0.16);
}
.rarete {
  max-width: 40em;
  font-size: var(--t-moyen);
  line-height: 1.5;
  color: rgb(var(--rgb-papier) / 0.88);
}
.rarete strong {
  font-weight: 500;
  color: var(--papier);
}

/* ---------- Garantie ---------- */

.garantie {
  padding-block: var(--esp-section);
}
.garantie-grille {
  display: grid;
  gap: var(--esp-7);
}
.garantie h2 {
  font-size: var(--t-titre);
  max-width: 11em;
}
.engagements {
  display: grid;
  gap: var(--esp-6);
  margin: 0;
  padding: 0;
  list-style: none;
}
.engagement-quand {
  margin-bottom: var(--esp-2);
  font-weight: 600;
  color: var(--pivoine);
}
.engagements p:not(.engagement-quand) {
  max-width: 28em;
  color: var(--texte-doux);
}

/* ---------- Questions ---------- */

.questions {
  padding-block: var(--esp-section);
  background: var(--pierre);
}
.questions-grille {
  display: grid;
  gap: var(--esp-6);
}
.questions h2 {
  font-size: var(--t-titre);
  max-width: 9em;
}
.faq details {
  border-bottom: var(--filet);
}
.faq details:first-child {
  border-top: var(--filet);
}
.faq summary {
  position: relative;
  padding: var(--esp-5) calc(var(--esp-7)) var(--esp-5) 0;
  font-weight: 500;
  font-size: var(--t-moyen);
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: var(--esp-2);
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--pivoine);
  transition: transform var(--duree-ui) var(--ease-sortie);
}
.faq summary::after {
  transform: rotate(90deg);
}
.faq details[open] summary::after {
  transform: rotate(0deg);
}
.faq details p {
  max-width: var(--mesure);
  padding-bottom: var(--esp-5);
  color: var(--texte-doux);
}

/* ---------- Appel final ---------- */

.appel {
  --focus: var(--ampoule);
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(34rem, 85svh);
  color: var(--papier);
  isolation: isolate;
  overflow: hidden;
}
.appel-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--nuit);
}
.appel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 50%;
}
.appel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgb(var(--rgb-ombre) / 0.9) 0%, rgb(var(--rgb-ombre) / 0.55) 45%, rgb(var(--rgb-ombre) / 0.08) 80%);
}
.appel-texte {
  padding-block: var(--esp-8) clamp(3rem, 2rem + 4vw, 6rem);
}
.appel h2 {
  font-size: var(--t-titre);
  max-width: 12em;
}
.appel-texte > p:not(.microcopie) {
  max-width: 32em;
  margin-block: var(--esp-5) var(--esp-6);
  font-size: var(--t-moyen);
  line-height: 1.5;
  color: rgb(var(--rgb-papier) / 0.9);
}

/* ---------- Pied ---------- */

.pied {
  padding-block: var(--esp-7);
  background: var(--nuit);
  color: rgb(var(--rgb-papier) / 0.72);
  font-size: var(--t-petit);
}
.pied-ligne {
  display: grid;
  gap: var(--esp-4);
}
.logo-pied {
  color: var(--papier);
  width: 6.5rem;
}
.pied p {
  max-width: 48em;
}

/* ---------- Fausse porte ---------- */

.porte {
  width: min(42rem, calc(100% - 2 * var(--gouttiere)));
  max-height: calc(100svh - 2 * var(--gouttiere));
  padding: 0;
  border: 0;
  border-radius: var(--rayon-panneau);
  background: var(--papier);
  color: var(--texte);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 1;
  transform: none;
  transition:
    opacity var(--duree-ui) ease,
    transform var(--duree-ui) var(--ease-sortie);
}
.porte::backdrop {
  background: rgb(var(--rgb-nuit) / 0.62);
}
@starting-style {
  .porte[open] {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}
.porte-formulaire,
.porte-merci {
  display: grid;
  gap: var(--esp-5);
  padding: clamp(1.25rem, 1rem + 2vw, 2.25rem);
}
.porte-merci[hidden],
.porte-formulaire[hidden] {
  display: none;
}
.porte-merci:focus {
  outline: none;
}
.porte-tete {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--esp-4);
}
.porte h2 {
  font-size: var(--t-intertitre);
}
.porte-fermer {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: calc(-1 * var(--esp-2)) calc(-1 * var(--esp-2)) 0 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color var(--duree-ui) ease;
}
@media (hover: hover) and (pointer: fine) {
  .porte-fermer:hover {
    background: var(--pierre);
  }
}
.porte-fermer svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
}
.porte-franchise {
  padding: var(--esp-4);
  border-left: 3px solid var(--ampoule);
  background: var(--pierre);
  font-size: var(--t-petit);
  color: var(--texte-doux);
}
.question {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.question legend {
  margin-bottom: var(--esp-3);
  padding: 0;
  font-weight: 600;
}
.legende-aide {
  font-weight: 400;
  color: var(--texte-doux);
}
.options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--esp-2);
}
.options label {
  position: relative;
  cursor: pointer;
}
.options input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.options span {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: var(--esp-2) var(--esp-4);
  border: var(--filet);
  border-radius: var(--rayon-bouton);
  background: #fff;
  font-size: var(--t-petit);
  transition:
    border-color var(--duree-ui) ease,
    background-color var(--duree-ui) ease,
    color var(--duree-ui) ease;
}
.options input:checked + span {
  border-color: var(--pivoine);
  background: var(--pivoine-pale);
  color: var(--pivoine-fonce);
  box-shadow: inset 0 0 0 1px var(--pivoine);
}
.options input:focus-visible + span {
  outline: 2px solid var(--nuit);
  outline-offset: 2px;
}
@media (hover: hover) and (pointer: fine) {
  .options label:hover span {
    border-color: var(--pivoine);
  }
}
.porte-erreur:empty {
  display: none;
}
.porte-erreur {
  font-weight: 500;
  color: var(--pivoine-fonce);
}
.proposition {
  display: grid;
  gap: var(--esp-4);
  margin: 0;
}
.proposition div {
  padding-bottom: var(--esp-4);
  border-bottom: var(--filet);
}
.proposition dt {
  font-weight: 600;
  font-size: var(--t-petit);
  color: var(--pivoine);
}
.proposition dd {
  margin: var(--esp-1) 0 0;
}
.proposition .proposition-prix {
  font-family: var(--f-titre);
  font-size: var(--t-intertitre);
  line-height: 1.2;
}
.proposition .proposition-prix small {
  display: block;
  margin-top: var(--esp-1);
  font-family: var(--f-texte);
  font-size: var(--t-petit);
  color: var(--texte-doux);
}

/* ---------- Grands écrans ---------- */

@media (min-width: 760px) {
  .promesse-photo img {
    aspect-ratio: 21 / 9;
  }
  .menu-colonnes {
    grid-template-columns: 1fr 1fr;
  }
  .menu-service + .menu-service::before {
    display: none;
  }
  .engagements {
    grid-template-columns: repeat(3, 1fr);
  }
  .pied-ligne {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: var(--esp-6);
  }
}

@media (min-width: 960px) {
  .logo {
    width: 8.5rem;
  }
  .hero::after {
    background:
      linear-gradient(to right, rgb(var(--rgb-ombre) / 0.72) 0%, rgb(var(--rgb-ombre) / 0.4) 38%, rgb(var(--rgb-ombre) / 0) 62%),
      linear-gradient(to bottom, rgb(var(--rgb-ombre) / 0.5) 0%, rgb(var(--rgb-ombre) / 0) 30%),
      linear-gradient(to top, rgb(var(--rgb-ombre) / 0.3) 0%, rgb(var(--rgb-ombre) / 0) 18%);
  }
  .hero h1 {
    max-width: 10em;
  }
  .douleur-grille {
    grid-template-columns: 5fr 6fr;
    gap: var(--esp-8);
    align-items: start;
  }
  .paroles {
    gap: var(--esp-6);
    padding-top: var(--esp-2);
  }
  /* Les phrases s'écartent les unes des autres, comme des pensées qui se bousculent. */
  .paroles li:nth-child(even) {
    margin-left: var(--esp-8);
  }
  .promesse-grille {
    grid-template-columns: 5fr 7fr;
    gap: var(--esp-8);
    align-items: start;
  }
  .jour {
    grid-template-columns: var(--colonne-jour) minmax(0, 1fr);
    gap: var(--esp-6);
    align-items: start;
  }
  .jour-nom {
    position: sticky;
    top: calc(var(--hauteur-entete) + var(--esp-5));
  }
  .moment {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: var(--esp-6);
  }
  .moment-portrait {
    grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
  }
  .moment-seul {
    grid-template-columns: 1fr;
  }
  .relance {
    padding-left: calc(var(--colonne-jour) + var(--esp-6));
  }
  .offre-grille {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    column-gap: var(--esp-8);
    row-gap: var(--esp-7);
  }
  .offre-titre,
  .offre-action {
    grid-column: 1 / -1;
  }
  .offre-action {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .questions-grille {
    grid-template-columns: 4fr 8fr;
    gap: var(--esp-8);
  }
  .questions h2 {
    position: sticky;
    top: calc(var(--hauteur-entete) + var(--esp-5));
    align-self: start;
  }
}

/* ---------- Petits écrans ---------- */

@media (max-width: 560px) {
  .texte-long {
    display: none;
  }
  .texte-court {
    display: inline;
  }
  .hero-actions .bouton,
  .appel-texte .bouton,
  .relance .bouton,
  .offre-action .bouton {
    width: 100%;
  }
  .hero-photo img {
    object-position: 62% 60%;
  }
}

/* ---------- Mouvement réduit ---------- */

@media (prefers-reduced-motion: reduce) {
  .js .hero [data-entree],
  .js .hero-photo img {
    transform: none;
    transition: opacity var(--duree-fondu) ease;
  }
  .bouton,
  .bouton:active {
    transform: none;
  }
  .porte {
    transition: opacity var(--duree-ui) ease;
  }
  @starting-style {
    .porte[open] {
      transform: none;
    }
  }
  .faq summary::before,
  .faq summary::after {
    transition: none;
  }
}
