/* =========================================================================
   Heiwa Solution — Design system
   Conciergerie & gestion locative courte durée (Airbnb) — Suisse romande
   Thème : sérénité, hospitalité haut de gamme, confiance.
   ========================================================================= */

:root {
  /* Palette — charte graphique Heiwa (turquoise / sky / ocre doré).
     NB : les variables --green* portent désormais la famille TURQUOISE de la marque
     (nom conservé pour limiter les refactos ; --green-300 = turquoise officiel #6bc4ca). */
  --ink:        #11272c;   /* texte principal, encre teintée teal */
  --ink-soft:   #44565b;   /* texte secondaire */
  --muted:      #5a6b6f;   /* texte tertiaire — assombri pour contraste WCAG AA (≥4.5:1 sur blanc) */
  --line:       #e1e8e9;   /* bordures (cool) */
  --sand:       #f1f8f8;   /* fond clair (turquoise très pâle) */
  --sand-deep:  #e5f1f2;   /* fond alterné */
  --white:      #ffffff;

  --green:      #2f9aa1;   /* primaire de contraste — turquoise profond */
  --green-700:  #24828a;   /* hover / plus foncé */
  --green-300:  #6bc4ca;   /* TURQUOISE OFFICIEL de la marque */
  --green-050:  #e3f4f5;   /* tint très clair (fonds d'icônes) */
  --link:       #1a6a70;   /* liens texte en ligne — turquoise foncé (contraste AA) */

  --amber:      #e9ad12;   /* accent — ocre doré (CTA) */
  --amber-600:  #8a6500;   /* ocre foncé (texte sur clair, contraste AA) */
  --amber-050:  #fcf3d6;   /* tint ocre clair */
  --gold:       #d6ba75;   /* ocre clair (charte) */
  --sky:        #a6dbf5;   /* sky blue (charte) */

  /* Typo — charte : Prompt (titres/marque), Inter (corps) */
  --display: "Prompt", "Trebuchet MS", -apple-system, sans-serif;
  --serif:   "Prompt", "Trebuchet MS", sans-serif; /* alias rétrocompat */
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --maxw: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(20,32,28,.06), 0 2px 8px rgba(20,32,28,.05);
  --shadow:    0 10px 30px rgba(20,32,28,.10);
  --shadow-lg: 0 24px 60px rgba(20,32,28,.16);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
/* Focus clavier visible (accessibilité) */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--green); outline-offset: 2px; border-radius: 3px;
}
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------- Typo ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -.015em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--ink-soft); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.32rem); color: var(--ink-soft); line-height: 1.6; }
strong { color: var(--ink); font-weight: 600; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(52px, 6.5vw, 92px) 0; }
.section--sand { background: var(--sand); }
.section--deep { background: var(--green); color: #eaf2ef; }
.section--deep h1, .section--deep h2, .section--deep h3 { color: #fff; }
.section--deep p { color: #cdded8; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }
.grid { display: grid; gap: 28px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Eyebrow / titres de section ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--amber-600);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--amber); border-radius: 2px; }
.section--deep .eyebrow { color: var(--gold); }
.section-head { margin-bottom: clamp(28px, 4vw, 46px); }

/* ── Exemples de revenus réels (carousel preuve) ── */
.result-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:24px; display:flex; flex-direction:column; gap:15px; box-shadow:var(--shadow-sm); }
.result-tag { font-size:.8rem; font-weight:600; color:var(--green-700); text-transform:uppercase; letter-spacing:.05em; }
.result-amount { display:block; font-family:var(--display); font-size:2rem; font-weight:700; color:var(--ink); line-height:1; }
.result-per { display:block; font-size:.85rem; color:var(--muted); margin-top:5px; }
.result-vs { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 14px; background:var(--sand); border-radius:12px; }
.result-vs-lbl { display:block; font-size:.76rem; color:var(--muted); }
.result-vs-val { font-weight:600; color:var(--ink-soft); }
.result-gain { font-weight:700; color:#2f7d68; background:rgba(58,144,124,.12); padding:4px 11px; border-radius:20px; font-size:.95rem; white-space:nowrap; }
.result-facts { display:flex; flex-direction:column; gap:5px; font-size:.9rem; color:var(--ink-soft); }
.result-facts li { display:flex; align-items:center; gap:8px; }
.result-facts li::before { content:""; width:5px; height:5px; border-radius:50%; background:var(--green-300); flex:none; }
.result-note { font-size:.8rem; color:var(--muted); max-width:700px; margin:20px auto 0; }

/* ── Visite virtuelle (Matterport) ── */
.tour-frame { position: relative; width: 100%; max-width: 1000px; margin-inline: auto; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--ink); }
.tour-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .tour-frame { aspect-ratio: 3 / 4; } }

