/* ============================================================
   THE THAILAND COMPASS — Design System v2, ADN lesfrontaliers
   Montserrat (100-900) + JetBrains Mono · sable / encre / lagon / or thaï
   ============================================================ */

:root {
  --cream: #FAF6EE;
  --cream-warm: #F2EBDC;
  --ink: #1E2A26;
  --line: #E6DCC9;
  --accent: #A8761B;        /* or thaï, rôle du rouge LF */
  --accent-deep: #8A5F13;
  --accent-bright: #C89434;
  --lagoon: #0E6B67;
  --lagoon-deep: #0A514E;
  --font-body: "Montserrat", -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", monospace;
  --w: 1400px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.7;
  font-weight: 400; -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; padding: 0; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 2px; border-radius: 2px; }
::selection { background: rgba(168, 118, 27, .18); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
[data-lucide], .lucide { width: 20px; height: 20px; }

.container { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .container { padding: 0 40px; } }

/* ---------- Typo display (Montserrat swiss, accents em) ---------- */
.h-display {
  font-weight: 200; letter-spacing: -.045em; line-height: .97;
  font-size: clamp(38px, 6.2vw, 76px);
}
.h-display em { font-style: normal; color: var(--accent); font-weight: 600; }
.h-display em.on-dark { color: var(--accent-bright); }
.h-display strong { font-style: normal; font-weight: 600; }
.h2-display { font-weight: 200; letter-spacing: -.035em; line-height: 1.04; font-size: clamp(28px, 3.6vw, 46px); }
.h2-display em { font-style: normal; color: var(--accent); font-weight: 600; }

.line-mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; }
.line-mask > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.line-mask.in > span { transform: translateY(0); }

.kicker {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
}
.kicker .k-note { color: rgba(30, 42, 38, .55); letter-spacing: .14em; text-transform: none; }

