/* ==========================================================================
   Maison Sublime — feuille de style unique
   Direction : éditoriale, façon magazine de mariage. Grands blancs, images
   qui respirent, titres en grand corps, repères numérotés en capitales.
   Playfair Display pour les titres, Montserrat pour le texte (brief).
   L'italique est réservé à l'accueil et aux citations : ailleurs, il
   deviendrait un tic.
   ========================================================================== */

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-wght-italic.woff2") format("woff2");
  font-weight: 400 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  /* Les six teintes du brief */
  --creme:  #F7F3ED;
  --lin:    #EBDED4;
  --bronze: #866134;   /* 5,0:1 sur crème */
  --brun:   #3E2F24;
  --sable:  #E3CAAB;   /* 8,1:1 sur brun */
  --taupe:  #8B735D;   /* filets, grands chiffres : jamais du petit texte */

  /* Dérivés pour que le petit texte passe partout au-dessus de 4,5:1 */
  --bronze-fonce: #765530; /* 5,1:1 sur lin */
  --gris-chaud:   #6F5A47; /* 5,9 sur crème, 4,9 sur lin */
  --filet:        #D9C7B6;

  --titre: "Playfair Display", Georgia, "Times New Roman", serif;
  --texte: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --marge: clamp(1.25rem, 5vw, 4.5rem);
  --large: 78rem;
  --entete: 5rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--creme); color: var(--brun);
  font: 400 .97rem/1.75 var(--texte);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
figure { margin: 0; }

h1, h2, h3 {
  font-family: var(--titre); font-weight: 400;
  line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .6em;
}
h1 { font-size: clamp(2.9rem, 7.4vw, 6.6rem); }
h2 { font-size: clamp(2.3rem, 4.8vw, 4.2rem); }
h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); }

.saut { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--brun); color: var(--creme); padding: .6rem 1rem; }
.saut:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.conteneur { width: min(100% - 2 * var(--marge), var(--large)); margin-inline: auto; }

/* Surtitre et repères : la signature typographique du site */
.surtitre, .repere {
  font-size: .7rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase;
  color: var(--bronze); margin: 0 0 1.4rem;
}
.repere { display: flex; align-items: center; gap: .9rem; }
.repere span {
  font-family: var(--titre); font-size: .95rem; letter-spacing: 0; color: var(--taupe);
  display: inline-flex; align-items: center; gap: .9rem;
}
.repere span::after { content: ""; width: 2.2rem; height: 1px; background: currentColor; }
.section--lin .repere, .section--lin .lien { color: var(--bronze-fonce); }
.repere--clair { color: var(--sable); }
.repere--clair span { color: var(--sable); }

.chapo { font-size: 1.05rem; color: var(--gris-chaud); max-width: 32rem; }

/* --------------------------------------------------------------------------
   Boutons et liens
   -------------------------------------------------------------------------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.1rem; padding: .9rem 2rem;
  border: 1px solid var(--brun); background: var(--brun); color: var(--creme);
  font: 500 .72rem/1.2 var(--texte); letter-spacing: .24em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.bouton:hover { background: var(--bronze); border-color: var(--bronze); }
.bouton--creme { background: var(--creme); color: var(--brun); border-color: var(--creme); }
.bouton--creme:hover { background: var(--sable); border-color: var(--sable); color: var(--brun); }

.lien {
  display: inline-flex; align-items: center; gap: .8rem;
  font-size: .72rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--bronze); text-decoration: none;
}
.lien::after {
  content: ""; width: 2rem; height: 1px; background: currentColor;
  transition: width .4s var(--ease);
}
.lien:hover::after, a:hover .lien::after { width: 3.2rem; }
.lien--clair { color: var(--creme); }

/* --------------------------------------------------------------------------
   En-tête : transparent sur le triptyque, crème ensuite
   -------------------------------------------------------------------------- */
.entete {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--entete);
  display: flex; align-items: center; color: var(--creme);
  transition: background .4s var(--ease), color .4s var(--ease), height .4s var(--ease), box-shadow .4s;
}
.entete.est-colle, .entete.menu-ouvert {
  background: var(--creme); color: var(--brun); height: 4.25rem;
  box-shadow: 0 1px 0 var(--filet);
}
.entete__barre {
  width: min(100% - 2 * var(--marge), 90rem); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.marque { position: relative; display: block; flex-shrink: 0; }
.marque img { height: 2.7rem; width: auto; transition: opacity .4s; }
.marque__fonce { position: absolute; inset: 0; opacity: 0; }
.est-colle .marque__clair, .menu-ouvert .marque__clair { opacity: 0; }
.est-colle .marque__fonce, .menu-ouvert .marque__fonce { opacity: 1; }

.nav { display: flex; align-items: center; gap: 2.4rem; }
.nav__liens { display: flex; gap: 2.1rem; list-style: none; margin: 0; padding: 0; }
.nav__liens a {
  font-size: .7rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  text-decoration: none; padding: .4rem 0; position: relative;
}
.nav__liens a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: currentColor; transition: right .4s var(--ease);
}
.nav__liens a:hover::after, .nav__liens a[aria-current="true"]::after { right: 0; }
.bouton--nav { min-height: 2.6rem; padding: .6rem 1.3rem; background: transparent; color: inherit; border-color: currentColor; }
.bouton--nav:hover { background: var(--creme); color: var(--brun); border-color: var(--creme); }
.est-colle .bouton--nav:hover { background: var(--brun); color: var(--creme); border-color: var(--brun); }

