/* ==========================================================================
   Lionel & Ariane — Mariage coutumier · Option D « Calebasse »
   ========================================================================== */

/* ---------- Polices (auto-hébergées, SIL OFL) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Pinyon Script";
  src: url("../fonts/pinyon-script.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Jetons ---------- */
:root {
  --lin: #E8DECD;
  --ecorce: #4A2C1B;      /* texte principal, boutons */
  --terre: #6A4128;       /* arche, bande */
  --terre-2: #5A3522;     /* section lieu */
  --nuit: #3B2618;        /* pied de page */
  --cuivre: #8A5A36;
  --brun-texte: #5A3A26;
  --creme: #EADBC4;
  --creme-2: #E2CFAF;
  --sable: #CDB596;
  --or: #C9A77C;
  --miel: #D3A877;
  --feuille: #5E6B4A;
  --feuille-clair: #B9C4A2;
  --polaroid: #F2EADD;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
  --sans: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
  --header-h: 64px;
  --band-w: 22px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--lin);
  color: var(--ecorce);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html.is-locked, html.is-locked body { overflow: hidden; }
img, svg { display: block; max-width: none; }
a { color: var(--ecorce); }
a:hover { color: var(--terre); }
p, h1, h2, h3, figure, ol { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cuivre); outline-offset: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.linen { background: var(--lin) url("../img/lin.svg") 0 0 / 220px 220px repeat; }
.band { background: var(--terre) url("../img/bande.svg") 0 0 / 22px auto repeat-y; }

.script { font-family: var(--script); font-weight: 400; }
.serif { font-family: var(--serif); }
.amp { color: var(--cuivre); }

/* Ornement central réutilisé */
.ornament { width: 150px; height: 16px; }

/* ---------- Animations ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes write { from { clip-path: inset(-30% 110% -30% -15%); } to { clip-path: inset(-30% -15% -30% -15%); } }
@keyframes sway { 0%, 100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.2deg); } }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
@keyframes march { to { stroke-dashoffset: -28; } }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes reveal { from { opacity: 0; filter: blur(6px); transform: translateY(26px); } to { opacity: 1; filter: none; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-26px); } to { opacity: 1; transform: none; } }
@keyframes archUp { from { clip-path: inset(100% -40px -60px -40px); } to { clip-path: inset(-40px -40px -60px -40px); } }
@keyframes grow { from { opacity: 0; transform: scaleY(.25); } to { opacity: 1; transform: none; } }
@keyframes bandIn { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(106, 65, 40, .4); }
  70% { box-shadow: 0 0 0 16px rgba(106, 65, 40, 0); }
  100% { box-shadow: 0 0 0 0 rgba(106, 65, 40, 0); }
}
@keyframes splashOut { to { opacity: 0; transform: translateY(-3%); visibility: hidden; } }

.sway { transform-origin: 50% 100%; animation: sway 5s ease-in-out infinite; }
.march { animation: march 1.6s linear infinite; }
.ping { transform-box: fill-box; transform-origin: center; animation: ping 2.2s ease-out infinite; }

/* Les animations d'accueil démarrent à l'ouverture de l'invitation */
.site .rise, .site .write { opacity: 0; }
.is-open .site .rise { opacity: 1; animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--d, 0s); }
.is-open .site .write { opacity: 1; animation: write 1.5s cubic-bezier(.45, 0, .3, 1) both; animation-delay: var(--d, 0s); }

