/* Site 22:22 — reprend les maquettes (canevas « Maquettes – parcours de réservation 22:22 »).
   Couleurs de marque : rose #B59991, bleu #101829, bordeaux #7a2e3a (liens, étapes, sélection),
   orange #AD6A43 en accent très discret (étoiles des garanties Premium uniquement). */

:root {
  --bleu: #101829;
  --bleu-fonce: #0a0f1d;
  --bleu-carte: #1b2337;
  --bleu-trait: #2a3245;
  --rose: #B59991;
  --rose-clair: #f1e6e3;
  --rose-pale: #f6efec;
  --rose-trait: #dcc6bf;
  --bordeaux: #7a2e3a;
  --bordeaux-fonce: #5a1f29;
  --orange: #AD6A43;
  --creme: #f6f1ee;
  --blanc: #ffffff;
  --encre: #1c1a24;
  --encre-douce: #2e2832;
  --gris: #4d4552;
  --gris-clair: #a39dab;
  --sur-sombre: #c9c3cf;
  --sur-sombre-fort: #d8d0d4;
  --trait: #e3d8d3;
  --trait-fort: #cfc3be;
  --erreur: #a12a2a;
  --serif-titre: 'Cormorant Garamond', Garamond, Georgia, serif;
  --serif: Caladea, Cambria, Georgia, serif;
  --rayon: 16px;
  --rayon-petit: 10px;
  --ombre: 0 10px 30px rgba(10, 15, 29, .18);
  --largeur: 1320px;
  --marge: 48px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
/* Tailles de texte en rem (1rem = 16 px avec le réglage par défaut du navigateur) : elles suivent la taille de texte
   choisie par le visiteur dans son navigateur. Marges, dimensions et media queries restent en px. Repère : 15 px = 0.9375rem. */
body { margin: 0; background: var(--creme); color: var(--encre); font: 1rem/1.5 var(--serif); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bordeaux); text-underline-offset: 3px; }
a:hover { color: var(--bordeaux-fonce); }
em { font-style: italic; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif-titre); font-weight: 500; line-height: 1.1; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--bordeaux); outline-offset: 3px; border-radius: 4px; }
.section-sombre :focus-visible, .entete :focus-visible, .pied :focus-visible, .hero :focus-visible { outline-color: var(--rose); }
.sr, .evitement:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement:focus { position: fixed; top: 12px; left: 12px; z-index: 100; background: var(--blanc); padding: 12px 18px; border-radius: 999px; }
.pot-de-miel { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
[hidden] { display: none !important; }

/* ---------- Mise en page ---------- */
.wrap { max-width: var(--largeur); margin: 0 auto; padding: 0 var(--marge); width: 100%; }
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: start; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.etire { align-items: stretch; }
.aligne-centre { align-items: center; }
.pile { display: flex; flex-direction: column; gap: 32px; }
.pile-serree { display: flex; flex-direction: column; gap: 14px; }
.pile-serree > .btn { align-self: flex-start; }
.titre-centre > .btn, .pile-serree.titre-centre > .btn { align-self: center; }
.pile-mini { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.titre-centre { text-align: center; align-items: center; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.actions-centre { justify-content: center; }
.actions-droite { justify-content: flex-end; } /* cartes cadeaux : la sélection puis le bouton, à droite sous les cartes */
.ligne-titre { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.ligne-cta { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.section-sombre { background: var(--bleu); color: var(--sur-sombre-fort); padding: 72px 0; }
.section-rose { background: var(--rose); padding: 72px 0; }
.section-creme { background: var(--creme); padding: 72px 0; }
.section-blanche { background: var(--blanc); padding: 64px 0; }
/* Texte clair sur fond bleu : lettres plus fines et moins éblouissantes sur Mac, iPhone et iPad (aucun effet ailleurs). */
.section-sombre, .entete, .hero, .slogan, .valeurs, .bandeau-blog, .blog-recherche, .etape-carte, .btn-sombre,
.concept-hero, .concept-attentions, .concept-pourquoi, .faq-cta, .contact-entete, .contact, .recap-carte, .cookies, .pied {
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
/* …sauf les cartes, champs et boutons clairs (texte foncé) posés sur ces fonds. */
.carte-formulaire, .champ-recherche, .btn-rose { -webkit-font-smoothing: auto; -moz-osx-font-smoothing: auto; }
.section-pile { padding-top: 48px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 28px; }
.bandeau-rose { background: var(--rose); padding: 40px 0 34px; }
.bandeau-creme { background: var(--creme); padding: 56px 0 40px; }
/* Bandeau du blog : la photo du site actuel sous un voile de notre bleu. */
.bandeau-blog { position: relative; background: var(--bleu); overflow: hidden; }
.bandeau-blog-img { position: absolute; top: 0; right: 0; width: 80%; height: 100%; object-fit: cover; object-position: center 55%; }
.bandeau-blog-voile { position: absolute; inset: 0; background: linear-gradient(90deg, var(--bleu) 20%, rgba(16, 24, 41, .62) 55%, rgba(16, 24, 41, .45) 100%); }
.bandeau-blog-texte { position: relative; padding-top: 80px; padding-bottom: 80px; }
.bandeau-blog .h1 { color: #ece7ee; max-width: 900px; }
.bandeau-blog.centre .bandeau-blog-img { width: 100%; object-position: center; }
.bandeau-blog.centre .bandeau-blog-voile { background: rgba(16, 24, 41, .68); }
.bandeau-blog.centre .bandeau-blog-texte { text-align: center; }
.bandeau-blog.centre .h1 { margin: 0 auto; }
.blog-recherche { background: var(--bleu); padding: 18px 0; border-top: 1px solid var(--bleu-trait); }
.blog-recherche .wrap { display: flex; justify-content: flex-end; }
.champ-recherche { display: flex; width: 100%; max-width: 360px; background: var(--blanc); border-radius: var(--rayon-petit); overflow: hidden; }
.champ-recherche input { flex: 1; min-width: 0; border: 0; padding: 12px 16px; font: inherit; font-size: 1rem; color: var(--encre); background: transparent; }
.champ-recherche input:focus { outline: none; }
.champ-recherche:focus-within { outline: 2px solid var(--rose); outline-offset: 2px; }
.champ-recherche button { border: 0; background: transparent; color: var(--encre); padding: 0 14px; min-width: 44px; cursor: pointer; }
/* Cartes du blog : fines comme sur le site actuel (photo basse, titre léger, date), avec une phrase de résumé. */
.carte-blog { display: flex; flex-direction: column; gap: 6px; }
.carte-blog-photo { display: block; overflow: hidden; border-radius: var(--rayon-petit); box-shadow: 0 6px 18px rgba(10, 15, 29, .12); margin-bottom: 14px; }
.carte-blog-photo img { display: block; width: 100%; height: 190px; object-fit: cover; transition: transform .6s ease; }
.carte-blog:hover .carte-blog-photo img { transform: scale(1.03); }
.carte-blog-titre { font-size: 1.25rem; font-weight: 400; line-height: 1.3; }
/* Sur ordinateur, dates et résumés alignés d'une carte à l'autre, même si un titre prend une ligne de plus. */
@media (min-width: 761px) {
  .cartes-blog { row-gap: 40px; }
  .cartes-blog .carte-blog { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 6px; align-content: start; }
}
.carte-blog-date { font-size: 0.875rem; color: var(--gris); }
.carte-blog-resume { margin-top: 4px; font-size: 0.9375rem; line-height: 1.55; color: var(--gris); }
@media (max-width: 760px) {
  .bandeau-blog-img { width: 100%; object-position: 60% 55%; }
  .bandeau-blog-voile { background: rgba(16, 24, 41, .62); }
  .bandeau-blog-texte { padding-top: 48px; padding-bottom: 56px; }
  .champ-recherche { max-width: none; }
}
.masque-mobile { display: block; }
.visible-mobile { display: none; }
.visible-tablette { display: none; }
@media (max-width: 1024px) { .visible-tablette { display: block; } }

/* ---------- Typographie ---------- */
.h1 { font-size: 3.5rem; font-weight: 300; line-height: 1.25; }
.h2 { font-size: 2.5rem; line-height: 1.1; }
.h2-moyen { font-size: 2.125rem; line-height: 1.15; }
.h2-petit { font-size: 1.75rem; line-height: 1.2; }
.h3 { font-size: 1.625rem; line-height: 1.2; }
.h4 { font-size: 1.25rem; }
.h1-fiche { font-size: 2.5rem; line-height: 1.05; }
.texte-grand { font-size: 1.0625rem; line-height: 1.6; }
.texte-moyen { font-size: 1rem; line-height: 1.6; }
.texte-doux { color: var(--gris); }
.texte-clair { color: var(--sur-sombre); }
.petit { font-size: 0.875rem; }
.italique { font-style: italic; }
.surtitre { font-size: 0.8125rem; letter-spacing: 2px; text-transform: uppercase; color: var(--bordeaux); }
.mention { font-size: 1rem; font-style: italic; color: var(--encre-douce); }
.rose { color: var(--rose); }
.etoiles { letter-spacing: 2px; color: var(--rose); }
.note-google { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; }
.note-google.sombre .etoiles { color: var(--encre); }
.lien-avis { color: inherit; text-decoration: none; min-height: 44px; align-self: flex-start; }
.lien-avis:hover { color: var(--blanc); }
.lien-avis:hover span:not(.etoiles) { text-decoration: underline; }
.lien-avis .etoiles { transition: letter-spacing .2s ease; }
.lien-avis:hover .etoiles { letter-spacing: 3px; }
.avis { scroll-margin-top: 16px; }
.ariane { font-size: 0.9375rem; color: var(--encre-douce); }
.ariane a { color: inherit; }
.lien-clair { color: var(--blanc); }
.lien-clair:hover { color: var(--rose); }
/* Un seul grand bouton, et le lien en complément juste dessous, plus discret. */
.actions-pile { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lien-complement { font-style: italic; font-size: 0.9375rem; color: var(--sur-sombre-fort); text-decoration: underline; text-underline-offset: 3px; }
.lien-complement:hover { color: var(--rose); }
.lien-sombre { color: var(--encre); min-height: 44px; display: inline-flex; align-items: center; }
.lien-concept { font-size: 0.9375rem; margin-top: -8px; }
.lien-concept:hover { color: var(--bordeaux); }
.lien-titre { color: inherit; text-decoration: none; }
.lien-titre:hover { text-decoration: underline; }
.lien-bouton { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font-size: inherit; }
.num { font-family: var(--serif-titre); font-style: italic; font-size: 1.875rem; line-height: 1; color: var(--bordeaux); flex-shrink: 0; width: 22px; }
.num-grand { font-family: var(--serif-titre); font-style: italic; font-size: 2.875rem; line-height: 1; color: var(--bordeaux); }
.ico { flex-shrink: 0; color: var(--bordeaux); }
.ico-orange { color: var(--orange); }

/* ---------- Boutons (un seul système : pilule) ---------- */
.btn {
  display: inline-block; vertical-align: middle; min-height: 44px; padding: 10px 22px; border-radius: 999px; border: 1px solid transparent;
  font: 1rem/1.25 var(--serif); text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.98); box-shadow: none; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-grand { min-height: 48px; padding: 12px 28px; font-size: 1rem; }
.btn-plein { width: 100%; font-size: 1.0625rem; }
.btn-petit { min-height: 40px; padding: 8px 20px; font-size: 0.9375rem; }
.btn-rose { background: var(--rose); color: var(--encre); }
.btn-rose:hover { background: #c2aaa2; color: var(--encre); }
.btn-sombre { background: var(--bleu); color: var(--blanc); }
.btn-sombre:hover { background: #1d2740; color: var(--blanc); }
.btn-blanc { background: var(--blanc); color: var(--encre); }
.btn-blanc:hover { color: var(--encre); background: var(--creme); }
.btn-contour { background: var(--blanc); border-color: var(--encre); color: var(--encre); }
.btn-contour:hover { color: var(--encre); }
.btn-contour-clair { border-color: var(--rose); color: var(--blanc); background: transparent; }
.btn-contour-clair:hover { color: var(--blanc); background: rgba(181, 153, 145, .15); }
.btn-contour-sombre { border-color: var(--trait-fort); color: var(--encre); background: var(--blanc); }
.btn-option { background: var(--blanc); border-color: var(--encre); color: var(--encre); min-height: 44px; padding: 11px 18px; font-size: 0.9375rem; }
.btn-option[aria-pressed="true"] { background: var(--bleu); border-color: var(--bleu); color: var(--blanc); }
.btn-option[aria-pressed="true"]::before { display: inline-block; vertical-align: middle; margin-right: 10px; content: ''; width: 12px; height: 7px; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(-45deg) translateY(-2px); }

/* ---------- En-tête ---------- */
.entete { background: var(--bleu); border-bottom: 1px solid var(--bleu-trait); position: relative; z-index: 20; }
.entete-ligne { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 28px; align-items: center; font-size: 1rem; }
.nav-lien { color: var(--sur-sombre); text-decoration: none; position: relative; padding: 6px 0; }
.nav-lien::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-lien:hover, .nav-lien[aria-current="page"] { color: var(--blanc); }
.nav-lien:hover::after { transform: scaleX(1); }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--blanc); align-items: center; justify-content: center; }
.burger .ico { color: inherit; } /* blanc comme le reste du menu, pas bordeaux */
/* Bandeau « Reprendre » : réservation ou carte cadeau en cours (ordinateur et téléphone). */
.reprise { background: var(--rose-clair); border-bottom: 1px solid var(--rose-trait); }
.reprise-ligne { display: flex; align-items: center; gap: 12px 20px; padding-top: 10px; padding-bottom: 10px; }
.reprise-texte { flex: 1; min-width: 0; font-size: 0.9375rem; line-height: 1.45; color: var(--encre); }
.reprise-texte strong { font-weight: 700; }
.reprise-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 6px 22px; flex: none; } /* texte centré verticalement dans la bulle */
.reprise-fermer { flex: none; width: 40px; height: 40px; margin-right: -8px; display: flex; align-items: center; justify-content: center; background: none; border: 0; border-radius: 50%; color: var(--gris); cursor: pointer; }
.reprise-fermer:hover { background: var(--blanc); color: var(--encre); }
@media (max-width: 760px) {
  .reprise-ligne { flex-wrap: wrap; gap: 8px 12px; }
  .reprise-texte { flex-basis: calc(100% - 52px); font-size: 0.875rem; }
  .reprise-fermer { order: 2; }
  .reprise-btn { order: 3; flex: 1; }
}
.entete-tunnel .entete-ligne { min-height: 68px; }
.entete-tunnel .logo img { height: 32px; }
.lien-aide { background: none; border: 0; padding: 0; color: var(--sur-sombre); font-size: 0.875rem; min-width: 90px; min-height: 44px; text-align: right; cursor: pointer; text-decoration: underline; }
.lien-aide:hover { color: var(--blanc); }

/* ---------- Accueil ---------- */
.hero { position: relative; background: var(--bleu-fonce); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 82%; }
.hero-voile { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 15, 29, .82) 0%, rgba(10, 15, 29, .55) 55%, rgba(10, 15, 29, .3) 100%); }
.hero-texte { position: relative; padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.hero .h1 { color: #ece7ee; max-width: 700px; }
.hero-sous { font-family: var(--serif-titre); font-size: 1.5rem; color: var(--sur-sombre-fort); max-width: 560px; }
.hero-principe { font-size: 1.0625rem; line-height: 1.5; color: var(--sur-sombre-fort); max-width: 560px; }
.hero-villes { font-size: 1rem; font-style: italic; color: #d2ccd6; }
.hero .actions { padding-top: 8px; }
.hero-prix { margin-top: -10px; font-size: 1rem; color: var(--sur-sombre-fort); }
.hero .note-google { color: var(--sur-sombre-fort); }

.slogan { background: var(--bleu); }
.slogan-boite { background: #020A1D; border-radius: 0 0 24px 24px; padding: 28px var(--marge) 30px; text-align: center; }
.slogan-heure { font-family: var(--serif-titre); font-size: 2rem; line-height: 1.2; color: var(--sur-sombre-fort); }
.slogan-phrase { font-family: var(--serif-titre); font-style: italic; font-size: 2rem; line-height: 1.2; color: var(--sur-sombre-fort); margin-top: 4px; }
.valeurs { background: var(--bleu); padding: 56px 0 36px; text-align: center; }
.valeurs-intro { font-size: 1.25rem; line-height: 1.5; color: var(--sur-sombre-fort); }
.valeurs-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 60px; margin-top: 64px; padding: 0 60px; }
.valeur h2 { font-family: var(--serif); font-weight: 700; font-size: 2rem; line-height: 1.5; color: #efefef; }
.valeur p { font-size: 1rem; line-height: 1.5; color: #efefef; }
.valeur::after { content: ''; display: block; height: 1px; background: rgba(255, 255, 255, .15); margin: 16px 0 40px; }
.biseau { position: relative; padding-top: 96px; }
.ordre-formules .h2 { font-weight: 600; }
.biseau::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 48px; background: #020A1D; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 12%); }
.atouts-court { display: none; font-family: var(--serif-titre); font-weight: 500; font-size: 1.5rem; line-height: 1.3; color: var(--sur-sombre-fort); }
.atouts-court span { display: block; }
.atouts-court span + span { margin-top: 10px; }

.fcards { display: flex; column-gap: 24px; }
.fcard { position: relative; flex: 1 1 0; min-width: 0; min-height: clamp(400px, 50vh, 520px); border-radius: 4px; overflow: hidden; box-shadow: 0 4px 16px rgba(0, 0, 0, .12); transition: flex .3s ease-out; display: flex; align-items: flex-end; }
.fcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 15% 50%; }
.fcard-voile { position: absolute; inset: 0; background: rgba(0, 0, 0, .64); }
.fcard-texte { position: relative; padding: 30px; display: flex; flex-direction: column; gap: 12px; color: var(--blanc); }
.fcard-texte h3 { font-size: 2rem; font-weight: 400; line-height: 1.2; }
.fcard-texte p { font-size: 1rem; line-height: 1.5; max-width: 520px; }
.fcard-texte .fcard-prix { font-size: 0.9375rem; opacity: .9; }
.fcard-texte .btn { align-self: flex-start; margin-top: 6px; min-height: 40px; padding: 8px 22px; }
@media (hover: hover) and (min-width: 1025px) {
  .fcards:hover .fcard:hover, .fcards .fcard:focus-within { flex-grow: 3; }
}
/* Titres alignés d'une carte à l'autre.
   Ordinateur (survol animé) : chaque texte réserve 3 lignes, la hauteur du plus long à ces largeurs ; les cartes restent indépendantes,
   donc l'agrandissement au survol reste fluide (un texte qui change de nombre de lignes ne fait bouger que sa carte).
   Si une accroche dépasse 3 lignes un jour, augmenter ce minimum. */
@media (min-width: 1025px) {
  .fcard-texte p:not(.fcard-prix) { min-height: calc(3 * 1.5em); }
}
@media (min-width: 1025px) and (max-width: 1099px) { /* cartes plus étroites : 4 lignes, et le titre de la tablette pour qu'il tienne sur une ligne */
  .fcard-texte p:not(.fcard-prix) { min-height: calc(4 * 1.5em); }
  .fcard-texte h3 { font-size: 1.75rem; }
}
/* Tablette (pas d'animation) : les nombres de lignes varient beaucoup, les trois cartes partagent donc les mêmes lignes
   (espace photo, titre, texte, prix, bouton). Navigateurs sans subgrid : mise en page flex ci-dessus. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 761px) and (max-width: 1024px) {
    .fcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 1fr repeat(4, auto); min-height: clamp(400px, 50vh, 520px); }
    .fcard { display: grid; grid-row: 1 / -1; grid-template-rows: subgrid; min-height: 0; }
    .fcard-texte { display: grid; grid-row: 2 / -1; grid-template-rows: subgrid; row-gap: 12px; }
    .fcard-texte h3 { align-self: end; } /* si un titre passe sur deux lignes, les autres restent collés à leur texte */
    .fcard-texte .btn { justify-self: start; }
  }
}
.hscroll { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.etape-carte { display: flex; flex-direction: column; background: var(--bleu-carte); border-radius: var(--rayon); overflow: hidden; }
.etape-photo { position: relative; overflow: hidden; }
.etape-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.etape-num { position: absolute; left: 16px; top: 8px; font-family: var(--serif-titre); font-style: italic; font-size: 2.875rem; line-height: 1; color: var(--blanc); text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.etape-texte { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.etape-texte h3 { font-size: 1.5rem; color: var(--blanc); }
.etape-texte p { font-size: 0.9375rem; line-height: 1.55; color: var(--sur-sombre); }

.avis { padding: 0; }
/* Le widget Featurable a déjà ses propres marges (environ 33 px en haut, 57 px en bas) : on égalise à 33 px. */
.avis-widget { min-height: 280px; margin-bottom: -24px; }
.avis + * { position: relative; }
.photo-arrondie { width: 100%; height: 380px; object-fit: cover; border-radius: var(--rayon); }
.newsletter { padding: 40px 0 48px; border-bottom: 1px solid var(--bleu-trait); }
.newsletter-ligne { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 60px; align-items: start; }
.newsletter-titre { font-family: var(--serif-titre); font-weight: 600; font-size: 1.375rem; color: var(--blanc); }
.newsletter-texte { color: var(--sur-sombre); max-width: 560px; margin-top: 10px; }
.newsletter-form { display: flex; flex-wrap: wrap; width: 100%; position: relative; }
.newsletter-form input[type="email"] { flex: 1 1 200px; min-width: 0; min-height: 48px; border: 0; border-radius: 4px 0 0 4px; padding: 0 16px; font: 1rem var(--serif); }
.newsletter-form .btn { border-radius: 0 4px 4px 0; min-height: 48px; }
.newsletter-form .form-message { flex-basis: 100%; margin-top: 8px; }
.form-message { min-height: 1.5em; font-size: 0.9375rem; }
.form-message.erreur-globale { color: var(--erreur); }
.section-sombre .form-message.erreur-globale { color: #f0b4b4; }

/* ---------- Cartes ---------- */
.carte { background: var(--blanc); border-radius: var(--rayon); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.carte-lien:hover { transform: translateY(-2px); box-shadow: var(--ombre); }
.carte-photo { display: block; overflow: hidden; }
.carte-photo img, .carte-photo-img { width: 100%; height: 260px; object-fit: cover; transition: transform .6s ease; }
.carte-lien:hover .carte-photo img { transform: scale(1.03); }
.carte-corps { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.carte-pied { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.carte-texte { padding: 28px; gap: 12px; }
.liste-icones { margin: 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--trait); display: flex; flex-direction: column; gap: 8px; font-size: 0.9375rem; }
.liste-icones li { display: flex; gap: 10px; align-items: center; }
/* Cartes côte à côte : titre, texte, liste et pied alignés d'une carte à l'autre (sous-grille). */
@media (min-width: 761px) {
  .cartes-alignees > .carte { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
  .cartes-alignees .carte-corps { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 14px; align-content: start; }
  .cartes-alignees .liste-icones { align-self: start; }
}
.encart { border-radius: var(--rayon); padding: 22px 24px; }
.encart.creme { background: var(--creme); }
.encart.rose { background: var(--rose-clair); border: 1px solid var(--rose-trait); color: var(--encre); }
.encart.info { display: flex; gap: 10px; padding: 14px 16px; border-radius: 12px; font-size: 0.9375rem; line-height: 1.5; color: var(--gris); }
.num-ligne { display: flex; gap: 14px; font-size: 1rem; line-height: 1.5; }
.gauche { text-align: left; }
.pastille { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--trait-fort); background: var(--blanc); color: var(--encre); text-decoration: none; font-size: 0.9375rem; }
.pastille:hover { border-color: var(--bordeaux); color: var(--encre); }
.themes { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
/* Cartes cadeaux : les 4 infos clés, en bande sous l'en-tête. */
.bande-atouts { background: var(--blanc); border-bottom: 1px solid var(--trait); }
.atouts-carte { list-style: none; margin: 0 auto; padding-top: 13px; padding-bottom: 13px; display: flex; justify-content: space-between; }
.atouts-carte li { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 2px 20px; font-size: 0.9375rem; line-height: 1.35; text-align: left; white-space: nowrap; }
.atouts-carte li + li { border-left: 1px solid var(--trait); }
.atouts-carte .ico { flex: none; color: var(--bordeaux); }
@media (max-width: 1100px) {
  .atouts-carte { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; padding-top: 14px; padding-bottom: 14px; }
  .atouts-carte li { justify-content: flex-start; padding: 0 12px; font-size: 0.875rem; white-space: normal; }
  .atouts-carte li + li { border-left: 0; }
}

/* ---------- Fiche formule ---------- */
.fiche { padding-top: 16px; padding-bottom: 72px; }
body:has(.fiche) { background: var(--blanc); }
.fiche .ariane { padding-bottom: 16px; color: var(--gris); }
.fiche .ariane a { color: #7a5a52; }
.fiche-photo-col { display: flex; flex-direction: column; gap: 32px; min-width: 0; position: sticky; top: 24px; }
.fiche-photo { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--rayon); }
.fiche-achat { min-width: 0; gap: 18px; }
.fiche-achat > .pile-serree { gap: 10px; }
.fiche-achat .h3 { font-size: 1.375rem; }
.fiche-achat .texte-moyen { font-size: 0.9375rem; line-height: 1.55; }
/* Même graisse que « Date Classique / Premium », en bordeaux comme le contour de la carte choisie. */
.titre-version { font-weight: 600; color: var(--bordeaux); }
/* Ordinateur : colonne d'achat un peu plus large, pour que le bouton Réserver soit visible sans défiler. */
@media (min-width: 1025px) { .fiche-grille { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; } }
.info-ligne { display: flex; gap: 8px; align-items: center; font-size: 0.9375rem; color: var(--gris); }
/* Sous le nom de la formule, juste avant la présentation : une ligne pratique, plus petite. */
@media (min-width: 761px) { .fiche-achat .info-ligne { font-size: 0.875rem; margin-top: -2px; } }
.deroule { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.deroule li { display: flex; gap: 16px; align-items: baseline; font-size: 1rem; line-height: 1.5; }
/* Fiche formule : déroulé « Comment se vit votre date » plus discret (titre plus petit, lignes resserrées). */
.deroule-bloc { gap: 10px; }
.deroule-bloc .h3 { font-size: 1.4375rem; }
.deroule-bloc .deroule { gap: 8px; }
.deroule-bloc .deroule li { line-height: 1.4; }
.versions { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; align-items: stretch; }
.choix-version {
  background: var(--blanc); border: 1px solid var(--trait-fort); border-radius: 14px; padding: 16px; text-align: left;
  display: flex; flex-direction: column; gap: 9px; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, transform .15s ease;
}
.choix-version:hover { border-color: var(--bordeaux); }
.choix-version:active { transform: scale(.99); }
.choix-version[aria-checked="true"] { background: #fbf7f5; border: 2px solid var(--bordeaux); padding: 15px; }
.choix-titre { font-family: var(--serif-titre); font-size: 1.3125rem; font-weight: 600; line-height: 1.15; }
.choix-texte { font-size: 0.90625rem; line-height: 1.4; color: var(--gris); }
.garanties { display: flex; flex-direction: column; gap: 4px; font-size: 0.875rem; line-height: 1.35; }
.garanties > span { display: flex; gap: 8px; }
.choix-prix { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--trait); display: flex; flex-direction: column; gap: 2px; }
/* Prix en graisse normale : il reste lisible sans être ce que l'œil voit en premier sur la fiche. */
.prix-deux { font-size: 1.0625rem; }
.prix-pour { font-size: 0.875rem; color: var(--gris); }
.exemple { display: flex; flex-direction: column; gap: 4px; padding: 14px 20px 16px; }
.exemple-texte { font-family: var(--serif-titre); font-size: 1.1875rem; line-height: 1.3; }
.reassurance { display: flex; flex-direction: column; gap: 8px; font-size: 0.9375rem; line-height: 1.45; color: var(--gris); }
.reassurance > span { display: flex; gap: 10px; }
/* Bouton Réserver de la fiche : une ombre très légère le détache des cartes et encadrés, qui sont plats. */
.btn-reserver { box-shadow: 0 1px 2px rgba(16, 24, 41, .06), 0 4px 12px rgba(16, 24, 41, .08); }
.btn-reserver:hover { box-shadow: 0 2px 4px rgba(16, 24, 41, .08), 0 6px 18px rgba(16, 24, 41, .12); }.vos-questions { padding-top: 72px; max-width: 880px; }
.vos-questions h2 { margin-bottom: 12px; }
.vos-questions > .btn { margin-top: 28px; } /* lien vers la FAQ complète, sous les questions */
.barre-fixe {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; background: var(--blanc); border-top: 1px solid var(--trait);
  box-shadow: 0 -6px 20px rgba(18, 26, 43, .08); padding: 12px 20px calc(16px + env(safe-area-inset-bottom));
  display: none; align-items: center; justify-content: space-between; gap: 12px;
}

/* ---------- Questions (accordéons) ---------- */
.question { border-bottom: 1px solid var(--trait); }
.question summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px; font-size: 1.0625rem; cursor: pointer; min-height: 44px; }
.question summary::-webkit-details-marker { display: none; }
.question summary:hover { color: var(--bordeaux); }
.signe { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.signe::before, .signe::after { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 1.5px; background: currentColor; transition: transform .25s ease; }
.signe::after { transform: rotate(90deg); }
.question[open] .signe::after { transform: rotate(0); }
.reponse { padding: 0 4px 20px; font-size: 1rem; line-height: 1.6; color: var(--gris); display: flex; flex-direction: column; gap: 10px; }
.reponse ul, .reponse ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.reponse li::marker { color: var(--bordeaux); }
.reponse strong { color: var(--encre); }

/* ---------- Concept (maquette LeConcept) ---------- */
.concept-hero { background: var(--bleu); padding: 56px 0; }
.concept-hero-texte { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.concept-hero .h1 { color: #ece7ee; }
.concept-hero-intro { font-size: 1.125rem; line-height: 1.6; color: var(--sur-sombre-fort); max-width: 520px; }
/* Comme sur le site actuel : texte sur 7 colonnes, photo sur 5, à son format d'origine (3:2). */
@media (min-width: 761px) { .concept-hero .g2 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.concept-hero-photo { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--rayon); }
.concept-etapes { background: var(--rose); padding: 80px 0; }
.concept-etapes .pile { gap: 40px; }
.etape-concept { background: var(--rose-clair); border-radius: var(--rayon); padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 12px; }
.etape-concept-num { font-family: var(--serif-titre); font-style: italic; font-size: 3.375rem; line-height: 1; color: var(--bordeaux); }
.etape-concept h3 { font-size: 1.75rem; line-height: 1.15; }
.etape-concept p { font-size: 1rem; line-height: 1.6; color: var(--gris); }
.etape-concept p strong { color: var(--encre); }
.etape-concept-texte { display: flex; flex-direction: column; gap: 12px; }
/* Ordinateur : les 3 cartes partagent les mêmes lignes (numéro, titre, texte),
   pour que le texte commence à la même hauteur même quand un titre passe sur 2 lignes. */
@media (min-width: 761px) {
  @supports (grid-template-rows: subgrid) {
    .etape-concept { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 12px; }
  }
}
.concept-attentions { background: var(--bleu); padding: 72px 0 80px; border-bottom: 1px solid var(--sur-sombre); }
.concept-attentions .pile { gap: 44px; }
.concept-attentions-titre { font-weight: 600; font-size: 1.875rem; line-height: 1.2; color: var(--blanc); }
.concept-attentions-intro { font-size: 0.9375rem; line-height: 1.6; color: var(--gris-clair); max-width: 800px; }
.attentions-grille { gap: 36px; }
.attention { position: relative; min-height: 215px; border-radius: 10px; overflow: hidden; background: #3a4258; }
.attention img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.attention:hover img { transform: scale(1.03); }
/* Photos produit sur fond uni (cartes et panneau Découvrir) : montrées en entier,
   le fond du cadre prolonge celui de la photo. */
.attention-chocolats img, .attention-fleurs img { object-fit: contain; object-position: 85% 50%; }
#option-chocolats .panneau-photo img, #option-fleurs .panneau-photo img { object-fit: contain; }
.attention-chocolats img, #option-chocolats .panneau-photo img { background: #fff; }
.attention-fleurs img, #option-fleurs .panneau-photo img { background: #e7ddcb; }
/* Fonds clairs : voile plus dense pour garder le texte blanc bien lisible. */
.attention-chocolats .attention-voile, .attention-fleurs .attention-voile { background: rgba(16, 24, 41, .68); }
/* Chauffeur : cadrage descendu pour voir la voiture entière. */
.attention-chauffeur img, #option-chauffeur .panneau-photo img { object-position: 50% 80%; }
.attention-voile { position: absolute; inset: 0; background: rgba(16, 24, 41, .55); }
.attention-texte { position: relative; padding: 28px 30px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; color: var(--blanc); }
.attention-texte h3 { font-weight: 600; font-size: 1.625rem; line-height: 1.15; }
.attention-texte p { font-size: 1rem; line-height: 1.55; }
.btn-contour-blanc { margin-top: 8px; background: none; border-color: var(--blanc); color: var(--blanc); }
.btn-contour-blanc:hover { background: rgba(255, 255, 255, .12); color: var(--blanc); }
.concept-pourquoi { background: var(--bleu); padding: 88px 0; }
.concept-pourquoi-titre { font-style: italic; font-weight: 400; font-size: 3.5rem; line-height: 1.05; color: #ece7ee; }
.concept-pourquoi-texte { display: flex; flex-direction: column; gap: 18px; font-size: 1.0625rem; line-height: 1.7; color: var(--sur-sombre-fort); }
.concept-pourquoi-texte strong { color: var(--blanc); }
.concept-dispo { background: var(--creme); padding: 48px 0; }
.concept-dispo .actions-pile { padding-top: 6px; }
/* Lien complémentaire sur fond clair : même discrétion que sur l'accueil, en encre douce. */
.concept-dispo .lien-complement { color: var(--gris); }
.concept-dispo .lien-complement:hover { color: var(--bordeaux); }
.texte-long { max-width: 820px; display: flex; flex-direction: column; gap: 16px; font-size: 1rem; line-height: 1.7; }
.texte-long h2 { font-size: 1.75rem; margin-top: 16px; }
.texte-long h3 { font-size: 1.375rem; margin-top: 10px; }
.texte-long ul, .texte-long ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
/* Articles du blog : mise en forme reprise du site actuel. Règles d'écriture : src/contenus/blog/LISEZ-MOI.md */
.article-blog { font-size: 1.125rem; }
.article-blog h2 { font-size: 2.25rem; line-height: 1.2; margin-top: 24px; font-weight: 600; }
.article-blog h3 { font-size: 1.875rem; line-height: 1.2; margin-top: 16px; font-weight: 400; }
.article-blog h3 strong { font-weight: 600; }
.article-blog a { color: var(--rose); text-underline-offset: 3px; }
.article-blog a:hover { color: var(--bordeaux); }
.article-blog .encart a { color: var(--blanc); }
/* Encart de réservation en fin d'article : discret et bien détaché de la FAQ. */
.article-blog > .encart { margin-top: 48px; }
.article-blog > .encart strong { font-family: var(--serif-titre); font-weight: 500; font-size: 1.625rem; }
.texte-brun { color: #713e33; }
.article-date { font-size: 0.9375rem; color: var(--gris); margin-top: -8px; }
.photo-article { margin: 8px 0; }
.photo-article img { width: 100%; height: auto; border-radius: var(--rayon); }
.article-blog .note { font-size: 0.875rem; color: var(--gris); line-height: 1.5; }
/* Mini FAQ de fin d'article : bloc crème et carte blanche, comme la page /faq. */
.faq-article { margin-top: 40px; background: var(--creme); border-radius: var(--rayon); padding: 36px 36px 40px; display: flex; flex-direction: column; gap: 20px; }
.article-blog .faq-article-titre { margin: 0; font-size: 2.125rem; font-weight: 500; }
.faq-article-questions { background: var(--blanc); border-radius: var(--rayon); padding: 0 26px; }
.faq-article-questions .question:last-child { border-bottom: 0; }
.faq-article-questions .question summary { padding: 20px 0; font-size: 1.125rem; }
.faq-article-questions .reponse { padding: 0 0 22px; font-size: 1.0625rem; line-height: 1.65; }
@media (max-width: 760px) {
  .article-blog { font-size: 1.0625rem; }
  .article-blog h2 { font-size: 1.75rem; }
  .article-blog h3 { font-size: 1.5rem; }
  .faq-article { padding: 28px 18px 24px; }
  .article-blog .faq-article-titre { font-size: 1.75rem; }
  .faq-article-questions { padding: 0 18px; }
}
.page-erreur { padding: 64px 0; }
/* Page de reprise (mail de relance) : message sans paiement, un bouton et le lien discret dessous. */
.reprise-message { max-width: 560px; margin: 0 auto; width: 100%; }
.reprise-message .lien-complement { color: var(--gris); }
.reprise-message .lien-complement:hover { color: var(--bordeaux); }

/* ---------- FAQ (maquette FAQ) ---------- */
.faq-entete { background: var(--rose); padding: 40px 0 40px; }
.faq-entete .texte-moyen { color: var(--encre-douce); }
.lien-sombre-souligne { color: var(--encre); }
.pastille-creme { background: var(--creme); color: var(--encre); text-decoration: none; padding: 10px 18px; border-radius: 999px; font-size: 0.9375rem; min-height: 44px; display: inline-flex; align-items: center; transition: transform .15s ease; }
.pastille-creme:hover { color: var(--encre); transform: translateY(-1px); }
.faq-entete .themes { justify-content: center; padding-top: 8px; }
.faq { background: var(--creme); padding: 56px 0 80px; }
.faq-colonne { max-width: 880px; display: flex; flex-direction: column; gap: 48px; }
.theme { display: flex; flex-direction: column; gap: 8px; scroll-margin-top: 24px; }
.theme-titre { font-size: 2.125rem; line-height: 1.15; }
.theme-questions { background: var(--blanc); border-radius: var(--rayon); padding: 0 26px; }
.theme-questions .question:last-child { border-bottom: 0; }
.theme-questions .question summary { padding: 20px 0; font-size: 1.125rem; }
.theme-questions .reponse { padding: 0 0 22px; line-height: 1.65; }
.faq-cta { background: var(--bleu); color: var(--blanc); border-radius: var(--rayon); padding: 28px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.faq-cta strong { font-family: var(--serif-titre); font-weight: 500; font-size: 1.75rem; }
.faq-cta span { font-size: 0.9375rem; color: var(--sur-sombre); }

/* ---------- Contact (maquette Contact) ---------- */
.contact-entete { background: var(--bleu); padding: 64px 0 24px; }
.contact-entete .h2 { color: #ece7ee; }
.contact { background: var(--bleu); color: var(--sur-sombre-fort); padding: 40px 0 88px; }
.contact-infos { display: flex; flex-direction: column; gap: 28px; }
.contact-titre { font-size: 2.5rem; line-height: 1.1; color: var(--blanc); }
.surtitre-rose { color: var(--rose); font-family: var(--serif); font-weight: 400; }
.reseaux { display: flex; gap: 12px; }
.reseau { width: 48px; height: 48px; border-radius: 50%; background: var(--blanc); color: var(--encre); display: flex; align-items: center; justify-content: center; transition: transform .15s ease; }
.reseau:hover { color: var(--encre); transform: translateY(-2px); }
.reseau .ico { color: var(--encre); }
.carte-formulaire { background: var(--blanc); color: var(--encre); border-radius: var(--rayon); padding: 28px; }
.formulaire-contact { display: flex; flex-direction: column; gap: 18px; }
.formulaire-contact .champ label { font-size: 0.9375rem; }

/* ---------- Formulaires ---------- */
.champ { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.champ label, .question-titre { font-size: 1rem; font-weight: 700; }
.champ input, .champ textarea, .champ-code input {
  width: 100%; min-height: 50px; border: 1px solid var(--trait-fort); border-radius: var(--rayon-petit); background: var(--blanc);
  padding: 0 16px; font: 1rem var(--serif); color: var(--encre); transition: border-color .2s ease;
}
.champ textarea { padding: 14px 16px; resize: vertical; min-height: 120px; }
.champ input:hover, .champ textarea:hover { border-color: var(--gris); }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--bordeaux); box-shadow: 0 0 0 3px rgba(122, 46, 58, .15); }
.champ [aria-invalid="true"] { border-color: var(--erreur); }
.aide-champ { font-size: 0.875rem; color: var(--gris); }
.erreur { font-size: 0.875rem; color: var(--erreur); min-height: 0; }
.erreur:empty { display: none; }
.case { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 0.9375rem; line-height: 1.5; }
.case input { width: 22px; height: 22px; margin: 0; accent-color: var(--bordeaux); flex-shrink: 0; }
.case-encadree { background: var(--blanc); border: 1px solid var(--trait); border-radius: 12px; padding: 16px; font-size: 1rem; }
.champ-adresse { position: relative; }
.champ-adresse .ico { position: absolute; left: 16px; top: 16px; color: var(--gris); }
.champ-adresse input { padding-left: 44px; }
.suggestions { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 5; margin: 0; padding: 6px; list-style: none; background: var(--blanc); border: 1px solid var(--trait-fort); border-radius: var(--rayon-petit); box-shadow: var(--ombre); }
.suggestions li { padding: 10px 12px; border-radius: 8px; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.suggestions li[aria-selected="true"], .suggestions li:hover { background: var(--rose-clair); }
.grille-adresse { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; }

/* ---------- Tunnel ---------- */
.corps-tunnel { background: var(--creme); min-height: 100vh; }
.etapes-barre { position: relative; background: var(--blanc); border-bottom: 1px solid var(--trait); }
/* Filet de progression : se pose sur le trait du bas et avance sous les étapes (largeur calculée dans tunnel.js) */
.etapes-filet { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--bordeaux); transform: scaleX(0); transform-origin: left center; transition: transform .6s cubic-bezier(.22, .61, .36, 1); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .etapes-filet { transition: none; } }
.etapes { display: flex; gap: 12px; margin: 0 auto; padding-top: 16px; padding-bottom: 16px; list-style: none; }
.etape { display: flex; align-items: center; gap: 8px; flex: 1 1 0; min-width: 0; color: var(--gris); font-size: 0.875rem; }
.etape-rond { width: 26px; height: 26px; border-radius: 50%; background: var(--blanc); border: 1px solid var(--trait-fort); display: flex; align-items: center; justify-content: center; font-size: 0.8125rem; flex-shrink: 0; transition: background-color .3s ease; }
.etape-rond.pointille { border-style: dashed; border-color: #b8aaa5; }
.etape-nom { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.etape[data-statut="en-cours"] .etape-rond { background: var(--bordeaux); border-color: var(--bordeaux); color: var(--blanc); }
.etape[data-statut="en-cours"] .etape-nom { color: var(--encre); font-weight: 700; }
.etape[data-statut="fait"] .etape-rond { background: var(--rose-clair); border-color: var(--rose-trait); color: var(--bordeaux); }
/* Étape déjà ouverte : on y revient d'un clic (zone de 44 px de haut, sans décaler la barre) */
.etape-lien { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 9px 6px; margin: -9px -6px; background: none; border: 0; color: inherit; font-size: inherit; text-align: left; cursor: pointer; }
.etape-lien:hover .etape-nom { color: var(--encre); text-decoration: underline; text-underline-offset: 3px; }
.etape-lien:hover .etape-rond { border-color: var(--bordeaux); }
.tunnel-page { padding-top: 40px; padding-bottom: 64px; }
.tunnel { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.tunnel-principal { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.tunnel-principal:focus { outline: none; }
.retour { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: -12px 0 -16px; font-size: 0.9375rem; color: var(--gris); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.retour:hover { color: var(--encre); }
.tunnel-titre { font-size: 2.25rem; line-height: 1.15; }
.tunnel-intro { font-size: 1rem; color: var(--gris); line-height: 1.5; }
.bloc-question { display: flex; flex-direction: column; gap: 12px; border: 0; padding: 0; margin: 0; min-width: 0; }
.bloc-question legend { padding: 0; margin-bottom: 12px; float: left; width: 100%; }
.bloc-question legend + * { clear: both; }
.entete-question { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.compteur { font-size: 0.875rem; color: var(--gris); font-weight: 400; }
.cartes-envies { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.envie {
  min-height: 92px; display: flex; flex-direction: column; justify-content: center; gap: 4px; text-align: left; padding: 14px 16px;
  border-radius: 14px; cursor: pointer; background: var(--blanc); border: 1px solid var(--trait); transition: border-color .2s ease, transform .15s ease;
}
.envie:hover { border-color: var(--bordeaux); transform: translateY(-2px); }
.envie[aria-pressed="true"] { background: var(--rose-clair); border: 2px solid var(--bordeaux); padding: 13px 15px; }
.envie-nom { font-family: var(--serif-titre); font-size: 1.25rem; font-weight: 600; }
.envie-aide { font-size: 0.8125rem; color: var(--gris); line-height: 1.35; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce {
  min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 0.9375rem; cursor: pointer; background: var(--blanc); color: var(--encre);
  border: 1px solid var(--trait-fort); transition: background-color .2s ease, border-color .2s ease, transform .15s ease;
}
.puce:hover:not([aria-disabled="true"]) { border-color: var(--bleu); }
.puce:active:not([aria-disabled="true"]) { transform: scale(.97); }
.puce[aria-pressed="true"], .puce[aria-checked="true"] { background: var(--bleu); color: var(--blanc); border-color: var(--bleu); }
.puce[aria-disabled="true"] { color: #a59ca3; border-color: var(--trait); cursor: not-allowed; }
.continuer { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; padding-top: 20px; }
.continuer .btn { flex: 1 1 220px; max-width: 360px; }
.message-etape { color: var(--erreur); font-size: 0.9375rem; }

.calendrier { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 18px; max-width: 460px; display: flex; flex-direction: column; gap: 10px; }
.cal-entete { display: flex; align-items: center; justify-content: space-between; }
.cal-mois { font-family: var(--serif-titre); font-size: 1.5rem; font-weight: 500; }
.bouton-icone { width: 44px; height: 44px; background: none; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--encre); }
.bouton-icone:hover:not(:disabled) { background: var(--creme); }
.bouton-icone:disabled { color: #b8aeb0; cursor: not-allowed; }
.cal-jours, .cal-grille { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.cal-jours { font-size: 0.8125rem; color: var(--gris); }
.jour { height: 42px; width: 100%; display: flex; align-items: center; justify-content: center; font-size: 0.9375rem; border-radius: 50%; padding: 0; background: var(--blanc); border: 1px solid var(--trait); cursor: pointer; transition: background-color .15s ease; }
.jour:hover:not(:disabled) { border-color: var(--bordeaux); }
.jour:disabled { background: #f1edeb; color: #8f868c; border: 0; cursor: not-allowed; }
.jour.aujourdhui { border: 2px solid var(--gris); font-weight: 700; color: var(--encre); }
.jour[aria-pressed="true"] { background: var(--bordeaux); color: var(--blanc); font-weight: 700; border-color: var(--bordeaux); }
/* Ordinateur : calendrier plus compact, pour voir la question de l'heure sans défiler (mobile : cases de 42 px pour le doigt). */
@media (min-width: 761px) {
  .calendrier { padding: 14px 16px; gap: 6px; max-width: 400px; }
  .cal-mois { font-size: 1.25rem; }
  .cal-grille { gap: 3px; }
  .jour { height: 34px; font-size: 0.875rem; }
  .cal-entete .bouton-icone { width: 36px; height: 36px; }
}

.cartes-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.option { background: var(--blanc); border-radius: var(--rayon); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--trait); transition: border-color .2s ease; }
.option[data-choisie="true"] { border: 2px solid var(--bordeaux); }
.option img { width: 100%; height: 120px; object-fit: cover; }
.option-corps { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
.option-nom { font-family: var(--serif-titre); font-weight: 600; font-size: 1.25rem; }
.option-phrase { font-size: 0.875rem; line-height: 1.4; color: var(--gris); }
.option-plus { align-self: flex-start; background: none; border: 0; padding: 0; min-height: 36px; font-size: 0.875rem; color: var(--bordeaux); text-decoration: underline; cursor: pointer; }
.option-pied { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 4px; gap: 10px; }
.option-prix { font-size: 1.0625rem; }
.case-decouverte { border-top: 1px solid var(--trait); padding-top: 20px; }

.resume { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); overflow: hidden; position: sticky; top: 24px; }
.resume-photo { position: relative; height: 140px; }
.resume-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.resume-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 12, 20, .05) 30%, rgba(10, 12, 20, .7) 100%); }
.resume-photo-texte { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 14px; display: flex; justify-content: space-between; align-items: baseline; color: var(--blanc); }
.resume-photo-texte strong { font-family: var(--serif-titre); font-weight: 600; font-size: 1.75rem; }
.resume-photo-texte span { font-size: 0.75rem; letter-spacing: 1.5px; text-transform: uppercase; }
.resume-corps { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 14px; }
.resume-titre { padding: 0 4px; display: flex; flex-direction: column; gap: 2px; }
.resume-titre strong { font-family: var(--serif-titre); font-weight: 500; font-size: 1.5rem; }
.blocs { display: flex; flex-direction: column; gap: 6px; }
.bloc { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 1px solid transparent; }
.bloc-ico { width: 34px; height: 34px; border-radius: 50%; background: var(--rose-clair); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bloc-ico .ico { color: var(--bordeaux); }
.bloc-texte { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bloc-nom { display: flex; align-items: center; font-size: 0.75rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gris); }
.bloc-valeur { font-size: 0.9375rem; line-height: 1.45; overflow-wrap: anywhere; }
.bloc-valeur .texte-doux { display: block; }
.bloc[data-en-cours="true"] { background: var(--rose-pale); border-color: var(--rose-trait); animation: pousse .7s ease both; }
.bloc[data-en-cours="true"] .bloc-ico { background: var(--bordeaux); }
.bloc[data-en-cours="true"] .bloc-ico .ico { color: var(--blanc); }
.badge { font-size: 0.6875rem; letter-spacing: 1px; text-transform: uppercase; color: var(--blanc); background: var(--bordeaux); border-radius: 999px; padding: 2px 8px; margin-left: 8px; }
.progression { padding: 0 4px; display: flex; flex-direction: column; gap: 6px; }
.progression-barre { height: 4px; background: #efe6e2; border-radius: 999px; overflow: hidden; }
.progression-barre span { display: block; height: 100%; background: var(--bordeaux); border-radius: 999px; transition: width .9s ease; }
.progression-texte { font-size: 0.8125rem; color: var(--gris); }
.filet { height: 1px; background: var(--trait); }
.reassurance-tunnel { display: flex; flex-direction: column; gap: 10px; font-size: 0.875rem; color: var(--gris); line-height: 1.45; padding: 0 4px; }
.reassurance-tunnel span { display: flex; gap: 10px; }
.resume-mobile { display: none; background: var(--blanc); border: 1px solid var(--trait); border-radius: 12px; padding: 12px 14px; }
.resume-mobile summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 32px; cursor: pointer; list-style: none; }
.resume-mobile summary::-webkit-details-marker { display: none; }
.resume-mobile .lien { font-size: 0.875rem; color: var(--bordeaux); text-decoration: underline; white-space: nowrap; }
.resume-mobile-nom { font-size: 0.9375rem; }
.resume-mobile-nom strong { font-family: var(--serif-titre); font-size: 1.25rem; font-weight: 600; }
.resume-mobile .blocs { padding-top: 12px; }
@keyframes pousse { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }

.chargement { display: flex; gap: 12px; align-items: center; color: var(--gris); font-size: 1rem; padding: 24px 0; }
.rond-attente { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--trait); border-top-color: var(--bordeaux); animation: tourne 1s linear infinite; flex-shrink: 0; }
@keyframes tourne { to { transform: rotate(360deg); } }
.attente-recap { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 28px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* Récapitulatif */
.recap-carte { background: var(--bleu); color: var(--blanc); border-radius: var(--rayon); overflow: hidden; display: flex; flex-wrap: wrap; }
.recap-carte img { width: 200px; flex: 1 1 200px; max-height: 220px; object-fit: cover; }
.recap-infos { flex: 2 1 280px; padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.recap-infos strong { font-family: var(--serif-titre); font-weight: 600; font-size: 1.75rem; }
.recap-infos .version { font-size: 0.8125rem; letter-spacing: 1px; text-transform: uppercase; color: #d4c9c4; }
.recap-infos span { font-size: 1rem; color: #e3dde6; }
.recap-infos a, .recap-infos button { color: #d4c9c4; font-size: 0.9375rem; min-height: 44px; display: inline-flex; align-items: center; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.recap-liens { display: flex; gap: 20px; flex-wrap: wrap; }
.recap-lignes { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.recap-ligne { display: flex; justify-content: space-between; gap: 16px; font-size: 1rem; }
.recap-ligne.remise { color: var(--bordeaux); }
.recap-total { display: flex; justify-content: space-between; align-items: baseline; }
.recap-total span:first-child { font-size: 1.125rem; font-weight: 700; }
.recap-total strong { font-family: var(--serif-titre); font-size: 1.875rem; font-weight: 600; }
.champ-code { display: flex; gap: 8px; }
.champ-code input { flex-grow: 1; min-width: 0; min-height: 48px; text-transform: uppercase; }
.paiement { display: flex; flex-direction: column; gap: 12px; align-items: stretch; max-width: 460px; }
.paiement-formulaire { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 20px; }
.securise { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 0.875rem; color: var(--gris); }
/* Récapitulatif : titre en haut ; au milieu « Et ensuite ? » puis le prix et le paiement ; à droite le récap du date (aligné). */
.tunnel-recap { grid-template-columns: minmax(0, 1fr); }
.recap-page { display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-areas: "tete ." "milieu commande"; gap: 28px 56px; align-items: start; }
.recap-tete { grid-area: tete; display: flex; flex-direction: column; gap: 28px; }
.recap-milieu { grid-area: milieu; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.recap-commande { grid-area: commande; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); overflow: hidden; position: sticky; top: 24px; }
.recap-commande .resume-photo { height: 140px; }
.recap-commande-corps { padding: 20px 22px 18px; display: flex; flex-direction: column; gap: 8px; }
.recap-info { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9375rem; line-height: 1.45; }
.recap-info .ico { color: var(--bordeaux); flex-shrink: 0; margin-top: 1px; }
.recap-commande .recap-liens { padding-left: 28px; }
.recap-commande .recap-liens button { color: var(--bordeaux); font-size: 0.875rem; min-height: 32px; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.recap-paiement { display: flex; flex-direction: column; gap: 18px; }
.recap-paiement .paiement { gap: 14px; }
.recap-paiement .erreur:empty { display: none; }
/* « Et ensuite ? » : trois temps côte à côte, discrets. */
.recap-ensuite { background: var(--rose-clair); border: 1px solid var(--rose-trait); border-radius: var(--rayon); padding: 20px 24px 22px; display: flex; flex-direction: column; gap: 14px; }
.recap-ensuite-titre { font-family: var(--serif-titre); font-weight: 600; font-size: 1.375rem; line-height: 1.2; }
.frise { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.frise li { display: flex; gap: 12px; align-items: flex-start; }
.frise-ico { width: 34px; height: 34px; border-radius: 50%; background: var(--blanc); color: var(--bordeaux); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.frise-ico .ico { width: 18px; height: 18px; }
.frise-texte { display: flex; flex-direction: column; gap: 2px; }
.frise-texte strong { font-size: 0.9375rem; font-weight: 700; line-height: 1.35; }
.frise-texte > span { font-size: 0.875rem; line-height: 1.45; color: var(--gris); }
@media (max-width: 1024px) {
  .recap-page { grid-template-columns: minmax(0, 1fr); grid-template-areas: "tete" "commande" "milieu"; gap: 24px; }
  .recap-commande { position: static; }
  .frise { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .recap-milieu .recap-paiement { order: -1; } /* sur petit écran, le prix et le bouton d'abord */
  #commande-carte > .recap-ensuite { order: 1; } /* carte cadeau : titre, prix et paiement, puis « Et ensuite ? » */
}
.resume-carte { padding: 20px; display: flex; flex-direction: column; gap: 14px; background: transparent; border: 0; }

/* Aperçu de la carte cadeau */
/* Aperçu de la carte cadeau : reproduit le PDF Odoo (gift_card_report_22_22), en réduit. */
/* Aperçu de la carte cadeau : un dessin miniature de taille fixe, ses textes restent donc en px (le reste du site est en rem). */
.apercu-carte { --accent-carte: #722F37; --fond-carte: #131A2B; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 24px rgba(18, 26, 43, .18); background: #f8f6f2; max-width: 300px; color: #131A2B; text-align: center; font-family: var(--serif); }
.apercu-noel { --accent-carte: #7A1F1D; --fond-carte: #7A1F1D; }
.apercu-centre { justify-self: center; }
.apercu-bandeau { background: var(--fond-carte); padding: 12px; }
.apercu-bandeau img { display: block; margin: 0 auto; width: 41px; height: auto; }
.apercu-noel .apercu-bandeau:first-child { padding: 9px 10px 7px; }
.apercu-guirlande { margin: 6px 0 0; border-top: 1px solid #3E5A3A; display: flex; justify-content: space-between; padding: 0 2px; }
.apercu-guirlande span { width: 4px; height: 6px; margin-top: 1px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: #FFE7A3; box-shadow: 0 0 4px 1px rgba(255, 210, 120, .75); }
.apercu-guirlande span.fonce { background: #F4C35E; }
.apercu-guirlande span.bas { margin-top: 3px; }
.apercu-cadre { position: relative; aspect-ratio: 852 / 267; overflow: hidden; }
.apercu-noel .apercu-cadre { aspect-ratio: 852 / 218; }
.apercu-photo { display: block; width: 100%; height: auto; margin-top: -10.3%; }
.apercu-noel .apercu-photo { margin-top: -20.5%; }
.apercu-corps { padding: 10px 18px 12px; display: flex; flex-direction: column; gap: 6px; }
.apercu-remplir { display: flex; align-items: baseline; gap: 4px; font-size: 9.5px; font-style: italic; color: var(--accent-carte); text-align: left; }
.apercu-remplir i { flex: 1; border-bottom: 1px dotted #8A7F78; }
.apercu-remplir + .apercu-remplir { margin: 4px 0 6px; }
.apercu-surtitre { font-size: 8.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent-carte); }
.apercu-titre { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.apercu-texte { font-size: 9.5px; line-height: 1.55; color: #333; }
.apercu-formule { background: #ede9e4; padding: 9px 12px; display: flex; flex-direction: column; gap: 1px; }
.apercu-formule strong { font-size: 13px; font-weight: 600; }
.apercu-code-titre { margin-top: 5px; font-size: 9.5px; font-weight: 600; }
.apercu-code { font-size: 16px; letter-spacing: 1.5px; color: var(--accent-carte); opacity: .45; }
.apercu-validite { font-size: 8px; color: #8A7F78; }
.apercu-mode { padding: 10px 14px 12px; }
.apercu-mode > strong { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 600; }
.apercu-mode p { font-size: 9.5px; line-height: 1.6; color: #333; }
.apercu-pied { color: var(--blanc); font-size: 9.5px; font-style: italic; padding: 9px 10px; }
.apercu-noel .apercu-pied { font-size: 11px; }
.apercu-petit { font-size: 8px; letter-spacing: 1.5px; text-transform: uppercase; color: #8A7F78; }
.choix-cartes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: auto; }
.choix-carte { min-height: 58px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; padding: 12px; border-radius: 12px; font-size: 0.9375rem; cursor: pointer; background: var(--blanc); border: 1px solid var(--trait-fort); }
.choix-carte:hover { border-color: var(--bordeaux); }
.choix-carte[aria-checked="true"] { background: var(--rose-clair); border: 2px solid var(--bordeaux); padding: 11px; }
.choix-carte-ligne { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 6px; width: 100%; } /* le prix passe à la ligne si le texte est agrandi */
/* Cartes cadeaux côte à côte : photo, titre, texte et choix sur les mêmes lignes d'une carte à l'autre (sous-grille). */
@media (min-width: 761px) {
  .cartes-cadeau > .carte { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
  .cartes-cadeau .carte-corps { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 14px; align-content: start; }
  .cartes-cadeau .choix-cartes { margin-top: 6px; }
}
/* Photo et lien « Ce qu'ils vont vivre » : ouvrent le panneau de la formule. */
.carte-photo-bouton { display: block; width: 100%; padding: 0; border: 0; background: none; overflow: hidden; cursor: pointer; }
.carte-photo-bouton:hover .carte-photo-img { transform: scale(1.03); }
/* En bordeaux avec une flèche, pour qu'on voie qu'il se clique ; la flèche avance au survol. */
.lien-vivre { justify-self: start; align-self: start; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; color: var(--bordeaux); }
.lien-vivre:hover { color: var(--bordeaux); }
.lien-vivre .fleche { display: inline-block; margin-left: 6px; font-style: normal; transition: transform .2s ease; }
.lien-vivre:hover .fleche { transform: translateX(3px); }
/* Panneau de formule : trois blocs bien séparés (présentation, versions, déroulé), peu de texte par bloc.
   Les versions reprennent le cadre des choix de la fiche (.choix-version), sans être cliquables. */
.panneau-formule .panneau-photo img { height: 240px; }
.panneau-formule .panneau-corps { gap: 28px; padding-top: 26px; }
.panneau-formule .panneau-pied { margin-top: -4px; }
.formule-bloc { display: flex; flex-direction: column; gap: 12px; }
.formule-version { border: 1px solid var(--trait-fort); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 9px; }
.formule-sous-titre { font-family: var(--serif-titre); font-size: 1.3125rem; font-weight: 600; line-height: 1.2; }
.panneau-formule .deroule li { font-size: 0.9375rem; gap: 14px; }

/* ---------- Panneaux et dialogues ---------- */
dialog { border: 0; padding: 0; color: var(--encre); }
dialog::backdrop { background: rgba(10, 15, 29, .55); }
.panneau-aide, .panneau-option {
  margin: 0 0 0 auto; height: 100%; max-height: 100%; width: 440px; max-width: 100%; background: var(--blanc); overflow-y: auto;
}
.panneau-aide { padding: 24px; }
.panneau-aide[open] { display: flex; flex-direction: column; gap: 4px; }
.panneau-aide[open], .panneau-option[open] { animation: glisse .3s ease both; }
@keyframes glisse { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.panneau-entete { display: flex; justify-content: space-between; align-items: center; }
.aide-theme { margin-top: 18px; }
.panneau-aide .question summary { font-size: 1rem; padding: 12px 0; }
.panneau-aide .reponse { font-size: 0.9375rem; padding: 0 0 12px; }
.aide-pied { margin-top: 20px; padding: 16px; }
.poignee { display: none; width: 44px; height: 4px; border-radius: 999px; background: var(--trait-fort); margin: 10px auto 0; }
.panneau-photo { position: relative; }
.panneau-photo img { width: 100%; height: 220px; object-fit: cover; }
.bouton-rond { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; background: var(--blanc); border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(16, 24, 41, .2); }
.panneau-corps { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 14px; font-size: 1rem; line-height: 1.6; }
.panneau-pied { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--trait); margin-top: 4px; padding-top: 16px; }
.prix-option { font-family: var(--serif-titre); font-size: 1.625rem; font-weight: 600; }
.panneau-pied .btn-option { min-width: 160px; }
.dialogue { width: 440px; max-width: calc(100% - 40px); border-radius: var(--rayon); padding: 28px; text-align: center; }
.dialogue[open] { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.dialogue .lien-sombre { justify-content: center; }
/* Fenêtre « Changer la date » (récapitulatif) : le calendrier de l'étape « Ville et date », sans son cadre. */
.dialogue-date { width: 420px; }
.dialogue-date .calendrier { max-width: none; padding: 4px 0 0; border: 0; border-radius: 0; background: none; }
@media (max-width: 760px) { .dialogue-date { padding: 24px 18px; } }

/* ---------- Bandeau cookies ---------- */
/* Aux couleurs du bandeau du site actuel : bleu nuit, titre en serif, boutons pilule. En bas, sans voile sur la page. */
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 760px; margin: 0 auto; background: var(--bleu-fonce); color: var(--sur-sombre-fort); border: 1px solid var(--bleu-trait); border-radius: var(--rayon); box-shadow: 0 16px 48px rgba(0, 0, 0, .45); padding: 22px 26px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; font-size: 0.9375rem; line-height: 1.55; }
.cookies[hidden] { display: none; }

/* ---------- Bouton « remonter en haut » ---------- */
.haut-de-page {
  position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 10;
  width: 44px; height: 44px; padding: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--creme); color: var(--bordeaux); border: 1px solid var(--trait-fort); box-shadow: 0 6px 18px rgba(10, 15, 29, .16);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility 0s .3s, background-color .2s, color .2s, border-color .2s;
}
.haut-de-page .ico { color: inherit; }
.haut-de-page.est-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) { .haut-de-page:hover { background: var(--bleu); color: var(--blanc); border-color: var(--bleu); } }
.haut-de-page[hidden], .cookies:not([hidden]) ~ .haut-de-page { display: none; }
@media (max-width: 760px) {
  .haut-de-page { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 42px; height: 42px; }
  body:has(.barre-fixe:not([hidden])) .haut-de-page { bottom: calc(96px + env(safe-area-inset-bottom)); }
}
.cookies-texte { flex: 1 1 360px; }
.cookies-titre { font-family: var(--serif-titre); font-size: 1.5rem; font-weight: 600; line-height: 1.2; color: var(--blanc); margin: 0 0 6px; }
.cookies-texte p:not(.cookies-titre) { margin: 0; color: var(--sur-sombre); }
.cookies a { color: var(--rose); text-decoration: underline; text-underline-offset: 2px; }
.cookies a:hover { color: var(--blanc); }
.cookies-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookies-actions .btn { min-width: 120px; }

/* ---------- Pied de page ---------- */
.pied { background: var(--bleu); color: var(--sur-sombre); padding: 56px 0 40px; }
.pied-grille { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.pied-marque { display: flex; flex-direction: column; gap: 12px; max-width: 320px; }
.pied-marque img { height: 36px; width: auto; align-self: flex-start; }
.pied-signature { font-family: var(--serif-titre); font-style: italic; font-size: 1.25rem; color: var(--sur-sombre-fort); }
.pied-liens { display: flex; flex-direction: column; gap: 4px; font-size: 0.9375rem; }
.pied-liens a { color: var(--sur-sombre); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.pied-liens a:hover { color: var(--blanc); text-decoration: underline; }
.pied-bas { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 0.8125rem; color: var(--gris-clair); border-top: 1px solid var(--bleu-trait); margin-top: 28px; padding-top: 28px; }
.pied-bas a, .pied-bas button { color: var(--gris-clair); }

/* ---------- Merci ---------- */
.merci { padding-top: 72px; padding-bottom: 96px; }
.merci-colonne { max-width: 760px; margin: 0 auto; }
.merci .recap-ensuite { margin-top: 12px; }

/* ---------- Entrée du haut de page (une fois, au chargement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-entree] { animation: entree .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero[data-entree] .hero-texte > * { animation: entree .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero[data-entree] .hero-texte > :nth-child(2) { animation-delay: .08s; }
  .hero[data-entree] .hero-texte > :nth-child(3) { animation-delay: .14s; }
  .hero[data-entree] .hero-texte > :nth-child(n+4) { animation-delay: .2s; }
  .hero[data-entree] { animation: none; }
  /* Bandeaux de couleur du haut : le fond reste en place dès l'affichage (sinon le crème du fond
     de page apparaît un instant sous le menu), seul le contenu entre en douceur. */
  section[data-entree]:not(.hero) { animation: none; }
  section[data-entree]:not(.hero) > .wrap { animation: entree .8s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes entree { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Apparition en fondu des valeurs, l'une après l'autre, quand on arrive dessus (2 s sur ordinateur).
   Sur téléphone, les trois mots se révèlent plus vite, sortant d'un léger flou, avec une petite pause avant « Surprises ».
   Sans JavaScript ou avec « réduire les animations », tout reste visible. */
@media (prefers-reduced-motion: no-preference) {
  .js-apparition [data-apparition] { opacity: 0; }
  .js-apparition [data-apparition].apparu { animation: fondu 2s ease var(--delai, 0s) both; }
  .js-apparition .atouts-court [data-apparition].apparu { animation: revelation 1.2s cubic-bezier(.2, .7, .2, 1) var(--delai, 0s) both; }
  @keyframes fondu { from { opacity: 0; } to { opacity: 1; } }
  @keyframes revelation { from { opacity: 0; filter: blur(6px); transform: translateY(8px); } to { opacity: 1; filter: none; transform: none; } }
}

.liens-resume { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.lien-recommencer, .dialogue button.lien-sombre { background: none; border: 0; padding: 0; font-family: inherit; color: var(--gris); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lien-recommencer:hover, .dialogue button.lien-sombre:hover { color: var(--bordeaux); }
/* Tunnel : une question à la fois. Sortie en fondu rapide, arrivée en fondu avec un léger glissement. */
.q-cachee { display: none !important; }
.q-compteur { margin-bottom: -14px; font-size: 0.8125rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gris); }
.q-nav { display: flex; padding-top: 20px; }
.q-nav .btn { flex: 1 1 220px; max-width: 360px; }
@media (prefers-reduced-motion: no-preference) {
  .q-part { opacity: 0; transform: translateY(-6px); transition: opacity .16s ease, transform .16s ease; }
  .q-apparait { animation: q-apparait .45s cubic-bezier(.22, .61, .36, 1) both; }
  @keyframes q-apparait { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

/* ---------- Tablette ---------- */
@media (max-width: 1024px) {
  :root { --marge: 32px; }
  .tunnel { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tunnel > .resume:not(.resume-carte) { display: none; }
  .resume-mobile { display: block; }
  .hscroll { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h1 { font-size: 3.125rem; }
  .nav { gap: 20px; font-size: 1rem; }
  .cartes-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fcards { column-gap: 18px; }
  .fcard-texte { padding: 24px; }
  .fcard-texte h3 { font-size: 1.75rem; }
  .resume-carte { position: static; flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
}

/* ---------- Menu mobile dès 900 px ---------- */
@media (max-width: 900px) {
  .burger { display: flex; }
  .nav { display: none; position: fixed; inset: 84px 0 0 0; background: var(--bleu); flex-direction: column; align-items: stretch; gap: 0; padding: 16px var(--marge) 32px; font-size: 1.375rem; overflow-y: auto; }
  .nav.ouvert { display: flex; }
  .nav-lien { padding: 14px 0; border-bottom: 1px solid var(--bleu-trait); }
  .nav-lien::after { display: none; }
  .nav-cta { margin-top: 24px; }
  body.menu-ouvert { overflow: hidden; }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  :root { --marge: 20px; }
  .g2, .g3, .tunnel { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .h1 { font-size: 2.5rem; }
  .h2 { font-size: 2rem; }
  .h2-moyen { font-size: 1.75rem; }
  .h2-petit { font-size: 1.5rem; }
  .h1-fiche { font-size: 2.25rem; }
  .tunnel-titre { font-size: 1.875rem; }
  .section-sombre, .section-rose { padding: 56px 0; }
  .section-creme { padding: 48px 0; }
  .masque-mobile { display: none; }
  .visible-mobile { display: block; }
  .hero-texte { padding-top: 48px; padding-bottom: 56px; }
  .hero-img { object-position: 72% center; opacity: .55; }
  .hero-voile { background: linear-gradient(180deg, rgba(10, 15, 29, .55) 0%, rgba(10, 15, 29, .75) 100%); }
  .hero .actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-sous { font-size: 1.375rem; }
  .page-accueil #contenu { display: flex; flex-direction: column; }
  .ordre-formules { order: 1; }
  .ordre-formules ~ * { order: 2; }
  .ordre-signature { order: 2; }
  .slogan-heure, .slogan-phrase { font-size: 1.625rem; }
  /* Sur téléphone, le slogan arrive après les formules (fond rose) : pas de « languette » arrondie,
     slogan, valeurs et « Comment cela fonctionne » forment un seul bloc bleu nuit. */
  .slogan-boite { background: none; border-radius: 0; padding-top: 48px; padding-bottom: 0; }
  .valeurs { padding: 20px 0 8px; }
  .slogan, .valeurs { position: relative; z-index: 1; box-shadow: 0 1px 0 var(--bleu); } /* masque le raccord d'un demi-pixel entre blocs */
  /* Filets très fins avant et après le bloc slogan + valeurs, pour le détacher de « Comment cela fonctionne ». */
  .slogan-boite { margin: 0 var(--marge); padding: 28px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .slogan { padding-top: 32px; }
  .valeurs .wrap::after { content: ''; display: block; height: 1px; background: rgba(255, 255, 255, .14); margin-top: 32px; }
  .valeurs { padding-bottom: 0; }
  .valeurs-intro { font-size: 1.0625rem; }
  .atouts-court { margin-top: 28px; }
  .biseau { padding-top: 56px; }
  .biseau::before { display: none; }
  .hero { order: 0; }
  .valeurs-grille { display: none; }
  .atouts-court { display: block; }
  .fcards { flex-direction: column; gap: 16px; }
  .section-rose.avis { padding: 8px 0; } /* le widget a déjà ~33 px en haut et ~57 px en bas : environ 40 px de rose de chaque côté */
  .fcard { flex: none; min-height: 360px; } /* un peu moins de photo au-dessus du texte, même hauteur pour les trois */
  .hscroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin: 0 calc(-1 * var(--marge)); padding: 0 var(--marge) 8px; scrollbar-width: none; }
  .hscroll > * { flex: 0 0 78%; scroll-snap-align: start; }
  .photo-arrondie { height: 260px; }
  .actions > .btn { flex: 1 1 100%; }
  .actions-centre > .btn { flex: 1 1 100%; }
  .actions-droite { justify-content: flex-start; }
  .actions-pile { align-items: stretch; text-align: center; }
  .fiche-photo-col { position: static; }
  .fiche-photo { aspect-ratio: 4 / 3; }
  /* Fiche formule sur téléphone : plus d'air entre les blocs, déroulé encadré comme sur ordinateur. */
  .fiche-achat { gap: 28px; }
  .fiche-achat .info-ligne { align-self: flex-start; margin-top: 4px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--creme); font-size: 0.875rem; }
  .deroule-mobile { padding: 20px 20px 22px; }
  .deroule-mobile .h3 { font-size: 1.1875rem; }
  /* Étapes 1-2-3 en petite frise : pastilles reliées par un fil fin. */
  .deroule-mobile .deroule { gap: 0; }
  .deroule-mobile .deroule li { position: relative; gap: 14px; align-items: flex-start; padding-bottom: 12px; font-size: 0.9375rem; line-height: 1.4; }
  .deroule-mobile .deroule li:last-child { padding-bottom: 0; }
  .deroule-mobile .deroule li:not(:last-child)::before { content: ''; position: absolute; left: 14px; top: 30px; bottom: 2px; width: 1px; background: var(--rose-trait); }
  .deroule-mobile .num { flex: none; width: 29px; height: 29px; border-radius: 50%; background: var(--blanc); border: 1px solid var(--rose-trait); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; line-height: 1; margin-top: -2px; }
  .barre-fixe:not([hidden]) { display: flex; }
  .fiche { padding-bottom: 110px; }
  .vos-questions { padding-top: 48px; }
  .etape-nom { display: none; }
  .etapes { justify-content: space-between; }
  .etape { flex: 0 0 auto; }
  .cartes-options { grid-template-columns: minmax(0, 1fr); }
  .continuer .btn { max-width: none; }
  .grille-adresse { grid-template-columns: minmax(0, 1fr); }
  .concept-hero, .concept-attentions { padding: 56px 0; }
  .concept-dispo { padding: 40px 0; }
  .concept-etapes, .concept-pourquoi { padding: 56px 0; }
  .concept-pourquoi-titre { font-size: 2.5rem; }
  .attentions-grille { gap: 16px; }
  .panneau-aide, .panneau-option { margin: auto 0 0 0; height: auto; max-height: 88vh; width: 100%; border-radius: 20px 20px 0 0; }
  .panneau-aide[open], .panneau-option[open] { animation: monte .3s ease both; }
  @keyframes monte { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  .poignee { display: block; }
  .carte-formulaire { padding: 22px; }
  .recap-carte img { width: 100%; max-height: 180px; }
  .paiement { max-width: none; }
  .cookies { left: 10px; right: 10px; bottom: 10px; padding: 16px; }
  .cookies-actions { width: 100%; }
  .cookies-actions .btn { flex: 1 1 0; }
  .ligne-cta .btn { width: 100%; }
  .newsletter-ligne { grid-template-columns: minmax(0, 1fr); }
  .choix-cartes { grid-template-columns: minmax(0, 1fr); }
  .pied-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .pied-marque { grid-column: 1 / -1; }
}