.burger { display: none; width: 2.75rem; height: 2.75rem; margin-right: -.6rem; background: none; border: 0; color: inherit; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after {
  position: absolute; left: .6rem; right: .6rem; height: 1px; background: currentColor;
  transition: transform .3s, background .3s;
}
.burger span { top: 50%; }
.burger span::before { content: ""; left: 0; right: 0; top: -6px; }
.burger span::after  { content: ""; left: 0; right: 0; top: 6px; }
.menu-ouvert .burger span { background: transparent; }
.menu-ouvert .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-ouvert .burger span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 4.25rem 0 0; z-index: 49;
    flex-direction: column; justify-content: center; gap: 2.8rem;
    background: var(--creme); color: var(--brun);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .menu-ouvert .nav { opacity: 1; visibility: visible; }
  .nav__liens { flex-direction: column; align-items: center; gap: 1.2rem; }
  .nav__liens a { font-family: var(--titre); font-size: 2.2rem; letter-spacing: 0; text-transform: none; font-weight: 400; }
  .nav .bouton--nav { background: var(--brun); color: var(--creme); border-color: var(--brun); min-height: 3.1rem; padding: .9rem 2rem; }
}

/* --------------------------------------------------------------------------
   Accueil : triptyque plein écran
   -------------------------------------------------------------------------- */
.accueil {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; justify-content: center;
  background: var(--brun); color: var(--creme); overflow: hidden;
}
.accueil__triptyque { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr; }
.accueil__triptyque img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.accueil__triptyque img:not(:first-child) { display: none; }
@media (min-width: 800px) {
  .accueil__triptyque { grid-template-columns: 1fr 1fr 1fr; gap: 3px; background: var(--brun); }
  .accueil__triptyque img:not(:first-child) { display: block; }
}
/* Voile : le texte reste lisible quelle que soit la photo */
.accueil::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(38, 28, 20, .85) 0%, rgba(38, 28, 20, .5) 40%, rgba(38, 28, 20, 0) 68%),
    linear-gradient(to bottom, rgba(38, 28, 20, .45) 0%, rgba(38, 28, 20, 0) 18%);
}
.accueil__texte {
  position: relative; z-index: 1; text-align: center;
  padding: 0 var(--marge) clamp(3rem, 10vh, 6.5rem);
  max-width: 62rem;
}
.accueil .surtitre { color: var(--sable); }
.accueil h1 { margin-bottom: 2.2rem; }
.accueil h1 em { font-style: italic; }
.accueil__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.2rem 2.2rem; }

/* --------------------------------------------------------------------------
   Manifeste
   -------------------------------------------------------------------------- */
.manifeste { padding-block: clamp(5rem, 13vw, 10rem) clamp(2rem, 6vw, 4rem); text-align: center; }
.manifeste__monogramme { width: 4.2rem; margin: 0 auto 2.4rem; }
.manifeste p {
  font-family: var(--titre); font-size: clamp(1.45rem, 2.9vw, 2.35rem); line-height: 1.4;
  max-width: 44rem; margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding-block: clamp(5rem, 11vw, 9.5rem); }
.section--lin { background: var(--lin); }
.section--brun { background: var(--brun); color: var(--creme); }

.entete-section { margin-bottom: clamp(2.8rem, 6vw, 4.5rem); }
.entete-section h2 { margin: 0; }
.entete-section--ligne { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }

.intro { max-width: 40rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }

/* --------------------------------------------------------------------------
   01 — Mariage : composition décalée
   -------------------------------------------------------------------------- */
