/* ============================================================
   MARIAGE LOLA & VINCENT — Octobre 2026
   Style principal — mobile-first, variables CSS, Cormorant Garamond
   ============================================================ */

/* ────────────────────────────────────────────────────────────
   1. VARIABLES & RESET
   ──────────────────────────────────────────────────────────── */
:root {
  /* Palette Provence / Automne */
  --terracotta:    #C4704A;
  --terracotta-f:  #A55A37;   /* terracotta foncé (hover, footer) */
  --ocre:          #D4A853;
  --olive:         #6B7C4E;
  --sauge:         #8A9E7A;
  --creme:         #F5F0E8;
  --fond:          #FAF7F2;
  --texte:         #2D2926;
  --texte-doux:    #6B6058;
  --blanc:         #FFFFFF;

  /* Typographie */
  --ff-serif: 'Cormorant Garamond', Georgia, serif;

  /* Espacements */
  --section-py:  clamp(4rem, 8vw, 8rem);
  --section-px:  clamp(1.25rem, 5vw, 3rem);
  --max-width:   1140px;
  --rayon:       4px;

  /* Nav */
  --nav-h: 70px;

  /* Transitions */
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-serif);
  background-color: var(--fond);
  color: var(--texte);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* ────────────────────────────────────────────────────────────
   2. TYPOGRAPHIE GLOBALE
   ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--ff-serif);
  font-weight: 400;
  line-height: 1.15;
}

h1 { font-size: clamp(3rem, 8vw, 6.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }

p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--texte-doux);
}

/* Étiquette petite / smallcaps */
.label {
  font-family: var(--ff-serif);
  font-size: 0.8rem;
  font-variant: small-caps;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ocre);
}

/* Séparateur décoratif */
.separateur {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}
.separateur::before,
.separateur::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ocre);
  opacity: 0.4;
}
.separateur span {
  color: var(--ocre);
  font-size: 1.1rem;
}

/* ────────────────────────────────────────────────────────────
   3. UTILITAIRES LAYOUT
   ──────────────────────────────────────────────────────────── */
.conteneur {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--section-px);
}

.section-py {
  padding-block: var(--section-py);
}

/* ────────────────────────────────────────────────────────────
   4. BOUTONS
   ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-serif);
  font-size: 1rem;
  font-variant: small-caps;
  letter-spacing: 0.1em;
  padding: 0.8rem 2rem;
  border: 1.5px solid transparent;
  border-radius: var(--rayon);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn-primaire {
  background: var(--terracotta);
  color: var(--creme);
  border-color: var(--terracotta);
}
.btn-primaire:hover,
.btn-primaire:focus-visible {
  background: var(--terracotta-f);
  border-color: var(--terracotta-f);
}

.btn-contour {
  background: transparent;
  color: var(--terracotta);
  border-color: var(--terracotta);
}
.btn-contour:hover,
.btn-contour:focus-visible {
  background: var(--terracotta);
  color: var(--creme);
}

.btn-contour-clair {
  background: transparent;
  color: var(--creme);
  border-color: rgba(245, 240, 232, 0.7);
}
.btn-contour-clair:hover,
.btn-contour-clair:focus-visible {
  background: rgba(245, 240, 232, 0.15);
}

/* ────────────────────────────────────────────────────────────
   5. NAVIGATION
   ──────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}

/* État transparent au-dessus du hero */
.nav--transparent {
  background: transparent;
}

/* État opaque au scroll */
.nav--opaque {
  background: rgba(250, 247, 242, 0.96);
  box-shadow: 0 1px 16px rgba(45, 41, 38, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav__conteneur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--section-px);
}

/* Monogramme */
.nav__logo {
  font-size: 1.5rem;
  color: var(--creme);
  transition: color var(--transition);
  display: flex;
  align-items: center;
}
.nav--opaque .nav__logo {
  color: var(--terracotta);
}

/* Liens de navigation (desktop) */
.nav__liens {
  display: none;
  align-items: center;
  gap: 2.5rem;
}

.nav__lien {
  font-family: var(--ff-serif);
  font-size: 0.82rem;
  font-variant: small-caps;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.9);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}

.nav__lien::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(245, 240, 232, 0.7);
  transition: width var(--transition);
}
.nav__lien:hover::after,
.nav__lien.actif::after {
  width: 100%;
}

.nav__lien.actif,
.nav__lien:hover {
  color: rgba(255, 255, 255, 1);
}

