/* =========================================================
   Jérémy Voyage — feuille de style
   ========================================================= */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/fraunces.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope.woff2") format("woff2");
}

:root {
  --ink: #0a1a20;
  --deep: #0f2a33;
  --deep-2: #153a45;
  --lagoon: #45c4b0;
  --lagoon-soft: #8fe3d5;
  --lagoon-ink: #0b6f63;
  --sun: #f4a259;
  --coral: #e8664a;
  --sand: #f6f0e6;
  --sand-2: #ece2d2;
  --paper: #fffcf7;
  --text: #13262d;
  --muted: #55666c;
  --on-dark: #eaf4f2;
  --on-dark-muted: #a9c0c2;
  --line: rgba(19, 38, 45, .12);
  --line-dark: rgba(255, 255, 255, .13);
  --wa: #178a4b;
  --wa-hover: #12723d;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px -28px rgba(6, 24, 30, .45);
  --shadow-soft: 0 10px 30px -18px rgba(6, 24, 30, .35);
  --container: 1180px;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; font-weight: 400; }
h1, h2 { font-family: var(--serif); font-optical-sizing: auto; letter-spacing: -.02em; }
h2 { font-size: clamp(2.25rem, 4.8vw, 3.75rem); }
h2 em, h1 em { font-style: italic; font-weight: 300; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--sun); color: var(--ink); padding: .6em 1em; border-radius: 10px; font-weight: 700;
}
.skip:focus { top: 12px; }

.ic {
  width: 1.2em; height: 1.2em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: .78rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  color: var(--lagoon-ink); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: var(--lagoon); }
.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

.lede { font-size: 1.12rem; color: var(--muted); max-width: 56ch; }
.note { font-size: .86rem; color: var(--muted); margin-top: .9rem; }
.note-light { color: var(--on-dark-muted); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.55em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-small { padding: .7em 1.15em; font-size: .92rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--lagoon); color: #05302a; box-shadow: 0 12px 30px -14px rgba(69, 196, 176, .8); }
.btn-primary:hover { background: var(--lagoon-soft); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 12px 30px -16px rgba(23, 138, 75, .9); }
.btn-wa:hover { background: var(--wa-hover); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--deep-2); }
.btn-ig { background: linear-gradient(100deg, #c2410c, #be185d 55%, #7e22ce); color: #fff; }
.btn-ig:hover { filter: brightness(1.08); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em; margin-top: auto; padding-top: 1.2rem;
  font-weight: 700; color: var(--lagoon-ink); text-decoration: none;
}
.link-arrow .ic { transition: transform .2s ease; }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: #fff; transition: background-color .3s ease, box-shadow .3s ease, height .3s ease;
}
.site-header.is-solid {
  background: rgba(10, 26, 32, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: .62rem; text-decoration: none; color: #fff; white-space: nowrap; }
.brand-mark { display: block; width: 44px; height: 44px; flex: none; filter: drop-shadow(0 6px 14px rgba(4, 16, 20, .35)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.6rem; letter-spacing: -.01em; }
.brand-sub { font-weight: 800; font-size: .6rem; letter-spacing: .46em; text-transform: uppercase; color: var(--sun); margin-top: .22rem; padding-left: .08em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  white-space: nowrap; padding: .5em .85em; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem;
  color: rgba(255, 255, 255, .88); transition: background-color .2s ease, color .2s ease;
}
.nav a:not(.btn):hover { background: rgba(255, 255, 255, .12); color: #fff; }
.nav-ig { display: inline-flex; align-items: center; gap: .4em; }
.nav-ig span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nav-wa { margin-left: 8px; }

.burger {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4);
  background: rgba(10, 26, 32, .35); cursor: pointer; position: relative;
}
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s ease, top .3s ease; }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 90px; color: #fff; overflow: hidden; isolation: isolate;
}
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-bg img { object-fit: cover; object-position: center 40%; animation: heroZoom 24s ease-out both; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 24, 30, .9) 0%, rgba(8, 24, 30, .72) 38%, rgba(8, 24, 30, .18) 72%, rgba(8, 24, 30, .05) 100%),
    linear-gradient(180deg, rgba(8, 24, 30, .55) 0%, transparent 22%, transparent 70%, rgba(10, 26, 32, .85) 100%);
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 48px; }
.hero h1 { font-size: clamp(3.3rem, 8.2vw, 7rem); line-height: .95; margin-bottom: 1.6rem; text-shadow: 0 2px 30px rgba(4, 16, 20, .45); }
.hero-lead { text-shadow: 0 1px 16px rgba(4, 16, 20, .5); }
.hero h1 em { color: var(--lagoon-soft); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(234, 244, 242, .9); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

.hello {
  display: flex; align-items: center; gap: 16px; margin-top: 2.4rem; max-width: 540px;
  padding: 14px 20px 14px 14px; border-radius: 20px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.hello img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--sun); flex: none; }
