/* Velista : feuille de style commune.
   Charte relevée sur le logo et l'étiquette (Clayton) : brun café, cuivre, crème, papier clair.
   PAS DE VERT ici : le vert Toutenvélo est réservé à ce qui présente la coopérative.
   Polices auto-hébergées (aucun appel à Google Fonts : rien n'est envoyé à un tiers). */

@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;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
/* Crimson Pro : remplaçant libre de Minion Pro (la police de titre de l'étiquette, non utilisable sur le web). */
@font-face {
  font-family: "Crimson Pro";
  src: url("../fonts/crimson-pro-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Crimson Pro";
  src: url("../fonts/crimson-pro-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 900; font-style: italic; font-display: swap;
}

:root {
  --brun: #24100A;      /* fond du logo, bandeau de l'étiquette */
  --cuivre: #A0572D;    /* accents, bandeau « Toutenvélo présente » */
  --creme: #F6F0E6;
  --encre: #24100A;
  --encre-douce: #5b4136;
  --filet: rgba(36, 16, 10, .18);

  --titre: "Crimson Pro", "Minion Pro", Georgia, serif;
  --texte: "Montserrat", system-ui, sans-serif;

  --largeur: 68rem;
  --marge: clamp(1rem, 4vw, 2.5rem);
  color-scheme: light; /* la marque vit sur papier clair, pas de mode sombre */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--texte);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--encre);
  background: var(--creme) url("../img/papier.jpg") center / cover fixed;
}
@supports (background-image: url("x.webp")) {
  body { background-image: url("../img/papier.webp"); }
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cuivre); }
a:focus-visible { outline: 2px solid var(--cuivre); outline-offset: 3px; }

/* Capitales espacées de l'étiquette */
.surtitre {
  font-family: var(--texte);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--cuivre);
}
h1, h2, h3 { font-family: var(--titre); font-weight: 600; line-height: 1.1; margin: 0; }

/* ---------- Page d'attente (plus en ligne depuis le lancement de la vitrine le 2026-11-12 ; gardée si on en a besoin) ---------- */
.attente {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: safe center;
  gap: 1.75rem;
  padding: 3rem var(--marge);
  text-align: center;
}
.attente .logo { width: min(22rem, 78vw); }
.attente .devise {
  font-family: var(--titre);
  font-size: clamp(1.5rem, 4.5vw, 2.4rem);
  font-weight: 500;
  max-width: 30ch;
}
.attente .filet { width: 4rem; height: 2px; background: var(--cuivre); border: 0; margin: 0; }
.attente p { margin: 0; color: var(--encre-douce); }
.attente .signature { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--encre-douce); }

/* =====================================================================
   PAGE VITRINE (vitrine.html) : pensée d'abord pour le téléphone,
   photos en plein écran (un « panneau » = une photo + son texte).
   ===================================================================== */
html { scroll-behavior: smooth; scroll-padding-top: 4rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.vitrine { overflow-x: hidden; }
.vitrine h2 { font-size: clamp(2.1rem, 8vw, 3.4rem); margin: .5rem 0 1rem; }
.vitrine h3 { font-size: clamp(2rem, 8vw, 3rem); margin: 0 0 .5rem; }
.vitrine p { margin: 0 0 1rem; }
figure { margin: 0; }

/* ---------- En-tête : discret, crème sur les photos, brun au défilement ---------- */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .6rem var(--marge); padding-top: max(.6rem, env(safe-area-inset-top));
  transition: background-color .35s, box-shadow .35s, opacity .35s;
}
.entete-marque { display: block; width: 8.5rem; transition: opacity .35s; }
.entete-marque img { width: 100%; }
.entete-nav { display: flex; gap: clamp(.8rem, 2vw, 1.8rem); }
.entete-nav a {
  font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--creme); text-decoration: none; padding: .4rem 0; border-bottom: 1px solid transparent;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
}
.entete-nav a:hover { border-color: currentColor; }
.entete:not(.defile) .entete-marque { opacity: 0; pointer-events: none; }
.entete.defile { background: var(--brun); box-shadow: 0 2px 18px rgba(36,16,10,.25); }
.entete.defile .entete-nav a { text-shadow: none; }
@media (max-width: 760px) {
  .entete-nav a:not([href="#contact"]) { display: none; }
}