.nav--opaque .nav__lien {
  color: var(--texte-doux);
}
.nav--opaque .nav__lien::after {
  background: var(--terracotta);
}
.nav--opaque .nav__lien.actif,
.nav--opaque .nav__lien:hover {
  color: var(--terracotta);
}

/* Bouton burger (mobile) */
.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  aria-label: "Menu";
}

.nav__burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--creme);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav--opaque .nav__burger span {
  background: var(--texte);
}

/* Burger → croix */
.nav__burger.ouvert span:nth-child(1) {
  transform: translateY(8.25px) rotate(45deg);
}
.nav__burger.ouvert span:nth-child(2) {
  opacity: 0;
}
.nav__burger.ouvert span:nth-child(3) {
  transform: translateY(-8.25px) rotate(-45deg);
}

/* Menu mobile déroulant */
.nav__mobile {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(250, 247, 242, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.5rem var(--section-px) 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-bottom: 1px solid rgba(196, 112, 74, 0.2);
  transform: translateY(-120%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.3s ease;
  pointer-events: none;
}

.nav__mobile.ouvert {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.nav__mobile .nav__lien {
  color: var(--texte);
  font-size: 1.1rem;
  padding: 0.3rem 0;
}

/* Desktop : afficher les liens, masquer le burger */
@media (min-width: 768px) {
  .nav__liens {
    display: flex;
  }
  .nav__burger {
    display: none;
  }
  .nav__mobile {
    display: none !important;
  }
}

/* ────────────────────────────────────────────────────────────
   6. HERO
   ──────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: #2d2420; /* fallback pendant le chargement */
}

/* TODO PHOTO: remplacer l'URL ci-dessous par une photo personnelle haute résolution */
/* Image suggérée : https://unsplash.com/photos/a-view-of-a-mountain-range-with-trees-in-the-foreground-wSRzQLBO1Zw */
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.03);
  transition: transform 8s ease;
}
.hero__bg.charge {
  transform: scale(1);
}

/* Overlay gradient pour lisibilité */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30, 20, 15, 0.3) 0%,
    rgba(30, 20, 15, 0.5) 60%,
    rgba(30, 20, 15, 0.65) 100%
  );
}

.hero__contenu {
  position: relative;
  z-index: 1;
  padding: 2rem var(--section-px);
  max-width: 900px;
}

.hero__date {
  font-size: 1.35rem;
  font-variant: small-caps;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 1);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-shadow: 0 1px 16px rgba(0,0,0,0.6);
}

.hero__date::before,
.hero__date::after {
  content: '';
  display: block;
  width: 3rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}

