/* =========================================================
   Dear Travel : feuille de style
   Carnet crème, marqueur orange, stickers posés à la main.
   ========================================================= */

:root {
  /* Couleurs */
  --color-cream-paper: #fdfbf9;
  --color-charcoal: #171717;
  --color-cocoa-ink: #2b1a07;
  --color-true-black: #000000;
  --color-dew-drop: #f7efe9;
  --color-marker-orange: #ff6f1e;
  --color-burnt-sienna: #ce500a;
  --color-sky-sticker: #3b82f6;
  --color-bubblegum-sticker: #ff66cf;
  --color-sprout-sticker: #22c55e;
  --color-shadow-mist: #bebcbb;
  --color-paper-white: #fffdf9;

  /* Typo */
  --font-gelica: 'Fraunces', 'Recoleta', Georgia, serif;
  --font-geist: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-hand: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;

  --text-caption: 16px;
  --text-body-sm: 18px;
  --text-body: 20px;
  --text-subheading: 24px;
  --text-heading-sm: 28px;
  --text-heading: 36px;
  --text-heading-lg: 46px;
  --text-display: 104px;

  /* Espacements & formes */
  --page-max-width: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-pad: clamp(96px, 12vw, 168px);
  --radius-tags: 20px;
  --radius-cards: 12px;
  --radius-footer: 56px;
  --radius-inputs: 8px;
  --radius-buttons: 20px;
  --border: 1.5px solid var(--color-charcoal);

  --shadow-lg: rgba(0, 0, 0, 0.06) 0px 2px 20px 0px;
  --shadow-subtle: rgba(0, 0, 0, 0.25) 0px 1px 2px 0px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--color-cream-paper);
  color: var(--color-charcoal);
  font-family: var(--font-gelica);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-size: var(--text-body);
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* grain de papier */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 250;
  pointer-events: none;
  background-image: var(--noise);
  opacity: .06;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--color-marker-orange); color: var(--color-cream-paper); }

:focus-visible { outline: 2px solid var(--color-charcoal); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: min(100% - var(--gutter) * 2, var(--page-max-width)); margin-inline: auto; }

/* ---------- Typo ---------- */
.display {
  font-weight: 600;
  font-size: clamp(52px, 8vw, var(--text-display));
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--color-cocoa-ink);
  font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 60;
  margin: 0;
}
.h-xl {
  font-weight: 600;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--color-cocoa-ink);
  font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 60;
  margin: 0;
}
.body { font-size: var(--text-body); color: var(--color-cocoa-ink); }
.info { font-size: var(--text-caption); color: var(--color-cocoa-ink); margin: 8px 0 0; }

.hand {
  font-family: var(--font-hand);
  font-weight: 600;
  color: var(--color-marker-orange);
  font-size: clamp(24px, 2.3vw, 30px);
  line-height: 1.1;
}

/* surlignage marqueur */
.marker {
  position: relative;
  font-style: normal;
  color: var(--color-marker-orange);
  white-space: nowrap;
}
.marker svg {
  position: absolute; left: -2%; bottom: -.32em;
  width: 104%; height: .45em; overflow: visible;
}
.marker path, .u-line path, .circled path, .pill__scribble path {
  fill: none; stroke: var(--color-marker-orange); stroke-width: 3.5; stroke-linecap: round;
}

/* ---------- Stickers ---------- */
.float { position: absolute; width: var(--s, 72px); aspect-ratio: 1; z-index: 2; }
.st { display: block; width: 100%; height: 100%; }
.st__in {
  display: block; width: 100%; height: 100%;
  transform: rotate(var(--r, 8deg));
  transition: transform .5s var(--ease-spring);
  cursor: pointer;
  /* découpe blanche façon sticker */
  filter: drop-shadow(2.5px 0 0 #fff) drop-shadow(-2.5px 0 0 #fff) drop-shadow(0 2.5px 0 #fff) drop-shadow(0 -2.5px 0 #fff);
}
.st__in svg { width: 100%; height: 100%; display: block; overflow: visible; }
.st:hover .st__in { animation: wiggle .7s var(--ease-out) forwards; }
.st.is-spin .st__in { animation: spin .9s var(--ease-out); }

@keyframes wiggle {
  0%   { transform: rotate(var(--r)) scale(1); }
  30%  { transform: rotate(calc(var(--r) - 14deg)) scale(1.16); }
  60%  { transform: rotate(calc(var(--r) + 9deg)) scale(1.1); }
  100% { transform: rotate(var(--r)) scale(1.12); }
}
@keyframes spin {
  from { transform: rotate(var(--r)) scale(1.12); }
  to   { transform: rotate(calc(var(--r) + 360deg)) scale(1); }
}

/* confettis de stickers */
.confetti {
  position: fixed; left: 0; top: 0; z-index: 260; width: 30px; height: 30px;
  pointer-events: none;
}

/* ---------- Boutons pilule ---------- */
.pill {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 10px 28px;
  border: var(--border);
  border-radius: var(--radius-buttons);
  background: var(--color-cream-paper);
  color: var(--color-charcoal);
  font-family: var(--font-gelica);
  font-weight: 500; font-size: 16px; line-height: 1.25;
  text-decoration: none;
  box-shadow: var(--shadow-subtle);
  cursor: pointer;
  white-space: nowrap;
  transition: transform .45s var(--ease-spring), box-shadow .3s;
}
.pill:not([data-magnetic]):hover { transform: translateY(-2px) rotate(-1.5deg); }
.pill:active { box-shadow: none; }
.pill--lg { padding: 14px 30px; font-size: 18px; }
.pill--ghost { box-shadow: none; }

.pill__label { position: relative; display: inline-block; overflow: hidden; height: 1.25em; }
.pill__label > span { display: block; transition: transform .5s var(--ease-out); }
.pill__label::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 100%;
  transition: transform .5s var(--ease-out);
}
.pill:hover .pill__label > span,
.pill:hover .pill__label::after { transform: translateY(-100%); }

.pill__arrow { width: 20px; height: 20px; transition: transform .5s var(--ease-spring); }
.pill:hover .pill__arrow { transform: translateX(4px) rotate(-12deg); }

.pill__scribble {
  position: absolute; left: -16px; top: -12px;
  width: calc(100% + 32px); height: calc(100% + 24px);
  pointer-events: none; overflow: visible;
}
.pill__scribble path { stroke-width: 2.5; stroke-dasharray: 1 2; stroke-dashoffset: 1.05; transition: stroke-dashoffset .7s var(--ease-out); }
.pill--scribble:hover .pill__scribble path { stroke-dashoffset: 0; }

.link-hand {
  font-family: var(--font-hand); font-weight: 600; font-size: 26px;
  color: var(--color-cocoa-ink); text-decoration: none;
  background: linear-gradient(var(--color-marker-orange), var(--color-marker-orange)) 0 92% / 0 2px no-repeat;
  transition: background-size .5s var(--ease-out), color .3s;
}
.link-hand:hover { background-size: 100% 2px; color: var(--color-burnt-sienna); }