/* ── Section "Notre agence" (vraies photos) ── */
.agence-hero { margin: 0 0 14px; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.agence-hero img { width: 100%; height: clamp(240px, 40vw, 480px); object-fit: cover; display: block; }
.agence-mini figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); }
.agence-mini img { width: 100%; height: 230px; object-fit: cover; display: block; }
.agence-hero figcaption, .agence-mini figcaption { position: absolute; inset: auto 0 0 0; padding: 12px 14px; color: #fff; font-size: .88rem; font-weight: 500; background: linear-gradient(transparent, rgba(17,39,44,.78)); }
.section-head .lead { margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--amber); color: var(--ink); box-shadow: 0 8px 22px rgba(233,173,18,.35); }
.btn-primary:hover { background: #f2bb2a; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(233,173,18,.45); }
.btn-dark { background: var(--green); color: #fff; }
.btn-dark:hover { background: var(--green-700); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--line); }
.btn-outline:hover { border-color: var(--green); background: var(--green-050); }
.btn-light { background: #fff; color: var(--green); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: 18px 34px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
/* Flou du header sur un pseudo-élément : un backdrop-filter posé sur le header
   lui-même en ferait le containing block du menu mobile position:fixed (menu coupé) */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(20,32,28,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.logo .mark { width: 40px; height: 40px; color: var(--ink); display: grid; place-items: center; }
.logo .mark svg { width: 40px; height: 40px; }
.logo-word { line-height: 1; }
.logo small { display: block; font-family: var(--display); font-size: .6rem; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; color: var(--green); margin-top: 3px; }

.main-nav > ul { display: flex; align-items: center; gap: 6px; }
.main-nav a { display: inline-flex; align-items: center; gap: 5px; padding: 10px 14px; border-radius: 10px; font-weight: 500; font-size: .97rem; color: var(--ink-soft); transition: color .2s, background .2s; }
.main-nav a:hover { color: var(--green); background: var(--green-050); }
.has-dropdown { position: relative; }
.has-dropdown > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s; display: grid; gap: 2px;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { padding: 11px 14px; border-radius: 10px; font-size: .95rem; }
.dropdown a span { display: block; font-size: .8rem; color: var(--muted); font-weight: 400; }
.nav-cta { margin-left: 8px; }
.nav-cta a { color: var(--ink) !important; background: var(--amber) !important; box-shadow: 0 6px 16px rgba(233,173,18,.32); }
.nav-cta a:hover { background: #f2bb2a !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line); border-radius: 11px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 120px); overflow: hidden; background:
  radial-gradient(1200px 600px at 80% -10%, var(--green-050), transparent 60%),
  radial-gradient(900px 500px at -10% 110%, #f7ecdf, transparent 55%), var(--sand); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--green); }
.hero .lead { margin-bottom: 30px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.hero-trust .stars { color: var(--amber); letter-spacing: 2px; }
.hero-trust span { font-size: .92rem; color: var(--muted); }
.hero-visual { position: relative; }
.hero-card-img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; background: var(--sand-deep); }
.hero-float {
  position: absolute; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 16px 20px; display: flex; align-items: center; gap: 14px;
}
.hero-float .big { font-family: var(--serif); font-size: 1.7rem; color: var(--green); line-height: 1; }
.hero-float .lbl { font-size: .78rem; color: var(--muted); }
.hero-float--tl { top: 26px; left: -28px; }
.hero-float--br { bottom: 26px; right: -24px; }
.hero-float .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--green-050); color: var(--green); }

/* ---------- Logos / plateformes ---------- */
.platforms { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.platforms .container { text-align: center; }
.platforms p { font-size: .85rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; margin-bottom: 22px; }
.logo-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-marquee .track { display: flex; align-items: center; gap: clamp(36px, 6vw, 72px); width: max-content; animation: marquee 40s linear infinite; }
.logo-marquee:hover .track { animation-play-state: paused; }
.logo-marquee .pf { display: flex; align-items: center; gap: 12px; opacity: .72; transition: opacity .2s; }
.logo-marquee .pf:hover { opacity: 1; }
.logo-marquee .pf img { height: 28px; width: 28px; object-fit: contain; display: block; flex: none; }
.logo-marquee .pf span { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-marquee .track { animation: none; flex-wrap: wrap; justify-content: center; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 20px; }
.stat .num { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--green); line-height: 1; }
.section--deep .stat .num { color: var(--gold); }
.stat .lbl { margin-top: 10px; font-size: .95rem; color: var(--muted); }
.section--deep .stat .lbl { color: #bcd0c9; }
.stats--cards .stat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 26px 16px; transition: background .2s, border-color .2s; }
.stats--cards .stat:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }
.stats-caption { text-align: center; max-width: 640px; margin: 26px auto 0; color: #d3e3dc; font-size: 1.04rem; line-height: 1.55; }
.section--deep .stats-caption b { color: #fff; }
.faq-more[hidden] { display: none; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--green-050); color: var(--green); margin-bottom: 18px; }
.card .ic svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .98rem; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--amber-600); font-weight: 600; font-size: .92rem; }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(3px); }
.card--feature { background: var(--green); color: #eaf2ef; border-color: transparent; }
.card--feature h3 { color: #fff; }
.card--feature p { color: #cdded8; }
.card--feature .ic { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- Process / étapes ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--serif); font-size: 1.5rem; color: var(--amber);
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--amber-050); border: 1px solid #efdcc4;
}
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step p { font-size: .97rem; }

/* ---------- Split (texte + visuel) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.split--rev .split-visual { order: -1; }
.split-img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 5/4; object-fit: cover; width: 100%; background: var(--sand-deep); }
.check-list { display: grid; gap: 14px; margin-top: 24px; }
.check-list li { display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: start; }
.check-list .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--green-050); color: var(--green); display: grid; place-items: center; flex: none; }
.check-list .tick svg { width: 15px; height: 15px; }
.check-list b { display: block; color: var(--ink); }
.check-list span { font-size: .95rem; color: var(--ink-soft); }

/* ---------- Testimonials ---------- */
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; height: 100%; display: flex; flex-direction: column; }
.testi .stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 14px; }
.testi blockquote { font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; color: var(--ink); margin-bottom: 20px; flex: 1; }
.testi .who { display: flex; align-items: center; gap: 12px; }
.testi .av { width: 46px; height: 46px; border-radius: 50%; background: var(--green-050); color: var(--green); display: grid; place-items: center; font-weight: 700; font-family: var(--serif); }
.testi .who b { display: block; }
.testi .who span { font-size: .85rem; color: var(--muted); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; display: flex; flex-direction: column; position: relative; }
.price-card.featured { border-color: var(--green); box-shadow: var(--shadow-lg); }
.price-card h3 { margin-bottom: 6px; }
.price-card .desc { font-size: .9rem; color: var(--muted); margin-bottom: 20px; }
.price-card .amount { font-family: var(--serif); font-size: 2.8rem; color: var(--green); line-height: 1; }
.price-card .amount small { font-family: var(--sans); font-size: .9rem; color: var(--muted); font-weight: 500; }
.price-card .feats { display: grid; gap: 12px; margin: 24px 0 28px; }
.price-card .feats li { display: grid; grid-template-columns: auto 1fr; gap: 10px; font-size: .95rem; color: var(--ink-soft); }
.price-card .feats .tick { color: var(--green); }
.price-card .btn { margin-top: auto; }

