/* Mille Horizons : feuille de style commune à toutes les pages
   Esprit « carnet de voyage vivant » : fond blanc cassé, rose framboise, jaune soleil,
   photos façon polaroïd scotchées, petits mots manuscrits. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/fraunces-latin-full-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("fonts/fraunces-latin-full-italic.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 500; font-display: swap; src: url("fonts/caveat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 700; font-display: swap; src: url("fonts/caveat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 100 900; font-display: swap; src: url("fonts/jost.woff2") format("woff2"); }

:root {
  --blanc: #FFFFFF;
  --creme: #FBF6EC;        /* blanc cassé, fond principal */
  --creme-2: #F5ECDC;      /* bandes alternées */
  --jaune: #E9C54A;        /* soleil, surligneur, tampons */
  --jaune-fonce: #B99525;
  --jaune-pale: #F8E7AE;
  --rose: #B5214A;         /* titres, boutons */
  --rose-fonce: #8E1838;
  --rose-pale: #F6DCE3;
  --encre: #3A2A2E;        /* texte */
  --encre-doux: #6E5C60;

  --f-titre: "Fraunces", Georgia, serif;
  --f-main: "Caveat", "Bradley Hand", cursive;
  --f-texte: "Jost", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  --largeur: 1200px;
  --g: max(20px, env(safe-area-inset-left, 0px));
  --gd: max(20px, env(safe-area-inset-right, 0px));
  --rayon: 26px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 90px; }
html.fluide { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--creme); color: var(--encre);
  font-family: var(--f-texte); font-size: 1.0625rem; line-height: 1.7; font-weight: 350;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px dashed var(--rose); outline-offset: 4px; }
.conteneur { max-width: var(--largeur); margin-inline: auto; padding-left: var(--g); padding-right: var(--gd); }

/* ---------- Typo ---------- */
h1, h2, h3 {
  font-family: var(--f-titre); font-weight: 600; line-height: 1.06; margin: 0;
  letter-spacing: -0.015em; font-variation-settings: "SOFT" 100, "WONK" 1; text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 6.6vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); color: var(--rose); }