.mariage { padding-top: clamp(3rem, 7vw, 6rem); }
.mariage__compo { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
/* La petite photo est accrochée à la grande, pas à la grille : elle ne peut
   donc jamais chevaucher le texte, quelle que soit sa hauteur. */
.mariage__visuels { position: relative; padding-bottom: 14%; margin-right: 8%; }
.mariage__grande img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.mariage__petite { position: absolute; right: -8%; bottom: 0; width: 44%; z-index: 1; }
.mariage__petite img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
@media (min-width: 900px) {
  .mariage__compo { grid-template-columns: repeat(12, 1fr); column-gap: 1.5rem; align-items: center; }
  .mariage__visuels { grid-column: 1 / 7; margin-right: 0; }
  .mariage__texte { grid-column: 8 / 13; }
}
.mariage__texte .bouton { margin-top: 1rem; }

/* Widget « Votre mariage, pas à pas » : un fil qui se dessine au défilement */
.fil { margin-top: clamp(4.5rem, 10vw, 8rem); }
.fil__titre {
  font-size: .7rem; font-family: var(--texte); font-weight: 500; letter-spacing: .32em;
  text-transform: uppercase; color: var(--bronze); margin-bottom: 2.6rem;
}
.fil__etapes {
  --progression: 0;
  list-style: none; margin: 0; padding: 0; position: relative;
  display: grid; gap: 2.4rem; grid-template-columns: 1fr;
  padding-left: 2rem;
}
/* Le fil : un trait fin, et sa part « parcourue » en bronze */
.fil__etapes::before, .fil__etapes::after {
  content: ""; position: absolute; left: .3rem; top: .5rem; bottom: .5rem; width: 1px;
  background: var(--filet);
}
.fil__etapes::after {
  background: var(--bronze); transform-origin: top;
  transform: scaleY(var(--progression)); transition: transform .2s linear;
}
.fil__etapes li { position: relative; }
.fil__etapes li::before {
  content: ""; position: absolute; left: -2rem; top: .45rem; z-index: 1;
  width: .65rem; height: .65rem; border-radius: 50%;
  background: var(--creme); border: 1px solid var(--taupe);
  transition: background .5s, border-color .5s;
}
.fil__etapes li.est-atteinte::before { background: var(--bronze); border-color: var(--bronze); }
@media (min-width: 860px) {
  .fil__etapes { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; padding-left: 0; padding-top: 2.4rem; }
  .fil__etapes::before, .fil__etapes::after { left: 0; right: 0; top: .3rem; bottom: auto; width: auto; height: 1px; }
  .fil__etapes::after { transform-origin: left; transform: scaleX(var(--progression)); }
  .fil__etapes li::before { left: 0; top: -2.4rem; }
}
.fil__quand {
  display: block; font-family: var(--titre); font-style: italic; font-size: 1.05rem;
  color: var(--bronze); margin-bottom: .4rem;
}
.fil h4 { font-family: var(--titre); font-weight: 400; font-size: 1.45rem; line-height: 1.2; margin: 0 0 .5rem; }
.fil p { color: var(--gris-chaud); font-size: .93rem; margin: 0; max-width: 21rem; }

/* Widget « ouvert / fermé » */
.statut {
  display: inline-flex; align-items: center; gap: .6rem; margin: 1.4rem 0 0;
  font-size: .82rem; color: var(--gris-chaud);
}
.statut[hidden] { display: none; }
.statut__point { width: .5rem; height: .5rem; border-radius: 50%; background: var(--taupe); flex-shrink: 0; }
.statut.est-ouvert .statut__point { background: #5E7D4F; box-shadow: 0 0 0 0 rgba(94, 125, 79, .5); animation: pouls 2.4s infinite; }
.statut.est-ouvert .statut__texte b { color: var(--brun); font-weight: 500; }
.statut--contact { margin: 0 0 .9rem; }
@keyframes pouls {
  0% { box-shadow: 0 0 0 0 rgba(94, 125, 79, .45); }
  70% { box-shadow: 0 0 0 .5rem rgba(94, 125, 79, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 125, 79, 0); }
}
.horaires tr.est-aujourdhui th, .horaires tr.est-aujourdhui td { color: var(--brun); font-weight: 500; }
.horaires tr.est-aujourdhui th::after { content: " · aujourd’hui"; font-weight: 400; color: var(--bronze); font-size: .8rem; }

/* --------------------------------------------------------------------------
   02 — Au salon : deux cartes, la seconde décalée
   -------------------------------------------------------------------------- */
.cartes { display: grid; gap: 3.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .cartes { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); }
  .carte--decalee { margin-top: clamp(4rem, 12vw, 9rem); }
}
.carte a { display: block; text-decoration: none; }
.carte__image { overflow: hidden; margin-bottom: 1.8rem; }
.carte__image img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.carte a:hover .carte__image img { transform: scale(1.04); }
.carte h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: .6rem; }
.carte p { color: var(--gris-chaud); max-width: 26rem; }

/* --------------------------------------------------------------------------
   03 — La maison : images superposées, citation
   -------------------------------------------------------------------------- */
.maison__grille { display: grid; gap: 3.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .maison__grille { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 8vw, 8rem); } }
.maison__images { position: relative; padding-right: 22%; padding-bottom: 18%; }
.maison__principale { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.maison__secondaire {
  position: absolute; right: 0; bottom: 0; width: 46%;
}
.maison__secondaire img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.citation {
  margin: 0 0 2rem; font-family: var(--titre); font-style: italic;
  font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.3;
}
.maison__texte > p:not(.repere):not(.signature) { color: var(--gris-chaud); max-width: 30rem; }
.signature { font-family: var(--titre); font-style: italic; font-size: 1.6rem; color: var(--bronze); margin-top: 1.5rem; }

/* --------------------------------------------------------------------------
   04 — Portfolio : trois colonnes, celle du milieu décalée
   -------------------------------------------------------------------------- */
.portfolio {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem;
  padding-bottom: 2.5rem;
}
.portfolio figure:nth-child(2n) { transform: translateY(2.5rem); }
@media (min-width: 760px) {
  .portfolio { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; padding-bottom: 5rem; }
  .portfolio figure:nth-child(2n) { transform: none; }
  .portfolio figure:nth-child(3n+2) { transform: translateY(5rem); }
}
.portfolio a { display: block; overflow: hidden; cursor: zoom-in; }
.portfolio img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  transition: transform 1.1s var(--ease), filter .6s;
}
.portfolio a:hover img { transform: scale(1.04); }