/* ---------- Fond photo ou vidéo d'une section ---------- */
.fond { position: absolute; inset: 0; width: 100%; height: 100%; }
.fond img, video.fond { width: 100%; height: 100%; object-fit: cover; display: block; }
.fond-video { opacity: 0; transition: opacity 1s; }
.fond-video.prete { opacity: 1; }

/* ---------- Panneau : une photo plein écran, le texte posé en bas ---------- */
.panneau {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--creme); background: var(--brun);
}
.panneau::after { /* dégradé pour lire le texte sur la photo */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,8,4,.88) 0%, rgba(20,8,4,.55) 32%, rgba(20,8,4,0) 62%);
}
.panneau-texte {
  position: relative; z-index: 1;
  padding: 2rem var(--marge) max(2.6rem, env(safe-area-inset-bottom));
  max-width: 38rem;
}
.panneau-texte p { font-size: 1.05rem; line-height: 1.55; color: rgba(246,240,230,.92); }
.panneau .surtitre { color: #e3a173; }
.legende { font-size: .72rem !important; opacity: .75; margin-top: 1.4rem !important; }
@media (min-width: 761px) {
  .panneau { min-height: 92vh; }
  .panneau-texte { padding-left: clamp(2rem, 7vw, 6rem); padding-bottom: 4.5rem; }
  .panneau::after { background: linear-gradient(to top right, rgba(20,8,4,.85) 0%, rgba(20,8,4,.4) 40%, rgba(20,8,4,0) 70%); }
}

/* ---------- 1. Ouverture ---------- */
.ouverture {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: safe center;
  text-align: center; color: var(--creme); background: var(--brun);
  padding: 5rem var(--marge) 5.5rem;
}
/* Voile brun Velista sur la vidéo : on garde l'identité du site (et on chasse le vert de l'image) */
.ouverture .fond-video { filter: sepia(.3) saturate(.95) contrast(1.05); }
.voile-sombre {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(10,7,5,.38) 0%, rgba(10,7,5,.68) 100%); /* plus foncé, vers le noir (Clayton) */
}
@supports (mix-blend-mode: multiply) {
  .voile-sombre::before { content: ""; position: absolute; inset: 0; background: #A0572D; mix-blend-mode: multiply; opacity: .18; }
}
.ouverture-contenu { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.ouverture-logo { width: min(20rem, 72vw); filter: drop-shadow(0 10px 30px rgba(0,0,0,.45)); }
.ouverture h1 { font-size: clamp(1.9rem, 7.5vw, 3.6rem); font-weight: 600; max-width: 20ch; text-shadow: 0 2px 4px rgba(20,8,4,.5), 0 2px 24px rgba(20,8,4,.7); }
.bouton {
  display: inline-block; padding: .95rem 1.9rem; border-radius: 999px;
  border: 1.5px solid var(--creme); color: var(--creme);
  font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; transition: background-color .25s, color .25s;
}
.bouton:hover { background: var(--creme); color: var(--brun); }
/* Petite flèche qui invite à descendre */
.defiler { position: absolute; z-index: 1; bottom: max(1.4rem, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); padding: .6rem; }
.defiler span {
  display: block; width: .9rem; height: .9rem; border-right: 2px solid var(--creme); border-bottom: 2px solid var(--creme);
  transform: rotate(45deg); animation: rebond 2s infinite;
}
@keyframes rebond { 0%, 100% { translate: 0 0; } 50% { translate: 0 6px; } }
@media (prefers-reduced-motion: reduce) { .defiler span { animation: none; } }
/* Le bandeau en coin de l'étiquette */
/* Logo Toutenvélo Le Havre en haut à gauche de l'ouverture */
.marque-tev {
  position: absolute; z-index: 2; top: max(1rem, env(safe-area-inset-top)); left: var(--marge);
  display: flex; flex-direction: row; align-items: center; gap: .5rem;
  color: var(--creme); text-decoration: none;
  filter: drop-shadow(0 1px 6px rgba(0,0,0,.35));
}
.marque-tev img { width: 4.5rem; height: auto; }
.marque-tev span { font-family: var(--titre); font-style: italic; font-size: 1rem; line-height: 1; }
@media (min-width: 761px) {
  .marque-tev { top: 1.6rem; gap: .7rem; }
  .marque-tev img { width: 6.5rem; }
  .marque-tev span { font-size: 1.25rem; }
}

/* ---------- Intro ---------- */
.intro { padding: clamp(4rem, 14vw, 7rem) var(--marge); text-align: center; }
.intro .surtitre { letter-spacing: .4em; }
.intro .surtitre span { padding: 0 .3em; }
.intro-texte {
  font-family: var(--titre); font-size: clamp(1.45rem, 5.5vw, 2.2rem); line-height: 1.35;
  max-width: 36rem; margin: 1rem auto 0 !important;
}
/* Photo principale : dans la section, pas en pleine page */
.intro-photo { display: block; max-width: 60rem; margin: clamp(2.5rem, 8vw, 4rem) auto 0; }
.intro-photo img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 18px 40px rgba(36,16,10,.22); }

/* ---------- 2. Le voyage ---------- */
.bloc-titre { text-align: center; padding: 0 var(--marge) clamp(2.5rem, 8vw, 4rem); }
.etapes { list-style: none; margin: 0; padding: 0; }
.numero {
  display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; margin-bottom: 1rem;
  border-radius: 50%; border: 1.5px solid #e3a173; color: #e3a173;
  font-family: var(--titre); font-size: 1.3rem; font-weight: 600;
}
/* Bande de photos qui défile au doigt */
.bande-wrap { padding: clamp(3.5rem, 10vw, 6rem) 0; }
.bande-intro { padding: 0 var(--marge); max-width: 38rem; margin: 0 auto 2rem; text-align: center; }
.bande-intro p:last-child { color: var(--encre-douce); font-size: 1.02rem; }
.bande {
  display: flex; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--marge) 1rem; scroll-padding: 0 var(--marge);
  scrollbar-width: thin; scrollbar-color: var(--cuivre) transparent;
}
.bande:focus-visible { outline: 2px solid var(--cuivre); outline-offset: -2px; }
.bande figure { flex: 0 0 78vw; max-width: 26rem; scroll-snap-align: start; }
.bande picture { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; }
.bande img { width: 100%; height: 100%; object-fit: cover; }
.bande figcaption { margin-top: .6rem; font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--cuivre); }
@media (min-width: 761px) {
  .bande { justify-content: center; }
  .bande figure { flex-basis: 22%; }
}