/* Apparition au défilement : CSS natif quand disponible… */
@supports (animation-timeline: view()) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 85%; }
}
/* …sinon IntersectionObserver (classe ajoutée par main.js) */
.io-reveal .reveal { opacity: 0; filter: blur(6px); transform: translateY(26px); transition: opacity .8s ease, filter .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.io-reveal .reveal.is-visible { opacity: 1; filter: none; transform: none; }

.btn { transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }

/* ==========================================================================
   Écran d'ouverture
   ========================================================================== */
.splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  color: var(--ecorce);
}
.splash[hidden] { display: none; }
.splash.is-leaving { animation: splashOut .7s cubic-bezier(.6, 0, .3, 1) forwards; pointer-events: none; }
.splash__band { position: absolute; top: 0; bottom: 0; width: 24px; background-size: 24px auto; }
.splash__band--l { left: 0; transform-origin: top; animation: bandIn 1.3s cubic-bezier(.7, 0, .2, 1) both; }
.splash__band--r { right: 0; transform-origin: bottom; animation: bandIn 1.3s cubic-bezier(.7, 0, .2, 1) .1s both; }
.splash__main {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 20px 36px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.splash__pill {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 18px 6px 12px;
  background: var(--terre);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(74, 44, 27, .22);
  animation: drop .9s cubic-bezier(.2, .7, .2, 1) .5s both;
}
.splash__pill span { font-family: var(--script); font-size: 26px; line-height: 1.25; color: var(--creme); }
.splash__pill-icon { height: 46px; width: auto; margin: -12px 0 -8px -8px; }
.splash__stage { position: relative; width: 100%; max-width: 290px; margin-top: clamp(56px, 9vh, 76px); }
.splash__foliage { position: absolute; z-index: 0; left: 50%; top: -96px; width: 136%; margin-left: -68%; }
.splash__foliage .grow { transform-origin: 50% 100%; animation: grow 1.4s cubic-bezier(.2, .8, .2, 1) 2s both; }
.splash__foliage img { width: 100%; }
.splash__arch {
  position: relative; z-index: 1;
  height: clamp(370px, 54vh, 420px);
  border-radius: 145px 145px 0 0;
  background: var(--terre);
  outline: 1px solid rgba(234, 219, 196, .32);
  outline-offset: -10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 54px 18px 28px;
  box-shadow: 0 24px 50px rgba(74, 44, 27, .25);
  animation: archUp 1.4s cubic-bezier(.7, 0, .2, 1) .7s both;
}
.splash__title { margin-bottom: 6px; font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.02; color: var(--creme); }
.splash__name { padding: 0 8px; font-family: var(--script); font-size: 60px; line-height: 1.15; color: var(--creme-2); }
.splash__bowl { width: 96px; height: auto; margin: 2px 0; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .3)); }
.splash__date { margin-top: 8px; font-size: 13px; font-weight: 500; letter-spacing: 4px; color: var(--creme-2); }
.splash .rise { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--d, 0s); }
.splash .write { animation: write 1.5s cubic-bezier(.45, 0, .3, 1) both; animation-delay: var(--d, 0s); }
.splash__cta-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; margin-top: 18px; }
.splash__cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; max-width: 290px; min-height: 54px;
  padding: 0 22px;
  border: 0; border-radius: 999px;
  background: var(--ecorce); color: var(--creme);
  font-size: 16px; font-weight: 500; letter-spacing: .4px;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
  animation: pulse 2.6s ease-out 4.2s infinite;
}
.splash__cta:hover { transform: translateY(-2px); background-color: var(--terre-2); }
.splash__hint { font-size: 12px; color: var(--terre); }
.splash__ground { align-self: center; flex: 0 0 auto; position: relative; width: min(100vw, 520px); height: 176px; margin-top: auto; }
.splash__ground img { position: absolute; height: auto; width: auto; }
.splash__ground-straw { left: 4%; bottom: -26px; width: 92% !important; }
.splash__ground-l { left: 2%; bottom: 6px; height: 150px !important; }
.splash__ground-r { right: 1%; bottom: 4px; height: 142px !important; }

/* ==========================================================================
   Site
   ========================================================================== */
.site { position: relative; overflow-x: hidden; }