.hello p { font-size: .95rem; line-height: 1.5; color: rgba(234, 244, 242, .92); }
.hello strong { display: block; color: #fff; font-size: 1.02rem; }

/* Pile de polaroïds */
.hero-stack { position: relative; height: 470px; justify-self: center; width: min(380px, 100%); }
.polaroid {
  position: absolute; left: 0; right: 0; top: 30px; margin: 0;
  background: #fffdf8; padding: 12px 12px 0; border-radius: 6px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  transition: transform .8s cubic-bezier(.2, .7, .2, 1), opacity .8s ease;
  will-change: transform;
}
.polaroid img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 3px; }
.polaroid figcaption {
  font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: #2c3b40;
  text-align: center; padding: 12px 6px 16px;
}
.polaroid[data-pos="0"] { z-index: 3; transform: rotate(-4deg); }
.polaroid[data-pos="1"] { z-index: 2; transform: translate(34px, -18px) rotate(6deg); }
.polaroid[data-pos="2"] { z-index: 1; transform: translate(-30px, 14px) rotate(-11deg); }
.polaroid.is-leaving { z-index: 4; transform: translate(70%, -14%) rotate(16deg); opacity: 0; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; translate: -50% 0;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid rgba(255, 255, 255, .45); color: #fff;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section-sand { background: var(--sand); }
.section-paper { background: var(--paper); }
.section-ink { background: radial-gradient(1200px 500px at 85% 0%, rgba(69, 196, 176, .12), transparent 60%), var(--ink); color: var(--on-dark); }
.section-deep { background: var(--deep); color: var(--on-dark); }
.section-ink .lede, .section-deep .lede { color: var(--on-dark-muted); }
.section-ink h2 em, .section-deep h2 em { color: var(--lagoon-soft); }

.section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { margin-bottom: 1.1rem; }
.section-head.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; }
.section-head.split h2 { margin-bottom: 0; }
.section-head.center .lede { margin-inline: auto; }

/* ---------- Piliers ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  display: flex; flex-direction: column; padding: 32px 30px 30px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar-ic {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(69, 196, 176, .22), rgba(244, 162, 89, .22)); color: var(--lagoon-ink);
}
.pillar-ic .ic { width: 26px; height: 26px; }
.pillar h3 { margin-bottom: .6rem; font-size: 1.28rem; }
.pillar p { color: var(--muted); }

/* ---------- Comparatifs (billets) ---------- */
.deals-wrap { position: relative; }
.deals {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(360px, 84vw); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 10px max(20px, calc((100vw - var(--container)) / 2)) 26px;
  scroll-padding-inline: max(20px, calc((100vw - var(--container)) / 2));
  scrollbar-width: none;
}
.deals::-webkit-scrollbar { display: none; }
.deals:focus-visible { outline-offset: -3px; }

.deal {
  scroll-snap-align: start; display: flex; flex-direction: column;
  background: var(--paper); color: var(--text); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.deal-photo { position: relative; }
.deal-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.deal-badge {
  position: absolute; top: 14px; right: 14px; padding: .35em .8em; border-radius: 999px;
  background: var(--sun); color: #2b1505; font-weight: 800; font-size: .95rem; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5);
}
.deal-body { padding: 22px 24px 20px; }
.deal-kind { font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--lagoon-ink); margin-bottom: .45rem; }
.deal-body h3 { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; line-height: 1.15; margin-bottom: .7rem; }
.deal-meta { display: flex; align-items: center; gap: .5em; color: var(--muted); font-size: .93rem; }
.deal-meta + .deal-meta { margin-top: .25rem; }
.deal-meta .ic { width: 1.05em; height: 1.05em; color: var(--lagoon-ink); }

/* perforation du billet */
.deal-stub {
  position: relative; margin-top: auto; padding: 22px 24px 24px;
  border-top: 2px dashed var(--sand-2); display: flex; flex-direction: column; gap: 10px;
}
.deal-stub::before, .deal-stub::after {
  content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink);
}
.deal-stub::before { left: -12px; }
.deal-stub::after { right: -12px; }