/* ---------- Citation ---------- */
.citation { background: var(--brun); color: var(--creme); padding: clamp(5rem, 16vw, 8rem) var(--marge); text-align: center; }
.citation blockquote { margin: 0 auto; max-width: 40rem; }
.citation p { font-family: var(--titre); font-style: italic; font-size: clamp(2.2rem, 9vw, 3.8rem); line-height: 1.12; margin: 0; }
.citation p::before, .citation p::after { color: var(--cuivre); }
.citation p::before { content: "« "; }
.citation p::after { content: " »"; }

/* ---------- 3. Le Havre : photo d'archive en sépia ---------- */
.havre .fond img { filter: sepia(.6) contrast(1.05) brightness(.95); }

/* ---------- 4. Le lot n°1 ---------- */
.lot { background: var(--brun); color: var(--creme); }
.lot-interieur { max-width: 40rem; margin: 0 auto; padding: clamp(3rem, 10vw, 5rem) var(--marge) clamp(4rem, 12vw, 6rem); }
.lot-interieur > p { font-size: 1.05rem; color: rgba(246,240,230,.88); }
.fiche { margin: 2rem 0 2.5rem; border-top: 1px solid rgba(246,240,230,.2); }
.fiche div { display: grid; grid-template-columns: 1fr; gap: .1rem; padding: .8rem 0; border-bottom: 1px solid rgba(246,240,230,.2); }
.fiche dt { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #e3a173; }
.fiche dd { margin: 0; font-family: var(--titre); font-size: 1.3rem; }
@media (min-width: 761px) {
  .fiche div { grid-template-columns: 9rem 1fr; gap: 1rem; align-items: baseline; }
}
.usages { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; gap: 2.5rem; }
.usages li { display: grid; justify-items: center; gap: .5rem; font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; }
.usages svg { width: 2.8rem; height: 2.8rem; fill: none; stroke: var(--creme); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 5. Le torréfacteur ---------- */
.brulerie { padding: clamp(5rem, 14vw, 8rem) var(--marge); text-align: center; }
.brulerie > div { max-width: 36rem; margin: 0 auto; }
.brulerie p:last-child { font-size: 1.05rem; color: var(--encre-douce); }

/* ---------- 6. Qui sommes-nous : photo pleine largeur, texte dessous ---------- */
.toutenvelo-photo { display: block; }
.toutenvelo-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.toutenvelo-texte { max-width: 38rem; margin: 0 auto; padding: clamp(2.5rem, 8vw, 4rem) var(--marge) clamp(4rem, 12vw, 6rem); }
.toutenvelo-texte p { color: var(--encre-douce); font-size: 1.02rem; }
.lien-fleche { font-weight: 600; letter-spacing: .08em; text-decoration: none; border-bottom: 1px solid currentColor; }
.lien-fleche::after { content: " →"; }
@media (min-width: 761px) {
  .toutenvelo-photo img { aspect-ratio: 21 / 9; }
}

/* ---------- Pied de page : tout centré, comme la signature ---------- */
.pied {
  background: var(--brun); color: rgba(246,240,230,.85); border-top: 4px solid var(--cuivre);
  text-align: center; padding: 4rem var(--marge) max(2rem, env(safe-area-inset-bottom));
}
.pied-signature { width: min(15rem, 70vw); margin: 0 auto 3rem; }
.pied-colonnes { display: grid; gap: 2.2rem; max-width: 40rem; margin: 0 auto; }
@media (min-width: 640px) { .pied-colonnes { grid-template-columns: 1fr 1fr; } }
.pied .surtitre { color: #e3a173; margin-bottom: .6rem; }
.pied p { font-size: .95rem; margin: 0 0 .5rem; }
.pied a { color: var(--creme); }
.credits { max-width: 40rem; margin: 3rem auto 0; font-size: .78rem; }
.credits summary { cursor: pointer; letter-spacing: .15em; text-transform: uppercase; font-size: .68rem; }
.credits ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .35rem; }
.pied-bas {
  max-width: 40rem; margin: 2.5rem auto 0 !important; padding-top: 1.5rem; border-top: 1px solid rgba(246,240,230,.2);
  font-size: .68rem !important; letter-spacing: .2em; text-transform: uppercase;
}
.pied-bas p { margin: 0 !important; font-size: .68rem !important; }
.pied-tev { display: inline-flex; flex-direction: column; align-items: center; gap: .6rem; margin-bottom: 1.8rem; text-decoration: none; }
.pied-tev span { font-size: .68rem; letter-spacing: .2em; }
.pied-tev img { width: 5.5rem; height: auto; }

/* ---------- Apparition au défilement (seulement si le script tourne) ---------- */
.js .apparait { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .apparait.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .apparait { opacity: 1; transform: none; transition: none; }
}

/* ---------- Mentions légales ---------- */
.mentions { max-width: 46rem; margin: 0 auto; padding: 4rem var(--marge); }
.mentions h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 2rem 0; }
.mentions h2 { font-size: 1.5rem !important; margin: 2.2rem 0 .6rem; }
.mentions .retour { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }

/* Étapes du voyage : titre plus grand, texte centré sur la hauteur de la photo (demande de Clayton) */
.etapes .panneau { justify-content: center; }
.etapes .panneau::after { background: linear-gradient(to right, rgba(20,8,4,.78) 0%, rgba(20,8,4,.5) 55%, rgba(20,8,4,.3) 100%); }
.etapes .panneau-texte { padding-top: 4rem; padding-bottom: 4rem; }
.etapes h3 { font-size: clamp(2.6rem, 11vw, 4.6rem); line-height: 1.02; margin-bottom: .8rem; }
@media (max-width: 760px) {
  .etapes .panneau::after { background: rgba(20,8,4,.55); }
}
/* Étapes du voyage : photos détachées du bord, coins arrondis (demande de Clayton) */
.etapes .panneau {
  margin: 0 clamp(.75rem, 2.5vw, 2rem) clamp(.75rem, 2.5vw, 2rem);
  border-radius: clamp(14px, 2vw, 24px);
  min-height: calc(100svh - 5rem);
  isolation: isolate; /* garde les coins arrondis nets sur Safari */
}
@media (min-width: 761px) { .etapes .panneau { min-height: 86vh; } }
.bande picture { border-radius: clamp(12px, 1.6vw, 18px); }
.intro-photo img { border-radius: clamp(14px, 2vw, 24px); }
/* Ordinateur : étapes du voyage en carrés, 2 par ligne (demande de Clayton).
   La bande « Au pays du café » passe en tête, sur toute la largeur ; 4 étapes = 2 lignes de 2. */
@media (min-width: 900px) {
  .etapes {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: clamp(1rem, 2vw, 1.75rem);
    max-width: 82rem; margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2.5rem);
  }
  .etapes .bande-wrap { grid-column: 1 / -1; order: -1; padding-top: 0; }
  .etapes .panneau { margin: 0; min-height: 0; aspect-ratio: 1 / 1; }
  .etapes .panneau-texte { padding: 2.5rem clamp(2rem, 4vw, 3.5rem); max-width: 34rem; }
  .etapes h3 { font-size: clamp(2.6rem, 4.2vw, 4rem); }
  .etapes .panneau::after { background: linear-gradient(to top right, rgba(20,8,4,.8) 0%, rgba(20,8,4,.45) 50%, rgba(20,8,4,.15) 100%); }
}
/* Bandeau « Toutenvélo présente » agrandi (demande de Clayton) */
/* Parallax léger (photos marquées data-parallax) : seulement si le script l'active.
   La photo est 20 % plus haute que son cadre et glisse au défilement, par la carte graphique (transform). */