.visionneuse {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(30, 22, 16, .97); color: var(--creme);
}
.visionneuse::backdrop { background: rgba(30, 22, 16, .97); }
.visionneuse[open] { display: flex; align-items: center; justify-content: center; }
.visionneuse img { max-width: calc(100vw - 8rem); max-height: calc(100vh - 6rem); width: auto; height: auto; object-fit: contain; }
.visionneuse button {
  position: absolute; background: none; border: 0; color: var(--creme);
  width: 3rem; height: 3rem; font-size: 1.6rem; line-height: 1; cursor: pointer; font-family: var(--titre);
}
.visionneuse__fermer { top: 1rem; right: 1rem; }
.visionneuse__prec { left: .8rem; top: 50%; transform: translateY(-50%); }
.visionneuse__suiv { right: .8rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .visionneuse img { max-width: 100vw; max-height: calc(100vh - 8rem); }
  .visionneuse__prec, .visionneuse__suiv { top: auto; bottom: 1rem; transform: none; }
}

/* --------------------------------------------------------------------------
   05 — Avis : une citation à la fois, en grand
   -------------------------------------------------------------------------- */
.avis { text-align: center; }
.avis .repere { justify-content: center; }
.avis__piste {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; margin-top: 1.5rem;
}
.avis__piste::-webkit-scrollbar { display: none; }
.avis__piste:focus-visible { outline-offset: 8px; }
.avis__item { scroll-snap-align: center; margin: 0; padding: 0 clamp(0rem, 6vw, 6rem); }
.avis__item p {
  font-family: var(--titre); font-size: clamp(1.55rem, 3.2vw, 2.7rem); line-height: 1.35;
  max-width: 50rem; margin: 0 auto 2rem;
}
.avis__item p::before { content: "« "; }
.avis__item p::after { content: " »"; }
.avis__item footer {
  font-size: .7rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--sable);
}
.avis__nav { display: flex; align-items: center; justify-content: center; gap: 1.6rem; margin-top: 3rem; }
.avis__bouton {
  width: 3rem; height: 3rem; border-radius: 50%;
  border: 1px solid rgba(227, 202, 171, .5); background: none; color: var(--creme);
  font-size: 1rem; cursor: pointer; transition: background .3s, color .3s;
}
.avis__bouton:hover { background: var(--creme); color: var(--brun); }
.avis__compteur { font-size: .78rem; letter-spacing: .2em; color: var(--sable); min-width: 5rem; }
.avis__compteur b { font-weight: 500; color: var(--creme); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact {
  display: grid; gap: clamp(3rem, 7vw, 6rem);
  grid-template-columns: 1fr;
}
@media (min-width: 1100px) { .contact { grid-template-columns: 5fr 7fr; } }

.coordonnees h3 {
  font-family: var(--texte); font-size: .74rem; font-weight: 500; letter-spacing: .24em;
  text-transform: uppercase; color: var(--bronze); margin: 2rem 0 .7rem;
}
.coordonnees h3:first-child { margin-top: 0; }
.coordonnees address { font-style: normal; }
.coordonnees a { text-decoration-color: var(--taupe); text-underline-offset: .2em; }
.coordonnees a:hover { color: var(--bronze); }
.horaires { width: 100%; max-width: 20rem; border-collapse: collapse; font-size: .95rem; }
.horaires th { text-align: left; font-weight: 400; padding: .25rem 0; }
.horaires td { text-align: right; color: var(--gris-chaud); padding: .25rem 0; }
.note { font-size: .82rem; color: var(--gris-chaud); margin-top: .7rem; }
.reseaux { display: flex; gap: 1.4rem; flex-wrap: wrap; }

.formulaire {
  background: var(--lin);
  padding: clamp(1.8rem, 5vw, 3.2rem);
}
.formulaire h3 { margin-bottom: .3rem; }
.formulaire > p { color: var(--gris-chaud); font-size: .95rem; }
.champs { display: grid; gap: 1.1rem 1.4rem; grid-template-columns: 1fr; margin-top: 1.8rem; }
/* Deux champs côte à côte seulement s'il y a la place pour que chaque
   libellé tienne sur une ligne ; sinon, un par ligne. */
.champs { grid-template-columns: repeat(auto-fit, minmax(min(100%, max(16rem, 40%)), 1fr)); }
.champ--large { grid-column: 1 / -1; }
.champ label {
  display: block; margin-bottom: .4rem;
  font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bronze-fonce);
}
.champ { min-width: 0; }
.champ input, .champ textarea {
  display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 3.1rem;
  -webkit-appearance: none; appearance: none;
  padding: .8rem .9rem;
  border: 1px solid var(--filet); border-bottom-color: var(--taupe);
  background: var(--creme); color: var(--brun);
  font: 400 1rem/1.4 var(--texte);
  border-radius: 0;
}
.champ textarea { min-height: 7rem; resize: vertical; }
/* Safari (iPhone, iPad) donne aux champs date et heure une largeur et une
   hauteur propres, et les laisse vides sans texte : on les recadre. */