/* ---------- Table tarifs ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.tarifs { width: 100%; border-collapse: collapse; min-width: 420px; }
table.tarifs th, table.tarifs td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); }
table.tarifs th { background: var(--sand); font-family: var(--sans); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
table.tarifs td:last-child { font-weight: 600; color: var(--green); font-family: var(--serif); font-size: 1.15rem; }
table.tarifs tr:last-child td { border-bottom: none; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; max-width: 820px; margin-inline: auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s; }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-family: var(--serif); font-size: 1.12rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--green-050); color: var(--green); display: grid; place-items: center; transition: transform .3s, background .3s; }
.faq-item[open] summary .pm { transform: rotate(45deg); background: var(--green); color: #fff; }
.faq-item .ans { padding: 0 26px 24px; color: var(--ink-soft); font-size: 1rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green); color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 85% 120%, rgba(201,138,75,.32), transparent 60%); pointer-events: none; }
.cta-band-inner { position: relative; padding: clamp(48px, 7vw, 84px) 0; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe0da; margin-top: 8px; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page hero (sous-pages) ---------- */
.page-hero { background:
  radial-gradient(900px 460px at 85% -20%, var(--green-050), transparent 60%), var(--sand);
  padding: clamp(48px, 7vw, 92px) 0 clamp(40px, 6vw, 72px); }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--green); }
.page-hero h1 { max-width: 760px; margin-bottom: 18px; }
.page-hero .lead { max-width: 680px; }

/* ---------- Formulaire / estimation multi-étapes ---------- */
.form-shell { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(26px, 4vw, 44px); }
.form-progress { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; }
.form-progress .bar { flex: 1; height: 6px; border-radius: 999px; background: var(--sand-deep); overflow: hidden; }
.form-progress .bar i { display: block; height: 100%; width: 33%; background: var(--amber); border-radius: 999px; transition: width .4s var(--ease); }
.form-progress .pct { font-size: .82rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.fstep { display: none; animation: fade .35s var(--ease); }
.fstep.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.fstep h3 { margin-bottom: 6px; }
.fstep .hint { font-size: .92rem; color: var(--muted); margin-bottom: 22px; }
.opt-grid { display: grid; gap: 12px; }
.opt-grid.cols2 { grid-template-columns: 1fr 1fr; }
.opt {
  display: flex; align-items: center; gap: 13px; padding: 16px 18px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); cursor: pointer; transition: border-color .2s, background .2s; font-weight: 500;
}
.opt:hover { border-color: var(--green-300); background: var(--green-050); }
.opt input { position: absolute; opacity: 0; }
.opt .box { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--line); flex: none; display: grid; place-items: center; transition: all .2s; }
.opt input:checked ~ .box { background: var(--green); border-color: var(--green); }
.opt input:checked ~ .box svg { opacity: 1; }
.opt .box svg { width: 13px; height: 13px; color: #fff; opacity: 0; }
.opt input:checked ~ * { color: var(--green); }
.opt.selected { border-color: var(--green); background: var(--green-050); }
.opt .ic-emoji { font-size: 1.3rem; }
.opt .ic-svg { flex: none; display: inline-flex; align-items: center; color: var(--green-700); }
.opt .ic-svg svg { width: 24px; height: 24px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; color: var(--ink); background: var(--white); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-050); }