.chip {
  display: inline-block;
  padding: 4px 14px;
  border: 1.5px solid var(--color-sprout-sticker);
  border-radius: var(--radius-tags);
  font-family: var(--font-geist); font-size: 14px; font-weight: 500;
  color: var(--color-cocoa-ink);
  background: var(--color-cream-paper);
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: var(--color-cream-paper);
  border-bottom: var(--border);
  overflow: hidden;
  animation: loader-failsafe .6s 8s forwards;
}
.no-js .loader { display: none; }
.loader__logo { width: min(84vw, 780px); }
.js .loader__logo .logo__dear { clip-path: inset(-10% 97.8% -10% 0); }
.js .loader__logo .logo__travel { clip-path: inset(-10% 43.7% -10% 0); }
.js .loader__logo .logo__globe { transform: scale(0); }
.loader__plane { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px; }
.loader__count {
  position: absolute; right: var(--gutter); bottom: 24px;
  font-family: var(--font-geist); font-size: 18px; color: var(--color-cocoa-ink);
}
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }

/* ---------- Barre de progression ---------- */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--color-marker-orange); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Curseur ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input, .has-cursor textarea { cursor: text !important; }
.has-cursor select { cursor: pointer !important; }

.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; z-index: 280; pointer-events: none; border-radius: 50%; }
.cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--color-charcoal); transition: opacity .2s; }
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1.5px solid var(--color-charcoal);
  display: grid; place-items: center;
  transition: width .4s var(--ease-out), height .4s var(--ease-out), margin .4s var(--ease-out), background-color .3s, border-color .3s, opacity .3s;
}
.cursor__label {
  font-family: var(--font-hand); font-weight: 700; font-size: 24px; line-height: 1;
  color: var(--color-charcoal); opacity: 0; transform: rotate(-6deg);
  transition: opacity .2s;
}
.cursor.is-link .cursor__ring { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-color: var(--color-marker-orange); background-color: rgba(255, 111, 30, .1); }
.cursor.is-label .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background-color: var(--color-marker-orange); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-text .cursor__ring, .cursor.is-text .cursor__dot, .cursor.is-out .cursor__ring, .cursor.is-out .cursor__dot { opacity: 0; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter);
  border-bottom: 1.5px solid transparent;
  transition: transform .6s var(--ease-out), background-color .35s, border-color .35s, padding .35s;
}
.header.is-scrolled { background: var(--color-cream-paper); border-bottom-color: var(--color-charcoal); padding-block: 10px; }
.header.is-hidden { transform: translateY(-110%); }
.is-menu-open .header { background: transparent; border-bottom-color: transparent; transform: none; }

/* logo officiel en 3 calques superposés (DEAR / globe / TRAVEL) */
.logo { position: relative; display: block; aspect-ratio: 3143.36 / 592.55; }
.logo__part { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; user-select: none; }
.logo__dear { transform-origin: 17.5% 50%; }
.logo__globe { transform-origin: 44.5% 50%; }
.logo__travel { transform-origin: 77% 50%; }
.logo--white .logo__part { filter: brightness(0) invert(1); }

.brand { display: inline-flex; align-items: center; margin-left: -8px; text-decoration: none; }
.brand .logo { --h: 58px; height: var(--h); width: calc(var(--h) * 5.3048); transition: height .35s var(--ease-out), width .35s var(--ease-out); }
.header.is-scrolled .brand .logo { --h: 46px; }
.brand .logo__globe { transition: transform 1.1s var(--ease-out); }
.brand:hover .logo__globe { transform: rotate(360deg); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { gap: 10px; padding-inline: 18px; }
.menu-toggle__lines { display: grid; gap: 5px; width: 18px; }
.menu-toggle__lines i { display: block; height: 1.8px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease-spring); }
.menu-toggle:hover .menu-toggle__lines i:first-child { transform: translateX(3px); }
.menu-toggle:hover .menu-toggle__lines i:last-child { transform: translateX(-3px); }
.is-menu-open .menu-toggle__lines i:first-child { transform: translateY(3.4px) rotate(45deg); }
.is-menu-open .menu-toggle__lines i:last-child { transform: translateY(-3.4px) rotate(-45deg); }