.deal-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: .93rem; color: var(--muted); }
.deal-row s { font-size: 1.1rem; color: #8a979b; text-decoration-thickness: 2px; text-decoration-color: var(--coral); }
.deal-member {
  padding: 12px 14px; border-radius: var(--radius-sm); align-items: center;
  background: linear-gradient(120deg, rgba(69, 196, 176, .18), rgba(69, 196, 176, .08)); color: var(--lagoon-ink); font-weight: 700;
}
.deal-member strong { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--text); line-height: 1; }
.deal-gap { font-size: .95rem; color: var(--muted); text-align: center; }
.deal-gap strong { color: var(--coral); font-size: 1.05rem; }

.deal-details { font-size: .86rem; color: var(--muted); border-radius: 10px; background: var(--sand); }
.deal-details summary { cursor: pointer; padding: .6em .9em; font-weight: 700; color: var(--text); list-style-position: inside; }
.deal-details p { padding: 0 .9em .8em; }
.deal .btn { margin-top: 4px; }

.deals-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1.5px solid var(--line-dark); background: rgba(255, 255, 255, .05); color: #fff;
  transition: background-color .2s ease, border-color .2s ease, opacity .2s ease;
}
.round-btn:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); }
.round-btn:disabled { opacity: .35; cursor: default; }
.dots { display: flex; gap: 8px; }
.dots button {
  width: 9px; height: 9px; padding: 0; border-radius: 99px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .3); transition: width .3s ease, background-color .3s ease;
}
.dots button[aria-current="true"] { width: 28px; background: var(--lagoon); }
.fineprint { margin: 28px auto 0; max-width: 880px; text-align: center; font-size: .82rem; line-height: 1.6; color: var(--on-dark-muted); }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; top: 38px; left: 16%; right: 16%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--sand-2) 0 10px, transparent 10px 18px);
}
.step { position: relative; text-align: center; padding: 0 12px; }
.step-num {
  position: relative; display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 22px; border-radius: 50%;
  font-family: var(--serif); font-size: 1.8rem; font-weight: 500; color: var(--lagoon-ink);
  background: var(--paper); border: 2px solid rgba(69, 196, 176, .55); box-shadow: 0 0 0 8px var(--paper);
}
.step h3 { margin-bottom: .55rem; font-size: 1.3rem; }
.step p { color: var(--muted); max-width: 34ch; margin-inline: auto; }
.center-cta { text-align: center; margin-top: clamp(40px, 6vw, 60px); }