/* ---------- En-tête ---------- */
.header {
  position: sticky; top: 0; z-index: 30;
  height: var(--header-h);
  background: rgba(232, 222, 205, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(106, 65, 40, .16);
}
.header__inner {
  max-width: 1120px; height: 100%; margin: 0 auto;
  padding: 0 14px 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.header__logo { font-family: var(--script); font-size: 30px; line-height: 1.2; color: var(--ecorce); text-decoration: none; }
.header__nav { display: flex; align-items: center; gap: 8px; }
.header__link { min-height: 44px; display: flex; align-items: center; padding: 0 10px; color: var(--ecorce); font-size: 15px; font-weight: 500; text-decoration: none; }
.header__cta { min-height: 44px; display: flex; align-items: center; padding: 0 16px; border-radius: 999px; background: var(--ecorce); color: var(--creme); font-size: 15px; font-weight: 500; text-decoration: none; }
.header__cta:hover { color: var(--creme); background: var(--terre); }
.music-btn {
  width: 44px; height: 44px; padding: 0;
  border-radius: 999px; border: 1px solid rgba(74, 44, 27, .3);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.music-btn__eq { display: none; align-items: flex-end; gap: 3px; height: 16px; }
.music-btn__eq span { display: block; width: 3px; height: 16px; border-radius: 2px; background: var(--terre); transform-origin: bottom; animation: eq 1s ease-in-out infinite; }
.music-btn__eq span:nth-child(1) { animation-duration: .9s; }
.music-btn__eq span:nth-child(2) { animation-duration: .6s; animation-delay: .15s; }
.music-btn__eq span:nth-child(3) { animation-duration: 1.1s; animation-delay: .3s; }
.music-btn__eq span:nth-child(4) { animation-duration: .75s; animation-delay: .05s; }
.music-btn[aria-pressed="true"] .music-btn__eq { display: flex; }
.music-btn[aria-pressed="true"] .music-btn__off { display: none; }
.music-btn[hidden] { display: none; }

.site__band { position: absolute; left: 0; top: var(--header-h); bottom: 0; width: var(--band-w); z-index: 1; }
.site__content { margin-left: var(--band-w); }

/* ---------- Sections communes ---------- */
.section { padding: 80px 20px; }
.section--dark { background: var(--ecorce); color: var(--creme); }
.section--earth { background: var(--terre-2); color: var(--creme); }
.section__head { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.section__title { font-family: var(--serif); font-weight: 500; font-size: 46px; line-height: 1; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; }

/* ---------- 1. Accueil ---------- */
.hero { position: relative; overflow: hidden; padding: 36px 20px 0; }
.hero__inner { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__title-row { display: flex; align-items: center; gap: 12px; }
.hero__title-icon { height: 58px; width: auto; margin: -10px 0; }
.hero__title { font-family: var(--serif); font-weight: 600; font-size: 46px; line-height: 1; letter-spacing: 2px; text-transform: uppercase; color: var(--ecorce); }
.hero__subtitle { font-family: var(--script); font-size: 38px; line-height: 1.3; color: var(--terre); }
.hero__quote { margin-top: 10px; max-width: 300px; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.35; color: var(--brun-texte); text-wrap: balance; }
.hero__names { margin-top: 12px; display: flex; flex-direction: column; align-items: center; }
.hero__name { padding: 0 10px; font-family: var(--script); font-size: 60px; line-height: 1.15; color: var(--ecorce); }
.hero__name--2 { margin: -8px 0 0 70px; }
.hero__stage { position: relative; width: 100%; max-width: 400px; height: 440px; margin-top: 4px; }
.hero__couple { position: absolute; z-index: 1; left: 0; right: 0; bottom: 40px; display: flex; justify-content: center; pointer-events: none; }
.hero__couple img {
  height: 400px; width: auto;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 98%);
  mask-image: linear-gradient(180deg, #000 70%, transparent 98%);
}
.hero__straw { position: absolute; z-index: 2; left: 50%; bottom: -18px; width: 116%; height: auto; margin-left: -58%; }
.hero__obj-l { position: absolute; z-index: 3; left: -6%; bottom: 0; height: 138px; width: auto; }
.hero__obj-r { position: absolute; z-index: 3; right: -4%; bottom: 4px; height: 96px; width: auto; filter: drop-shadow(0 6px 10px rgba(74, 44, 27, .25)); }
.hero__place-wrap { max-width: 360px; margin: 0 auto; padding: 16px 0 40px; display: flex; justify-content: center; }
.hero__place { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid rgba(106, 65, 40, .45); font-size: 14px; letter-spacing: .5px; color: var(--ecorce); }
.hero__place strong { font-weight: 600; }

/* ---------- 2. Invitation (arche) ---------- */
.invite { position: relative; overflow: hidden; padding: 110px 20px 40px; }
.invite__wrap { position: relative; max-width: 340px; margin: 0 auto; }
.invite__foliage { position: absolute; z-index: 0; left: 50%; top: -96px; width: 134%; margin-left: -67%; }
.invite__foliage img { width: 100%; }
.invite__arch {
  position: relative; z-index: 1;
  border-radius: 170px 170px 0 0;
  background: var(--terre);
  outline: 1px solid rgba(234, 219, 196, .3);
  outline-offset: -10px;
  padding: 70px 24px 120px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center;
  box-shadow: 0 24px 50px rgba(74, 44, 27, .22);
}
.invite__lead { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.3; color: var(--creme); text-wrap: balance; }
.invite__arch .ornament { margin: 6px 0; }
.invite__families { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.1; color: var(--creme); }
.invite__family { font-family: var(--script); font-size: 46px; line-height: 1.2; color: var(--creme-2); }
.invite__and { margin: -6px 0; font-family: var(--script); font-size: 30px; line-height: 1.2; color: var(--or); }
.invite__text { margin-top: 6px; font-family: var(--serif); font-size: 20px; line-height: 1.35; color: var(--creme); text-wrap: balance; }
.invite__couple { margin-top: 4px; font-family: var(--script); font-size: 46px; line-height: 1.25; color: var(--creme-2); }
.invite__couple span { color: var(--or); }
.invite__ground { position: relative; z-index: 2; height: 170px; margin: -120px -9% 0; }
.invite__ground img { position: absolute; bottom: 0; width: auto; height: auto; }
.invite__ground-straw { left: 50%; bottom: -10px !important; width: 80% !important; margin-left: -40%; }
.invite__ground-l { left: 0; height: 150px !important; }
.invite__ground-r { right: 0; height: 166px !important; }

/* ---------- 3. Save the date ---------- */
.date__inner { max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.date__icon { width: 124px; height: auto; margin-bottom: -10px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35)); }
.date__title { font-family: var(--script); font-size: 50px; line-height: 1.2; color: var(--creme-2); }
.date__big { display: flex; align-items: center; justify-content: center; gap: 14px; }
.date__day-wrap { display: flex; align-items: flex-start; gap: 4px; }
.date__le { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1; color: var(--sable); }
.date__day { font-family: var(--serif); font-weight: 600; font-size: 132px; line-height: .8; color: var(--miel); }
.date__month { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.date__month span { font-family: var(--serif); font-weight: 600; font-size: 46px; line-height: .95; letter-spacing: 1px; color: var(--creme); }
.date__weekday { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--creme); }
.date__place { display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--serif); font-weight: 600; font-size: 21px; letter-spacing: 2px; color: var(--creme); }
.countdown { margin-top: 8px; display: flex; align-items: flex-start; justify-content: center; gap: 12px; }
.countdown__unit { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 56px; }
.countdown__num { font-family: var(--serif); font-size: 40px; font-weight: 600; line-height: 1; font-variant-numeric: lining-nums tabular-nums; color: var(--creme); }
.countdown__label { font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--sable); }
.countdown__sep { font-size: 26px; line-height: 1.3; color: var(--cuivre); }
.countdown__done { font-family: var(--script); font-size: 40px; line-height: 1.2; color: var(--creme-2); }
.date__outro { margin-top: 10px; max-width: 360px; font-family: var(--serif); font-style: italic; font-size: 23px; line-height: 1.3; color: var(--creme); text-wrap: balance; }

/* ---------- 4. Programme ---------- */
.programme__inner { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.timeline { list-style: none; padding: 0; width: 100%; display: flex; flex-direction: column; }
.timeline__item { display: grid; grid-template-columns: 34px 18px minmax(0, 1fr); column-gap: 12px; align-items: start; padding-bottom: 22px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__icon { width: 30px; height: 30px; }
.timeline__rail { position: relative; align-self: stretch; display: flex; justify-content: center; }
.timeline__rail::before { content: ""; position: absolute; top: 0; bottom: -22px; width: 1px; background: rgba(106, 65, 40, .4); }
.timeline__item:first-child .timeline__rail::before { top: 14px; }
.timeline__item:last-child .timeline__rail::before { bottom: auto; height: 14px; }
.timeline__dot { position: relative; margin-top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--feuille); }
.timeline__body { display: flex; flex-direction: column; gap: 2px; }
.timeline__time { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; color: var(--terre); }
.timeline__title { font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.15; color: var(--ecorce); }
.timeline__where { font-size: 13px; color: var(--terre); }
.programme__deco { position: relative; width: 100%; height: 130px; }
.programme__deco img { position: absolute; height: auto; width: auto; }
.programme__deco-r { right: 0; bottom: 6px; width: 62% !important; }
.programme__deco-l { left: 0; bottom: 0; height: 118px !important; }

/* ---------- 5. Lieu ---------- */
.lieu__inner { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.lieu__grid { width: 100%; display: flex; flex-wrap: wrap; gap: 20px; }
.lieu__map {
  flex: 1 1 320px; min-width: 0;
  background: var(--ecorce);
  border-radius: 160px 160px 18px 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  padding-top: 40px;
}
.lieu__map svg { width: 100%; height: auto; font-family: var(--sans); }
.lieu__map figcaption { padding: 4px 22px 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; font-size: 13px; color: #E2D2B8; }
.lieu__coords { font-variant-numeric: tabular-nums; }
.lieu__side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; text-align: center; }
.lieu__ceremony { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 4px; }
.lieu__ceremony .eyebrow, .lieu__reception .eyebrow { color: var(--sable); }
.lieu__name { font-family: var(--script); font-size: 54px; line-height: 1.2; color: var(--creme); }
.lieu__desc { max-width: 320px; font-family: var(--serif); font-size: 20px; line-height: 1.35; color: var(--creme); }
.lieu__btn {
  margin-top: 10px; width: 100%; max-width: 320px; min-height: 52px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; background: var(--lin); color: var(--ecorce);
  font-size: 16px; font-weight: 500; text-decoration: none;
}
.lieu__btn:hover { color: var(--ecorce); background: #F2EADD; }
.lieu__reception { border: 1px solid rgba(234, 219, 196, .35); padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.lieu__reception-city { font-family: var(--serif); font-weight: 600; font-size: 26px; color: var(--creme); }
.lieu__reception-place { font-size: 15px; color: #E2D2B8; }

/* ---------- 6. Galerie ---------- */
.galerie__inner { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.galerie__grid { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.polaroid { background: var(--polaroid); padding: 8px 8px 30px; box-shadow: 0 10px 24px rgba(74, 44, 27, .2); }
.polaroid:nth-child(even) { margin-top: 18px; }
.polaroid:nth-child(1) { rotate: -3.5deg; }
.polaroid:nth-child(2) { rotate: 3deg; }
.polaroid:nth-child(3) { rotate: 2deg; }
.polaroid:nth-child(4) { rotate: -2.5deg; }
.polaroid img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.galerie__deco { position: relative; width: 100%; max-width: 420px; height: 150px; }
.galerie__deco img { position: absolute; left: 50%; height: auto; width: auto; }
.galerie__deco-straw { bottom: 0; width: 86% !important; margin-left: -43%; }
.galerie__deco-bowl { bottom: 10px; height: 100px !important; translate: -50% 0; filter: drop-shadow(0 6px 10px rgba(74, 44, 27, .25)); }

/* ---------- 7. Contact ---------- */
.contact { position: relative; overflow: hidden; padding: 40px 20px 0; }
.contact__inner { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.contact__photo {
  width: 240px; height: 300px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 68%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 68%, transparent 100%);
}
.contact__photo img { width: 100%; height: auto; }
.contact__title { margin-top: -6px; font-family: var(--script); font-weight: 400; font-size: 56px; line-height: 1.25; color: var(--ecorce); }
.contact__lead { margin-top: 6px; max-width: 340px; font-family: var(--serif); font-size: 20px; line-height: 1.35; color: var(--brun-texte); text-wrap: balance; }
.contact__cards { width: 100%; margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 24px; }
.contact__card { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.contact__card .eyebrow { color: var(--terre); }
.contact__name { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--ecorce); }
.contact__phone { font-family: var(--serif); font-weight: 600; font-size: 28px; letter-spacing: 1px; color: #7A4A2A; font-variant-numeric: lining-nums; text-decoration: none; }
.contact__actions { margin-top: 6px; width: 100%; max-width: 300px; display: flex; gap: 10px; }
.contact__btn {
  flex: 1 1 0; min-height: 48px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; border: 1px solid var(--ecorce);
  color: var(--ecorce); font-size: 15px; font-weight: 500; text-decoration: none;
}
.contact__btn--solid { background: var(--ecorce); color: var(--creme); }
.contact__btn--solid:hover { color: var(--creme); background: var(--terre); }
.contact__rings { margin-top: 28px; }
.contact__ground { position: relative; width: 112%; max-width: 560px; height: 178px; margin-top: 8px; }
.contact__ground img { position: absolute; height: auto; width: auto; }
.contact__ground-straw { left: 50%; bottom: -30px; width: 100% !important; margin-left: -50%; }
.contact__ground-l { left: 0; bottom: 6px; height: 140px !important; }
.contact__ground-r { right: 2%; bottom: 4px; height: 150px !important; }
.contact__ground-c { left: 50%; bottom: 0; height: 72px !important; translate: -50% 0; filter: drop-shadow(0 6px 10px rgba(74, 44, 27, .25)); }

/* ---------- 8. Pied de page ---------- */
.footer { background: var(--nuit); color: var(--creme); }
.footer__inner { max-width: 560px; margin: 0 auto; padding: 56px 20px 48px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer__names { font-family: var(--script); font-size: 50px; line-height: 1.25; color: var(--creme-2); }
.footer .eyebrow { color: var(--sable); }
.footer__date { font-family: var(--serif); font-size: 18px; color: #E2D2B8; }

/* ---------- Petits écrans ---------- */
@media (max-width: 360px) {
  .header__link { padding: 0 6px; font-size: 14px; }
  .header__cta { padding: 0 12px; font-size: 14px; }
  .hero__title { font-size: 40px; }
  .hero__name { font-size: 54px; }
  .date__day { font-size: 112px; }
  .splash__main { padding-left: 30px; padding-right: 30px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .site .rise, .site .write, .io-reveal .reveal { opacity: 1 !important; filter: none !important; transform: none !important; clip-path: none !important; }
}