/* ---------- Menu plein écran ---------- */
.menu {
  position: fixed; inset: 0; z-index: 105;
  background: var(--color-dew-drop);
  display: flex; align-items: center;
  clip-path: circle(0% at calc(100% - 150px) 40px);
  visibility: hidden;
  transition: clip-path .9s var(--ease-in-out), visibility 0s .9s;
}
.is-menu-open .menu { clip-path: circle(150% at calc(100% - 150px) 40px); visibility: visible; transition: clip-path .9s var(--ease-in-out), visibility 0s; }
.menu__inner { position: relative; display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: end; padding-top: 80px; }
.menu__links { list-style: none; margin: 0; padding: 0; }
.menu__links li { overflow: hidden; }
.menu__links a {
  position: relative;
  display: inline-flex; align-items: baseline; gap: 18px;
  white-space: nowrap;
  padding: 2px 0;
  text-decoration: none; color: var(--color-cocoa-ink);
  font-weight: 600; font-size: clamp(40px, 6.4vw, 84px); line-height: 1.08;
  transform: translateY(110%);
  transition: transform .8s var(--ease-out);
}
.is-menu-open .menu__links a { transform: none; transition-delay: calc(.3s + var(--i) * .06s); }
.menu__links small { font-family: var(--font-geist); font-size: 15px; font-weight: 500; color: var(--color-burnt-sienna); }
.menu__links span { transition: transform .5s var(--ease-out); }
.menu__links em {
  position: absolute; left: 100%; top: .2em;
  font-style: normal; font-size: clamp(22px, 2.4vw, 32px);
  opacity: 0; transform: translateX(-12px) rotate(-6deg);
  transition: opacity .3s, transform .5s var(--ease-spring);
}
.menu__links a:hover span { transform: translateX(14px); }
.menu__links a:hover em { opacity: 1; transform: translateX(10px) rotate(-6deg); }
.menu__aside { padding-bottom: 14px; }
.menu__aside .hand { margin: 0 0 14px; }
.menu__mail { font-family: var(--font-geist); font-size: 18px; color: var(--color-charcoal); }
.menu__stickers .float { position: fixed; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 0 96px;
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero__text { position: relative; z-index: 3; }
.hero__caption { display: inline-block; margin: 0 0 14px; font-size: clamp(28px, 2.8vw, 36px); transform: rotate(-3deg); transform-origin: left center; }
.hero__title { margin-bottom: 28px; }
.u-word { position: relative; display: inline-block; }
.u-line { position: absolute; left: -2%; bottom: -.04em; width: 104%; height: .2em; overflow: visible; }
.u-line path { stroke-width: 5; }
.hero__body { max-width: 31em; margin: 0 0 36px; }
.hero__cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero__info { margin-top: 14px; padding-left: 4px; }

.hero__visual { position: relative; width: 100%; max-width: 560px; aspect-ratio: 10 / 11; justify-self: end; }
.hv { position: absolute; will-change: transform; }
.hv__pop { width: 100%; height: 100%; }

.hv--pola-a { left: -6%; top: 0; width: 44%; z-index: 1; }
.hv--pola-b { right: -4%; bottom: 0; width: 44%; z-index: 4; }
.hv--carnet { left: 21%; top: 9%; width: 56%; z-index: 3; }
.hv--badge { right: -2%; top: 3%; width: 27%; z-index: 5; }
.hv--st1 { left: 50%; top: -6%; width: 17%; z-index: 6; }
.hv--st2 { left: -9%; top: 52%; width: 13%; z-index: 6; }
.hv--st3 { left: 10%; bottom: 3%; width: 16%; z-index: 6; }
.hv--st4 { right: 30%; bottom: 31%; width: 8%; z-index: 6; }
.hv--note { left: -17%; bottom: 13%; width: 34%; z-index: 7; }

.polaroid {
  position: relative; margin: 0;
  padding: 9px 9px 42px;
  background: #fff;
  border: var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  transform: rotate(var(--r, 0deg));
}
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; border: 1px solid rgba(23, 23, 23, .15); }
.polaroid figcaption {
  position: absolute; left: 14px; right: 10px; bottom: 6px;
  font-family: var(--font-hand); font-weight: 600; font-size: clamp(18px, 1.7vw, 23px);
  color: var(--color-cocoa-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.tape {
  position: absolute; z-index: 2; left: 50%; top: -13px;
  width: 92px; height: 26px; margin-left: -46px;
  transform: rotate(-4deg);
  background: repeating-linear-gradient(-45deg, rgba(255, 111, 30, .5) 0 7px, rgba(255, 111, 30, .32) 7px 14px);
  border-left: 1px dashed rgba(255, 255, 255, .6);
  border-right: 1px dashed rgba(255, 255, 255, .6);
}
.tape--blue { background: repeating-linear-gradient(-45deg, rgba(59, 130, 246, .42) 0 7px, rgba(59, 130, 246, .26) 7px 14px); transform: rotate(5deg); }
.tape--green { background: repeating-linear-gradient(-45deg, rgba(34, 197, 94, .42) 0 7px, rgba(34, 197, 94, .26) 7px 14px); transform: rotate(-7deg); }

/* le carnet */
.carnet { position: relative; width: 100%; aspect-ratio: 3 / 4; container-type: inline-size; transform: rotate(6deg); }
.carnet__pages {
  position: absolute; inset: 1.5% -3.5% -2.5% 2%;
  background: #fffaf2 repeating-linear-gradient(90deg, transparent 0 2px, rgba(43, 26, 7, .12) 2px 3px) right / 4% 100% no-repeat;
  border: var(--border);
  border-radius: 4% / 3%;
}
.carnet__cover {
  position: absolute; inset: 0;
  background: #8b5434 var(--noise);
  border: var(--border);
  border-radius: 5% / 3.8%;
  overflow: hidden;
  box-shadow: inset 7cqw 0 0 rgba(0, 0, 0, .14), inset 7.6cqw 0 0 rgba(255, 220, 190, .08), var(--shadow-lg);
}
.carnet__stitch { position: absolute; inset: 4.5cqw 4.5cqw 4.5cqw 10cqw; border: .7cqw dashed rgba(255, 228, 196, .55); border-radius: 3cqw; }
.carnet__emboss {
  position: absolute; left: 17%; top: 11%; margin: 0;
  font-weight: 600; font-size: 11cqw; line-height: 1;
  color: #73421f;
  text-shadow: 0 1px 0 rgba(255, 220, 190, .28), 0 -1px 0 rgba(0, 0, 0, .3);
}
.carnet__band { position: absolute; top: -1px; bottom: -1px; right: 13%; width: 5cqw; background: #2b1a07; box-shadow: inset 1px 0 0 rgba(255, 255, 255, .15); }
.tag-label {
  position: absolute; left: 16%; right: 24%; bottom: 13%;
  padding: 3.5cqw 5cqw 4cqw;
  background: #fff;
  border: var(--border);
  border-radius: 8px;
  transform: rotate(-3deg);
}
.tag-label__row { display: flex; align-items: baseline; gap: 2.5cqw; padding: 1.4cqw 0; border-bottom: 1px dashed var(--color-shadow-mist); }
.tag-label__row:last-child { border-bottom: 0; }
.tag-label__row span { font-family: var(--font-geist); font-size: 3.3cqw; color: #7a716a; min-width: 32%; }
.tag-label__row b { font-family: var(--font-hand); font-weight: 700; font-size: 7.2cqw; line-height: 1; color: var(--color-cocoa-ink); white-space: nowrap; }
.caret { display: inline-block; width: 2px; height: .8em; margin-left: 2px; vertical-align: -.05em; background: var(--color-marker-orange); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.pencil { position: absolute; right: -11%; top: 4%; width: 6.5cqw; height: auto; transform: rotate(5deg); overflow: visible; }

.badge { position: relative; width: 100%; aspect-ratio: 1; }
.badge__ring { width: 100%; height: 100%; overflow: visible; animation: rotate 18s linear infinite; }
.badge__ring text { font-family: var(--font-geist); font-size: 11.5px; font-weight: 500; fill: var(--color-charcoal); }
.badge__st { position: absolute; left: 30%; top: 30%; width: 40%; height: 40%; }
@keyframes rotate { to { transform: rotate(360deg); } }

.hero__note { margin: 0; font-size: clamp(22px, 2.2vw, 28px); transform: rotate(-6deg); line-height: 1; }
.hero__arrow { position: absolute; right: -24%; top: -46%; width: 52%; overflow: visible; transform: rotate(-12deg); }
.hero__arrow path { fill: none; stroke: var(--color-charcoal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 22px; text-decoration: none; color: var(--color-cocoa-ink);
}
.hero__scroll svg { width: 18px; height: 30px; animation: bob 1.8s var(--ease-in-out) infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* split words */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .14em; margin: 0 -.04em -.14em; }
.wi { display: inline-block; will-change: transform; }
.is-done .w { overflow: visible; }
.split-plain .w { overflow: visible; padding: 0; margin: 0; }

/* ---------- MARQUEE ---------- */
.marquee { position: relative; padding: 56px 0 72px; overflow: hidden; }
.marquee__band { border-block: var(--border); background: var(--color-cream-paper); overflow: hidden; white-space: nowrap; }
.marquee__band--a { position: relative; z-index: 2; transform: rotate(-2.2deg) scale(1.04); }
.marquee__band--b { background: var(--color-dew-drop); transform: rotate(1.8deg) scale(1.04); margin-top: 6px; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__band--a .marquee__group { gap: 34px; padding: 18px 17px; }
.marquee__band--a span { font-weight: 600; font-size: clamp(36px, 4.6vw, 58px); line-height: 1; color: var(--color-cocoa-ink); }
.marquee__band--a svg { width: clamp(40px, 4.4vw, 56px); height: clamp(40px, 4.4vw, 56px); flex: none; }
.marquee__band--b .marquee__group { gap: 28px; padding: 12px 14px; }
.marquee__band--b span { font-family: var(--font-hand); font-weight: 600; font-size: clamp(26px, 2.6vw, 34px); color: var(--color-marker-orange); }
.marquee__band--b b { font-size: 20px; color: var(--color-charcoal); }

/* ---------- MANIFESTE ---------- */
.manifesto { padding: var(--section-pad) 0; }
.manifesto__inner { position: relative; max-width: 980px; }
.manifesto__caption { display: inline-flex; align-items: flex-start; gap: 6px; margin: 0 0 18px; transform: rotate(-2deg); }
.manifesto__caption svg { width: 46px; height: 40px; margin-top: 14px; }
.manifesto__text {
  margin: 0;
  font-weight: 500;
  font-size: clamp(30px, 4.1vw, 54px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--color-cocoa-ink);
}
.inline-st { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -.2em; }
.inline-st svg { width: 100%; height: 100%; transform: rotate(-8deg); }
.circled { position: relative; display: inline-block; white-space: nowrap; }
.circled svg { position: absolute; left: -.3em; top: -.18em; width: calc(100% + .6em); height: calc(100% + .36em); overflow: visible; }
.circled path { stroke-width: 3; }
.manifesto__sign { margin: 28px 0 0; color: var(--color-cocoa-ink); }

/* ---------- section heads ---------- */
.section-head { position: relative; max-width: 920px; margin-bottom: clamp(48px, 7vw, 88px); }
.section-head .hand { display: inline-block; margin: 0 0 12px; transform: rotate(-2deg); transform-origin: left center; }

/* ---------- METHODE ---------- */
.method { padding: var(--section-pad) 0; background: var(--color-dew-drop); border-block: var(--border); border-radius: var(--radius-footer); }
.route { position: relative; }
.route__svg { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 0; }
.route__path { fill: none; stroke: var(--color-charcoal); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; }
.route__mask { fill: none; stroke: #fff; stroke-width: 14; stroke-linecap: round; }
.route__plane { position: absolute; left: 0; top: 0; width: 54px; height: 54px; margin: -27px 0 0 -27px; z-index: 4; pointer-events: none; opacity: 0; }

.route__steps { position: relative; z-index: 1; list-style: none; margin: 0; padding: 40px 0 20px; display: grid; gap: clamp(40px, 6vw, 84px); }
.step { width: min(100%, 520px); }
.step--right { justify-self: end; }
.step--left { justify-self: start; }

.tag-card {
  position: relative;
  padding: 34px 32px 32px 64px;
  background: var(--color-cream-paper);
  border: var(--border);
  border-radius: var(--radius-cards) 40px 40px var(--radius-cards);
  box-shadow: var(--shadow-lg);
  transform: rotate(var(--r, 0deg));
  transform-origin: 26px 50%;
  transition: transform .8s var(--ease-spring);
}
.tag-card:hover { animation: swing 1.2s var(--ease-out); }
@keyframes swing {
  0% { transform: rotate(var(--r)); }
  20% { transform: rotate(calc(var(--r) + 5deg)); }
  45% { transform: rotate(calc(var(--r) - 3.5deg)); }
  70% { transform: rotate(calc(var(--r) + 1.5deg)); }
  100% { transform: rotate(var(--r)); }
}
.tag-card__hole { position: absolute; left: 18px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: var(--border); border-radius: 50%; background: var(--color-dew-drop); }
.tag-card__hole::after { content: ""; position: absolute; right: 100%; top: 50%; width: 46px; height: 1.5px; background: var(--color-charcoal); transform-origin: right center; transform: rotate(-18deg); }
.tag-card__num { position: absolute; right: 26px; top: 14px; font-family: var(--font-hand); font-weight: 700; font-size: 44px; line-height: 1; color: var(--color-marker-orange); }
.tag-card h3 { margin: 0 0 10px; padding-right: 44px; font-weight: 600; font-size: clamp(30px, 3vw, 40px); line-height: 1.1; color: var(--color-cocoa-ink); }
.tag-card p { margin: 0 0 18px; font-size: var(--text-body-sm); color: var(--color-cocoa-ink); max-width: 30em; }
.tag-card__st { position: absolute; right: -28px; bottom: -30px; width: 84px; height: 84px; }
.tag-card__photo { position: absolute; right: -36px; bottom: -40px; width: 120px; margin: 0; padding: 6px 6px 18px; background: #fff; border: var(--border); border-radius: 4px; transform: rotate(var(--r)); box-shadow: var(--shadow-lg); transition: transform .6s var(--ease-spring); }
.tag-card__photo img { aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.tag-card:hover .tag-card__photo { transform: rotate(0deg) scale(1.1); }
.tag-card__check {
  position: absolute; left: 62px; top: -22px;
  padding: 2px 12px;
  font-size: 24px;
  background: var(--color-cream-paper);
  border: 1.5px solid var(--color-marker-orange);
  border-radius: var(--radius-tags);
  transform: rotate(-6deg) scale(0);
  transition: transform .6s var(--ease-spring);
}
.step.is-reached .tag-card__check { transform: rotate(-6deg) scale(1); }

/* ---------- DESTINATIONS ---------- */
.dest { position: relative; padding: var(--section-pad) 0 calc(var(--section-pad) * .6); overflow: hidden; }
.dest__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.dest__head .section-head { margin-bottom: 40px; }
.dest__hint { flex: none; display: flex; align-items: center; gap: 10px; margin: 0 0 48px; font-family: var(--font-geist); font-size: 16px; color: var(--color-cocoa-ink); }
.dest__hint svg { width: 48px; height: 24px; animation: nudge 1.6s var(--ease-in-out) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

.dest__pin { position: relative; }
.dest--pinned .postcard { width: clamp(220px, 34vh, 330px); }
.dest--pinned .postcard:nth-child(even) { margin-top: 40px; }
.dest--pinned .postcard--end .postcard__card { min-height: calc(min(34vh, 330px) * 1.25 + 140px); }
.is-menu-open { overflow: hidden; }

.dest__viewport { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.dest__viewport::-webkit-scrollbar { display: none; }
.dest--pinned .dest__viewport { overflow: visible; scroll-snap-type: none; }
.dest__track {
  display: flex; align-items: flex-start; gap: clamp(28px, 3.4vw, 52px);
  width: max-content;
  padding: 30px max(var(--gutter), calc((100vw - var(--page-max-width)) / 2)) 50px;
  will-change: transform;
}
.postcard { flex: none; width: clamp(260px, 24vw, 330px); scroll-snap-align: center; }
.postcard:nth-child(even) { margin-top: 56px; }
.postcard__card {
  position: relative;
  padding: 12px 12px 20px;
  background: #fff;
  border: var(--border);
  border-radius: var(--radius-cards);
  box-shadow: var(--shadow-lg);
  transform: rotate(var(--r));
  transition: transform .7s var(--ease-spring);
}
.postcard__card:hover { transform: rotate(0deg) translateY(-14px) scale(1.03); }
.postcard__photo { overflow: hidden; border-radius: 6px; border: 1px solid rgba(23, 23, 23, .15); }
.postcard__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.postcard__card:hover .postcard__photo img { transform: scale(1.09); }
.postcard__meta { padding: 16px 6px 0; }
.postcard__meta h3 { margin: 0; font-weight: 600; font-size: 36px; line-height: 1.05; color: var(--color-cocoa-ink); }
.postcard__meta .hand { margin: 4px 0 12px; font-size: 24px; }
.postcard .stamp { position: absolute; right: -16px; top: -20px; transition: transform .6s var(--ease-spring); transform: rotate(8deg); }
.postcard__card:hover .stamp { transform: rotate(-6deg) scale(1.12); }
.postcard__card:hover .tape { transform: rotate(-9deg) translateY(-3px); }
.postcard .tape { transition: transform .5s var(--ease-spring); }

.postcard--end .postcard__card {
  min-height: 460px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px;
  padding: 36px 32px;
  background: var(--color-dew-drop);
  border-style: dashed;
}
.postcard--end .hand { margin: 0; font-size: 34px; }
.postcard__big { margin: 0 0 22px; font-weight: 600; font-size: 52px; line-height: 1.05; color: var(--color-cocoa-ink); }
.postcard__st { position: absolute; right: 22px; bottom: 26px; width: 92px; height: 92px; }

.dest__progress { position: relative; height: 40px; margin-top: 10px; }
.dest__line { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--color-shadow-mist) 0 6px, transparent 6px 12px); }
.dest__line span { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--color-charcoal) 0 6px, transparent 6px 12px); transform-origin: 0 50%; transform: scaleX(0); }
.dest__plane { position: absolute; left: 0; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; transform: rotate(42deg); }

/* timbre */
.stamp {
  position: absolute;
  width: 72px; height: 88px; padding: 6px;
  background: radial-gradient(circle at 4px 4px, transparent 3px, var(--color-paper-white) 3.5px) -4px -4px / 8px 8px;
  filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .18));
  z-index: 3;
}
.stamp__in {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 100%; height: 100%;
  background: var(--stamp-bg, var(--color-dew-drop));
  border: 1.5px solid var(--color-charcoal);
}
.stamp__in svg { width: 60%; height: 50%; }
.stamp__in small { font-family: var(--font-geist); font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--color-cocoa-ink); }

/* ---------- ENVIES ---------- */
.types { padding: var(--section-pad) 0; position: relative; }
.types__list { list-style: none; margin: 0; padding: 0; border-bottom: var(--border); }
.type-row { border-top: var(--border); }
.type-row__link {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 56px 1fr minmax(0, 300px) 52px; align-items: center; gap: 24px;
  padding: 26px 12px;
  text-decoration: none; color: var(--color-cocoa-ink);
  overflow: hidden;
}
.type-row__link::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--color-dew-drop);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .55s var(--ease-out);
}
.type-row__link:hover::before { transform: scaleY(1); transform-origin: top; }
.type-row__num { font-family: var(--font-geist); font-size: 15px; font-weight: 500; color: var(--color-burnt-sienna); }
.type-row__name { position: relative; justify-self: start; font-weight: 600; font-size: clamp(36px, 5.2vw, 68px); line-height: 1; letter-spacing: -0.012em; transition: transform .6s var(--ease-out); }
.type-row__name em {
  position: absolute; left: 100%; top: -.2em; margin-left: 14px;
  font-style: normal; font-size: clamp(20px, 2vw, 28px); white-space: nowrap;
  opacity: 0; transform: translateY(10px) rotate(-8deg);
  transition: opacity .3s, transform .5s var(--ease-spring);
}
.type-row__link:hover .type-row__name { transform: translateX(18px); }
.type-row__link:hover .type-row__name em { opacity: 1; transform: translateY(0) rotate(-8deg); }
.type-row__desc { font-family: var(--font-geist); font-size: 16px; line-height: 1.45; color: var(--color-cocoa-ink); }
.type-row__arrow {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border: var(--border); border-radius: 50%;
  background: var(--color-cream-paper);
  transform: rotate(-45deg);
  transition: transform .6s var(--ease-spring);
}
.type-row__arrow svg { width: 22px; height: 22px; }
.type-row__link:hover .type-row__arrow { transform: rotate(0deg) scale(1.08); }
.type-row__thumb { display: none; }

.types__float {
  position: fixed; left: 0; top: 0; z-index: 60;
  width: 270px; aspect-ratio: 4 / 5;
  pointer-events: none;
  opacity: 0; transition: opacity .3s;
}
.types__float.is-visible { opacity: 1; }
.types__float-inner {
  position: relative; width: 100%; height: 100%;
  background: #fff; border: var(--border); border-radius: var(--radius-cards);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: scale(.5) rotate(-8deg);
  transition: transform .6s var(--ease-spring);
}
.types__float.is-visible .types__float-inner { transform: scale(1) rotate(0deg); }
.types__float img {
  position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px);
  object-fit: cover; border-radius: 6px;
  clip-path: inset(100% 0 0 0);
  transition: clip-path .7s var(--ease-out) .5s;
}
.types__float img.is-active { clip-path: inset(0 0 0 0); transition-delay: 0s; }

/* ---------- POURQUOI ---------- */
.why { padding: var(--section-pad) 0; }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; perspective: 1100px; }
.feat {
  position: relative;
  padding: 32px;
  min-height: 290px;
  background: var(--color-dew-drop);
  border: var(--border);
  border-radius: var(--radius-cards);
  transform-style: preserve-3d;
  will-change: transform;
}
.feat--cream { background: var(--color-cream-paper); box-shadow: var(--shadow-lg); }
.why__grid .feat:nth-child(3n + 2) { margin-top: 48px; }
.why__grid .feat:nth-child(3n + 3) { margin-top: 18px; }
.feat__st { display: block; width: 78px; height: 78px; transform: translateZ(50px); }
.feat:hover .feat__st .st__in { animation: wiggle .7s var(--ease-out) forwards; }
.feat h3 { margin: 22px 0 10px; font-weight: 600; font-size: var(--text-heading-sm); line-height: 1.15; color: var(--color-cocoa-ink); transform: translateZ(30px); }
.feat p { margin: 0; font-size: var(--text-body-sm); color: var(--color-cocoa-ink); transform: translateZ(18px); }
.feat h3::after {
  content: ""; display: block; height: 3px; width: 0; margin-top: 6px;
  background: var(--color-marker-orange); border-radius: 3px;
  transition: width .6s var(--ease-out);
}
.feat:hover h3::after { width: 64px; }

/* ---------- AVIS ---------- */
.love { padding: var(--section-pad) 0; }
.love__table {
  position: relative;
  height: 640px;
  background: var(--color-dew-drop);
  border: var(--border);
  border-radius: var(--radius-cards);
  background-image: radial-gradient(rgba(43, 26, 7, .12) 1.2px, transparent 1.4px);
  background-size: 22px 22px;
}
.love__hint { position: absolute; right: 28px; bottom: 18px; margin: 0; display: flex; align-items: flex-end; gap: 6px; transform: rotate(-3deg); z-index: 1; }
.love__hint svg { width: 46px; height: 40px; transform: scaleY(-1); }
.love__hint-touch { display: none; }
.pc {
  position: absolute; left: var(--x); top: var(--y);
  width: min(520px, 47%);
  display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px;
  padding: 24px;
  background: #fff;
  border: var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  transform: rotate(var(--r));
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.pc.is-drag { cursor: grabbing; box-shadow: rgba(0, 0, 0, .1) 0 18px 40px; }
.pc__msg { margin: 0; padding-right: 18px; border-right: 1px solid var(--color-shadow-mist); font-family: var(--font-hand); font-weight: 600; font-size: 22px; line-height: 1.14; color: var(--color-cocoa-ink); }
.pc--you { background: var(--color-dew-drop); border-style: dashed; }
.pc__link {
  justify-self: start;
  margin-top: 6px;
  font-family: var(--font-hand); font-weight: 700; font-size: 24px;
  color: var(--color-marker-orange); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .45s var(--ease-out);
}
.pc__link:hover { background-size: 100% 2px; }
.pc__side { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.pc .stamp { position: relative; align-self: flex-end; flex: none; transform: rotate(4deg); }
.pc__from { margin: 0; display: grid; gap: 2px; }
.pc__from b { font-family: var(--font-hand); font-size: 25px; font-weight: 700; color: var(--color-cocoa-ink); border-bottom: 1px solid var(--color-shadow-mist); line-height: 1.15; }
.pc__from span { font-family: var(--font-geist); font-size: 14px; color: #7a716a; border-bottom: 1px solid var(--color-shadow-mist); padding: 4px 0; }

/* ---------- FAQ ---------- */
.faq { padding: var(--section-pad) 0; }
.faq__grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__st { right: 4%; top: 100%; }
.qa { border-bottom: var(--border); }
.qa:first-child { border-top: var(--border); }
.qa h3 { margin: 0; }
.qa__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 4px;
  background: none; border: 0;
  text-align: left;
  font-weight: 500; font-size: var(--text-subheading); line-height: 1.3;
  color: var(--color-cocoa-ink);
  cursor: pointer;
  transition: color .3s, padding .5s var(--ease-out);
}
.qa__q:hover { padding-left: 12px; }
.qa__icon { position: relative; flex: none; width: 38px; height: 38px; border: var(--border); border-radius: 50%; transition: transform .6s var(--ease-spring), background-color .3s; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.8px; margin: -.9px 0 0 -7px; background: var(--color-charcoal); border-radius: 2px; }
.qa__icon::after { transform: rotate(90deg); }
.qa.is-open .qa__icon { transform: rotate(135deg); background: var(--color-dew-drop); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.qa__a > div { overflow: hidden; visibility: hidden; transition: visibility 0s .6s; }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa.is-open .qa__a > div { visibility: visible; transition-delay: 0s; }
.qa__a p { margin: 0; padding: 0 4px 26px; max-width: 58ch; font-size: var(--text-body-sm); color: var(--color-cocoa-ink); }

/* ---------- CONTACT ---------- */
.contact { padding: var(--section-pad) 0 calc(var(--section-pad) * 1.1); }
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact__intro { position: relative; }
.contact__intro .section-head { margin-bottom: 24px; }
.contact__intro .body { margin: 0 0 32px; max-width: 26em; }
.contact__alt { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact__alt li { display: grid; gap: 2px; }
.contact__alt span { font-family: var(--font-geist); font-size: 14px; color: #7a716a; }
.contact__alt a { font-size: 22px; font-weight: 500; color: var(--color-cocoa-ink); text-decoration: none; background: linear-gradient(var(--color-marker-orange), var(--color-marker-orange)) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease-out); justify-self: start; }
.contact__alt a:hover { background-size: 100% 2px; }
.contact__st { left: 52%; top: calc(100% + 24px); }

.letter-wrap { position: relative; }
.letter {
  --line: 50px;
  position: relative;
  padding: 58px 44px 40px 80px;
  background-color: var(--color-paper-white);
  background-image: repeating-linear-gradient(to bottom, transparent 0 calc(var(--line) - 1px), rgba(59, 130, 246, .2) calc(var(--line) - 1px) var(--line));
  background-position: 0 58px;
  background-size: 100% calc(100% - 98px);
  background-repeat: no-repeat;
  border: var(--border);
  border-radius: var(--radius-cards);
  box-shadow: var(--shadow-lg);
  transform: rotate(1.2deg);
  transform-origin: center;
}
.letter::before { content: ""; position: absolute; top: 0; bottom: 0; left: 56px; width: 1.5px; background: rgba(255, 111, 30, .55); }
.letter__stamp { right: 22px; top: 18px; transform: rotate(6deg); width: 80px; height: 96px; }
.letter__stamp small { font-size: 9px; }
.letter__body p { margin: 0; font-size: 22px; line-height: var(--line); color: var(--color-cocoa-ink); }
.letter__dear { font-family: var(--font-hand); font-weight: 700; font-size: 38px !important; color: var(--color-marker-orange) !important; }

.blank {
  display: inline-block;
  height: 40px; min-width: 5ch; max-width: 100%;
  margin: 0 4px; padding: 0 6px;
  vertical-align: baseline;
  border: 0; border-bottom: 2px dashed var(--color-charcoal);
  border-radius: 0;
  background: transparent;
  font-family: var(--font-hand); font-weight: 600; font-size: 31px; line-height: 1;
  color: var(--color-burnt-sienna);
  outline: none;
  transition: border-color .3s, background-color .3s;
}
.blank::placeholder { color: #c7beb6; }
.blank:focus { border-bottom: 2px solid var(--color-marker-orange); background: rgba(255, 111, 30, .07); border-radius: 6px 6px 0 0; }
.blank--num { width: 3.4ch; min-width: 0; -moz-appearance: textfield; text-align: center; }
.blank--num::-webkit-outer-spin-button, .blank--num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
select.blank {
  appearance: none; -webkit-appearance: none;
  padding-right: 26px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9 L12 15 L18 9' fill='none' stroke='%23171717' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 2px center / 18px no-repeat;
}
.blank--area { display: block; width: 100%; height: calc(var(--line) * 2); margin: 0; padding: 0 6px; border-bottom: 0; resize: none; overflow: hidden; line-height: var(--line); }
.blank--area:focus { border-bottom: 0; }
.blank--sign { font-size: 36px; font-weight: 700; }
.blank.is-invalid { border-bottom-color: var(--color-burnt-sienna); border-bottom-style: solid; background: rgba(206, 80, 10, .07); animation: shake .45s var(--ease-out); }
@keyframes shake { 20% { transform: translateX(-6px) rotate(-1deg); } 40% { transform: translateX(5px) rotate(1deg); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }

.letter__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; }
.letter__error { margin: 0; font-family: var(--font-hand); font-weight: 600; font-size: 24px; color: var(--color-burnt-sienna); }
.letter__done { text-align: left; padding: 30px 0 10px; }
.letter__done[hidden] { display: none; }
.letter__done-st { display: block; width: 96px; height: 96px; margin-bottom: 18px; }
.letter__done-title { margin: 0 0 12px; font-weight: 600; font-size: clamp(36px, 4vw, 52px); line-height: 1.05; color: var(--color-cocoa-ink); }
.letter__done p { margin: 0 0 28px; font-size: 20px; line-height: 1.5; color: var(--color-cocoa-ink); max-width: 28em; }
.envelope { position: absolute; left: 50%; top: 50%; width: 220px; margin: -76px 0 0 -110px; opacity: 0; pointer-events: none; overflow: visible; z-index: 5; }
.envelope__flap { transform-box: fill-box; transform-origin: top center; }

/* ---------- FOOTER ---------- */
.footer { padding-top: 24px; }
.footer__band {
  position: relative; overflow: hidden;
  background: var(--color-marker-orange);
  color: var(--color-charcoal);
  border: var(--border); border-bottom: 0;
  border-radius: var(--radius-footer) var(--radius-footer) 0 0;
  padding: clamp(64px, 8vw, 104px) 0 26px;
}
.footer__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__cta { margin: 0; max-width: 15ch; font-weight: 600; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -0.01em; color: var(--color-cocoa-ink); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: clamp(48px, 7vw, 88px); }
.footer__cols h4 { margin: 0 0 14px; font-weight: 600; font-size: 22px; color: var(--color-cocoa-ink); }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__cols a, .footer__bottom a {
  font-family: var(--font-geist); font-size: 17px;
  text-decoration: none; color: var(--color-charcoal);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .45s var(--ease-out);
}
.footer__cols a:hover, .footer__bottom a:hover { background-size: 100% 1.5px; }
.footer__logo { width: min(100%, 1080px); margin: clamp(32px, 5vw, 64px) auto 10px; }
.footer__logo:not(.is-animating) .logo__part { transition: transform .7s var(--ease-spring); }
.footer__logo:not(.is-animating) .logo__globe { transition: transform 1.2s var(--ease-out); }
.footer__logo:hover .logo__dear { transform: translateY(-5%) rotate(-2deg); }
.footer__logo:hover .logo__travel { transform: translateY(-5%) rotate(2deg); }
.footer__logo:hover .logo__globe { transform: rotate(360deg) scale(1.06); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-top: 18px; border-top: var(--border); font-family: var(--font-geist); font-size: 15px; }
.footer__st1 { right: 6%; top: 34px; }
.footer__st2 { left: 54%; top: 16%; }

/* ---------- MENTIONS LÉGALES ---------- */
.legal__hero { position: relative; padding: clamp(140px, 16vw, 200px) 0 clamp(48px, 6vw, 80px); }
.legal__hero .container { position: relative; }
.legal__hero .hand { display: inline-block; margin: 0 0 12px; transform: rotate(-2deg); transform-origin: left center; }
.legal__intro { max-width: 32em; margin: 22px 0 0; }
.legal__st1 { right: 6%; top: 0; }
.legal__st2 { right: 24%; top: 72%; }
.legal__grid { display: grid; grid-template-columns: 250px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: var(--section-pad); }
.legal__toc { position: sticky; top: 110px; }
.legal__toc .hand { margin: 0 0 12px; }
.legal__toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.legal__toc li { counter-increment: toc; }
.legal__toc a {
  display: flex; gap: 10px; padding: 7px 0;
  font-family: var(--font-geist); font-size: 15px; line-height: 1.35;
  color: var(--color-cocoa-ink); text-decoration: none;
  transition: color .3s, transform .45s var(--ease-out);
}
.legal__toc a::before { content: counter(toc, decimal-leading-zero); font-weight: 500; color: var(--color-burnt-sienna); }
.legal__toc a:hover, .legal__toc a.is-active { color: var(--color-burnt-sienna); transform: translateX(6px); }
.legal__sheet {
  position: relative;
  padding: clamp(28px, 5vw, 64px);
  background: var(--color-paper-white);
  border: var(--border);
  border-radius: var(--radius-cards);
  box-shadow: var(--shadow-lg);
}
.legal__section { scroll-margin-top: 100px; }
.legal__section + .legal__section { margin-top: 44px; padding-top: 40px; border-top: 1px dashed var(--color-shadow-mist); }
.legal__section h2 {
  display: flex; align-items: baseline; gap: 14px;
  margin: 0 0 18px;
  font-weight: 600; font-size: clamp(26px, 3vw, 36px); line-height: 1.15;
  color: var(--color-cocoa-ink);
}
.legal__num { flex: none; white-space: nowrap; font-family: var(--font-hand); font-weight: 700; font-size: 1.1em; color: var(--color-marker-orange); }
.legal__section ol { margin: 0 0 18px; padding-left: 1.6em; }
.legal__section li { max-width: 66ch; margin-bottom: 10px; padding-left: 6px; font-size: 18px; line-height: 1.6; color: var(--color-cocoa-ink); }
.legal__section li::marker { font-family: var(--font-hand); font-weight: 700; font-size: 1.15em; color: var(--color-marker-orange); }
.legal__form {
  margin: 26px 0 8px;
  padding: 24px 26px 14px;
  background: var(--color-dew-drop);
  border: 1.5px dashed var(--color-charcoal);
  border-radius: var(--radius-cards);
}
.legal__form h3 { margin-top: 0; }
.legal__form ul { list-style: none; margin: 0 0 14px; padding: 0; }
.legal__form li { padding: 10px 0 6px; margin: 0; border-bottom: 1px dotted var(--color-shadow-mist); }
.legal__toc--manual a::before { content: none; }
.legal__toc--manual a span { flex: none; min-width: 1.4em; font-weight: 500; color: var(--color-burnt-sienna); }
.footer__legal { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.legal__section h3 { margin: 28px 0 8px; font-weight: 600; font-size: 21px; line-height: 1.3; color: var(--color-cocoa-ink); }
.legal__section p { max-width: 68ch; margin: 0 0 14px; font-size: 18px; line-height: 1.65; color: var(--color-cocoa-ink); }
.legal__section a { color: var(--color-burnt-sienna); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: color .3s; }
.legal__section a:hover { color: var(--color-marker-orange); }
.legal__st3 { right: -28px; bottom: -30px; }
.footer__bottom a[aria-current="page"] { background-size: 100% 1.5px; }

/* ---------- BANDEAU COOKIES ---------- */
.cookies {
  position: fixed; left: var(--gutter); bottom: var(--gutter); z-index: 240;
  width: min(420px, calc(100vw - var(--gutter) * 2));
  padding: 26px 24px 22px;
  background: var(--color-cream-paper);
  border: var(--border);
  border-radius: var(--radius-cards);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(calc(100% + 60px)) rotate(-5deg);
  transition: transform .9s var(--ease-spring), opacity .4s;
}
.cookies.is-visible { opacity: 1; transform: translateY(0) rotate(-1deg); }
.cookies[hidden] { display: none; }
.cookies__st {
  position: absolute; right: -16px; top: -34px;
  width: 78px; height: 78px;
  transform: rotate(14deg);
  filter: drop-shadow(2.5px 0 0 #fff) drop-shadow(-2.5px 0 0 #fff) drop-shadow(0 2.5px 0 #fff) drop-shadow(0 -2.5px 0 #fff);
}
.cookies.is-visible .cookies__st { animation: cookie-hop 1s .5s var(--ease-out) both; }
@keyframes cookie-hop {
  0% { transform: rotate(14deg) scale(.4); }
  40% { transform: rotate(-12deg) scale(1.15); }
  70% { transform: rotate(20deg) scale(.95); }
  100% { transform: rotate(14deg) scale(1); }
}
.cookies__title { margin: 0 0 8px; font-family: var(--font-hand); font-weight: 700; font-size: 30px; line-height: 1; color: var(--color-marker-orange); }
.cookies__text { margin: 0 0 18px; padding-right: 30px; font-size: 16px; line-height: 1.5; color: var(--color-cocoa-ink); }
.cookies__text a { color: var(--color-burnt-sienna); text-underline-offset: 3px; }
.cookies__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookies__btn { width: 100%; }

.footer__cookies {
  padding: 0; border: 0;
  font-family: var(--font-geist); font-size: 15px;
  color: var(--color-charcoal);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  cursor: pointer;
  transition: background-size .45s var(--ease-out);
}
.footer__cookies:hover { background-size: 100% 1.5px; }
.footer__cookies[hidden] { display: none; }
.legal__section h3[id] { scroll-margin-top: 100px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { justify-self: center; max-width: 520px; margin-top: 24px; }
  .hv--note { left: -4%; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid .feat:nth-child(n) { margin-top: 0; }
  .why__grid .feat:nth-child(even) { margin-top: 36px; }
  .type-row__link { grid-template-columns: 44px 1fr 52px; }
  .type-row__desc { display: none; }
}

@media (max-width: 860px) {
  .menu__inner { grid-template-columns: 1fr; }
  .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .faq__st, .contact__st { display: none; }
  .legal__grid { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
  .legal__toc ol { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .legal__st2 { display: none; }
  .route__steps { padding-left: 40px; }
  .step, .step--right { justify-self: stretch; width: auto; }
  .tag-card { padding: 30px 24px 28px 54px; }
  .tag-card__photo { width: 96px; right: -10px; bottom: -34px; }
  .tag-card__st { right: -8px; width: 70px; height: 70px; }
  .love__table { height: 470px; }
  .pc { left: 50%; top: 40px; width: min(400px, calc(100% - 32px)); margin-left: calc(min(400px, calc(100% - 32px)) / -2); grid-template-columns: 1fr; gap: 14px; touch-action: manipulation; cursor: pointer; }
  .pc__msg { border-right: 0; padding-right: 0; font-size: 21px; }
  .pc__side { flex-direction: row-reverse; align-items: flex-end; }
  .pc__from { flex: 1; }
  .love__hint-fine { display: none; }
  .love__hint-touch { display: inline; }
  .letter { transform: none; padding: 48px 24px 32px 46px; background-position: 0 48px; }
  .letter::before { left: 30px; }
  .letter__stamp { width: 64px; height: 80px; right: 12px; top: 10px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 18px; }
  .header { padding-block: 12px; }
  .brand .logo, .header.is-scrolled .brand .logo { --h: 32px; }
  .menu-toggle .menu-toggle__txt { display: none; }
  .menu-toggle { padding-inline: 14px; }
  .header .pill { padding: 9px 18px; }
  .hero { padding-top: 100px; }
  .hero__body { font-size: 18px; }
  .hero__visual { width: 92%; }
  .hv--note { display: none; }
  .tag-card__photo { display: none; }
  .loader__plane { width: 46px; height: 46px; margin: -23px; }
  .page-legal .header .pill[data-magnetic] { display: none; }
  .legal__toc ol { grid-template-columns: 1fr; }
  .legal__section p { font-size: 17px; }
  .legal__st1 { width: 56px; top: -48px; right: 0; }
  .love__table { height: 400px; }
  .pc .stamp { width: 56px; height: 72px; }
  .hv--st2 { left: -4%; top: 60%; }
  .hero__scroll { display: none; }
  .why__grid { grid-template-columns: 1fr; }
  .why__grid .feat:nth-child(n) { margin-top: 0; }
  .feat { min-height: 0; }
  .type-row__link { grid-template-columns: 1fr 64px; gap: 14px; padding: 20px 4px; }
  .type-row__num, .type-row__arrow, .type-row__name em { display: none; }
  .type-row__thumb { display: block; width: 64px; height: 64px; object-fit: cover; border: var(--border); border-radius: 8px; transform: rotate(4deg); }
  .dest__head { display: block; }
  .dest__hint { margin-top: -16px; }
  .postcard:nth-child(even) { margin-top: 28px; }
  .letter__body p { font-size: 19px; }
  .blank { font-size: 27px; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__band { border-radius: 32px 32px 0 0; }
  .method { border-radius: 32px; }
}

/* =========================================================
   Sans animations
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .loader { display: none; }
  .route__plane { display: none; }
}
.no-gsap .loader, .no-gsap .progress, .no-gsap .route__plane { display: none; }
.no-gsap .route__mask { stroke-dasharray: none; }