.hero__titre {
  font-family: var(--ff-serif);
  font-weight: 300;
  font-style: italic;
  color: var(--blanc);
  line-height: 1.05;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero__esperluette {
  color: rgba(255, 255, 255, 0.75);
  display: block;
  font-size: 0.6em;
  line-height: 1.8;
}

.hero__lieu {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: rgba(245, 240, 232, 0.85);
  font-style: italic;
  letter-spacing: 0.05em;
  margin-bottom: 3rem;
}

.hero__cta-groupe {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ────────────────────────────────────────────────────────────
   7. SECTION HISTOIRE
   ──────────────────────────────────────────────────────────── */
.histoire {
  background: var(--fond);
}

.histoire__grille {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.histoire__texte .section-label {
  margin-bottom: 1rem;
  display: block;
}

.histoire__texte h2 {
  margin-bottom: 1.5rem;
  color: var(--texte);
}

.histoire__texte p {
  margin-bottom: 1.2rem;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.85;
}

.histoire__image-wrap {
  position: relative;
}

/* TODO PHOTO: remplacer par une photo de couple ou une photo décorative */
.histoire__image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 8px 8px 0 var(--ocre);
}

.histoire__ornement {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  width: 80px;
  height: 80px;
  border: 1px solid var(--sauge);
  border-radius: 50%;
  opacity: 0.4;
  pointer-events: none;
}

@media (min-width: 768px) {
  .histoire__grille {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

@media (min-width: 1024px) {
  .histoire__grille {
    grid-template-columns: 3fr 2fr;
  }
}

/* ────────────────────────────────────────────────────────────
   8. SECTION LIEU
   ──────────────────────────────────────────────────────────── */
.lieu {
  background: var(--creme);
}

.lieu__titre-wrap {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.lieu__titre-wrap h2 {
  margin-bottom: 1rem;
}

.lieu__titre-wrap p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.lieu__grille {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.lieu__infos {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lieu__adresse {
  font-style: normal;
  font-family: var(--ff-serif);
}
.lieu__adresse p {
  font-size: 1.05rem;
  color: var(--texte-doux);
  line-height: 1.6;
}
.lieu__adresse a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lieu__boutons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Carte OpenStreetMap */
.lieu__carte {
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(45, 41, 38, 0.1);
  line-height: 0;
}
.lieu__carte iframe {
  width: 100%;
  height: 340px;
  border: none;
  filter: sepia(20%) saturate(80%);
}

@media (min-width: 900px) {
  .lieu__grille {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* ────────────────────────────────────────────────────────────
   9. SECTION PROGRAMME — TIMELINE
   ──────────────────────────────────────────────────────────── */
.programme {
  background: var(--fond);
}

.programme__titre-wrap {
  text-align: center;
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 4rem;
}

/* Conteneur des jours */
.programme__jours {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  max-width: 1100px;
  margin-inline: auto;
}

/* Carte jour */
.jour {
  position: relative;
}

.jour__entete {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.jour__numero {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--creme);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-variant: small-caps;
  letter-spacing: 0.05em;
  line-height: 1.2;
}
.jour__numero strong {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
}

.jour__info h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 400;
  color: var(--texte);
}
.jour__info .label {
  font-size: 0.75rem;
}

/* Timeline verticale */
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--ocre), transparent);
  opacity: 0.5;
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.75rem;
  align-items: start;
  padding-bottom: 1.5rem;
}
.timeline__item:last-child {
  padding-bottom: 0;
}

/* Point sur la timeline */
.timeline__item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ocre);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.2);
}

.timeline__heure {
  font-family: var(--ff-serif);
  font-size: 0.9rem;
  font-variant: small-caps;
  letter-spacing: 0.06em;
  color: var(--terracotta);
  padding-top: 0.05em;
  white-space: nowrap;
}

.timeline__evenement {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.timeline__icone {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  color: var(--ocre);
  margin-top: 0.18em;
}

.timeline__nom {
  font-size: 1.05rem;
  color: var(--texte);
  line-height: 1.5;
}
.timeline__note {
  font-size: 0.88rem;
  color: var(--texte-doux);
  font-style: italic;
}

@media (min-width: 768px) {
  .programme__jours {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

/* ────────────────────────────────────────────────────────────
   10. SECTION INFOS PRATIQUES
   ──────────────────────────────────────────────────────────── */
.infos {
  background: var(--creme);
}

.infos__titre-wrap {
  text-align: center;
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.infos__grille {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 570px;
  margin-left: auto;
  margin-right: auto;
}

/* Carte info */
.info-carte {
  background: var(--fond);
  border-radius: 2px;
  padding: 2rem 1.8rem;
  border-top: 3px solid var(--ocre);
  transition: box-shadow var(--transition), transform var(--transition);
}

.info-carte:hover {
  box-shadow: 0 8px 32px rgba(45, 41, 38, 0.08);
  transform: translateY(-2px);
}

.info-carte__icone {
  display: block;
  margin-bottom: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--terracotta);
}

.info-carte--placeholder .info-carte__icone {
  color: var(--sauge);
}

.info-carte__titre {
  font-family: var(--ff-serif);
  font-size: 1.25rem;
  color: var(--texte);
  margin-bottom: 0.6rem;
}

.info-carte__texte {
  font-size: 0.95rem;
  color: var(--texte-doux);
  line-height: 1.7;
}

.info-carte__texte a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.info-carte--placeholder {
  border-top-color: var(--sauge);
  opacity: 0.8;
}
.info-carte--placeholder .info-carte__texte {
  font-style: italic;
  color: var(--sauge);
}

@media (min-width: 600px) {
  .infos__grille {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .infos__grille {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ────────────────────────────────────────────────────────────
   11. SECTION RSVP
   ──────────────────────────────────────────────────────────── */
.rsvp {
  background: var(--fond);
}

.rsvp__titre-wrap {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.rsvp__titre-wrap h2 {
  margin-bottom: 1rem;
}

/* TODO: indiquer la date limite de réponse dans ce paragraphe */
.rsvp__date-limite {
  font-size: 0.85rem;
  font-variant: small-caps;
  letter-spacing: 0.12em;
  color: var(--terracotta);
  margin-top: 0.5rem;
  display: block;
  font-style: italic;
}

.rsvp__formulaire-wrap {
  max-width: 640px;
  margin-inline: auto;
  background: var(--creme);
  border-radius: 2px;
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: 0 4px 32px rgba(45, 41, 38, 0.07);
}

/* Groupes de champs */
.champ {
  margin-bottom: 1.8rem;
}

.champ label,
.champ legend {
  display: block;
  font-family: var(--ff-serif);
  font-size: 0.82rem;
  font-variant: small-caps;
  letter-spacing: 0.15em;
  color: var(--texte-doux);
  margin-bottom: 0.6rem;
}

.champ input[type="text"],
.champ input[type="email"],
.champ textarea,
.champ select {
  width: 100%;
  font-family: var(--ff-serif);
  font-size: 1rem;
  color: var(--texte);
  background: var(--fond);
  border: 1px solid rgba(107, 96, 88, 0.25);
  border-radius: var(--rayon);
  padding: 0.75rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.champ input[type="text"]:focus,
.champ input[type="email"]:focus,
.champ textarea:focus,
.champ select:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(196, 112, 74, 0.12);
}

.champ textarea {
  resize: vertical;
  min-height: 110px;
}

/* Checkboxes présence */
.champ--presences fieldset {
  border: none;
  padding: 0;
}

.champ--presences legend {
  margin-bottom: 0.8rem;
}

.presences__liste {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.presence-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  color: var(--texte);
}

.presence-option input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(107, 96, 88, 0.4);
  border-radius: 2px;
  background: var(--fond);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition);
}

.presence-option input[type="checkbox"]:checked {
  background: var(--terracotta);
  border-color: var(--terracotta);
}

.presence-option input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: 2px solid var(--creme);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.presence-option input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

/* Bouton d'envoi */
.rsvp__bouton {
  width: 100%;
  justify-content: center;
  font-size: 1.1rem;
  padding: 1rem;
  margin-top: 0.5rem;
}

/* Message de succès */
.rsvp__succes {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

.rsvp__succes.visible {
  display: block;
}

.rsvp__succes__icone {
  display: block;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.2rem;
  margin-inline: auto;
  color: var(--terracotta);
}

.rsvp__succes h3 {
  font-size: 2rem;
  color: var(--texte);
  margin-bottom: 0.8rem;
}

.rsvp__succes p {
  font-size: 1.1rem;
  color: var(--texte-doux);
}

/* ────────────────────────────────────────────────────────────
   12. SECTION CADEAUX
   ──────────────────────────────────────────────────────────── */
.cadeaux {
  background: var(--creme);
}

.cadeaux__titre-wrap {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.cadeaux__titre-wrap h2 {
  margin-bottom: 1rem;
}

.cadeaux__titre-wrap p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.cadeaux__sous-titre {
  margin-top: 0.75rem;
  font-style: italic;
  font-size: 0.95rem !important;
  color: var(--texte-doux);
}

.cadeaux__carte {
  max-width: 540px;
  margin-inline: auto;
  background: var(--fond);
  border-radius: 2px;
  border-top: 3px solid var(--ocre);
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: 0 4px 32px rgba(45, 41, 38, 0.07);
}

.cadeaux__entete {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.cadeaux__icone {
  width: 2rem;
  height: 2rem;
  color: var(--terracotta);
  flex-shrink: 0;
}

.cadeaux__details {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cadeaux__ligne {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.5rem 1rem;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(107, 96, 88, 0.12);
}

.cadeaux__ligne:last-child {
  border-bottom: none;
}

.cadeaux__ligne dt {
  font-family: var(--ff-serif);
  font-size: 0.78rem;
  font-variant: small-caps;
  letter-spacing: 0.15em;
  color: var(--texte-doux);
}

.cadeaux__ligne dd {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cadeaux__ligne dd span {
  font-family: var(--ff-serif);
  font-size: 1rem;
  color: var(--texte);
  letter-spacing: 0.04em;
}

#cadeaux-iban {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  word-break: break-all;
}

.cadeaux__copier {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--ff-serif);
  font-size: 0.75rem;
  font-variant: small-caps;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  background: none;
  border: 1px solid rgba(196, 112, 74, 0.35);
  border-radius: var(--rayon);
  padding: 0.25rem 0.6rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.cadeaux__copier:hover,
.cadeaux__copier:focus-visible {
  background: var(--terracotta);
  color: var(--creme);
  border-color: var(--terracotta);
}

.cadeaux__copier svg {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
}

.cadeaux__copier.copie {
  background: var(--olive);
  color: var(--creme);
  border-color: var(--olive);
}

/* ────────────────────────────────────────────────────────────
   13. FOOTER
   ──────────────────────────────────────────────────────────── */
.footer {
  background: var(--terracotta-f);
  color: var(--creme);
  text-align: center;
  padding: 3.5rem var(--section-px);
}

.footer__monogramme {
  font-family: var(--ff-serif);
  font-size: 2.5rem;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: block;
}

.footer__texte {
  font-family: var(--ff-serif);
  font-size: 1rem;
  font-variant: small-caps;
  letter-spacing: 0.15em;
  color: rgba(245, 240, 232, 0.75);
  margin-bottom: 1.2rem;
}

.footer__lien {
  font-size: 0.82rem;
  font-variant: small-caps;
  letter-spacing: 0.1em;
  color: rgba(245, 240, 232, 0.5);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.footer__lien:hover {
  color: var(--ocre);
}

/* ────────────────────────────────────────────────────────────
   13. ANIMATIONS SCROLL
   ──────────────────────────────────────────────────────────── */

/* Éléments invisibles par défaut */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-droite {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-gauche {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Délais en cascade */
.delai-1 { transition-delay: 0.1s; }
.delai-2 { transition-delay: 0.2s; }
.delai-3 { transition-delay: 0.3s; }
.delai-4 { transition-delay: 0.4s; }
.delai-5 { transition-delay: 0.5s; }
.delai-6 { transition-delay: 0.6s; }
.delai-7 { transition-delay: 0.7s; }

/* Classe ajoutée par IntersectionObserver */
.visible {
  opacity: 1 !important;
  transform: none !important;
}

/* Respecter la préférence de l'utilisateur */
@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .slide-droite,
  .slide-gauche {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ────────────────────────────────────────────────────────────
   14. FOCUS VISIBLE (accessibilité clavier)
   ──────────────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ────────────────────────────────────────────────────────────
   15. SÉPARATEURS DÉCORATIFS ENTRE SECTIONS
   ──────────────────────────────────────────────────────────── */
.diviseur {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0;
  gap: 0.8rem;
  color: var(--ocre);
  opacity: 0.5;
  font-size: 0.9rem;
  letter-spacing: 0.3em;
}

/* ────────────────────────────────────────────────────────────
   16. SOUVENIRS — PHOTOS DE JEUNESSE
   ──────────────────────────────────────────────────────────── */
.souvenirs {
  background: var(--creme);
}

.souvenirs__titre-wrap {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.souvenirs__grille {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.6rem, 1.5vw, 1.2rem);
}

.souvenir {
  flex: 0 0 calc(33.333% - clamp(0.4rem, 1vw, 0.8rem));
}

.souvenir img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--rayon);
  display: block;
  box-shadow: 0 4px 16px rgba(45, 41, 38, 0.12);
}

/* ────────────────────────────────────────────────────────────────
   17. ANIMATION CHUTE — flocon au clic
   ──────────────────────────────────────────────────────────────── */

@keyframes chute {
  0%   { opacity: 1; transform: translate(0, 0) rotate(0deg); }
  70%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--derive, 40px), 320px) rotate(var(--rotation, 180deg)); }
}

.flocon {
  position: fixed;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  animation: chute 3.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes feu-artifice {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0) rotate(-20deg); }
  15%  { opacity: 1; transform: translate(-50%, -50%) scale(1.15) rotate(10deg); }
  35%  { transform: translate(-50%, -50%) scale(0.92) rotate(-5deg); }
  55%  { opacity: 1; transform: translate(-50%, -50%) scale(1.05) rotate(3deg); }
  75%  { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.3) rotate(5deg); }
}

.flocon--feu {
  position: fixed;
  width: 500px;
  height: 500px;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  animation: feu-artifice 2.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@media (prefers-reduced-motion: reduce) {
  .flocon { display: none; }
  .flocon--feu { display: none; }
}

/* ────────────────────────────────────────────────────────────────
   18. LIGHTBOX
   ──────────────────────────────────────────────────────────────── */
.souvenir img { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.lightbox[hidden] { display: none; }

.lightbox__img {
  max-width: min(90vw, 900px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--rayon);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.lightbox__fermer,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
  line-height: 1;
  transition: background 0.2s;
}

.lightbox__fermer:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox__fermer {
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  padding: 0.2rem 0.6rem;
}

.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  padding: 0.4rem 0.9rem;
}

.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }

@media (max-width: 600px) {
  .lightbox__prev { left: 0.25rem; }
  .lightbox__next { right: 0.25rem; }
}