h3 { font-size: 1.5rem; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; }
strong { font-weight: 550; }
/* coup de surligneur jaune */
.surligne { background: linear-gradient(transparent 58%, var(--jaune) 58%, var(--jaune) 90%, transparent 90%); padding-inline: .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.note { font-family: var(--f-main); font-weight: 500; font-size: 1.6rem; color: var(--rose); line-height: 1.1; display: inline-block; transform: rotate(-3deg); }
.chapeau { font-size: 1.15rem; max-width: 52ch; }
.discret { color: var(--encre-doux); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none;
  font-family: var(--f-texte); font-weight: 500; font-size: 1rem; line-height: 1.2;
  padding: 15px 26px; border-radius: 999px; min-height: 48px; border: 0; cursor: pointer;
  transition: transform .2s cubic-bezier(.3, 1.6, .5, 1);
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn:active { transform: translateY(3px); }
.btn-rose { background: var(--rose); color: var(--blanc); box-shadow: 0 6px 0 var(--rose-fonce); }
.btn-rose:active { box-shadow: 0 3px 0 var(--rose-fonce); }
.btn-jaune { background: var(--jaune); color: var(--encre); box-shadow: 0 6px 0 var(--jaune-fonce); }
.btn-jaune:active { box-shadow: 0 3px 0 var(--jaune-fonce); }
.btn-lien { padding-inline: 4px; color: inherit; text-decoration: underline wavy var(--jaune) 3px; text-underline-offset: 7px; }
.btn-lien:hover { transform: none; color: var(--rose); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Bandeau des fêtes (pages intérieures) ---------- */
html:not(.cadeau) .si-cadeau { display: none !important; }
html:not(.fetes) .si-fetes { display: none !important; }
.hero-fetes, .bandeau-fetes { display: none; }
.fetes .hero-fetes, .fetes .bandeau-fetes { display: block; }
.fetes .hero-normal { display: none; }
.bandeau-fetes {
  margin: 0; background: var(--jaune); color: var(--encre); text-align: center;
  font-size: .95rem; line-height: 1.4; padding: 9px var(--gd) 9px var(--g); font-weight: 450;
}
.bandeau-fetes a { color: var(--rose-fonce); font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--creme) 92%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 8px; }
.entete .logo { flex: none; }
.entete .logo img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); white-space: nowrap; }
.nav-liens { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav-liens a { text-decoration: none; font-weight: 450; font-size: .98rem; position: relative; }
.nav-liens a:hover, .nav-liens a[aria-current="page"] { color: var(--rose); }
.nav-liens a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 3px; background: var(--jaune); }
.nav .lien-cadeau { color: var(--rose); font-weight: 600; }
.nav .btn { padding: 11px 20px; font-size: .92rem; min-height: 44px; box-shadow: 0 4px 0 var(--rose-fonce); }
.menu-btn {
  display: none; width: 46px; height: 46px; padding: 0; border-radius: 50%;
  border: 2px solid var(--encre); background: var(--blanc); color: var(--encre);
  place-items: center; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .fermer, .menu-btn[aria-expanded="true"] .ouvrir { display: none; }
.menu-btn[aria-expanded="true"] .fermer { display: block; }

/* ---------- Polaroïds, scotch, tampons ---------- */
.polaroid {
  margin: 0; background: var(--blanc); padding: 10px 10px 42px; border-radius: 4px; position: relative;
  box-shadow: 0 22px 40px -20px rgba(58, 20, 30, .5);
  transform: rotate(var(--rot, -4deg));
  transition: transform .4s cubic-bezier(.3, 1.5, .5, 1);
}
.polaroid:hover { transform: rotate(0deg) scale(1.03); z-index: 5; }
.polaroid img { width: 100%; aspect-ratio: var(--ratio, 1); object-fit: cover; border-radius: 2px; }
.polaroid figcaption {
  position: absolute; left: 6px; right: 6px; bottom: 7px; text-align: center;
  font-family: var(--f-main); font-weight: 500; font-size: 1.4rem; line-height: 1; color: var(--encre);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.scotch::before {
  content: ""; position: absolute; z-index: 2; top: -13px; left: 50%; width: 92px; height: 26px; margin-left: -46px;
  background: color-mix(in srgb, var(--jaune) 72%, transparent); transform: rotate(var(--srot, -4deg));
}
.tampon {
  width: var(--taille, 130px); aspect-ratio: 1; border-radius: 50%; flex: none;
  background: var(--jaune); color: var(--rose-fonce); display: grid; place-items: center; text-align: center;
  font-family: var(--f-titre); font-weight: 800; line-height: 1; transform: rotate(12deg);
  box-shadow: 0 0 0 6px var(--jaune), 0 0 0 8px var(--rose-fonce), 0 18px 30px -12px rgba(0, 0, 0, .35);
}
.tampon .gros { display: block; font-size: calc(var(--taille, 130px) * .3); }
.tampon .petit { display: block; font-family: var(--f-main); font-weight: 700; font-size: calc(var(--taille, 130px) * .15); margin-top: 3px; }
.vague { display: block; width: 100%; height: clamp(46px, 7vw, 90px); }

/* ---------- Hero de Noël ---------- */
.noel {
  position: relative; overflow: hidden; isolation: isolate; color: var(--creme);
  background:
    radial-gradient(ellipse 60% 70% at 80% 30%, color-mix(in srgb, var(--jaune) 45%, transparent), transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 100%, color-mix(in srgb, #FF7A9C 35%, transparent), transparent 70%),
    linear-gradient(160deg, #C42752 0%, var(--rose) 45%, #7E1433 100%);
  padding-top: clamp(36px, 6vw, 80px);
}
.noel .vague { color: var(--creme); margin-top: clamp(30px, 5vw, 60px); margin-bottom: -1px; }
.etoiles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.etoiles i {
  position: absolute; width: var(--t, 6px); height: var(--t, 6px); border-radius: 50%;
  background: var(--jaune-pale); box-shadow: 0 0 12px 2px color-mix(in srgb, var(--jaune) 70%, transparent);
  opacity: .2; animation: scintille var(--d, 3s) ease-in-out infinite; animation-delay: var(--r, 0s);
}
.etoiles i.croix { background: none; box-shadow: none; width: 18px; height: 18px; }
.etoiles i.croix::before, .etoiles i.croix::after { content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 100%; margin-left: -1px; background: var(--jaune-pale); border-radius: 2px; }
.etoiles i.croix::after { transform: rotate(90deg); }
@keyframes scintille { 50% { opacity: 1; transform: scale(1.3); } }
.noel .conteneur { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.noel-texte { display: grid; gap: 22px; justify-items: start; }
.noel .psst { font-family: var(--f-main); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--jaune); transform: rotate(-2deg); line-height: 1.1; }
.noel h1 { color: var(--blanc); }
.noel .surligne { background-image: linear-gradient(transparent 62%, color-mix(in srgb, var(--jaune) 85%, transparent) 62%, color-mix(in srgb, var(--jaune) 85%, transparent) 92%, transparent 92%); }
.noel .chapeau { color: color-mix(in srgb, var(--creme) 94%, transparent); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 6px; }
.noel .btn-lien { color: var(--creme); }
.compte {
  display: inline-flex; align-items: center; gap: 12px; font-size: .95rem; line-height: 1.3;
  background: color-mix(in srgb, var(--blanc) 14%, transparent); border: 1px solid color-mix(in srgb, var(--blanc) 30%, transparent);
  padding: 8px 16px 8px 8px; border-radius: 999px;
}
.compte strong { font-family: var(--f-titre); font-size: 1.4rem; font-weight: 700; color: var(--jaune); background: var(--rose-fonce); border-radius: 999px; min-width: 44px; height: 38px; display: grid; place-items: center; padding-inline: 8px; flex: none; }

/* la scène : enveloppe ouverte, carte qui en sort, polaroïds */
.scene { position: relative; height: clamp(380px, 44vw, 520px); }
.scene .polaroid { position: absolute; width: var(--w, 40%); }
.enveloppe { position: absolute; left: 14%; right: 6%; bottom: 0; height: 40%; z-index: 3; }
.enveloppe .fond { position: absolute; inset: 0; background: var(--creme); border-radius: 10px; box-shadow: 0 30px 50px -20px rgba(40, 8, 18, .6); }
.enveloppe .rabat { position: absolute; inset: 0; background: linear-gradient(160deg, #FFFDF7, var(--creme-2)); clip-path: polygon(0 0, 50% 55%, 100% 0, 100% 100%, 0 100%); border-radius: 10px; }
.enveloppe .cachet {
  position: absolute; left: 50%; top: 42%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #D4365F, var(--rose) 60%, var(--rose-fonce));
  box-shadow: 0 4px 10px rgba(60, 10, 25, .35), inset 0 0 0 4px color-mix(in srgb, var(--rose-fonce) 50%, transparent);
  display: grid; place-items: center; color: var(--jaune-pale); font-size: 1.3rem;
}
.enveloppe .ruban { position: absolute; right: 9%; bottom: 14%; transform: rotate(-6deg); font-family: var(--f-main); font-weight: 500; font-size: 1.6rem; color: var(--rose); white-space: nowrap; }
.carte-cadeau {
  position: absolute; left: 19%; right: 11%; bottom: 17%; aspect-ratio: 1.6; z-index: 2;
  background: radial-gradient(circle at 85% 0%, color-mix(in srgb, var(--jaune) 60%, transparent), transparent 55%), var(--blanc);
  border-radius: 14px; padding: clamp(14px, 2.4vw, 22px); color: var(--rose);
  transform: rotate(-5deg); box-shadow: 0 -10px 40px -20px rgba(40, 8, 18, .5);
  display: grid; align-content: start; gap: clamp(6px, 1.4vw, 14px);
  animation: sortir 6s ease-in-out infinite;
}
@keyframes sortir { 50% { transform: rotate(-3deg) translateY(-14px); } }
.carte-cadeau .haut { display: flex; justify-content: space-between; align-items: center; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.carte-cadeau .titre { font-family: var(--f-main); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1; }
.scene .tampon { position: absolute; z-index: 6; left: -4%; bottom: 4%; --taille: clamp(104px, 12vw, 136px); animation: tourne 12s ease-in-out infinite; }
@keyframes tourne { 50% { transform: rotate(-6deg) scale(1.05); } }

/* ---------- Hero normal ---------- */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(20px, 3vw, 40px); }
.hero .conteneur { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero-texte { display: grid; gap: 22px; justify-items: start; }
.hero h1 { color: var(--rose); }
.collage-hero { position: relative; height: clamp(380px, 44vw, 520px); }
.collage-hero .polaroid { position: absolute; width: var(--w, 50%); }
.collage-hero .note { position: absolute; z-index: 3; }
.collage-hero::before { content: ""; position: absolute; z-index: -1; width: 78%; aspect-ratio: 1; border-radius: 50%; left: 14%; top: 8%; background: radial-gradient(circle, var(--jaune) 0 58%, color-mix(in srgb, var(--jaune) 0%, transparent) 72%); opacity: .85; }
.hero .conteneur { position: relative; isolation: isolate; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(70px, 10vw, 130px); position: relative; }
.section-serree { padding-block: clamp(44px, 6vw, 80px); }
.fond-blanc { background: var(--blanc); }
.fond-creme { background: var(--creme-2); }
.titre-section { display: grid; gap: 12px; justify-items: center; text-align: center; margin-bottom: clamp(40px, 6vw, 64px); }
.titre-section p { max-width: 58ch; color: var(--encre-doux); font-size: 1.1rem; }
.titre-section h2 em, .texte-flux h2 em, .page-tete h1 em { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--jaune) 70%, transparent) 62%, color-mix(in srgb, var(--jaune) 70%, transparent) 90%, transparent 90%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-inline: .06em; }
.contact .titre-section h2 em { background: none; color: var(--jaune); }
/* section jaune soleil */
.fond-jaune { background: var(--jaune); }
.fond-jaune h2 { color: var(--rose-fonce); }
.fond-jaune .titre-section h2 em { background: none; }
.fond-jaune .titre-section p, .fond-jaune .etape p { color: var(--encre); }
.fond-jaune .note, .fond-jaune .etape .num { color: var(--rose-fonce); }
.fond-jaune .etapes::before { border-top-color: var(--blanc); }
.fond-jaune .etape .emoji { background: var(--blanc); border-color: var(--jaune); box-shadow: 0 0 0 3px var(--blanc), 0 14px 24px -14px rgba(90, 60, 0, .5); }
.fond-jaune .avion { color: var(--rose-fonce); }
.fond-jaune a:not(.btn) { color: var(--rose-fonce); }
.page-tete { padding-block: clamp(44px, 7vw, 90px) clamp(10px, 2vw, 24px); }
.page-tete .conteneur { display: grid; justify-items: center; text-align: center; gap: 18px; }
.page-tete h1 { color: var(--rose); }

/* Nous, en vrai */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.collage { position: relative; height: clamp(420px, 48vw, 560px); }
.collage .polaroid { position: absolute; }
.collage .grande { width: 70%; --rot: -4deg; left: 0; top: 4%; --ratio: 4 / 4.4; }
.collage .petite { width: 44%; --rot: 7deg; --srot: 6deg; right: 0; bottom: 0; --ratio: 4 / 5; }
.collage .fleche { position: absolute; right: -2%; top: 0; width: 32%; text-align: center; }
.collage .fleche svg { width: 80px; height: 60px; color: var(--rose); margin: 4px auto 0; transform: scaleX(-1); }
.texte-flux { display: grid; gap: 20px; justify-items: start; }
.texte-flux p { font-size: 1.1rem; }
.signature { font-family: var(--f-main); font-weight: 500; font-size: 2.4rem; color: var(--rose); transform: rotate(-3deg); line-height: 1; }

/* Ce qu'on est / ce qu'on n'est pas */
.oui-non { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3vw, 36px); }
.carte-liste { border-radius: var(--rayon); padding: clamp(26px, 3.5vw, 42px); display: grid; gap: 20px; align-content: start; }
.carte-liste h3 { font-size: 1.8rem; }
.carte-liste.oui { background: var(--blanc); border-top: 8px solid var(--jaune); transform: rotate(-.6deg); box-shadow: 0 30px 50px -36px rgba(58, 20, 30, .5); }
.carte-liste.oui h3 { color: var(--rose); }
.carte-liste.non { background: var(--rose); color: color-mix(in srgb, var(--creme) 90%, transparent); transform: rotate(.6deg); box-shadow: 0 30px 50px -30px rgba(58, 20, 30, .6); }
.carte-liste.non h3 { color: var(--blanc); }
.liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.liste li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; line-height: 1.6; }
.liste li::before {
  content: ""; width: 30px; height: 30px; border-radius: 50%; margin-top: 0; background: center / 15px no-repeat;
  background-color: var(--jaune-pale);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.5l3 3 6-7' fill='none' stroke='%23B5214A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.carte-liste.non .liste li::before {
  background-color: color-mix(in srgb, var(--blanc) 16%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 4l6 6M10 4l-6 6' fill='none' stroke='%23E9C54A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.liste strong { color: var(--rose); }
.carte-liste.non .liste strong { color: var(--jaune); }
.citation { margin: 48px auto 0; max-width: 40ch; text-align: center; font-family: var(--f-main); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.2; color: var(--rose); }

/* Vidéo */
.video {
  position: relative; display: block; border-radius: var(--rayon); overflow: hidden; aspect-ratio: 16 / 9; max-width: 980px; margin-inline: auto;
  background: var(--encre); box-shadow: 0 40px 70px -40px rgba(58, 42, 46, .6);
}
.video img, .video video, .video iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.video .voile { position: absolute; inset: 0; background: linear-gradient(to top, rgba(58, 20, 30, .6), transparent 55%); }
.video .play { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; background: var(--jaune); display: grid; place-items: center; box-shadow: 0 0 0 12px color-mix(in srgb, var(--jaune) 35%, transparent); }
.video .play svg { width: 34px; height: 34px; margin-left: 6px; color: var(--rose); }
.video .legende { position: absolute; left: 28px; bottom: 22px; right: 28px; color: var(--blanc); font-family: var(--f-main); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1; }
.video .a-venir { position: absolute; right: 18px; top: 18px; background: var(--blanc); color: var(--rose); font-weight: 600; font-size: .85rem; padding: 6px 14px; border-radius: 999px; }

/* Comment ça marche : un itinéraire */
.etapes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 26px; position: relative; }
.etapes::before { content: ""; position: absolute; left: 10%; right: 10%; top: 44px; border-top: 3px dashed var(--jaune); }
.etape { display: grid; gap: 10px; justify-items: center; align-content: start; text-align: center; position: relative; }
.etape .emoji { width: 88px; height: 88px; border-radius: 50%; background: var(--creme); border: 3px solid var(--blanc); box-shadow: 0 0 0 3px var(--jaune); display: grid; place-items: center; font-size: 2.3rem; transform: rotate(var(--r, -6deg)); }
.etape .num { font-family: var(--f-main); font-weight: 500; font-size: 1.5rem; color: var(--rose); line-height: 1; }
.etape h3 { font-size: 1.4rem; }
.etape p { font-size: 1rem; color: var(--encre-doux); max-width: 30ch; }
.avion { position: absolute; top: 30px; left: 6%; width: 30px; height: 30px; color: var(--rose); animation: vole 10s linear infinite; }
@keyframes vole { from { left: 8%; } to { left: 88%; } }

/* Album photo */
.galerie { columns: 3 240px; column-gap: 20px; }
.galerie > * { break-inside: avoid; margin: 0 0 20px; }
.galerie figure { position: relative; border-radius: 18px; overflow: hidden; background: var(--blanc); }
.galerie > :nth-child(3n+1) { transform: rotate(-1.2deg); }
.galerie > :nth-child(3n+2) { transform: rotate(1deg); }
.galerie img { width: 100%; height: auto; }
.galerie figcaption { position: absolute; left: 14px; bottom: 12px; background: var(--jaune); color: var(--encre); font-family: var(--f-main); font-weight: 500; font-size: 1.3rem; line-height: 1; padding: 6px 12px 8px; border-radius: 10px; transform: rotate(-2deg); }
.emplacement {
  aspect-ratio: var(--ratio, 4 / 5); border-radius: 18px;
  border: 3px dashed color-mix(in srgb, var(--rose) 45%, transparent);
  background: repeating-linear-gradient(45deg, var(--rose-pale), var(--rose-pale) 14px, color-mix(in srgb, var(--rose-pale) 60%, var(--blanc)) 14px 28px);
  display: grid; place-content: center; text-align: center; gap: 6px; padding: 20px; color: var(--rose);
}
.emplacement .note { transform: none; }
.emplacement small { font-size: .9rem; color: var(--encre-doux); }

/* Envies d'ailleurs */
.destinations { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.dest { position: relative; margin: 0; border-radius: 200px 200px 22px 22px; overflow: hidden; aspect-ratio: 3 / 4.2; color: var(--blanc); }
.dest img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.dest:hover img { transform: scale(1.06); }
.dest::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to top, rgba(90, 14, 36, .82), transparent); }
.dest figcaption { position: absolute; z-index: 1; left: 0; right: 0; bottom: 18px; text-align: center; font-family: var(--f-main); font-weight: 500; font-size: 2rem; line-height: 1; padding-inline: 10px; }
.dest small { display: block; font-family: var(--f-texte); font-size: .76rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--jaune); margin-top: 6px; }
.dest.ailleurs { background: var(--blanc); color: var(--encre); border: 3px dashed var(--jaune); display: grid; place-content: center; justify-items: center; gap: 10px; padding: 50px 20px 24px; text-align: center; }
.dest.ailleurs::after { display: none; }
.dest.ailleurs .note { font-size: 2.2rem; transform: rotate(-4deg); }
.dest.ailleurs p { font-size: .98rem; }
.credit-photos { margin-top: 18px; text-align: center; font-size: .8rem; color: var(--encre-doux); }

/* Prix en une phrase */
.prix {
  background: var(--jaune); border-radius: 40px; padding: clamp(30px, 5vw, 60px);
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 50px); align-items: center;
  position: relative; overflow: hidden;
}
.prix .chiffre { font-family: var(--f-titre); font-weight: 800; font-size: clamp(4.5rem, 11vw, 8rem); line-height: .85; color: var(--rose); letter-spacing: -0.04em; }
.prix h2 { color: var(--encre); font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.prix p { margin-top: 10px; font-size: 1.08rem; max-width: 52ch; }
.prix a:not(.btn) { color: var(--rose-fonce); font-weight: 550; }

/* Carte cadeau sur l'accueil */
.cadeau-teaser {
  background: var(--jaune); color: var(--encre); border-radius: 40px;
  padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 48px); align-items: center;
  box-shadow: 0 30px 50px -30px rgba(58, 20, 30, .6);
}
.cadeau-teaser h2 { color: var(--encre); font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-top: 6px; }
.cadeau-teaser h2 em { color: var(--rose); }
.cadeau-teaser .note { color: var(--rose-fonce); }
.cadeau-teaser p { margin-top: 10px; max-width: 56ch; }
.occasions { display: grid; grid-template-columns: repeat(2, 64px); gap: 10px; }
.occasions span { width: 64px; height: 64px; border-radius: 50%; background: var(--blanc); display: grid; place-items: center; font-size: 1.9rem; }
.occasions span:nth-child(odd) { transform: rotate(-8deg); }
.occasions span:nth-child(even) { transform: rotate(8deg) translateY(8px); }

/* Pour quelle occasion ? */
.grille-occasions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.occasion { background: var(--blanc); border-radius: var(--rayon); padding: 24px 24px 26px; display: grid; gap: 8px; align-content: start; box-shadow: 0 24px 40px -32px rgba(58, 20, 30, .5); }
.occasion:nth-child(odd) { transform: rotate(-.8deg); }
.occasion:nth-child(even) { transform: rotate(.8deg); }
.occasion .emoji { width: 58px; height: 58px; border-radius: 50%; background: var(--jaune); display: grid; place-items: center; font-size: 1.7rem; }
.occasion h3 { font-size: 1.35rem; color: var(--rose); }
.occasion p { font-size: .98rem; color: var(--encre-doux); }
.occasion.vedette { grid-column: span 2; background: var(--rose); color: var(--creme); }
.occasion.vedette h3 { color: var(--blanc); font-size: 1.7rem; }
.occasion.vedette p { color: color-mix(in srgb, var(--creme) 92%, transparent); font-size: 1.05rem; }
.occasion.vedette .note { color: var(--jaune); margin-top: 4px; }
.occasion.vedette h3 { margin-top: 2px; }
/* les étoiles ne brillent qu'à Noël */
html:not(.fetes) .etoiles { display: none; }

/* Contact */
.contact { background: var(--rose); color: var(--creme); overflow: hidden; }
.contact h2 { color: var(--blanc); }
.contact .titre-section p { color: color-mix(in srgb, var(--creme) 90%, transparent); }
.contact .note { color: var(--jaune); }
.formulaire, .form-merci {
  max-width: 720px; margin-inline: auto; background: var(--creme); color: var(--encre);
  border-radius: 30px; padding: clamp(24px, 4vw, 44px); position: relative;
  box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .45);
}
.formulaire { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; transform: rotate(-.6deg); }
.formulaire > .tampon { position: absolute; right: -24px; top: -44px; --taille: 104px; }
.champ { display: grid; gap: 6px; min-width: 0; }
.champ-large { grid-column: 1 / -1; }
.champ label, .champ legend { font-weight: 500; font-size: .95rem; color: var(--rose); padding: 0; }
.champ .facultatif { font-weight: 350; color: var(--encre-doux); }
.champ .aide { font-size: .85rem; color: var(--encre-doux); line-height: 1.4; }
.champ input, .champ textarea, .champ select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--encre); background: var(--blanc);
  border: 2px solid var(--creme-2); border-radius: 14px; padding: 12px 14px; min-height: 50px;
  transition: border-color .15s, box-shadow .15s;
}
.champ textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.champ input::placeholder, .champ textarea::placeholder { color: color-mix(in srgb, var(--encre-doux) 65%, transparent); }
.champ input:focus, .champ textarea:focus, .champ select:focus { outline: none; border-color: var(--jaune); box-shadow: 0 0 0 4px color-mix(in srgb, var(--jaune) 30%, transparent); }
.champ [aria-invalid="true"] { border-color: var(--rose); }
fieldset.champ { border: 0; margin: 0; padding: 0; }
.choix { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.choix label { display: inline-flex; align-items: center; gap: 8px; font-size: 1rem; color: var(--encre); font-weight: 350; cursor: pointer; }
.choix input { accent-color: var(--rose); width: 18px; height: 18px; min-height: 0; }
.pot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-bas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 4px; }
.form-note { font-size: .85rem; line-height: 1.5; flex: 1 1 220px; color: var(--encre-doux); }
.form-note a { color: var(--rose); }
.form-erreur { grid-column: 1 / -1; color: var(--rose-fonce); font-size: .95rem; background: var(--rose-pale); padding: 10px 14px; border-radius: 12px; }
.form-merci { text-align: center; display: grid; gap: 10px; justify-items: center; }
.form-merci:focus { outline: none; }
.form-merci .note { font-size: 3rem; color: var(--rose); }
.form-merci strong { color: var(--rose); overflow-wrap: anywhere; }
.form-merci .spam { font-size: .92rem; margin-top: 6px; padding: 12px 16px; border-radius: 14px; background: var(--jaune-pale); }
.contact .apres { text-align: center; margin-top: 34px; display: grid; gap: 8px; justify-items: center; }
.contact .apres .note { font-size: 1.7rem; }
.contact .apres a { color: var(--blanc); text-decoration-color: var(--jaune); text-underline-offset: 4px; }
.calcul-resultat { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.calcul-resultat div { background: var(--jaune-pale); border-radius: 16px; padding: 14px 16px; display: grid; gap: 2px; }
.calcul-resultat small { font-size: .85rem; line-height: 1.35; }
.calcul-resultat strong { font-family: var(--f-titre); font-size: 1.9rem; font-weight: 700; color: var(--rose); line-height: 1.1; }

/* Cartes de contenu (tarifs, carte cadeau) */
.carte-blanche { background: var(--blanc); border-radius: var(--rayon); padding: clamp(24px, 4vw, 44px); box-shadow: 0 30px 50px -36px rgba(58, 20, 30, .5); display: grid; gap: 16px; align-content: start; }
.prix-cle { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.prix-chiffre { font-family: var(--f-titre); font-weight: 800; color: var(--rose); font-size: clamp(5.5rem, 13vw, 9rem); line-height: .85; text-align: center; letter-spacing: -0.04em; }
.prix-chiffre small { display: block; margin-top: 14px; font-family: var(--f-main); font-weight: 500; font-size: 1.6rem; letter-spacing: 0; color: var(--encre); line-height: 1.1; }
.deux-cas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 30px); margin-top: 36px; }
.cas { border: 3px dashed var(--jaune); border-radius: var(--rayon); padding: clamp(22px, 3vw, 34px); display: grid; gap: 10px; align-content: start; background: var(--blanc); }
.cas .emoji { font-size: 2rem; }
.cas .base { font-family: var(--f-main); font-weight: 500; font-size: 1.6rem; color: var(--rose); line-height: 1.1; }
.tableau { overflow-x: auto; margin-top: 30px; }
.exemples { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; background: var(--blanc); border-radius: 20px; overflow: hidden; }
.exemples th, .exemples td { padding: 14px 16px; text-align: right; border-bottom: 1px solid var(--creme-2); }
.exemples th:first-child, .exemples td:first-child { text-align: left; }
.exemples thead th { background: var(--rose); color: var(--blanc); font-weight: 500; font-size: .9rem; }
.exemples td strong { color: var(--rose); }
.exemples tr:last-child td { border-bottom: 0; }
.planete {
  background: var(--rose); color: color-mix(in srgb, var(--creme) 92%, transparent);
  border-radius: 40px; padding: clamp(28px, 5vw, 56px);
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center;
}
.planete h2 { color: var(--blanc); font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.planete .chiffre { font-family: var(--f-titre); font-weight: 800; font-size: clamp(4rem, 9vw, 6.5rem); line-height: .9; color: var(--jaune); text-align: center; }
.planete .chiffre small { display: block; font-family: var(--f-main); font-weight: 500; font-size: 1.5rem; margin-top: 8px; color: var(--creme); }
.planete-texte { display: grid; gap: 14px; }
.planete strong { color: var(--jaune); }
.planete a { color: var(--jaune); }

/* Questions fréquentes */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--blanc); border-radius: 18px; border: 2px solid var(--creme-2); }
.faq details[open] { border-color: var(--jaune); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative;
  font-family: var(--f-titre); font-size: 1.2rem; font-weight: 600; color: var(--encre); line-height: 1.3;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background: var(--jaune-pale); color: var(--rose); display: grid; place-items: center; font-family: var(--f-texte); font-size: 1.3rem; font-weight: 500; transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 20px; display: grid; gap: 10px; }
