/* Tamāhine nō Vavau — feuille unique du site
   Couleurs mesurées sur le flyer de Callie (nuit #011232, or #F6D297).
   Polices auto-hébergées (OFL), sous-ensembles latin + latin étendu (ā, ō). */

/* ---------- Polices ---------- */
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/cinzel-normal-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/cinzel-normal-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400 600; font-display: swap; src: url(../fonts/cormorant-garamond-italic-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400 600; font-display: swap; src: url(../fonts/cormorant-garamond-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/cormorant-garamond-normal-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/cormorant-garamond-normal-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 600; font-display: swap; src: url(../fonts/jost-normal-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 600; font-display: swap; src: url(../fonts/jost-normal-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Jetons ---------- */
:root {
  --night: #011232;
  --abyss: #000721;
  --deep: #041030;
  --haze: #283e6c;
  --lagoon: #2a546d;
  --gold: #f6d297;
  --gold-warm: #deb25f;
  --gold-deep: #b98a45;
  --amber: #865b2e;
  --wa: #25d366;
  --wa-light: #4be083;
  --wa-ink: #111b21;
  --ink: #ede6d6;
  --muted: #aab3c9;
  --line: rgba(246, 210, 151, 0.28);
  --line-soft: rgba(246, 210, 151, 0.14);
  --card: rgba(255, 255, 255, 0.035);

  --f-display: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --f-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 68px;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--abyss);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.15; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--abyss); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 32px, 1160px); margin-inline: auto; }
.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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--gold); color: var(--abyss); border-radius: 8px; font-weight: 500; text-decoration: none; }
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-block;
  font-family: var(--f-display);
  font-size: 0.78rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.h2 {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.08;
  color: #fbf3e3;
  letter-spacing: -0.005em;
}
.h2 em { font-style: italic; color: var(--gold); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 62ch; }
.section { position: relative; padding-block: clamp(80px, 11vw, 150px); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* filet or + ornement (repris du flyer) */
.rule {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--gold);
}
.rule::before, .rule::after {
  content: ""; height: 1px; width: clamp(48px, 14vw, 180px);
  background: linear-gradient(90deg, transparent, var(--gold-warm));
}
.rule::after { background: linear-gradient(90deg, var(--gold-warm), transparent); }
.ornament { width: 40px; height: 40px; flex: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px;
  font-family: var(--f-sans); font-size: 0.95rem; font-weight: 500; letter-spacing: 0.06em;
  text-decoration: none; cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s, color 0.35s, border-color 0.35s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
/* Vert WhatsApp (#25D366, whatsapp.com) ; texte foncé : le blanc sur ce vert ne fait que 2:1 de contraste */
.btn-whatsapp {
  color: var(--wa-ink);
  background: var(--wa);
  box-shadow: 0 10px 30px -10px rgba(37, 211, 102, 0.5);
}
.btn-whatsapp:hover { transform: translateY(-2px); background: var(--wa-light); box-shadow: 0 16px 40px -12px rgba(37, 211, 102, 0.65); }
.btn-ghost { color: var(--gold); border: 1px solid var(--line); background: rgba(1, 18, 50, 0.35); }
.btn-ghost:hover { border-color: var(--gold); transform: translateY(-2px); }
.btn-lg { min-height: 60px; padding: 0 34px; font-size: 1.02rem; }

/* ---------- En-tête ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(0, 7, 33, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--gold); min-width: 0; }
.brand .ornament { width: 26px; height: 26px; }
.brand__name { font-family: var(--f-display); font-size: 0.82rem; letter-spacing: 0.26em; white-space: nowrap; }
.nav { margin-left: auto; display: flex; gap: 28px; }
.nav a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  color: var(--ink); opacity: 0.8; transition: opacity 0.3s, color 0.3s;
}
.nav a:hover { opacity: 1; color: var(--gold); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.lang {
  font-family: var(--f-display); font-size: 0.78rem; letter-spacing: 0.18em; text-decoration: none;
  display: inline-grid; place-items: center; min-width: 44px; min-height: 44px;
  color: var(--gold); border-radius: 999px;
}
.lang:hover { background: rgba(246, 210, 151, 0.08); }
.header .btn { min-height: 44px; padding: 0 18px; font-size: 0.82rem; }

@media (max-width: 900px) {
  .nav { display: none; }
  .header__actions { margin-left: auto; }
}
@media (max-width: 520px) {
  .brand__name { font-size: 0.7rem; letter-spacing: 0.18em; }
  .header .btn .btn__label { display: none; }
  .header .btn { width: 44px; min-height: 44px; padding: 0; }
}

/* ---------- Hero ---------- */
.hero {
  /* hauteur du paysage : 17vw garde le sommet visible sur écran large, 30vh sur téléphone */
  --land-h: max(17vw, min(30vh, 320px));
  position: relative;
  min-height: 100svh;
  display: grid;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 70% at 72% 18%, rgba(40, 62, 108, 0.55) 0%, transparent 60%),
    radial-gradient(90% 60% at 10% 80%, rgba(42, 84, 109, 0.25) 0%, transparent 70%),
    linear-gradient(180deg, var(--abyss) 0%, var(--night) 55%, #04173d 100%);
}
.hero__sky { position: absolute; inset: -14px; z-index: -2; width: calc(100% + 28px); height: calc(100% + 28px); transition: transform 1.2s var(--ease); }
.hero__land {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: -1;
  height: var(--land-h);
  will-change: transform;
}
.hero__land svg { width: 100%; height: 100%; }
.hero__content {
  min-width: 0;
  align-self: center;
  text-align: center;
  padding: calc(var(--header-h) + 28px) 16px calc(var(--land-h) * 0.55);
  will-change: transform, opacity;
}
.hero__eyebrow { font-family: var(--f-display); font-size: clamp(0.72rem, 1.6vw, 0.95rem); letter-spacing: 0.42em; color: #efe7d4; margin: 18px 0 0; text-transform: uppercase; }
.hero__eyebrow span { color: var(--gold); padding: 0 0.5em; }
.hero h1 { margin: 0; }
.brush {
  display: block;
  width: min(90vw, 820px);
  aspect-ratio: 1676 / 322;
  margin: clamp(14px, 3vw, 26px) auto 8px;
  background: linear-gradient(100deg, #c08f45 0%, var(--gold) 30%, #fff3d6 46%, var(--gold) 60%, var(--gold-warm) 100%);
  background-size: 260% 100%;
  -webkit-mask: url(../img/private-guide.png) center / contain no-repeat;
  mask: url(../img/private-guide.png) center / contain no-repeat;
  filter: drop-shadow(0 4px 22px rgba(246, 210, 151, 0.25));
}
.hero__name {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(0.95rem, 2.6vw, 1.55rem);
  letter-spacing: 0.32em;
  color: #f4ecdb;
  text-transform: uppercase;
  margin-right: -0.32em;
}
.hero__name::before, .hero__name::after { content: ""; height: 1px; width: clamp(28px, 10vw, 150px); background: linear-gradient(90deg, transparent, var(--gold-warm)); }
.hero__name::after { background: linear-gradient(90deg, var(--gold-warm), transparent); }
@media (max-width: 520px) {
  .hero__name { gap: 12px; font-size: 0.98rem; letter-spacing: 0.22em; margin-right: -0.22em; white-space: nowrap; }
  .hero__name::before, .hero__name::after { width: 22px; }
}
@media (max-width: 340px) {
  .hero__eyebrow { letter-spacing: 0.3em; }
  .hero__name { gap: 8px; font-size: 0.86rem; letter-spacing: 0.16em; margin-right: -0.16em; }
  .hero__name::before, .hero__name::after { width: 14px; }
}
.hero__tagline { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.35rem, 3.2vw, 2.1rem); color: var(--gold); margin: 22px auto 6px; line-height: 1.25; }
.hero__sub { color: var(--muted); font-size: clamp(0.98rem, 1.6vw, 1.08rem); margin: 0 auto 30px; max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* lumières du lagon */
.lights circle { fill: #ffd894; }
.reflect rect { transform-box: fill-box; transform-origin: 50% 0; animation: flicker 3.6s ease-in-out infinite; }
.reflect rect:nth-child(3n) { animation-duration: 4.4s; animation-delay: -1.2s; }
.reflect rect:nth-child(3n + 1) { animation-duration: 2.9s; animation-delay: -0.6s; }
@keyframes flicker { 0%, 100% { opacity: 0.85; transform: scaleY(1); } 50% { opacity: 0.45; transform: scaleY(0.78); } }
.ripples path { animation: ripple 9s linear infinite; }
.ripples path:nth-child(2) { animation-duration: 13s; animation-direction: reverse; }
@keyframes ripple { to { transform: translateX(-120px); } }

/* entrée du hero */
.js .hero [data-in] { opacity: 0; transform: translateY(18px); animation: rise 1.1s var(--ease) forwards; }
.js .hero [data-in="1"] { animation-delay: 0.15s; }
.js .hero [data-in="2"] { animation-delay: 0.35s; }
.js .hero [data-in="4"] { animation-delay: 1.35s; }
.js .hero [data-in="5"] { animation-delay: 1.55s; }
.js .hero [data-in="6"] { animation-delay: 1.75s; }
.js .hero .brush { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); animation: brush 1.7s 0.55s cubic-bezier(0.65, 0, 0.35, 1) forwards, shimmer 7s 2.6s ease-in-out infinite; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes brush { to { clip-path: inset(0 0 0 0); } }
@keyframes shimmer { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }

/* ---------- Piliers ---------- */
.pillars { border-block: 1px solid var(--line-soft); background: linear-gradient(180deg, #04173d, var(--abyss)); }
.pillars__list { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.pillars__list li { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 8px 12px; font-family: var(--f-display); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: #efe7d4; text-align: left; }
.pillars__list li + li { border-left: 1px solid var(--line-soft); }
.pillars__list svg { width: 34px; height: 34px; flex: none; color: var(--gold); }
@media (max-width: 900px) {
  .pillars__list { grid-template-columns: repeat(2, 1fr); row-gap: 8px; }
  .pillars__list li:nth-child(3) { border-left: 0; }
}
@media (max-width: 480px) {
  .pillars__list li { flex-direction: column; text-align: center; gap: 8px; font-size: 0.68rem; letter-spacing: 0.14em; }
}

/* ---------- Icônes au trait (se dessinent) ---------- */
.line-icon { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.js [data-reveal] .line-icon path,
.js [data-reveal] .line-icon circle,
.js [data-reveal] .line-icon rect,
.js [data-reveal].draw path,
.js [data-reveal] .draw path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) 0.2s; }
.js [data-reveal].is-visible .line-icon path,
.js [data-reveal].is-visible .line-icon circle,
.js [data-reveal].is-visible .line-icon rect,
.js [data-reveal].draw.is-visible path,
.js [data-reveal].is-visible .draw path { stroke-dashoffset: 0; }

/* apparition au défilement (translateY seulement : rien ne dépasse à droite) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal][data-delay="1"] { transition-delay: 0.12s; }
.js [data-reveal][data-delay="2"] { transition-delay: 0.24s; }
.js [data-reveal][data-delay="3"] { transition-delay: 0.36s; }
.js [data-reveal][data-delay="4"] { transition-delay: 0.48s; }

/* ---------- Le nom ---------- */
.name { background: radial-gradient(80% 60% at 50% 0%, rgba(40, 62, 108, 0.35), transparent 70%), var(--abyss); text-align: center; }
.name__words { display: flex; justify-content: center; align-items: flex-start; gap: clamp(18px, 5vw, 64px); margin: 10px 0 clamp(36px, 6vw, 60px); }
.name__word { display: grid; gap: 12px; justify-items: center; }
.name__word b { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.7rem, 6.4vw, 4.4rem); letter-spacing: 0.08em; color: var(--gold); line-height: 1; text-shadow: 0 0 40px rgba(246, 210, 151, 0.25); }
.name__word i { font-family: var(--f-serif); font-size: clamp(0.98rem, 1.8vw, 1.3rem); color: var(--muted); }
.name__word i::before { content: ""; display: block; width: 1px; height: 22px; margin: 0 auto 10px; background: linear-gradient(var(--gold-warm), transparent); }
@media (max-width: 340px) {
  .name__words { gap: 10px; }
  .name__word b { font-size: 1.4rem; }
}
.name__text { max-width: 640px; margin: 0 auto; font-size: clamp(1.08rem, 1.7vw, 1.22rem); }
.name__source { display: block; margin-top: 22px; font-size: 0.82rem; color: var(--muted); letter-spacing: 0.02em; }

/* ---------- Motif tapa ---------- */
.tapa { color: var(--gold-warm); opacity: 0.75; }
.tapa svg { width: 100%; height: 46px; }
.tapa path { fill: none; stroke: currentColor; stroke-width: 1.2; vector-effect: non-scaling-stroke; }

/* ---------- Callie ---------- */
.callie { background: linear-gradient(180deg, var(--abyss) 0%, var(--deep) 40%, #0a1a40 100%); }
.callie__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.portrait { position: relative; aspect-ratio: 4 / 5; max-width: 460px; width: 100%; margin-inline: auto; }
.portrait__frame {
  position: absolute; inset: 0; overflow: hidden;
  border-radius: 999px 999px 28px 28px;
  border: 1px solid var(--line);
  background: radial-gradient(90% 60% at 50% 20%, rgba(40, 62, 108, 0.9), transparent 75%), linear-gradient(180deg, #071a45, var(--abyss));
}
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait::after { content: ""; position: absolute; inset: -14px; border-radius: 999px 999px 36px 36px; border: 1px solid var(--line-soft); pointer-events: none; }
.portrait__art { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--gold); }
.callie__text .h2 { margin-bottom: 26px; }
.callie__text p { color: #ddd6c6; }
.quote { margin: 34px 0; padding: 4px 0 4px 26px; border-left: 1px solid var(--gold-warm); }
.quote p { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.35; color: #fbf3e3; margin-bottom: 10px; }
.quote footer { font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.facts { list-style: none; margin: 34px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line-soft); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.facts b { display: block; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--gold); line-height: 1.1; }
.facts span { display: block; margin-top: 6px; font-size: 0.86rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 860px) {
  .callie__grid { grid-template-columns: 1fr; }
  .portrait { max-width: 340px; }
}
@media (max-width: 420px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Expériences ---------- */
.experiences { background: linear-gradient(180deg, #0a1a40 0%, #0d1f49 100%); }
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.card {
  --mx: 50%; --my: 0%;
  grid-column: span 2;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 34px 30px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(246, 210, 151, 0.09), transparent 60%), var(--card);
  transition: border-color 0.5s, transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.card:nth-child(4), .card:nth-child(5) { grid-column: span 3; }
.card:hover { border-color: var(--line); transform: translateY(-4px); box-shadow: 0 28px 60px -30px rgba(0, 0, 0, 0.8); }
.card__icon { width: 58px; height: 58px; color: var(--gold); margin-bottom: 26px; }
.card h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.06rem; letter-spacing: 0.16em; text-transform: uppercase; color: #fbf3e3; margin-bottom: 14px; line-height: 1.4; }
.card p { color: #d4cebf; font-size: 1rem; }
.card__meta { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; font-size: 0.85rem; color: var(--muted); }
.card__link { color: var(--gold); text-decoration: none; font-weight: 500; letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.card__link::after { content: "→"; transition: transform 0.4s var(--ease); }
.card__link:hover::after { transform: translateX(4px); }
.card--signature { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(246, 210, 151, 0.12), transparent 60%), linear-gradient(160deg, rgba(40, 62, 108, 0.5), rgba(255, 255, 255, 0.02)); border-color: var(--line); }
.card__badge { position: absolute; top: 22px; right: 22px; font-family: var(--f-display); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--abyss); background: var(--gold); padding: 5px 10px; border-radius: 999px; }
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card, .card:nth-child(4), .card:nth-child(5) { grid-column: span 1; }
  .card:nth-child(5) { grid-column: span 2; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .card:nth-child(5) { grid-column: span 1; }
  .card { padding: 28px 22px 22px; }
}

/* ---------- Carte du ciel ---------- */
.sky { background: radial-gradient(70% 55% at 50% 30%, rgba(40, 62, 108, 0.4), transparent 70%), var(--abyss); }
.sky__grid { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.starmap { position: relative; aspect-ratio: 1000 / 560; border-radius: 24px; overflow: hidden; border: 1px solid var(--line-soft); background: linear-gradient(180deg, #000518 0%, #031033 70%, #0b1d44 100%); }
.starmap svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.starmap .const { transition: opacity 0.6s; opacity: 0.55; }
.starmap[data-active="matarii"] .const--matarii,
.starmap[data-active="cross"] .const--cross,
.starmap[data-active="taurua"] .const--taurua { opacity: 1; }
.starmap .draw path { stroke: var(--gold-warm); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.starmap .twinkle { animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: 0.15; } }
.star-btn {
  position: absolute; z-index: 2;
  width: 48px; height: 48px; margin: -24px 0 0 -24px;
  border-radius: 50%; border: 1px solid rgba(246, 210, 151, 0.55);
  background: rgba(246, 210, 151, 0.06);
  cursor: pointer; padding: 0;
}
.star-btn::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--gold); animation: pulse 2.8s var(--ease) infinite; }
.star-btn[aria-pressed="true"] { background: rgba(246, 210, 151, 0.18); border-color: var(--gold); box-shadow: 0 0 24px rgba(246, 210, 151, 0.45); }
.star-btn span { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: var(--f-display); font-size: 0.7rem; letter-spacing: 0.16em; color: var(--gold); text-shadow: 0 1px 8px #000; }
.star-btn--matarii { left: 24.4%; top: 30.4%; }
.star-btn--cross { left: 56.5%; top: 53.6%; }
.star-btn--taurua { left: 86%; top: 72%; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(1.7); opacity: 0; } }
.star-panel { position: relative; min-height: 300px; padding: 34px 30px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(40, 62, 108, 0.45), rgba(255, 255, 255, 0.02)); }
.star-info h3 { font-family: var(--f-serif); font-size: clamp(1.9rem, 3vw, 2.4rem); color: #fbf3e3; margin-bottom: 4px; }
.star-info .star-info__sub { font-family: var(--f-display); font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.star-info p { color: #d4cebf; }
.star-info:not([hidden]) { animation: rise 0.7s var(--ease) both; }
.js .star-info:not([hidden]) { opacity: 0; transform: translateY(10px); }
.sky__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 28px; }
.sky__source { font-size: 0.82rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) {
  .sky__grid { grid-template-columns: 1fr; }
  .star-panel { min-height: 0; }
}
@media (max-width: 520px) {
  .starmap { border-radius: 16px; }
  .star-btn { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .star-btn span { font-size: 0.62rem; letter-spacing: 0.1em; }
}

/* ---------- Déroulé ---------- */
.how { background: linear-gradient(180deg, #0d1f49 0%, #1a2350 100%); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 30px; left: 16%; right: 16%; height: 1px; background: repeating-linear-gradient(90deg, var(--gold-warm) 0 6px, transparent 6px 14px); opacity: 0.5; }
.step { position: relative; text-align: center; padding: 0 10px; }
.step__num { counter-increment: step; display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 22px; border-radius: 50%; border: 1px solid var(--gold); background: #111c46; font-family: var(--f-display); font-size: 1.2rem; color: var(--gold); position: relative; }
.step__num::before { content: counter(step); }
.step h3 { font-family: var(--f-display); font-weight: 500; font-size: 1rem; letter-spacing: 0.18em; text-transform: uppercase; color: #fbf3e3; margin-bottom: 12px; }
.step p { color: #cfc9bb; max-width: 30ch; margin-inline: auto; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { display: none; }
}
.concierge { margin-top: clamp(56px, 8vw, 90px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; padding: 26px 30px; border-radius: var(--radius); border: 1px solid var(--line-soft); background: rgba(0, 7, 33, 0.35); }
.concierge p { margin: 0; color: #ddd6c6; max-width: 60ch; }
.concierge strong { font-family: var(--f-display); font-weight: 500; letter-spacing: 0.12em; color: var(--gold); font-size: 0.9rem; text-transform: uppercase; display: block; margin-bottom: 4px; }

/* ---------- FAQ ---------- */
.faq { background: linear-gradient(180deg, #1a2350 0%, #2a2a52 100%); }
.faq__list { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line-soft); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; min-height: 44px; font-family: var(--f-serif); font-size: clamp(1.25rem, 2.2vw, 1.5rem); color: #fbf3e3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--gold), var(--gold)) center / 100% 1px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 1px 100% no-repeat; transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 24px; margin: 0; color: #d4cebf; max-width: 64ch; }

/* ---------- Contact (l'aube) ---------- */
.contact {
  text-align: center; overflow: hidden;
  background:
    radial-gradient(70% 55% at 50% 112%, rgba(246, 210, 151, 0.55) 0%, rgba(222, 178, 95, 0.25) 35%, transparent 70%),
    linear-gradient(180deg, #2a2a52 0%, #3d3155 45%, #5b3f45 75%, #7a5133 100%);
}
.contact .ornament { margin: 0 auto 18px; width: 48px; height: 48px; color: var(--gold); }
.contact .h2 { max-width: 16ch; margin: 0 auto 20px; }
.contact .lead { color: #efe2cc; margin: 0 auto 36px; }
.contact__number { display: block; margin-top: 14px; line-height: 44px; font-family: var(--f-display); letter-spacing: 0.14em; color: #fff3da; font-size: 1.05rem; }
.contact__place { display: block; margin-top: 6px; font-size: 0.86rem; letter-spacing: 0.2em; text-transform: uppercase; color: #f1dcc0; }

/* ---------- Pied de page ---------- */
.footer {
  background: radial-gradient(70% 120% at 50% 0%, rgba(122, 81, 51, 0.22), transparent 60%), var(--abyss);
  padding: 0 0 calc(18px + env(safe-area-inset-bottom)); font-size: 0.9rem; color: var(--muted);
}
/* photo de Bora Bora : le jour se lève après l'aube du contact, puis retombe dans la nuit du pied de page */
.footer__photo { position: relative; margin: 0; height: clamp(240px, 38vw, 600px); overflow: hidden; background: #0d2a44; }
.footer__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 35%; }
.footer__photo::before, .footer__photo::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; }
.footer__photo::before { top: 0; height: 10%; background: linear-gradient(#7a5133, rgba(122, 81, 51, 0)); }
.footer__photo::after { bottom: 0; height: 24%; background: linear-gradient(rgba(0, 7, 33, 0), rgba(0, 7, 33, 0.65) 60%, var(--abyss)); }
.footer__place {
  position: absolute; left: 0; right: 0; bottom: clamp(18px, 3vw, 34px); z-index: 1; text-align: center;
  font-family: var(--f-display); font-size: clamp(0.74rem, 1.4vw, 0.92rem); letter-spacing: 0.38em; padding-left: 0.38em;
  text-transform: uppercase; color: var(--gold); text-shadow: 0 2px 14px rgba(0, 7, 33, 0.9);
}
@media (max-width: 520px) { .footer__place { letter-spacing: 0.2em; padding-left: 0.2em; } }
.js .footer__photo img { transform: scale(1.08); transition: transform 2.6s var(--ease); }
.js .footer__photo.is-visible img { transform: none; }
.footer__tapa { margin-bottom: clamp(44px, 6vw, 72px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px clamp(24px, 4vw, 64px); padding-bottom: clamp(36px, 5vw, 56px); }
.footer__about .brand { margin-bottom: 8px; }
.footer__about p { margin: 0 0 6px; }
.footer__tagline { font-family: var(--f-serif); font-style: italic; font-size: 1.3rem; line-height: 1.3; color: var(--gold); max-width: 24ch; }
.footer__title { font-family: var(--f-display); font-weight: 500; font-size: 0.74rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin: 0 0 4px; }
.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links a, .footer__bottom a {
  display: inline-flex; align-items: center; min-height: 44px; min-width: 44px;
  color: var(--ink); text-decoration: none; opacity: 0.85; transition: color 0.3s, opacity 0.3s;
}
.footer__links a:hover, .footer__bottom a:hover { color: var(--gold); opacity: 1; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 24px; border-top: 1px solid var(--line-soft); padding-top: 6px; font-size: 0.8rem; }
.footer__bottom p { margin: 0; }
.footer__bottom .footer__legal { margin-right: auto; }
.footer__owner { font-family: var(--f-display); letter-spacing: 0.16em; color: var(--gold); }
.footer__credit a { color: var(--gold); opacity: 1; }
.footer--simple { padding-top: 12px; }
.footer--simple .footer__bottom { border-top: 0; }
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer__bottom { flex-direction: column; align-items: flex-start; padding-top: 10px; }
}

/* ---------- Bouton WhatsApp flottant ---------- */
.fab {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--wa-ink); text-decoration: none;
  background: var(--wa);
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.7), 0 0 0 6px rgba(37, 211, 102, 0.14);
  opacity: 0; transform: translateY(20px) scale(0.9); pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.fab svg { width: 28px; height: 28px; }
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.no-js .fab, html:not(.js) .fab { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Page légale / 404 ---------- */
.page { padding: calc(var(--header-h) + 60px) 0 100px; background: linear-gradient(180deg, var(--abyss), var(--night)); min-height: 80vh; }
.page .container { max-width: 820px; }
.page h1 { font-family: var(--f-serif); font-size: clamp(2.2rem, 5vw, 3.2rem); color: #fbf3e3; margin-bottom: 30px; }
.page h2 { font-family: var(--f-display); font-size: 0.95rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin: 40px 0 14px; }
.page p, .page li { color: #d8d1c2; }
.page a { color: var(--gold); }
.page hr { border: 0; border-top: 1px solid var(--line-soft); margin: 56px 0; }
.page--center { display: grid; place-items: center; text-align: center; }
.page--center .ornament { margin: 0 auto 22px; width: 52px; height: 52px; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .hero .brush { clip-path: none; }
}