.noise {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .045 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.reveal { transform: translateY(28px); transition: transform .9s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.reveal.in { transform: translateY(0); }

/* ---------- Nav ---------- */
.nav-glass {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  background: rgba(250, 246, 238, .72);
  backdrop-filter: saturate(140%) blur(18px); -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s, background .4s;
}
.nav-glass.scrolled { border-bottom-color: rgba(230, 220, 201, .9); background: rgba(250, 246, 238, .92); }
.nav-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: baseline; gap: 2px; }
.brand-name { font-weight: 300; letter-spacing: -.02em; font-size: 24px; line-height: 1; white-space: nowrap; }
.brand-name strong { font-weight: 600; }
.brand-dot { color: var(--accent); font-size: 24px; font-weight: 600; line-height: 1; }

.nav-pill {
  display: none; align-items: center; gap: 2px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 8px; font-size: 13.5px; letter-spacing: -.01em;
  box-shadow: 0 4px 18px -8px rgba(10, 10, 10, .10);
}
@media (min-width: 1240px) { .nav-pill { display: flex; } }
.nav-pill a { color: rgba(30, 42, 38, .85); padding: 7px 12px; border-radius: 999px; transition: background .25s, color .25s; }
.nav-pill a:hover { background: var(--cream); color: var(--ink); }
.nav-pill a[aria-current="true"] { background: var(--ink); color: #fff; }

.nav-right { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 9px 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  transition: border-color .25s;
}
.lang-btn:hover { border-color: var(--ink); }
.lang-btn [data-lucide] { width: 15px; height: 15px; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 30px 80px -30px rgba(10, 10, 10, .25); padding: 6px;
  display: none; flex-direction: column;
}
.lang.open .lang-menu { display: flex; }
.lang-menu a { padding: 9px 12px; border-radius: 10px; font-size: 14px; color: rgba(30, 42, 38, .85); }
.lang-menu a:hover { background: var(--cream); }
.lang-menu a[aria-current="true"] { color: var(--accent); font-weight: 600; }

.burger { display: block; padding: 8px; }
@media (min-width: 1240px) { .burger { display: none; } }
@media (max-width: 700px) {
  .nav-inner .btn-accent { display: none; }   /* le CTA reste accessible dans le menu burger */
  .brand-name, .brand-dot { font-size: 20px; }
  .nav-inner { gap: 10px; }
}
.mobile-nav {
  display: none; position: fixed; inset: 78px 0 auto 0; z-index: 49;
  background: var(--cream); border-bottom: 1px solid var(--line);
  padding: 10px 24px 22px; flex-direction: column;
  box-shadow: 0 40px 80px -40px rgba(10, 10, 10, .3);
  max-height: calc(100dvh - 78px); overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 13px 4px; font-size: 16.5px; border-bottom: 1px solid rgba(230, 220, 201, .6); }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a[aria-current="true"] { color: var(--accent); font-weight: 600; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 12px;
  border-radius: 999px; padding: 15px 26px;
  font-size: 14px; font-weight: 500; letter-spacing: -.01em;
  white-space: nowrap;
  transition: color .3s, border-color .3s;
}
.btn [data-lucide] { width: 16px; height: 16px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent::before {
  content: ""; position: absolute; inset: 0; background: var(--accent-deep);
  transform: translateY(101%); transition: transform .5s cubic-bezier(.2, .7, .2, 1); z-index: -1;
}
.btn-accent:hover::before { transform: translateY(0); }
.btn-accent .btn-bubble { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: rgba(255, 255, 255, .15); margin-right: -8px; }
.btn-magnet { border: 1px solid rgba(30, 42, 38, .25); color: var(--ink); }
.btn-magnet::before {
  content: ""; position: absolute; inset: 0; background: var(--ink);
  transform: translateY(101%); transition: transform .55s cubic-bezier(.2, .7, .2, 1); z-index: -1;
}
.btn-magnet:hover::before { transform: translateY(0); }
.btn-magnet:hover { color: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light::before {
  content: ""; position: absolute; inset: 0; background: var(--cream-warm);
  transform: translateY(101%); transition: transform .5s cubic-bezier(.2, .7, .2, 1); z-index: -1;
}
.btn-light:hover::before { transform: translateY(0); }
.btn-sm { padding: 11px 18px; font-size: 13px; }

/* ---------- Hero vidéo parallax ---------- */
.hero {
  position: relative; min-height: 92svh; display: flex; align-items: flex-end;
  overflow: hidden; color: #fff;
}
.hero-media { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(16, 24, 20, .42) 0%, rgba(16, 24, 20, .18) 40%, rgba(16, 24, 20, .66) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: 140px; padding-bottom: clamp(48px, 8vh, 90px); }
.hero-eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 28px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .8);
}
.hero p.lead { max-width: 560px; font-size: clamp(15px, 1.6vw, 17px); font-weight: 300; line-height: 1.75; color: rgba(255, 255, 255, .92); margin-top: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; font-size: 13px; color: rgba(255, 255, 255, .85); }
.hero-checks span { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks [data-lucide] { width: 15px; height: 15px; color: var(--accent-bright); }
.hero-scroll {
  position: absolute; right: 40px; bottom: 34px; z-index: 2;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255, 255, 255, .7); display: none; align-items: center; gap: 10px;
}
@media (min-width: 1024px) { .hero-scroll { display: flex; } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 90px 0; }
@media (min-width: 1024px) { .section { padding: 118px 0; } }
.section-warm { background: var(--cream-warm); border-block: 1px solid var(--line); }
.section-head {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 48px; padding-bottom: 30px; border-bottom: 1px solid var(--line);
}
@media (min-width: 768px) { .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.section-head .lead { max-width: 560px; font-size: 16px; font-weight: 300; line-height: 1.6; color: rgba(30, 42, 38, .85); margin: 0; }
.section-head .lead em { font-style: normal; color: var(--accent); font-weight: 500; }
.watermark {
  position: absolute; right: -30px; bottom: 20px; pointer-events: none; user-select: none;
  font-weight: 200; letter-spacing: -.05em; font-size: 200px; line-height: 1; color: rgba(30, 42, 38, .04);
  display: none;
}
@media (min-width: 1280px) { .watermark { display: block; } }

/* ---------- Grille hairline (chiffres / verticales) ---------- */
.hairline-grid { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.hairline-grid > * { background: var(--cream); padding: 30px 26px 28px; transition: background .5s; }
.hairline-grid > *:hover { background: #fff; }
.section-warm .hairline-grid > * { background: var(--cream-warm); }
.section-warm .hairline-grid > *:hover { background: #fff; }
@media (min-width: 640px) { .hairline-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hairline-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.stat [data-lucide] { color: var(--accent); margin-bottom: 22px; }
.stat-top { display: flex; align-items: flex-start; justify-content: space-between; }
.stat-num { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; color: rgba(30, 42, 38, .4); }
.stat-value { font-weight: 200; letter-spacing: -.04em; font-size: clamp(34px, 3vw, 44px); line-height: 1; }
.stat-value em { font-style: normal; color: var(--accent); font-weight: 500; }
.stat-label { font-size: 13px; color: rgba(30, 42, 38, .65); margin-top: 10px; line-height: 1.55; }

.vertical { display: flex; flex-direction: column; gap: 10px; min-height: 218px; }
.vertical [data-lucide] { color: var(--accent); width: 22px; height: 22px; }
.vertical h3 { font-size: 17px; font-weight: 600; letter-spacing: -.015em; margin: 14px 0 0; }
.vertical p { font-size: 13px; font-weight: 300; color: rgba(30, 42, 38, .65); line-height: 1.6; margin: 0; flex: 1; }
.vertical .go { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--accent); }
.vertical .go [data-lucide] { width: 14px; height: 14px; transition: transform .3s; }
.vertical:hover .go [data-lucide] { transform: translateX(4px); }

/* ---------- Cartes guides ---------- */
.cards { display: grid; gap: 22px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -28px rgba(10, 10, 10, .22); }
.card-img { aspect-ratio: 16 / 9.4; overflow: hidden; background: var(--cream-warm); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.card h3 { font-size: 17px; font-weight: 600; letter-spacing: -.015em; line-height: 1.35; margin: 0; }
.card p { font-size: 13.5px; font-weight: 300; color: rgba(30, 42, 38, .65); line-height: 1.6; margin: 0; flex: 1; }
.card-meta { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; color: rgba(30, 42, 38, .45); }

/* ---------- Bande parallax ---------- */
.parallax-band { position: relative; height: 78vh; min-height: 520px; overflow: hidden; display: flex; align-items: center; color: #fff; }
.parallax-band .band-media { position: absolute; inset: -14% 0; will-change: transform; }
.parallax-band video, .parallax-band img { width: 100%; height: 100%; object-fit: cover; }
.parallax-band::after { content: ""; position: absolute; inset: 0; background: rgba(16, 24, 20, .48); }
.band-content { position: relative; z-index: 2; max-width: 780px; }
.band-content .kicker { color: var(--accent-bright); margin-bottom: 26px; }
.band-quote { font-weight: 200; letter-spacing: -.03em; line-height: 1.15; font-size: clamp(26px, 4vw, 48px); }
.band-quote em { font-style: normal; font-weight: 500; color: var(--accent-bright); }

/* ---------- Édito / listes ---------- */
.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1.05fr .95fr; gap: 72px; } }
.split-img { border-radius: 20px; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(10, 10, 10, .35); }
.checklist { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.checklist li { display: flex; gap: 13px; font-size: 14.5px; font-weight: 300; color: rgba(30, 42, 38, .8); line-height: 1.6; }
.checklist [data-lucide] { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 4px; }
.checklist strong { font-weight: 600; color: var(--ink); }

/* ---------- CTA band (e-book / projet) ---------- */
.cta-panel {
  position: relative; overflow: hidden; border-radius: 24px; color: #fff;
  background: linear-gradient(130deg, #12312C 0%, var(--lagoon) 90%);
  padding: clamp(36px, 5vw, 64px);
  display: grid; gap: 34px; align-items: center;
}
@media (min-width: 900px) { .cta-panel { grid-template-columns: 1.25fr .75fr; } }
.cta-panel .kicker { color: #EFD9A7; }
.cta-panel h2 { font-weight: 200; letter-spacing: -.035em; font-size: clamp(26px, 3.4vw, 42px); }
.cta-panel h2 strong { font-weight: 600; }
.cta-panel p { font-weight: 300; color: rgba(255, 255, 255, .85); font-size: 15px; margin: 0; }
.cta-side { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

/* ---------- Newsletter ---------- */
.newsletter-form { display: flex; gap: 10px; margin-top: 26px; max-width: 520px; }
@media (max-width: 560px) { .newsletter-form { flex-direction: column; } }
.newsletter-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.input {
  width: 100%; padding: 15px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font: inherit; font-size: 14.5px; color: var(--ink); min-width: 0;
}
textarea.input { border-radius: 18px; resize: vertical; min-height: 110px; }
.input:focus { outline: 3px solid var(--lagoon); outline-offset: 1px; border-color: var(--lagoon); }
.form-msg { font-size: 13.5px; color: var(--lagoon-deep); margin-top: 12px; min-height: 1.3em; }

/* ---------- Hub & article ---------- */
.page-head { padding-top: 150px; }
.page-head .h-display { font-size: clamp(34px, 5vw, 62px); }
.page-head .lead { max-width: 620px; font-weight: 300; font-size: 16.5px; color: rgba(30, 42, 38, .8); margin-top: 22px; }

.breadcrumb { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: rgba(30, 42, 38, .5); padding-top: 108px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: rgba(30, 42, 38, .3); }
.breadcrumb a:hover { color: var(--accent); }

.article-head { max-width: 760px; margin: 26px auto 0; padding: 0 24px; }
.article-head h1 { font-weight: 300; letter-spacing: -.03em; line-height: 1.12; font-size: clamp(30px, 4.4vw, 50px); text-wrap: balance; }
.article-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(30, 42, 38, .5); }
.article-hero { max-width: 900px; margin: 40px auto 0; padding: 0 24px; }
.article-hero img { border-radius: 20px; box-shadow: 0 40px 90px -45px rgba(10, 10, 10, .4); }

.prose { max-width: 720px; margin: 0 auto; padding: 44px 24px 90px; font-weight: 300; font-size: 16.5px; line-height: 1.85; color: rgba(30, 42, 38, .92); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose h2 { font-weight: 500; letter-spacing: -.025em; font-size: 27px; margin: 2.3em 0 .7em; }
.prose h3 { font-weight: 600; font-size: 19px; margin: 1.8em 0 .6em; }
.prose a { color: var(--lagoon); font-weight: 500; border-bottom: 1px solid rgba(14, 107, 103, .3); transition: border-color .25s; }
.prose a:hover { border-color: var(--lagoon); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--accent); font-weight: 600; }
.prose blockquote { margin: 1.8em 0; padding-left: 22px; border-left: 3px solid var(--accent); font-weight: 300; font-style: italic; color: rgba(30, 42, 38, .75); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.8em 0; font-size: 14px; font-weight: 400; }
.prose th, .prose td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .14em; color: rgba(30, 42, 38, .6); font-weight: 500; }
.prose .table-scroll { overflow-x: auto; }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 3em 0; }

.note { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--lagoon); border-radius: 14px; padding: 20px 24px; margin: 1.8em 0; font-size: 14.5px; }
.note--warn { border-left-color: var(--accent); }
.note strong:first-child { display: block; margin-bottom: 6px; font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .16em; font-weight: 600; }

.article-cta {
  background: linear-gradient(130deg, #12312C 0%, var(--lagoon) 90%);
  color: #fff; border-radius: 18px; padding: 28px 30px; margin: 2.4em 0;
}
.article-cta h3 { color: #fff; font-weight: 500; font-size: 19px; margin: 0 0 .4em; }
.article-cta p { color: rgba(255, 255, 255, .85); font-size: 14px; font-weight: 300; margin-bottom: 1.2em; }

.prose details { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 10px; }
.prose summary { cursor: pointer; font-weight: 500; font-size: 15.5px; padding: 17px 48px 17px 22px; list-style: none; position: relative; }
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after { content: "+"; position: absolute; right: 20px; top: 14px; font-size: 21px; font-weight: 300; color: var(--accent); }
.prose details[open] summary::after { content: "\2013"; }
.prose details > p, .prose details > ul { padding: 0 22px; font-size: 14.5px; }
.prose details[open] { padding-bottom: 12px; }

/* ---------- Formulaire wizard (façon audit gratuit LF) ---------- */
.wizard-wrap { max-width: 720px; margin: 40px auto 0; padding: 0 24px 100px; }
.wizard {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(10, 10, 10, .18);
}
.wizard-head { padding: 28px 32px 20px; border-bottom: 1px solid var(--line); }
.wizard-head-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.wizard-head-top .tag { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.wizard-head-top .step-count { font-family: var(--font-mono); font-size: 11px; color: rgba(30, 42, 38, .45); }
.step-bar { display: flex; align-items: center; gap: 10px; }
.step-dot {
  width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 11px; border: 1px solid var(--line); color: rgba(30, 42, 38, .45);
  background: var(--cream); transition: all .3s;
}
.step-dot.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.step-dot.done { background: var(--ink); border-color: var(--ink); color: #fff; }
.step-line { flex: 1; height: 1px; background: var(--line); }
.form-step { padding: 30px 32px 34px; display: none; }
.form-step.active { display: block; }
.form-step h2 { font-size: 19px; font-weight: 500; letter-spacing: -.015em; }
.form-step .hint { font-size: 13px; font-weight: 300; color: rgba(30, 42, 38, .55); margin: 4px 0 0; }
.topic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 22px; }
@media (min-width: 640px) { .topic-grid { grid-template-columns: repeat(3, 1fr); } }
.topic-pick input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.topic-pick > div {
  background: rgba(250, 246, 238, .5); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px; cursor: pointer; transition: all .25s; height: 100%;
}
.topic-pick [data-lucide] { width: 20px; height: 20px; margin-bottom: 10px; }
.topic-pick .t-name { font-size: 14px; font-weight: 500; }
.topic-pick .t-sub { font-size: 11px; opacity: .65; margin-top: 2px; }
.topic-pick input:checked + div { background: var(--accent); border-color: var(--accent); color: #fff; }
.topic-pick input:focus-visible + div { outline: 3px solid var(--lagoon); outline-offset: 2px; }
.field { margin-top: 18px; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 7px; }
.wizard .input { border-radius: 14px; }
.wizard select.input { appearance: none; border-radius: 14px; background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231E2A26' stroke-width='2'><path d='m6 9 6 6 6-6'/></svg>") no-repeat right 16px center; padding-right: 42px; }
.wizard-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }
.wizard-back { font-size: 13.5px; font-weight: 500; color: rgba(30, 42, 38, .55); display: inline-flex; align-items: center; gap: 7px; }
.wizard-back:hover { color: var(--ink); }
.wizard-success { padding: 44px 32px; text-align: center; display: none; }
.wizard-success.active { display: block; }
.wizard-success [data-lucide] { width: 42px; height: 42px; color: var(--lagoon); margin: 0 auto 16px; }

/* ---------- Villas ---------- */
.villa-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.villa-status {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--lagoon-deep); background: rgba(14, 107, 103, .1); border: 1px solid rgba(14, 107, 103, .25);
  padding: 4px 10px; border-radius: 999px;
}
.villa-chips { font-size: 12px; font-weight: 400; color: rgba(30, 42, 38, .55); }
.villa-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.villa-price { font-weight: 600; font-size: 14.5px; letter-spacing: -.01em; }
.villa-price.big { font-size: 19px; }
.villa-card .go { font-size: 12.5px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.villa-card .go [data-lucide] { width: 14px; height: 14px; }
.sell-card { border-style: dashed; background: rgba(255, 255, 255, .5); box-shadow: none; }
.sell-card .card-body { gap: 12px; align-items: flex-start; }
.sell-card [data-lucide] { width: 24px; height: 24px; color: var(--accent); }
.sell-card:hover { transform: none; box-shadow: none; }

.villa-head { display: grid; gap: 30px; padding-top: 26px; align-items: end; }
@media (min-width: 960px) { .villa-head { grid-template-columns: 1.3fr .7fr; } }
.villa-buy {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px;
  display: flex; flex-direction: column; gap: 12px; align-items: stretch;
  box-shadow: 0 30px 70px -35px rgba(10, 10, 10, .25);
}
.villa-buy .btn { justify-content: center; }
.villa-hero { max-width: var(--w); margin: 36px auto 0; padding: 0 24px; }
@media (min-width: 1024px) { .villa-hero { padding: 0 40px; } }
.villa-hero img { border-radius: 22px; box-shadow: 0 50px 100px -50px rgba(10, 10, 10, .45); width: 100%; object-fit: cover; max-height: 640px; }
.villa-body { display: grid; gap: 40px; padding-top: 56px; align-items: start; }
@media (min-width: 960px) { .villa-body { grid-template-columns: 1.25fr .75fr; gap: 72px; } }
.villa-desc { font-weight: 300; font-size: 16.5px; line-height: 1.85; color: rgba(30, 42, 38, .9); margin-top: 18px; }
.villa-specs { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; position: sticky; top: 100px; }
.villa-specs h3 { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .2em; font-weight: 500; color: var(--accent); margin-bottom: 4px; }
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery .g-item { margin: 0; border-radius: 16px; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.gallery .g-item:hover img { transform: scale(1.04); }

/* ---------- Activités (encarts façon LF) ---------- */
.act-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .act-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .act-grid { grid-template-columns: repeat(4, 1fr); } }
.act-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .35s, transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s;
}
.act-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-warm); }
.act-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.act-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.act-head { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.act-card [data-lucide] { width: 17px; height: 17px; color: var(--accent); flex: none; }
.act-tag { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(30, 42, 38, .45); }
.act-card h3 { font-size: 16px; font-weight: 600; letter-spacing: -.015em; margin: 0; }
.act-card p { font-size: 12.5px; font-weight: 300; line-height: 1.55; color: rgba(30, 42, 38, .65); margin: 0; flex: 1; }
.act-link { font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; color: var(--accent); margin-top: 8px; }
.act-link [data-lucide] { width: 13px; height: 13px; }
.act-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 26px 55px -26px rgba(10, 10, 10, .25); }
.act-card:hover .act-img img { transform: scale(1.06); }

/* ---------- Footer ---------- */
.footer { background: #14211C; color: rgba(255, 255, 255, .68); margin-top: 40px; font-weight: 300; }
.footer a:hover { color: #fff; }
.footer-inner { display: grid; gap: 40px; padding: 72px 0 52px; }
@media (min-width: 640px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer .brand-name { color: #fff; }
.footer .brand-dot { color: var(--accent-bright); }
.footer-about { font-size: 13.5px; line-height: 1.75; margin-top: 16px; max-width: 340px; }
.footer h4 { color: #fff; font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .2em; font-weight: 500; margin: 0 0 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; font-size: 13.5px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0; font-size: 11.5px; color: rgba(255, 255, 255, .45);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
}

.footer .footer-legal {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px 18px; font-size: 11.5px;
}
.footer .footer-legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Météo + revue de presse ---------- */
.news-grid { display: grid; gap: 16px; }
@media (min-width: 960px) { .news-grid { grid-template-columns: .9fr 1.1fr; } }
.bloc-news { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; }
.bloc-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--accent); margin: 0 0 14px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bloc-sub { font-family: var(--font-body); font-size: 12px; letter-spacing: 0; text-transform: none; color: rgba(30, 42, 38, .5); font-weight: 300; }
.wx-loading { font-size: 13px; font-weight: 300; color: rgba(30, 42, 38, .45); }
.wx-now { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.wx-now [data-lucide] { width: 44px; height: 44px; color: var(--accent); }
.wx-temp { font-weight: 200; font-size: 52px; letter-spacing: -.04em; line-height: 1; }
.wx-desc { font-size: 13.5px; font-weight: 400; }
.wx-meta { font-size: 12px; color: rgba(30, 42, 38, .55); font-weight: 300; }
.wx-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; border-top: 1px solid var(--line); padding-top: 14px; }
.wx-day { text-align: center; }
.wx-day .d { font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: rgba(30, 42, 38, .5); }
.wx-day [data-lucide] { width: 18px; height: 18px; color: var(--lagooon, #0E6B67); color: var(--lagoon); margin: 6px auto 4px; display: block; }
.wx-day .t { font-size: 11.5px; font-weight: 500; }
.wx-day .t small { color: rgba(30, 42, 38, .45); font-weight: 300; }
.press-item { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); }
.press-item:last-child { border-bottom: none; }
.press-item .pt { font-size: 14px; font-weight: 500; line-height: 1.45; transition: color .2s; }
.press-item:hover .pt { color: var(--accent); }
.press-item .pm { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .08em; color: rgba(30, 42, 38, .45); margin-top: 3px; }
#wx-chip:not(:empty)::before { content: "/"; margin-right: 12px; color: rgba(255, 255, 255, .8); }