.faq a { color: var(--rose); }

/* ---------- Pied de page ---------- */
.pied { background: var(--rose-fonce); color: var(--creme); padding-block: 60px 34px; text-align: center; border-top: 10px solid var(--jaune); }
.pied .conteneur { display: grid; gap: 22px; justify-items: center; }
.pied .logo-pied { width: 220px; height: auto; }
.pied .insta { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-main); font-weight: 500; font-size: 1.8rem; line-height: 1.1; color: var(--jaune); text-decoration: none; }
.pied .insta:hover { text-decoration: underline; }
.pied .mail { color: var(--blanc); text-underline-offset: 4px; text-decoration-color: var(--jaune); }
.pied .reseaux { display: flex; gap: 14px; }
.pied .reseaux a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--blanc) 12%, transparent); color: var(--creme); transition: background .15s, transform .15s; }
.pied .reseaux a:hover { background: var(--jaune); color: var(--rose-fonce); transform: rotate(-8deg); }
.pied .reseaux svg { width: 20px; height: 20px; }
.pied .liens { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-size: .9rem; }
.pied .liens a { color: color-mix(in srgb, var(--creme) 85%, transparent); text-decoration: none; }
.pied .liens a:hover { color: var(--jaune); }
.pied small { opacity: .7; font-size: .8rem; }