/* ---------- Souvenirs (défilement) ---------- */
.souvenirs { overflow: hidden; }
.souvenirs .section-head { margin-bottom: 44px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; padding: 6px 0; }
.marquee:not(.is-running) { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
.marquee:not(.is-running) .marquee-track { padding-inline: 16px; }
.marquee.is-running .marquee-track { padding-right: 20px; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee li { position: relative; flex: none; height: clamp(220px, 28vw, 320px); border-radius: 18px; overflow: hidden; }
.marquee li:nth-child(even) { margin-top: 34px; }
.marquee img { height: 100%; width: auto; object-fit: cover; transition: transform .6s ease; }
.marquee li:hover img { transform: scale(1.05); }
.marquee li span {
  position: absolute; left: 12px; bottom: 12px; padding: .3em .8em; border-radius: 99px;
  font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: #fff;
  background: rgba(10, 26, 32, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Planificateur ---------- */
.ideas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: -16px 0 28px; }
.ideas-label { font-weight: 700; color: var(--muted); margin-right: 4px; }
.idea {
  display: inline-flex; align-items: center; gap: .5em; padding: .6em 1.05em; border-radius: 999px; cursor: pointer;
  border: 1.5px dashed rgba(11, 111, 99, .45); background: transparent; color: var(--lagoon-ink); font-weight: 700; font-size: .93rem;
  transition: background-color .2s ease, border-color .2s ease;
}
.idea:hover { background: rgba(69, 196, 176, .12); border-style: solid; }

.planner-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: 28px; align-items: start; }
.planner {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft);
  padding: clamp(22px, 3.5vw, 38px);
}
.planner fieldset { border: 0; margin: 0; padding: 0; }
.planner fieldset + fieldset { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.planner legend { float: left; width: 100%; display: flex; align-items: center; gap: .6em; padding: 0; margin-bottom: 14px; font-weight: 800; font-size: 1.08rem; }
.planner legend + * { clear: both; }
.planner legend span {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: var(--lagoon); font-size: .85rem;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: .55em 1em; border-radius: 999px; font-weight: 600; font-size: .93rem;
  border: 1.5px solid var(--line); background: #fff; transition: all .18s ease;
}
.chip:hover span { border-color: var(--lagoon); }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }

.row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 28px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.row .field { margin-top: 0; }
.field label, .field-label { font-weight: 700; font-size: .9rem; }
.field small { font-weight: 500; color: var(--muted); }
.field input[type="text"], .field select {
  min-width: min(280px, 100%); padding: .75em 1em; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field select { cursor: pointer; }
.field input[type="text"]:focus, .field select:focus { outline: none; border-color: var(--lagoon); box-shadow: 0 0 0 4px rgba(69, 196, 176, .2); }

.check { display: inline-flex; align-items: center; gap: .6em; cursor: pointer; font-weight: 600; font-size: .95rem; margin-top: 12px; }
.row .check { margin: 0 0 .8em; }
.check input { width: 20px; height: 20px; accent-color: var(--lagoon-ink); cursor: pointer; }

.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; padding: 4px; }
.stepper button {
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--sand); color: var(--text); transition: background-color .2s ease;
}
.stepper button:hover { background: var(--sand-2); }
.stepper input {
  width: 48px; border: 0; background: transparent; text-align: center; font-weight: 800; font-size: 1.1rem; -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.preview { position: sticky; top: calc(var(--header-h) + 20px); }
.phone { border-radius: 26px; overflow: hidden; background: #0b141a; box-shadow: var(--shadow); border: 6px solid #0b141a; }
.phone-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #1f2c33; color: #e9edef; }
.phone-bar img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.phone-bar strong { display: block; font-size: .98rem; line-height: 1.2; }
.phone-bar small { font-size: .78rem; color: #8696a0; }
.phone-chat {
  min-height: 300px; padding: 20px 16px; display: flex; align-items: flex-end; justify-content: flex-end;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .03) 0 2px, transparent 3px) 0 0 / 26px 26px,
    #0b141a;
}
.bubble {
  max-width: 92%; padding: 10px 12px 12px; border-radius: 12px 12px 4px 12px;
  background: #005c4b; color: #e9edef; font-size: .94rem; line-height: 1.5; white-space: pre-line;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .3);
}
.preview .btn { margin-top: 16px; }

/* ---------- Contact ---------- */
.contact { color: var(--on-dark); overflow: hidden; isolation: isolate; }
.contact-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(10, 26, 32, .95) 0%, rgba(15, 42, 51, .86) 55%, rgba(15, 42, 51, .7) 100%),
    url("../img/venise.webp") center / cover no-repeat;
}
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.contact blockquote { margin: 0; }
.contact blockquote p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.12; color: #fff; }
.contact blockquote footer { margin-top: 1rem; font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--sun); }
.contact-text { margin-top: 1.6rem; color: var(--on-dark-muted); font-size: 1.1rem; max-width: 46ch; }

.profile {
  padding: 30px; border-radius: var(--radius); background: rgba(255, 255, 255, .07); border: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.profile-head { display: flex; align-items: center; gap: 18px; }
.profile-head img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid var(--sun); }
.profile-head h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; }
.profile-head p { color: var(--on-dark-muted); font-size: .95rem; }
.profile-head a { color: var(--lagoon); font-weight: 700; font-size: .95rem; text-decoration: none; }
.profile-head a:hover { text-decoration: underline; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0; }
.values li {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 14px 8px;
  border-radius: var(--radius-sm); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .04);
  font-size: .86rem; font-weight: 700; line-height: 1.3; hyphens: none;
}
.values .ic { width: 24px; height: 24px; color: var(--lagoon); }
.profile-actions { display: grid; gap: 10px; }
.profile .note { color: var(--on-dark-muted); text-align: center; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 24px); margin-bottom: 0; }
.faq-grid .link-arrow { padding-top: .4rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none;
  padding: 22px 4px; font-weight: 700; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic {
  width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--sand); color: var(--lagoon-ink);
  transition: transform .3s ease, background-color .3s ease;
}
.faq details[open] summary .ic { transform: rotate(45deg); background: var(--lagoon); color: var(--ink); }
.faq details p { padding: 0 52px 24px 4px; color: var(--muted); }