.champ input[type="date"], .champ input[type="time"] { text-align: left; line-height: 1.4; }
.champ input::-webkit-date-and-time-value { text-align: left; min-height: 1.4em; }
.champ input::-webkit-datetime-edit { padding: 0; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 1px var(--bronze); }
.champ .facultatif { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--gris-chaud); }
.champ .aide { display: block; font-size: .78rem; color: var(--gris-chaud); margin-top: .3rem; }
.formulaire .bouton { margin-top: 1.8rem; }
.pot-de-miel { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.envoi-retour { margin-top: 1rem; font-size: .9rem; color: var(--bronze-fonce); }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.pied {
  background: var(--brun); color: var(--sable);
  padding-block: 4rem 2rem; font-size: .88rem;
}
.pied__haut {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(227, 202, 171, .25);
}
.pied .marque { color: var(--creme); }
.pied ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.pied a { color: var(--sable); text-decoration: none; }
.pied a:hover { color: var(--creme); text-decoration: underline; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; font-size: .8rem; }

/* Mentions légales, repliées */
.mentions { background: var(--brun); color: var(--sable); padding-bottom: 3rem; font-size: .85rem; }
.mentions details { border-top: 1px solid rgba(227, 202, 171, .25); padding-top: 1.2rem; }
.mentions summary { cursor: pointer; color: var(--creme); letter-spacing: .18em; text-transform: uppercase; font-size: .74rem; }
.mentions h3 { font-family: var(--texte); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--creme); margin-top: 1.8rem; }
.mentions a { color: var(--sable); }

/* --------------------------------------------------------------------------
   Apparitions au défilement (seulement si le JS tourne)
   -------------------------------------------------------------------------- */
.js .paraitre { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.js .paraitre.est-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .paraitre { opacity: 1; transform: none; } }