/* ---------- Bandeau cookies ---------- */
.cookies {
  position: fixed; z-index: 40; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 520px; margin-inline: auto;
  background: var(--blanc); color: var(--encre); border-radius: 22px; border: 3px solid var(--jaune);
  box-shadow: 0 20px 50px -20px rgba(58, 20, 30, .45);
  padding: 16px 20px; display: grid; gap: 12px; font-size: .95rem; line-height: 1.5;
}
.cookies strong { font-family: var(--f-main); font-weight: 700; font-size: 1.6rem; color: var(--rose); display: block; line-height: 1; margin-bottom: 4px; }
.cookies-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.cookies .btn { padding: 10px 20px; min-height: 42px; font-size: .9rem; box-shadow: 0 4px 0 var(--rose-fonce); }
.cookies a:not(.btn) { color: var(--rose); font-size: .9rem; }

/* ---------- Apparition douce (contenu visible par défaut) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .revele { transform: translateY(16px); transition: transform .9s ease; }
  .js .revele.vu { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.fluide { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .menu-btn { display: grid; }
  .nav { gap: 10px; }
  .nav-liens {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--creme); box-shadow: 0 24px 40px -30px rgba(58, 20, 30, .45);
    padding: 6px var(--gd) 16px var(--g);
  }
  .nav-liens.ouverte { display: flex; }
  .nav-liens a { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px dashed color-mix(in srgb, var(--jaune) 70%, transparent); }
  .nav-liens a:last-child { border-bottom: 0; }
  .nav-liens a[aria-current="page"]::after { display: none; }
  .destinations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .noel .conteneur, .hero .conteneur, .duo { grid-template-columns: 1fr; }
  .scene, .collage-hero { height: 400px; max-width: 460px; width: 100%; justify-self: center; }
  .collage { max-width: 480px; width: 100%; justify-self: center; }
  .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .etapes::before, .avion { display: none; }
  .prix, .prix-cle, .planete, .deux-cas, .oui-non, .cadeau-teaser { grid-template-columns: 1fr; }
  .grille-occasions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .occasion.vedette { grid-column: 1 / -1; }
  .planete .chiffre, .prix-chiffre { text-align: left; }
  .carte-liste.oui, .carte-liste.non { transform: none; }
}
@media (max-width: 520px) {
  .entete .logo img { height: 42px; }
  .nav .btn { padding: 10px 14px; font-size: .85rem; }
  .menu-btn { width: 42px; height: 42px; }
  .scene, .collage-hero { height: 330px; }
  .enveloppe { left: 10%; right: 2%; height: 36%; }
  .carte-cadeau { left: 14%; right: 6%; bottom: 20%; padding: 12px 14px; gap: 4px; }
  .carte-cadeau .haut { font-size: .62rem; letter-spacing: .14em; }
  .carte-cadeau .haut span + span { display: none; }
  .carte-cadeau .titre { font-size: 1.45rem; }
  .scene .tampon { left: 0; bottom: 2%; }
  .collage { height: 380px; }
  .etapes { grid-template-columns: 1fr; }
  .formulaire { grid-template-columns: 1fr; transform: none; }
  .formulaire > .tampon { right: -4px; top: -54px; --taille: 88px; }
  .form-bas .btn { width: 100%; }
  .calcul-resultat { grid-template-columns: 1fr; }
  .grille-occasions { grid-template-columns: 1fr; }
  .occasion:nth-child(n) { transform: none; }
  .exemples th, .exemples td { padding: 12px 8px; font-size: .92rem; }
  .dest figcaption { font-size: 1.6rem; }
}