/* ---------- CTA final ---------- */
.final-cta h2 { margin-bottom: 1.1rem; }
.final-cta .lede { margin-inline: auto; }
.final-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 2.2rem; }
.final-actions .btn { width: min(460px, 100%); }

/* ---------- Pied de page ---------- */
.site-footer { background: #06131a; color: var(--on-dark-muted); padding: 56px 0 34px; font-size: .92rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 28px; padding-bottom: 30px; border-bottom: 1px solid var(--line-dark); }
.footer-tag { margin-top: .4rem; letter-spacing: .14em; text-transform: uppercase; font-size: .75rem; font-weight: 700; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a, .linklike { color: var(--on-dark); text-decoration: none; font-weight: 600; }
.footer-nav a:hover, .linklike:hover { color: var(--lagoon); }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding-top: 24px; font-size: .84rem; }

/* ---------- Bouton WhatsApp flottant ---------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .55);
  transform: translateY(120px); opacity: 0; transition: transform .35s ease, opacity .35s ease, background-color .2s ease;
}
.fab .ic { width: 30px; height: 30px; }
.fab:hover { background: var(--wa-hover); }
.fab.is-visible { transform: none; opacity: 1; }

/* ---------- Fenêtre « Mentions légales » ---------- */
.modal {
  width: min(680px, calc(100% - 32px)); max-height: calc(100% - 48px); padding: 36px clamp(22px, 4vw, 44px);
  border: 0; border-radius: var(--radius); background: var(--paper); color: var(--text); box-shadow: var(--shadow);
}
.modal::backdrop { background: rgba(6, 19, 26, .7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal h2 { font-size: 2rem; margin-bottom: 1rem; }
.modal h3 { font-size: 1rem; margin: 1.4rem 0 .35rem; }
.modal p { color: var(--muted); font-size: .95rem; }
.modal mark { background: #fde8c8; color: #7a3d06; padding: 0 .25em; border-radius: 4px; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--sand); color: var(--text);
}
.modal-close:hover { background: var(--sand-2); }

/* ---------- Apparition au défilement (amélioration progressive) ---------- */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stack { display: none; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillars .pillar:last-child { grid-column: 1 / -1; }
  .planner-grid { grid-template-columns: 1fr; }
  .preview { position: static; max-width: 560px; }
  .contact-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-grid .section-head { position: static; }
}

/* Menu complet seulement au-delà de 1080 px : en dessous, il passait sur deux lignes */
@media (max-width: 1080px) {
  /* un backdrop-filter sur l'en-tête enfermerait le menu plein écran (position: fixed) dans sa hauteur */
  .site-header.is-solid { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(10, 26, 32, .96); }
  .burger { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 6px;
    padding: 90px 24px 40px; background: rgba(8, 22, 28, .97);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a:not(.btn) { font-family: var(--serif); font-size: 1.9rem; font-weight: 400; padding: .2em .6em; }
  .nav-ig span { position: static; width: auto; height: auto; clip: auto; }
  .nav-wa { margin: 18px 0 0; font-size: 1.05rem; padding: .95em 1.6em; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .section-head.split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { top: 40px; bottom: 40px; left: 50%; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--sand-2) 0 10px, transparent 10px 18px); }
}

@media (max-width: 700px) {
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 1.4rem; }
  body { font-size: 1rem; }
  .container { width: min(var(--container), 100% - 32px); }
  .hero { align-items: flex-end; padding-bottom: 84px; }
  .hero-shade {
    background: linear-gradient(180deg, rgba(8, 24, 30, .72) 0%, rgba(8, 24, 30, .66) 35%, rgba(8, 24, 30, .84) 65%, rgba(10, 26, 32, .97) 100%);
  }
  .hero-actions .btn { flex: 1 1 100%; }
  .hello { padding: 12px 14px 12px 12px; }
  .hello img { width: 54px; height: 54px; }
  .scroll-cue { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .pillars .pillar:last-child { grid-column: auto; }
  .deals { gap: 16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .marquee li:nth-child(even) { margin-top: 20px; }
  .row { flex-direction: column; align-items: stretch; }
  .row .check { margin: 0; }
  .field input[type="text"], .field select { min-width: 0; width: 100%; }
  .values { grid-template-columns: 1fr; }
  .values li { flex-direction: row; justify-content: flex-start; text-align: left; padding: 12px 14px; }
  .profile { padding: 22px; }
  .faq details p { padding-right: 4px; }
  .footer-legal { flex-direction: column; }
  .fab { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee { overflow-x: auto; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; }
}