/* Barre de réservation fixe sur mobile */
.barre-mobile { display: none; }
@media (max-width: 700px) {
  .barre-mobile {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; inset: auto 0 0; z-index: 40;
    transform: translateY(100%); transition: transform .35s;
  }
  .barre-mobile.est-visible { transform: none; }
  .barre-mobile a {
    display: flex; align-items: center; justify-content: center; min-height: 3.4rem;
    font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
    text-decoration: none; background: var(--brun); color: var(--creme);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .barre-mobile a + a { background: var(--bronze); }
  .pied { padding-bottom: 5.5rem; }
}

/* Page de remerciement après l'envoi du formulaire */
.merci {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 3rem var(--marge);
}
.merci__monogramme { width: 5.5rem; margin-bottom: 2.5rem; }
.merci p { max-width: 30rem; color: var(--gris-chaud); margin-bottom: 2rem; }

/* --------------------------------------------------------------------------
   Un mot de Margaux : une lettre sur papier
   -------------------------------------------------------------------------- */
.lettre-section { padding-bottom: 0; }
.lettre {
  position: relative; max-width: 42rem; margin: 0 auto;
  background: #FBF8F3;
  padding: clamp(2.6rem, 7vw, 4.8rem) clamp(1.6rem, 7vw, 5rem);
  box-shadow: 0 1px 0 var(--filet), 0 30px 60px -30px rgba(62, 47, 36, .28);
  transform: rotate(-.4deg);
}
.lettre::before {
  content: ""; position: absolute; inset: .7rem; border: 1px solid var(--filet); pointer-events: none;
}
.lettre__monogramme { width: 3.2rem; margin-bottom: 2rem; }
.lettre__titre { font-style: italic; font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 1.6rem; }
.lettre p { font-family: var(--titre); font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.75; }
.lettre__signature {
  font-style: italic; font-size: 2rem !important; color: var(--bronze); margin: 1.8rem 0 2.2rem;
}
.js .lettre.paraitre { transform: translateY(18px) rotate(-.4deg); }
.js .lettre.paraitre.est-visible { transform: rotate(-.4deg); }

/* Compte à rebours sous la date du mariage */
.compte { display: block; min-height: 1.2em; margin-top: .45rem; font-family: var(--titre); font-style: italic; font-size: 1rem; color: var(--bronze-fonce); }

/* --------------------------------------------------------------------------
   Widget « Écrire à Margaux »
   -------------------------------------------------------------------------- */
.bulle { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 45; display: flex; flex-direction: column; align-items: flex-end; gap: .8rem; }
.bulle__bouton {
  border: 1px solid rgba(227, 202, 171, .45) !important;
  display: flex; align-items: center; gap: .7rem;
  padding: .35rem 1.2rem .35rem .35rem; border: 0; border-radius: 3rem; cursor: pointer;
  background: var(--brun); color: var(--creme);
  font: 500 .72rem/1 var(--texte); letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 12px 30px -10px rgba(62, 47, 36, .55);
  transition: transform .3s var(--ease);
}
.bulle__bouton:hover { transform: translateY(-2px); }
.bulle__bouton img { width: 2.6rem; height: 2.6rem; border-radius: 50%; object-fit: cover; border: 2px solid var(--sable); }
.bulle__panneau {
  width: min(20rem, calc(100vw - 2.5rem));
  background: var(--creme); border: 1px solid var(--filet);
  padding: 1.3rem; box-shadow: 0 24px 50px -20px rgba(62, 47, 36, .45);
  transform-origin: bottom right; animation: bulle-ouvre .35s var(--ease);
}
.bulle__panneau[hidden] { display: none; }
@keyframes bulle-ouvre { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.bulle__tete { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.bulle__tete img { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; }
.bulle__nom { font-family: var(--titre); font-size: 1.25rem; margin: 0; line-height: 1.1; }
.bulle__role { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gris-chaud); margin: .2rem 0 0; }
.bulle__message {
  background: var(--lin); padding: .9rem 1rem; font-size: .9rem; line-height: 1.55;
  border-radius: 0 1rem 1rem 1rem; margin-bottom: 1rem;
}
.bulle__actions { display: grid; gap: .4rem; }
.bulle__actions a {
  display: flex; align-items: center; justify-content: center; min-height: 2.8rem;
  border: 1px solid var(--brun); text-decoration: none;
  font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.bulle__actions a:first-child { background: var(--brun); color: var(--creme); }
.bulle__actions a:hover { background: var(--bronze); border-color: var(--bronze); color: var(--creme); }
@media (max-width: 700px) {
  .bulle { bottom: 4.3rem; right: .9rem; }
  .bulle__bouton span { display: none; }
  .bulle__bouton { padding: .3rem; }
}

/* ==========================================================================
   Couche « maison » : papier, arches, tirages, petits mots.
   Ce qui fait « cocon » ici tient à des objets du quotidien : une photo
   posée comme un tirage, une porte en arche, une enveloppe, un café.
   ========================================================================== */

/* Un grain de papier, très léger, sur tout le site */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  background: url("../img/grain.svg"); opacity: .55; mix-blend-mode: multiply;
}

/* Boutons adoucis */
.bouton { border-radius: 999px; }
.bulle__actions a { border-radius: 999px; }

/* Bienvenue à la maison */
.bienvenue { text-align: center; }
.bienvenue__tete { margin-bottom: clamp(3rem, 7vw, 4.5rem); }
.bienvenue h2 { font-style: italic; margin: 0; }
.rituels {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 2.8rem 2rem; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) { .rituels { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) {
  .rituels { gap: 2.4rem 1rem; }
  .rituel__icone { width: 3.8rem; height: 3.8rem; padding: .8rem; margin-bottom: 1rem; }
  .rituel h3 { font-size: 1.15rem; }
  .rituel p { font-size: .84rem; }
}
@media (max-width: 340px) { .rituels { grid-template-columns: 1fr; } }
.rituel__icone {
  width: 4.6rem; height: 4.6rem; padding: 1rem; margin: 0 auto 1.4rem;
  color: var(--bronze-fonce); background: var(--creme);
  border-radius: 50% 50% 1.2rem 1.2rem;
}
.rituel h3 { font-size: 1.35rem; font-style: italic; margin-bottom: .5rem; }
.rituel p { color: var(--gris-chaud); font-size: .92rem; max-width: 15rem; margin: 0 auto; }

/* Tirages papier : cadre blanc, légende et monogramme, légère inclinaison */
.tirage {
  background: #FDFBF7; padding: .7rem .7rem 0;
  box-shadow: 0 2px 4px rgba(62, 47, 36, .08), 0 22px 40px -18px rgba(62, 47, 36, .35);
  border: 0 !important; transform: rotate(2.2deg);
}
.tirage figcaption {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  padding: .75rem .2rem .85rem;
  font-family: var(--titre); font-style: italic; font-size: .95rem; color: var(--gris-chaud);
}
.tirage figcaption img { width: 1.9rem; height: auto; opacity: .75; flex-shrink: 0; }
.js .tirage.paraitre { transform: translateY(18px) rotate(2.2deg); }
.js .tirage.paraitre.est-visible { transform: rotate(2.2deg); }
.maison__secondaire.tirage { transform: rotate(-2.5deg); }
.js .maison__secondaire.tirage.paraitre { transform: translateY(18px) rotate(-2.5deg); }
.js .maison__secondaire.tirage.paraitre.est-visible { transform: rotate(-2.5deg); }


/* Arches : les photos du salon deviennent des portes et des fenêtres */
.carte__image, .maison__principale { border-radius: 999px 999px 0 0 / 38% 38% 0 0; overflow: hidden; }
.carte__image img { aspect-ratio: 3 / 4; }

.maison__titre { font-style: italic; margin-bottom: 1.4rem; }

/* Petits mots : l'enveloppe, et chaque avis sur une carte de papier */
.avis__enveloppe { width: 7.5rem; height: auto; margin: 0 auto 1.6rem; display: block; transform: rotate(-4deg); }
.avis__item { padding: 0 clamp(.3rem, 5vw, 5rem); }
.avis__carte {
  background: #FBF8F3; color: var(--brun); max-width: 46rem; margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.2rem) clamp(1.4rem, 5vw, 3.6rem) clamp(1.8rem, 4vw, 2.6rem);
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .6);
  transform: rotate(-.6deg);
}
.avis__item:nth-child(even) .avis__carte { transform: rotate(.6deg); }
.avis__carte p { font-size: clamp(1.3rem, 2.6vw, 2.1rem) !important; margin: 0 0 1.4rem !important; }
.avis__carte footer { color: var(--bronze-fonce) !important; }
.avis__piste { padding-block: 1.5rem 2.5rem; }

/* Mot de fin */
.pied__merci {
  font-family: var(--titre); font-style: italic; font-size: 1.35rem; color: var(--creme);
  text-align: center; margin: 2.4rem 0 0; padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(227, 202, 171, .25);
}

/* ==========================================================================
   Pages intérieures : Mariage, Soins, Beauté
   ========================================================================== */

/* En-tête opaque d'emblée : il n'y a pas de photo plein écran dessous */
.page-interieure .entete { background: var(--creme); color: var(--brun); height: 4.25rem; box-shadow: 0 1px 0 var(--filet); }
.page-interieure .marque__clair { opacity: 0; }
.page-interieure .marque__fonce { opacity: 1; }
.page-interieure .bouton--nav:hover { background: var(--brun); color: var(--creme); border-color: var(--brun); }
.nav__liens a[aria-current="page"]::after { right: 0; }

/* Accueil : la mariée à la fenêtre au centre, plus large */
@media (min-width: 800px) {
  .accueil__triptyque { grid-template-columns: 1fr 1.3fr 1fr; }
  .accueil__triptyque img:first-child { order: 2; }
  .accueil__triptyque img:nth-child(2) { order: 1; }
  .accueil__triptyque img:nth-child(3) { order: 3; }
}
.accueil__triptyque img:first-child { object-position: center 35%; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 1.6rem; }
.actions--centre { justify-content: center; margin-top: 3rem; }
.centre { text-align: center; }
.conteneur--etroit { max-width: 52rem; }
.surtitre--clair { color: var(--sable); }
.entete-section--centre { text-align: center; }

/* Cartes du salon : trois sur l'accueil */
@media (min-width: 900px) {
  .cartes--trois { grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
  .cartes--trois .carte--decalee { margin-top: 5rem; }
}
@media (min-width: 760px) and (max-width: 899px) {
  .cartes--trois { grid-template-columns: 1fr 1fr; }
  .cartes--trois .carte:last-child { grid-column: 1 / -1; }
}
.cartes--trois .carte h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.salon .chapo { margin-top: 1rem; }

/* Photo du salon sous les rituels */
.bienvenue__photo { margin: clamp(3.5rem, 8vw, 6rem) auto 0; max-width: 78rem; }
.bienvenue__photo img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 1.5rem; }
.bienvenue__photo figcaption { margin-top: 1rem; font-family: var(--titre); font-style: italic; color: var(--gris-chaud); }

/* En-tête de page : texte, photo en arche */
.page-tete { padding: calc(4.25rem + clamp(2.5rem, 7vw, 5.5rem)) 0 clamp(3.5rem, 8vw, 6rem); }
.page-tete__grille { display: grid; gap: 3rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .page-tete__grille { grid-template-columns: 7fr 5fr; gap: clamp(3rem, 7vw, 7rem); } }
.page-tete h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); font-style: italic; }
.page-tete__photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 999px 999px 0 0 / 34% 34% 0 0;
}