.parallax-actif [data-parallax] img {
  position: absolute; left: 0; top: -10%; height: 120%;
  will-change: transform; transform: translate3d(0, var(--decalage, 0px), 0);
}

/* ---------- Votre avis ---------- */
.avis { padding: clamp(4rem, 12vw, 7rem) var(--marge); }
.avis-interieur {
  max-width: 44rem; margin: 0 auto; padding: clamp(1.8rem, 5vw, 3rem);
  background: rgba(246,240,230,.82); border: 1px solid var(--filet); border-radius: clamp(14px, 2vw, 24px);
  box-shadow: 0 18px 40px rgba(36,16,10,.12);
}
.avis-tete { text-align: center; margin-bottom: 2rem; }
.avis-tete p:last-child { color: var(--encre-douce); }
.avis-form { display: grid; gap: 1.2rem; }
.avis-note { border: 0; padding: 0; margin: 0; text-align: center; }
.avis-note legend, .champ > span {
  font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cuivre); margin-bottom: .5rem;
}
.avis-note legend { width: 100%; }
.avis-note legend span, .champ em { font-style: normal; font-weight: 500; letter-spacing: .05em; text-transform: none; color: var(--encre-douce); }
/* Note en grains de café : de droite à gauche pour que le survol allume les grains précédents */
.grains { display: inline-flex; flex-direction: row-reverse; gap: .35rem; }
.grains input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.grains label {
  width: 2.6rem; height: 2.6rem; cursor: pointer; border-radius: 50%;
  background: no-repeat center / 70% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cellipse cx='12' cy='16' rx='10' ry='14' fill='none' stroke='%23A0572D' stroke-width='2'/%3E%3Cpath d='M12 3c-4 6 4 20 0 26' fill='none' stroke='%23A0572D' stroke-width='2'/%3E%3C/svg%3E");
  transition: transform .15s;
}
.grains label:hover, .grains label:hover ~ label,
.grains input:checked ~ label {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cellipse cx='12' cy='16' rx='10' ry='14' fill='%23A0572D'/%3E%3Cpath d='M12 3c-4 6 4 20 0 26' fill='none' stroke='%23F6F0E6' stroke-width='2'/%3E%3C/svg%3E");
}
.grains label:hover { transform: scale(1.12); }
.grains input:focus-visible + label { outline: 2px solid var(--cuivre); outline-offset: 2px; }
.champ { display: grid; }
.champ input, .champ textarea {
  font: inherit; font-size: 1rem; color: var(--encre); width: 100%;
  padding: .8rem .95rem; border: 1px solid rgba(36,16,10,.25); border-radius: 10px; background: #fffdf9;
}
.champ textarea { resize: vertical; min-height: 8rem; }
.champ input:focus, .champ textarea:focus { outline: 2px solid var(--cuivre); outline-offset: 1px; border-color: transparent; }
.champs-duo { display: grid; gap: 1.2rem; }
@media (min-width: 640px) { .champs-duo { grid-template-columns: 1fr 1fr; } }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hors-ecran { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.avis-rgpd { font-size: .78rem; color: var(--encre-douce); margin: 0 !important; }
.bouton-plein { justify-self: center; background: var(--brun); color: var(--creme); border-color: var(--brun); cursor: pointer; font-family: var(--texte); }
.bouton-plein:hover { background: var(--cuivre); border-color: var(--cuivre); color: var(--creme); }
.bouton-plein[disabled] { opacity: .6; cursor: wait; }
.avis-etat { text-align: center; margin: 0 !important; font-weight: 500; min-height: 1.6em; }
.avis-etat.ok { color: #6b3a1d; font-family: var(--titre); font-size: 1.35rem; }
.avis-etat.erreur { color: #a3281b; }
@media (max-width: 760px) {
  .entete-nav a[href="#avis-carte"] { display: inline; }
}

/* Ordinateur : lot n°1 en deux colonnes, photo et titre à gauche, infos à droite (demande de Clayton).
   Le lien « Votre avis » du menu arrive ici ; le formulaire suit dans la section suivante. */
@media (min-width: 900px) {
  .lot {
    display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
    padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 3vw, 2.5rem);
  }
  .lot > * { max-width: 40rem; width: 100%; }
  .lot > .panneau { justify-self: end; min-height: 0; aspect-ratio: 4 / 5; border-radius: clamp(14px, 2vw, 24px); isolation: isolate; }
  .lot > .lot-interieur { justify-self: start; margin: 0; padding: 0; }
  .lot .fiche { margin-top: 1.5rem; }
  .lot .usages { justify-content: flex-start; }
}
/* Espace entre les dernières étapes et la citation (demande de Clayton) */
.voyage { padding-bottom: clamp(.75rem, 2.5vw, 2rem); }
@media (min-width: 900px) { .voyage { padding-bottom: clamp(3rem, 6vw, 5rem); } }
/* Deux boutons sous le titre de l'ouverture */
.ouverture-boutons { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 1rem; }
.bouton-cuivre { background: var(--cuivre); border-color: var(--cuivre); color: var(--creme); }
.bouton-cuivre:hover { background: var(--creme); border-color: var(--creme); color: var(--brun); }
@media (max-width: 420px) { .ouverture-boutons .bouton { min-width: 15rem; text-align: center; } }
/* Mots clés du titre de l'ouverture en brun clair (le brun foncé de la charte serait illisible sur la vidéo) */
.ouverture h1 { color: #E8894A; } /* cuivre vif, choisi par Clayton */
.ouverture h1 .mot { color: var(--creme); }
/* Le formulaire remonte et chevauche le bas de la section brune du lot n°1 (demande de Clayton) */
.avis { padding-top: 0; }
.avis-interieur {
  position: relative; z-index: 1;
  margin-top: clamp(-7rem, -14vw, -4rem);
  background: var(--creme) url("../img/papier.jpg") center / cover;
  box-shadow: 0 24px 60px rgba(20,8,4,.35);
}
@supports (background-image: url("x.webp")) { .avis-interieur { background-image: url("../img/papier.webp"); } }
.lot-interieur { padding-bottom: calc(clamp(4rem, 12vw, 6rem) + clamp(4rem, 14vw, 7rem)); }
@media (min-width: 900px) {
  .lot { padding-bottom: calc(clamp(3rem, 6vw, 5rem) + clamp(4rem, 14vw, 7rem)); }
  .lot > .lot-interieur { padding-bottom: 0; }
}
/* Menu caché tant qu'on est en haut de la page (sur l'ouverture), il apparaît dès qu'on défile.
   Seulement si le script tourne : sans lui, le menu reste toujours visible. */
.js .entete:not(.defile) { opacity: 0; transform: translateY(-100%); pointer-events: none; }
.js .entete { transition: background-color .35s, box-shadow .35s, opacity .35s, transform .35s; }
@media (prefers-reduced-motion: reduce) { .js .entete { transition: none; } }
/* Lien « Votre avis » du menu : on s'arrête avec le haut du formulaire aux trois quarts de l'écran,
   pour voir aussi la fin du lot n°1 au-dessus (demande de Clayton) */
#avis-carte { scroll-margin-top: 72vh; }
@media (max-width: 760px) { #avis-carte { scroll-margin-top: 40vh; } }