/* Focus clavier visible (WCAG 2.4.7) — liens, boutons, menus déroulants, éléments focusables.
   :focus-visible n'affiche l'anneau qu'au clavier, pas au clic souris. */
a:focus-visible, button:focus-visible, summary:focus-visible,
[tabindex]:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 2px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 26px; }
.form-nav .btn-back { background: transparent; border: 1.5px solid var(--line); color: var(--ink-soft); }
.form-nav .btn-back:hover { border-color: var(--ink-soft); }

/* Résultat estimation */
.estimate-box { text-align: center; padding: 30px; background: var(--green-050); border-radius: var(--radius); margin-bottom: 24px; }
.estimate-box .lbl { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); font-weight: 600; }
.estimate-box .val { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3rem); color: var(--green); line-height: 1.1; margin: 8px 0; }
.estimate-box .val small { font-size: 1rem; color: var(--muted); font-family: var(--sans); }
.estimate-box .note { font-size: .85rem; color: var(--muted); }

.form-msg { padding: 16px 18px; border-radius: var(--radius-sm); font-size: .95rem; margin-top: 16px; display: none; }
.form-msg.ok { display: block; background: var(--green-050); color: var(--green-700); border: 1px solid var(--green-300); }
.form-msg.err { display: block; background: #fdece8; color: #b3431f; border: 1px solid #f3c4b5; }

/* ---------- Value / engagements ---------- */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.value { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.value .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--amber-050); color: var(--amber-600); display: grid; place-items: center; flex: none; }
.value h3 { font-size: 1.2rem; margin-bottom: 6px; }
.value p { font-size: .96rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c3cfca; padding: clamp(54px, 7vw, 80px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-col h3 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col p { color: #97a8a2; font-size: .95rem; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col li a { color: #b3c1bc; font-size: .95rem; transition: color .2s; }
.footer-col li a:hover { color: #fff; }
.footer-logo { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: #fff; margin-bottom: 16px; }
.footer-logo .mark { width: 40px; height: 40px; display: grid; place-items: center; }
.footer-logo .mark svg { width: 40px; height: 40px; }
.footer-contact li { color: #b3c1bc; font-size: .95rem; }
.footer-contact a { color: #fff; }
.footer-zones { margin-top: 16px; font-size: .85rem; color: #7e918b; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 54px; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: .85rem; color: #7e918b; }
.footer-bottom .legal { display: flex; gap: 18px; }
.footer-bottom .legal a { font-size: .85rem; color: #97a8a2; }

/* ---------- Badges / pills ---------- */
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; background: var(--green-050); color: var(--green-700); font-size: .82rem; font-weight: 600; }
.badge svg { width: 15px; height: 15px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- Bloc avis (Trustpilot / Google style) ---------- */
.reviews-bar { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 36px; box-shadow: var(--shadow-sm); }
.reviews-score { text-align: center; padding-right: 30px; border-right: 1px solid var(--line); }
.reviews-score .big { font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: var(--green); }
.reviews-score .stars { color: var(--amber); letter-spacing: 2px; font-size: 1.1rem; }
.reviews-score .count { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.reviews-logos { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; }
.review-logo { display: flex; align-items: center; gap: 10px; }
.review-logo .stars { color: var(--amber); letter-spacing: 1px; font-size: .9rem; }
.review-logo b { font-size: .95rem; }
.review-logo span { font-size: .8rem; color: var(--muted); display: block; }

/* ---------- Équipe locale ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-member { text-align: center; }
.team-member .ph { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 16px; object-fit: cover; background: var(--green-050); border: 3px solid #fff; box-shadow: var(--shadow); }
.team-member h4 { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 2px; }
.team-member .role { font-size: .85rem; color: var(--amber-600); font-weight: 600; }
.team-member .zone { font-size: .85rem; color: var(--muted); }

/* ---------- Réassurance / garanties ---------- */
.guarantee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.guarantee { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; }
.guarantee .ic { width: 56px; height: 56px; border-radius: 50%; background: var(--green-050); color: var(--green); display: grid; place-items: center; margin: 0 auto 16px; }
.guarantee .ic svg { width: 27px; height: 27px; }
.guarantee h3 { font-size: 1.12rem; margin-bottom: 8px; }
.guarantee p { font-size: .92rem; }
.guarantee .big { font-family: var(--serif); font-size: 1.6rem; color: var(--green); display: block; }

/* ---------- Étude de cas / graphique ---------- */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,6vw,72px); align-items: center; }
.bar-chart { display: flex; align-items: flex-end; gap: 28px; height: 280px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 12px; }
.bar { width: 100%; max-width: 90px; border-radius: 12px 12px 0 0; position: relative; transition: height 1s var(--ease); }
.bar.before { background: var(--sand-deep); }
.bar.after { background: linear-gradient(180deg, var(--green-300), var(--green)); }
.bar .v { position: absolute; top: -28px; left: 0; right: 0; text-align: center; font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 1rem; }
.bar-col .cap { font-size: .85rem; color: var(--muted); text-align: center; }
.bar-col .cap b { display: block; color: var(--ink); font-size: .95rem; }

/* ---------- Dashboard mockup ---------- */
.browser { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: var(--sand); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d8d2c4; display: block; }
.browser-bar .url { margin-left: 12px; font-size: .78rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 4px 12px; }
.dash { padding: 24px; display: grid; gap: 18px; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dash-kpi { background: var(--sand); border-radius: var(--radius-sm); padding: 16px; }
.dash-kpi .k { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.dash-kpi .v { font-family: var(--serif); font-size: 1.5rem; color: var(--green); line-height: 1.1; margin-top: 4px; }
.dash-kpi .v small { font-size: .8rem; color: var(--amber-600); font-family: var(--sans); }
.dash-chart { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding: 14px; background: var(--sand); border-radius: var(--radius-sm); }
.dash-chart i { flex: 1; background: linear-gradient(180deg, var(--green-300), var(--green)); border-radius: 5px 5px 0 0; display: block; }
.dash-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.dash-cal i { aspect-ratio: 1; border-radius: 5px; background: var(--sand); display: block; }
.dash-cal i.bk { background: var(--green); }
.dash-cal i.hold { background: var(--amber); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); display: flex; flex-direction: column; height: 100%; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.post-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card .cat { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-600); margin-bottom: 10px; }
.post-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.post-card p { font-size: .95rem; flex: 1; }
.post-card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--green); font-weight: 600; font-size: .92rem; }
.post-card .more svg { width: 16px; height: 16px; flex: none; transition: transform .2s; }
.post-card:hover .more svg { transform: translateX(3px); }

/* ---------- Article ---------- */
.article { max-width: 760px; margin-inline: auto; }
.article h2 { margin: 38px 0 14px; }
.article h3 { margin: 26px 0 10px; }
.article p { margin-bottom: 16px; }
.article ul.bullets { display: grid; gap: 10px; margin: 0 0 18px; }
.article ul.bullets li { position: relative; padding-left: 26px; color: var(--ink-soft); }
.article ul.bullets li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.article blockquote { border-left: 3px solid var(--amber); padding: 6px 0 6px 22px; margin: 22px 0; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); font-style: italic; }
.article .tldr { background: var(--green-050); border-radius: var(--radius); padding: 22px 26px; margin: 0 0 30px; }
.article .tldr b { color: var(--green-700); }

/* ---------- Comparateur ---------- */
.compare { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: .96rem; }
.compare thead th { background: var(--sand); font-family: var(--sans); font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.compare thead th.hl { background: var(--green); color: #fff; }
.compare td.yes { color: var(--green); font-weight: 600; }
.compare td.no { color: #b06a4f; }
.compare tr:last-child td { border-bottom: none; }

/* ---------- Personas (pour qui) ---------- */
.persona { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.persona .ic { width: 56px; height: 56px; border-radius: 16px; background: var(--amber-050); color: var(--amber-600); display: grid; place-items: center; flex: none; }
.persona h3 { font-size: 1.2rem; margin-bottom: 6px; }
.persona p { font-size: .96rem; }

/* ---------- Sticky CTA mobile ---------- */
.mobile-cta { display: none; }

/* ---------- Anim on scroll (masqué uniquement si le JS a posé html.js) ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; order: -1; }
  .hero-float--tl { left: 4px; }
  .hero-float--br { right: 4px; }
  .split { grid-template-columns: 1fr; }
  .split--rev .split-visual { order: 0; }
  .g4, .stats, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .g3, .price-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid, .guarantee-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .case { grid-template-columns: 1fr; }
  .case .reveal:first-child { order: 1; }
  .reviews-bar { grid-template-columns: 1fr; text-align: center; }
  .reviews-score { border-right: none; border-bottom: 1px solid var(--line); padding: 0 0 22px; }
  .reviews-logos { justify-content: center; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .g2, .g4, .stats, .value-grid, .field .row, .opt-grid.cols2 { grid-template-columns: 1fr; }
  .team-grid, .guarantee-grid, .blog-grid, .dash-kpis { grid-template-columns: 1fr 1fr; }
  .persona { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .hero-float { display: none; }
  .mobile-cta {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    background: rgba(255,255,255,.95); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); gap: 10px;
  }
  .mobile-cta .btn { flex: 1; padding: 14px; }
  body { padding-bottom: 76px; }
}

/* ===== Bandeau cookies ===== */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120;
  background: var(--ink, #11272c); color: #eef4f5; border-radius: 16px;
  box-shadow: 0 14px 40px rgba(0,0,0,.28); padding: 18px 20px; max-width: 760px; margin: 0 auto;
}
.cookie-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cookie-text { flex: 1; min-width: 240px; }
.cookie-text strong { font-family: var(--display, inherit); font-size: 1rem; }
.cookie-text p { font-size: .86rem; color: #c4d4d6; margin: 5px 0 0; line-height: 1.5; }
.cookie-text a { color: var(--green-300, #6bc4ca); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions .btn { padding: 10px 18px; }
.cookie-actions .btn-outline { color: #eef4f5; border-color: rgba(255,255,255,.4); }
@media (max-width: 560px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 16px; }
  .cookie-actions { width: 100%; } .cookie-actions .btn { flex: 1; }
}

/* ===== Pages légales ===== */
.legal-doc { max-width: 760px; }
.legal-doc h2 { font-size: 1.25rem; margin: 32px 0 10px; }
.legal-doc p, .legal-doc li { color: var(--ink-soft, #44565b); line-height: 1.7; }
.legal-doc ul { margin: 0 0 8px; padding-left: 22px; list-style: disc; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc a { color: var(--link, #1a6a70); text-decoration: underline; }
.legal-update { margin-top: 32px; color: var(--muted, #6f8084); font-size: .85rem; }

/* champ-piège anti-spam (honeypot) — invisible aux humains */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ===== Bouton WhatsApp flottant ===== */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 130;
  width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
@media (max-width: 900px) { .wa-float { bottom: calc(72px + env(safe-area-inset-bottom)); width: 50px; height: 50px; } }

/* ===== Carte contact ===== */
.contact-trust { text-align: center; font-weight: 600; color: var(--green-700, #24828a); margin-bottom: 18px; }
.contact-map { border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(20,32,28,.12); }
.contact-map iframe { display: block; width: 100%; height: 420px; border: 0; }
@media (max-width: 560px) { .contact-map iframe { height: 300px; } }

/* =========================================================================
   UI/UX 2.0 — navigation enrichie, carrousels mobile, animations
   ========================================================================= */

/* ---------- Navigation : densité + items utilitaires ---------- */
.main-nav > ul { gap: 3px; flex-wrap: nowrap; }
.main-nav a { padding: 9px 10px; white-space: nowrap; }
.nav-util a { gap: 7px; }
.nav-book { font-weight: 600; color: var(--ink) !important; }
.nav-book:hover { color: var(--green) !important; }
.nav-book svg { width: 14px; height: 14px; opacity: .65; }
.nav-login { border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 15px !important; color: var(--ink) !important; font-weight: 600; }
.nav-login svg { width: 16px; height: 16px; }
.nav-login:hover { border-color: var(--green); color: var(--green) !important; background: transparent !important; }
.nav-login-full { display: none; }

/* ---------- Carrousels horizontaux sur mobile ---------- */
@media (max-width: 760px) {
  .scroll-mobile {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: -24px; padding: 4px 24px 16px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .scroll-mobile::-webkit-scrollbar { display: none; }
  .scroll-mobile > * { flex: 0 0 80%; scroll-snap-align: start; }
  .scroll-mobile.steps-grid > .step { flex-basis: 84%; }
  .scroll-mobile--sm > * { flex-basis: 44%; }
}

/* ---------- Process : 2 colonnes sur grand écran ---------- */
.steps-grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .steps-grid { grid-template-columns: 1fr; } }

/* ---------- Bloc voyageurs (réserver un séjour) ---------- */
.guest-cta {
  display: grid; grid-template-columns: 1.5fr .8fr; gap: clamp(28px, 5vw, 56px); align-items: center;
  background: linear-gradient(135deg, var(--green), var(--green-700));
  color: #eaf6f6; border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 56px);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.guest-cta::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 320px at 92% -20%, rgba(255,255,255,.16), transparent 60%); }
.guest-cta > * { position: relative; }
.guest-cta h2 { color: #fff; }
.guest-cta .lead { color: #d7ecec; }
.guest-cta .eyebrow { color: var(--gold); }
.guest-cta .eyebrow::before { background: var(--gold); }
.guest-cta-actions { margin-top: 26px; }
.guest-cta-badges { display: grid; gap: 16px; }
.guest-cta-badges li { display: flex; align-items: baseline; gap: 12px; font-size: .95rem; color: #d7ecec; }
.guest-cta-badges .b { font-family: var(--serif); font-size: 1.5rem; color: #fff; min-width: 64px; }
@media (max-width: 760px) { .guest-cta { grid-template-columns: 1fr; } }

/* ---------- Padding vertical réduit sur mobile (home moins longue) ---------- */
@media (max-width: 760px) {
  .section { padding: clamp(38px, 9vw, 56px) 0; }
  .section-head { margin-bottom: 28px; }
}

/* ---------- Animations ---------- */
.site-header { transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.site-header.header-hidden { transform: translateY(-100%); }

.btn-primary, .btn-light { position: relative; overflow: hidden; }
.btn-primary::after, .btn-light::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease); pointer-events: none;
}
.btn-primary:hover::after, .btn-light:hover::after { left: 150%; }

.card .ic, .guarantee .ic { transition: transform .35s var(--ease), background .3s; }
.card:hover .ic { transform: scale(1.08) rotate(-3deg); }

@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { opacity: 0; animation: heroIn .7s var(--ease) forwards; }
  .hero-text > *:nth-child(1) { animation-delay: .05s; }
  .hero-text > *:nth-child(2) { animation-delay: .12s; }
  .hero-text > *:nth-child(3) { animation-delay: .19s; }
  .hero-text > *:nth-child(4) { animation-delay: .26s; }
  .hero-text > *:nth-child(5) { animation-delay: .33s; }
  .hero-visual { opacity: 0; animation: heroIn .8s var(--ease) .18s forwards; }
  @keyframes heroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
  .hero-float { animation: floaty 6s ease-in-out infinite; }
  .hero-float--br { animation-delay: -3s; }
  @keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
  .hero { background-size: 140% 140%, 140% 140%, auto; animation: heroBg 22s ease-in-out infinite alternate; }
  @keyframes heroBg { from { background-position: 0% 0%, 100% 100%, 0 0; } to { background-position: 12% 8%, 88% 92%, 0 0; } }
}

/* ---------- Nav mobile (hamburger) — seuil relevé à 1180px
   (8 items : le menu complet ne s'affiche que quand la place est suffisante) ---------- */
@media (max-width: 1180px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 76px 0 0 0; background: #fff; flex-direction: column;
    padding: 20px 24px 100px; overflow-y: auto; transform: translateX(100%);
    transition: transform .35s var(--ease); border-top: 1px solid var(--line);
  }
  .main-nav.open { transform: none; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 14px 12px; font-size: 1.05rem; }
  .has-dropdown > a::after { margin-left: auto; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-left: 2px solid var(--line); border-radius: 0; margin: 2px 0 8px 14px; padding: 0 0 0 10px; display: none; }
  .has-dropdown.open .dropdown { display: grid; }
  .nav-login { border: none !important; border-radius: 0 !important; padding: 14px 12px !important; color: var(--ink-soft) !important; font-weight: 500 !important; }
  .nav-login-full { display: inline; }
  .nav-login-txt { display: none; }
  .nav-book svg, .nav-login svg { opacity: .55; }
  .nav-cta { margin: 14px 0 0; }
  .nav-cta a { justify-content: center; padding: 15px !important; }
}

/* ==========================================================================
   LANGAGE VISUEL « Sérénité japonaise × Valais » — GLOBAL (tout le site)
   Déplacé depuis la home. Réversible : supprimer ce bloc = ancien design.
   ========================================================================== */
@font-face{font-family:"Fraunces";font-weight:400;src:url("/fonts/fraunces-400.woff2") format("woff2");font-display:swap}
@font-face{font-family:"Fraunces";font-weight:500;src:url("/fonts/fraunces-500.woff2") format("woff2");font-display:swap}
@font-face{font-family:"Fraunces";font-weight:600;src:url("/fonts/fraunces-600.woff2") format("woff2");font-display:swap}
@font-face{font-family:"HeiwaScript";font-weight:400;src:url("/fonts/pinyon-script.woff2") format("woff2");font-display:swap}

/* Fonds washi (papier chaud) au lieu du blanc clinique */
body{background:#f7f3ec}
.section--sand{background:#efe7d9}
.site-header{background:rgba(247,243,236,.85)!important}

/* Titres en serif éditorial — le changement de « feel » principal */
h1,h2,h3{font-family:"Fraunces",Georgia,serif!important;font-weight:500;letter-spacing:-.005em}
.hero h1{font-weight:400;font-size:clamp(2.7rem,5.6vw,4.6rem);line-height:1.04}
.hero h1 em,.page-hero h1 em{font-style:italic}

/* Eyebrow signature : losange ◈ (le sceau Heiwa) */
.eyebrow{color:#8a6500;font-weight:600;letter-spacing:.16em}
.eyebrow::before{content:"◈";width:auto;height:auto;background:none;border-radius:0;font-size:.72rem;line-height:1;color:var(--amber)}

/* Gros chiffres en serif éditorial — même famille que les titres (cohérence) */
.stat .num{font-family:"Fraunces",Georgia,serif}

/* Photos équipe : traitement uniforme (les sources varient en lumière/saturation) */
.team-member .ph{filter:saturate(.94) contrast(1.05) brightness(1.02)}

/* Filet fin sous les titres de section (rythme éditorial calme) */
.section-head h2::after{content:"";display:block;width:44px;height:1px;background:var(--amber);opacity:.55;margin:18px auto 0}

/* Icônes maison : trait adouci et cohérent sur tout le jeu d'icônes (fil rouge ◈) */
svg[viewBox="0 0 24 24"]{stroke-linecap:round;stroke-linejoin:round}

/* Transitions entre pages : fondu natif (View Transitions), dégradation propre ailleurs */
@view-transition{navigation:auto}
::view-transition-old(root){animation:vtOut .3s ease both}
::view-transition-new(root){animation:vtIn .42s cubic-bezier(.2,.7,.2,1) both}
@keyframes vtOut{to{opacity:0}}
@keyframes vtIn{from{opacity:0;transform:translateY(12px)}}
@media(prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation:none!important}}

/* Motif 和 (la paix) en filigrane du hero (home) */
.hero::after{content:"和";position:absolute;right:-1vw;bottom:-9vw;font-family:"Fraunces",serif;font-size:32vw;line-height:1;color:rgba(138,101,0,.045);pointer-events:none;z-index:0}
.hero-grid{position:relative;z-index:1}
.hero-card-img{aspect-ratio:3/2;height:auto;object-fit:cover}

/* Apparitions VARIÉES : chaque bloc arrive selon sa position (classes posées par main.js).
   Scopé html.js : sans JavaScript, tout le contenu reste visible. */
html.js .reveal{opacity:0;transform:translateY(26px);filter:blur(5px);transition:opacity 1s cubic-bezier(.2,.7,.2,1),transform 1s cubic-bezier(.2,.7,.2,1),filter 1s ease}
html.js .rv-left{transform:translateX(-56px);filter:none}
html.js .rv-right{transform:translateX(56px);filter:none}
html.js .rv-up{transform:translateY(42px);filter:blur(4px)}
html.js .rv-zoom{transform:scale(.9);filter:none}
html.js .rv-rise{transform:translateY(66px);filter:blur(8px)}
.reveal.in{opacity:1!important;transform:none!important;filter:none!important}

/* Effet ÉCRITURE au scroll (.write-on) — insets négatifs = plus aucune coupe.
   La règle .written doit rester plus spécifique que le masquage html.js .write-on */
html.js .write-on{clip-path:inset(-30% 100% -30% -6%);will-change:clip-path}
html.js .write-on.written{transition:clip-path 1.7s cubic-bezier(.62,.04,.2,1) .05s;clip-path:inset(-30% -6% -30% -6%)}

/* Bloc signature calligraphié */
.sig-band{text-align:center}
.sig-jp{font-family:"Fraunces",serif;font-size:1.35rem;letter-spacing:.5em;color:#8a6500;padding-left:.5em;margin-bottom:10px}
.sig-line{font-family:"HeiwaScript",cursive;font-size:clamp(2.4rem,6vw,4.4rem);color:var(--ink);line-height:1.32;display:inline-block;padding:.08em .14em}
.sig-sub{max-width:560px;margin:18px auto 0;color:var(--ink-soft)}

/* Curseur = sceau ◈ Heiwa (desktop, pointeur fin) */
@media(hover:hover) and (pointer:fine){
  body,a,button,.btn,[role=button],input,select,textarea,summary,label{cursor:none}
  #hw-dot,#hw-ring{position:fixed;top:0;left:0;z-index:10000;pointer-events:none}
  #hw-dot{width:6px;height:6px;border-radius:50%;background:var(--ink);margin:-3px 0 0 -3px;transition:background .2s,width .2s,height .2s,margin .2s}
  #hw-ring{width:24px;height:24px;border:1.6px solid rgba(17,39,44,.42);border-radius:3px;margin:-12px 0 0 -12px;transition:width .22s,height .22s,margin .22s,border-color .22s,border-radius .22s}
  body.cur-hov #hw-ring{width:40px;height:40px;margin:-20px 0 0 -20px;border-color:var(--amber);border-radius:5px}
  body.cur-hov #hw-dot{background:var(--amber);width:8px;height:8px;margin:-4px 0 0 -4px}
  /* fonds sombres (footer, sections navy) : curseur en clair, sinon il disparaît */
  body.cur-dark #hw-dot{background:#f5efe4}
  body.cur-dark #hw-ring{border-color:rgba(245,239,228,.6)}
  body.cur-dark.cur-hov #hw-dot{background:var(--amber)}
  body.cur-dark.cur-hov #hw-ring{border-color:var(--amber)}
}

/* Réduction de mouvement : tout stable */
@media(prefers-reduced-motion:reduce){.reveal,.write-on{opacity:1!important;transform:none!important;filter:none!important;clip-path:none!important;transition:none!important}}

/* Ajustements mobile du langage visuel */
@media(max-width:720px){
  .hero::after{font-size:46vw;bottom:-14vw}
  .sig-line{font-size:clamp(1.9rem,7.6vw,3rem);line-height:1.32}
  .sig-jp{font-size:1.12rem}
  .eyebrow::before{font-size:.66rem}
}