/* La promesse */
.promesse { padding: 0 0 clamp(4.5rem, 10vw, 8rem); text-align: center; }
.promesse__texte { max-width: 44rem; margin: 0 auto 2.6rem; color: var(--gris-chaud); font-size: 1.05rem; }
.promesse__citation {
  margin: 0; font-family: var(--titre); font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.25;
}
.promesse__citation em { color: var(--bronze); }

/* Formules mariées */
.formules { display: grid; gap: 1.4rem; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 900px) { .formules { grid-template-columns: repeat(3, 1fr); align-items: center; } }
.formule {
  position: relative; background: var(--creme); text-align: center;
  padding: clamp(2.2rem, 4vw, 3rem) clamp(1.4rem, 3vw, 2.4rem);
  border-radius: 999px 999px 1rem 1rem / 9rem 9rem 1rem 1rem;
}
.formule h3 { font-style: italic; font-size: clamp(1.6rem, 2.4vw, 2rem); margin: 1.4rem 0 .5rem; }
.formule__accroche { color: var(--gris-chaud); font-size: .92rem; min-height: 3em; max-width: 17rem; margin: 0 auto 1rem; }
.formule__prix {
  font-family: var(--titre); font-size: 2.6rem; line-height: 1; color: var(--bronze);
  padding-bottom: 1.4rem; margin: 0 0 1.4rem; border-bottom: 1px solid var(--filet);
}
.formule ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .93rem; }
.formule--coeur { background: var(--brun); color: var(--creme); }
@media (min-width: 900px) { .formule--coeur { padding-block: clamp(3rem, 5vw, 3.8rem); } }
.formule--coeur .formule__accroche { color: var(--sable); }
.formule--coeur .formule__prix { color: var(--sable); border-color: rgba(227, 202, 171, .3); }
.formule__badge {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap;
  background: var(--sable); color: var(--brun); padding: .5rem 1rem; border-radius: 999px;
  font-size: .66rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
}
.coeur { width: .85rem; height: .85rem; color: var(--brun); }

.civil {
  margin-top: 1.4rem; background: var(--creme); border-radius: 1rem;
  padding: clamp(1.6rem, 4vw, 2.4rem); display: grid; gap: 1rem; align-items: center;
}
@media (min-width: 760px) { .civil { grid-template-columns: 1fr auto; gap: 3rem; } }
.civil h3 { font-style: italic; margin-bottom: .5rem; }
.civil p { color: var(--gris-chaud); margin: 0; max-width: 40rem; }
.civil__prix, .accompagnement__devis {
  font-family: var(--titre); font-style: italic; font-size: 1.5rem; color: var(--bronze) !important;
}

/* Vos proches */
.proches { display: grid; gap: 3.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .proches { grid-template-columns: 4fr 7fr; gap: clamp(3rem, 8vw, 8rem); } }
.proches__photo { max-width: 22rem; margin: 0 auto; }
.proches__photo img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.proches h2 { font-style: italic; }
.tarifs { margin: 2rem 0 0; }
.tarifs > div {
  display: grid; grid-template-columns: 1fr auto; gap: .2rem 1.5rem;
  padding: 1.3rem 0; border-top: 1px solid var(--filet);
}
.tarifs > div:last-child { border-bottom: 1px solid var(--filet); }
.tarifs dt { font-family: var(--titre); font-size: 1.4rem; }
.tarifs dd { margin: 0; }
.tarifs__prix { font-family: var(--titre); font-size: 1.4rem; color: var(--bronze); text-align: right; }
.tarifs__desc { grid-column: 1 / -1; color: var(--gris-chaud); font-size: .93rem; }

/* Listes à puces douces */
.puces { list-style: none; margin: 1.2rem 0; padding: 0; display: grid; gap: .5rem; }
.puces li { position: relative; padding-left: 1.4rem; }
.puces li::before {
  content: ""; position: absolute; left: 0; top: .65em; width: .5rem; height: .5rem;
  border-radius: 50%; border: 1px solid var(--bronze);
}
.puces--clair li { color: var(--sable); }
.puces--clair li::before { border-color: var(--sable); }

/* Accompagnement */
.accompagnement__grille { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .accompagnement__grille { grid-template-columns: 7fr 5fr; gap: clamp(3rem, 8vw, 7rem); } }
.accompagnement h2, .signature-soin h2 { font-style: italic; }
.accompagnement p, .signature-soin p { color: var(--sable); }
.accompagnement__photo img, .signature-soin__photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 0 0 / 34% 34% 0 0;
}

/* Soins : Léonia, expériences, signature */
.leonia { display: grid; gap: 3.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .leonia { grid-template-columns: 4fr 7fr; gap: clamp(3rem, 8vw, 8rem); } }
.leonia__photo { max-width: 20rem; margin: 0 auto; }
.leonia__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.leonia h2 { font-style: italic; }

.soins { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .soins { grid-template-columns: 1fr 1fr; } }
.soin { background: var(--lin); border-radius: 1.2rem; padding: clamp(2rem, 4vw, 3rem); }
.soin h3 { font-style: italic; font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
.soin p { color: var(--gris-chaud); }

.signature-soin__grille { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .signature-soin__grille { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 8vw, 7rem); } }
.signature-soin h3 { font-family: var(--texte); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--creme); margin: 2rem 0 0; }
.signature-soin__benefices strong { color: var(--creme); font-weight: 500; }
.durees { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.6rem 0 2.2rem; }
.durees span {
  border: 1px solid rgba(227, 202, 171, .5); border-radius: 999px; padding: .45rem 1.1rem;
  font-family: var(--titre); font-style: italic; font-size: 1.05rem; color: var(--creme) !important;
}

/* Beauté : le menu des prestations */
.menu-beaute {
  list-style: none; margin: 0 auto 2.6rem; padding: 0; max-width: 54rem;
  display: grid; grid-template-columns: 1fr; gap: .8rem;
}
@media (min-width: 640px) { .menu-beaute { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .menu-beaute { grid-template-columns: repeat(3, 1fr); } }
.menu-beaute li {
  background: var(--creme); border-radius: 999px; padding: 1.1rem 1.4rem; text-align: center;
  font-family: var(--titre); font-style: italic; font-size: 1.3rem;
}

/* Cours de maquillage */
.cours { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .cours { grid-template-columns: 7fr 5fr; gap: clamp(3rem, 7vw, 6rem); } }
.cours h2 { font-style: italic; font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.cours__objectif { font-family: var(--titre); font-style: italic; font-size: 1.3rem; color: var(--bronze); margin-top: 1.4rem; }
.cours__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 0 0 / 34% 34% 0 0; }
.formats {
  list-style: none; margin: clamp(3rem, 7vw, 5rem) 0 0; padding: 0;
  display: grid; gap: 1.2rem; grid-template-columns: 1fr;
}
@media (min-width: 760px) { .formats { grid-template-columns: repeat(3, 1fr); } }
.formats li { background: var(--lin); border-radius: 1.2rem; padding: 2rem 1.6rem; text-align: center; }
.formats h3 { font-style: italic; font-size: 1.6rem; margin-bottom: .4rem; }
.formats p { color: var(--gris-chaud); margin: 0; font-size: .93rem; }

/* Sur fond brun, le bronze ne contraste pas assez (2,3:1) : sable (8,1:1). */
.accompagnement .accompagnement__devis { color: var(--sable) !important; }
