/* =========================================================
   Contessa Med — Charte visuelle
   Bleu nuit · Or · Ivoire (tirés du logo officiel)
   ========================================================= */
:root {
  --navy: #1B2A55;
  --navy-deep: #111B3A;
  --navy-soft: #2C3C6E;
  --gold: #C49A45;
  --gold-light: #E6C67E;
  --gold-dark: #946C2C;
  --gold-grad: linear-gradient(135deg, #9C7432 0%, #D9B262 45%, #F1D79A 60%, #B8893A 100%);
  --ivory: #FEF7ED;          /* fond exact du logo */
  --cream: #F7ECDC;
  --ink: #1B2A55;
  --text: #3A4366;
  --muted: #6E7593;
  --line: rgba(196, 154, 69, .35);
  --radius: 18px;
  --shadow: 0 18px 40px -22px rgba(17, 27, 58, .35);

  --f-display: "Cormorant Garamond", "Noto Serif SC", Georgia, serif;
  --f-body: "Jost", "Noto Sans SC", system-ui, sans-serif;
  --f-script: "Pinyon Script", cursive;
  --f-mark: "Cinzel", Georgia, serif;
}

/* Langues à écriture spécifique */
:lang(ar) { --f-display: "Amiri", serif; --f-body: "Tajawal", system-ui, sans-serif; }
:lang(zh) { --f-display: "Noto Serif SC", "Songti SC", serif; --f-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
:lang(ar) body, body:lang(ar) { font-size: 18px; font-weight: 400; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, .display { font-family: var(--f-display); color: var(--ink); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1, .display { font-size: clamp(2.6rem, 5.6vw, 4.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.45rem; }
/* Accueil : le H1 (mots-clés) a l'apparence du sur-titre, le slogan celle d'un grand titre */
h1.kicker { line-height: 1.6; letter-spacing: .22em; }
:lang(ar) h1.kicker, :lang(zh) h1.kicker { letter-spacing: .05em; }
h1 em, h2 em, .display em {
  font-style: italic; font-weight: 500;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
.narrow { max-width: 820px; }

.kicker {
  font-family: var(--f-body); font-weight: 500;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 1rem;
  display: inline-flex; align-items: center; gap: .8em;
}
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
:lang(ar) .kicker, :lang(zh) .kicker { letter-spacing: .05em; font-size: .9rem; }
.lead { font-size: 1.12rem; color: var(--text); max-width: 60ch; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.8em; border-radius: 999px;
  font-family: var(--f-body); font-weight: 500; font-size: .95rem; letter-spacing: .03em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: var(--ivory); box-shadow: var(--shadow); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-gold { background: var(--gold-grad); color: var(--navy-deep); box-shadow: 0 12px 30px -14px rgba(148, 108, 44, .7); }
.btn-outline { border-color: var(--gold); color: var(--navy); background: transparent; }
.btn-outline:hover { background: rgba(196, 154, 69, .1); }
.btn-sm { padding: .65em 1.3em; font-size: .85rem; }
.btn-block { width: 100%; }
.ico-wa { width: 1.2em; height: 1.2em; fill: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(254, 247, 237, .88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -24px rgba(17, 27, 58, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }

/* Logo officiel (découpé du logo complet, fond transparent).
   Le texte reste présent pour les lecteurs d'écran et le référencement. */
.wordmark {
  display: block; flex-shrink: 0;
  height: 56px; aspect-ratio: 1194 / 309;
  background: url("../img/logo-horizontal.webp") no-repeat center / contain;
}
.wordmark-light { background-image: url("../img/logo-horizontal-light.webp"); height: 58px; }
.wordmark > span {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.main-nav { display: flex; gap: 28px; }
.main-nav a { font-size: .9rem; font-weight: 400; color: var(--navy); position: relative; padding: 4px 0; }
.main-nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 1px;
  background: var(--gold); transform: scaleX(0); transition: transform .3s;
}
.main-nav a:hover::after { transform: scaleX(1); }

/* Sous-menu Soins → catalogue par catégorie */
.nav-drop { position: relative; }
.nav-drop .caret { font-size: .7em; color: var(--gold-dark); }
.nav-drop-menu {
  position: absolute; top: calc(100% + 14px); inset-inline-start: -18px; min-width: 240px;
  display: flex; flex-direction: column; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s;
}
.nav-drop-menu::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .nav-drop-menu a { padding: 9px 12px; border-radius: 9px; }
.main-nav .nav-drop-menu a::after { display: none; }
.main-nav .nav-drop-menu a:hover { background: var(--cream); }
.main-nav .nav-drop-menu .nav-drop-all { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 9px 9px; color: var(--gold-dark); font-weight: 500; }

.header-actions { display: flex; align-items: center; gap: 12px; }

/* Sélecteur de langue */
.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 12px; font: 500 .8rem var(--f-body); color: var(--navy); cursor: pointer; letter-spacing: .08em;
}
.lang-btn svg { width: 16px; height: 16px; fill: none; stroke: var(--gold-dark); stroke-width: 1.4; }
.lang-menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px);
  list-style: none; margin: 0; padding: 6px; min-width: 160px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s;
}
.lang-menu.open { opacity: 1; visibility: visible; transform: none; }
.lang-menu button {
  width: 100%; text-align: start; background: none; border: 0; padding: 9px 12px; border-radius: 9px;
  font: 400 .95rem var(--f-body); color: var(--navy); cursor: pointer;
}
.lang-menu button:hover, .lang-menu button[aria-selected="true"] { background: var(--cream); }
.lang-menu button[aria-selected="true"] { font-weight: 500; }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.burger span { width: 18px; height: 1.5px; background: var(--navy); transition: .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 760px; height: 760px; border-radius: 50%;
  inset-inline-end: -220px; top: -180px;
  background: radial-gradient(circle, rgba(230, 198, 126, .28), transparent 65%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.hero-visual { display: flex; justify-content: center; }
.arch {
  width: min(440px, 100%); aspect-ratio: 1 / 1.12;
  border-radius: 999px 999px 24px 24px; overflow: hidden;
  background: var(--ivory);
  outline: 1px solid var(--gold); outline-offset: 12px;
  box-shadow: 0 40px 80px -40px rgba(17, 27, 58, .45);
}
.arch img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 70%; }

.stats {
  list-style: none; margin: 64px 0 0; padding: 28px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  border-top: 1px solid var(--line);
}
.stats li { display: flex; flex-direction: column; gap: 4px; }
.stats strong {
  font-family: var(--f-display); font-size: 2.8rem; font-weight: 600; line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats span { font-size: .92rem; color: var(--muted); line-height: 1.45; }

/* Séparateur "battement de cœur" du logo */
.pulse-divider { display: flex; justify-content: center; padding: 10px 24px; }
.pulse-divider svg { width: min(600px, 100%); height: 40px; fill: none; stroke: var(--gold); stroke-width: 1.4; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-cream { background: var(--cream); }
.section-navy {
  background: radial-gradient(ellipse at top, var(--navy-soft), var(--navy-deep) 70%);
  color: rgba(254, 247, 237, .82);
}
.section-navy h2, .section-navy h3 { color: var(--ivory); }
.section-navy .kicker { color: var(--gold-light); }
.section-navy .lead { color: rgba(254, 247, 237, .8); }

/* Cartes soins */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid rgba(196, 154, 69, .25); border-radius: var(--radius);
  padding: 30px 26px 26px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.card .num { font-family: var(--f-display); font-size: 2.4rem; line-height: 1; color: var(--gold); opacity: .55; margin-bottom: 18px; }
.card h3 { font-size: 1.5rem; margin-bottom: .4em; }
.card p { font-size: .93rem; color: var(--muted); line-height: 1.6; flex: 1; }
.card-link { font-size: .82rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); }
.card-link::after { content: " →"; }
[dir="rtl"] .card-link::after { content: " ←"; }
:lang(ar) .card-link, :lang(zh) .card-link { letter-spacing: 0; }

/* Piliers Protect */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pillar {
  border: 1px solid rgba(230, 198, 126, .3); border-radius: var(--radius);
  padding: 32px 26px; background: rgba(255, 255, 255, .03);
  transition: background .3s, border-color .3s;
}
.pillar:hover { background: rgba(255, 255, 255, .06); border-color: var(--gold-light); }
.pillar svg { width: 44px; height: 44px; fill: none; stroke: var(--gold-light); stroke-width: 1.2; margin-bottom: 20px; }
.pillar p { font-size: .95rem; margin: 0; }

/* Parcours */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 36px; counter-reset: step; }
.steps li { position: relative; padding-top: 22px; border-top: 1px solid var(--line); }
.step-n {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold-dark);
  font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; margin-bottom: 16px;
}
.steps p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Destinations */
.dest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dest {
  position: relative; overflow: hidden;
  background: var(--ivory); border-radius: var(--radius); padding: 44px 40px;
  border: 1px solid var(--line);
}
.dest-code {
  position: absolute; inset-inline-end: 24px; top: 6px;
  font-family: var(--f-mark); font-size: 6.5rem; line-height: 1; color: var(--gold); opacity: .12;
}
.dest h3 { font-size: 2rem; }
.dest p { margin: 0; max-width: 46ch; }

/* Fondatrice */
.founder { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.founder-mark {
  aspect-ratio: 1; max-width: 360px; width: 100%; margin-inline: auto;
  border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, #fff, var(--cream));
  outline: 1px solid var(--gold); outline-offset: 14px;
}
.monogram { font-family: var(--f-script); font-size: 11rem; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .15em; }
.signature { font-family: var(--f-display); font-style: italic; font-size: 1.4rem; color: var(--gold-dark); margin-top: 1.4em; }

/* Vision */
.vision { text-align: center; }
.vision-inner { max-width: 820px; }
.vision .section-head, .vision .lead { margin-inline: auto; }
.vision .kicker::before { display: none; }
.fineprint { font-size: .85rem; opacity: .75; margin: 1.2em auto 2em; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 0;
  font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-body); font-weight: 300; font-size: 1.6rem; color: var(--gold); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 12px; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.contact-list a { display: flex; flex-direction: column; padding: 16px 20px; background: var(--ivory); border: 1px solid var(--line); border-radius: 14px; transition: border-color .3s; }
.contact-list a:hover { border-color: var(--gold); }
.cl-label { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); font-weight: 500; }
.contact-list a span:last-child { color: var(--navy); font-weight: 400; direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .contact-list a span:last-child { text-align: end; }

.quote-form { background: #fff; border-radius: 24px; padding: 40px; box-shadow: var(--shadow); border: 1px solid rgba(196, 154, 69, .2); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; flex: 1; min-width: 0; }
.field-row { display: flex; gap: 16px; }
.field label { font-size: .82rem; font-weight: 500; color: var(--navy); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  font: 400 1rem var(--f-body); color: var(--navy);
  background: var(--ivory); border: 1px solid rgba(27, 42, 85, .14); border-radius: 12px;
  padding: 13px 14px; width: 100%; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196, 154, 69, .18); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); margin: 4px 0 20px; cursor: pointer; }
.consent input { margin-top: 5px; accent-color: var(--navy); }
.form-error { color: #A13B3B; font-size: .88rem; margin: -6px 0 16px; }
.quote-form .fineprint { text-align: center; margin: 14px 0 0; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(254, 247, 237, .7); padding: 72px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(230, 198, 126, .2); }
.footer-tag { margin: 14px 0 4px; font-size: .9rem; }
.footer-motto { font-family: var(--f-script); font-size: 1.7rem; color: var(--gold-light); margin: 0; direction: ltr; }
.disclaimer { font-size: .85rem; line-height: 1.7; margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: .82rem; }
.footer-bottom a:hover { color: var(--gold-light); }

/* Bouton WhatsApp flottant */
.wa-float {
  position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); border: 1px solid var(--gold);
  box-shadow: 0 16px 34px -12px rgba(17, 27, 58, .6); transition: transform .3s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 28px; height: 28px; fill: var(--gold-light); }

/* Animation d'apparition */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards, .pillars { grid-template-columns: repeat(2, 1fr); }
  .main-nav { gap: 18px; }
}
.main-nav a { white-space: nowrap; }
/* Menu burger dès que les 7 entrées ne tiennent plus sur une ligne */
@media (max-width: 1100px) {
  .burger { display: flex; }
  .main-nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
    transform: translateY(-120%); transition: transform .35s ease; z-index: -1;
  }
  .main-nav.open { transform: none; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid rgba(196, 154, 69, .18); font-size: 1.05rem; }
  .main-nav { max-height: calc(100vh - 76px); overflow-y: auto; }
  .nav-drop-toggle { display: block; }
  .nav-drop-menu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; background: transparent; padding: 0 0 6px; min-width: 0;
    display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px;
  }
  .main-nav .nav-drop-menu a { font-size: .92rem; padding: 9px 4px; border-bottom: 0; color: var(--text); }
  .main-nav .nav-drop-menu .nav-drop-all { grid-column: 1 / -1; border-top: 0; }
}
@media (max-width: 920px) {
  .hero-grid, .founder, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .arch { width: min(320px, 80%); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .dest-grid, .footer-inner { grid-template-columns: 1fr; }
  .founder-mark { max-width: 240px; }
  .monogram { font-size: 7.5rem; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding-inline: 16px; }
  .hide-mobile { display: none; }
  .section { padding: 72px 0; }
  .hero { padding-top: 32px; }
  .cards, .pillars, .steps { grid-template-columns: 1fr; }
  .field-row { flex-direction: column; gap: 0; }
  .quote-form { padding: 26px 20px; }
  .dest { padding: 34px 26px; }
  .wordmark { height: 38px; }
  .wordmark-light { height: 48px; }
  .hero-ctas .btn { width: 100%; }
  .arch { width: min(250px, 68%); outline-offset: 8px; }
  .hero-grid { gap: 28px; }
}

/* =========================================================
   Accueil v2 — direction artistique (2026-11-09)
   Bloc ADDITIF : nouvelles classes uniquement, rien de ce que
   le catalogue utilise n'est modifié (.step-n, .card-link, .hero-ctas…).
   ========================================================= */

/* ---------- Comparateur avant / après (illustrations IA) ---------- */
.ba { position: relative; margin: 0; overflow: hidden; direction: ltr; background: var(--cream); user-select: none; -webkit-user-select: none; }
.ba img { width: 100%; height: 100%; object-fit: cover; }
.ba .ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: var(--gold-light); box-shadow: 0 0 0 1px rgba(17, 27, 58, .12); pointer-events: none; }
.ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px solid var(--gold); box-shadow: 0 10px 24px -10px rgba(17, 27, 58, .55);
  background: rgba(254, 247, 237, .94) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23946C2C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba:has(.ba-range:focus-visible) .ba-handle::after { outline: 2px solid var(--navy); outline-offset: 3px; }
.ba-tag {
  position: absolute; bottom: 14px; padding: 4px 11px; border-radius: 999px; pointer-events: none;
  font: 500 .68rem/1.5 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
  background: rgba(17, 27, 58, .74); color: var(--ivory);
}
.ba-tag-before { left: 14px; }
.ba-tag-after { right: 14px; background: var(--gold-grad); color: var(--navy-deep); }
:lang(ar) .ba-tag, :lang(zh) .ba-tag { letter-spacing: 0; font-size: .78rem; }
.ai-note { font-size: .78rem; color: var(--muted); text-align: center; margin: 26px 0 0; line-height: 1.5; }

/* Héros : l'arche porte désormais le comparateur */
.hero-visual { flex-direction: column; align-items: center; }
.ba-arch {
  width: min(430px, 100%); aspect-ratio: 760 / 852; border-radius: 999px 999px 24px 24px;
  outline: 1px solid var(--gold); outline-offset: 12px; box-shadow: 0 40px 80px -40px rgba(17, 27, 58, .45);
}
.ba-arch .ba-tag { bottom: 22px; }

/* ---------- Cartes soins illustrées ---------- */
.card.card-media { padding: 0; overflow: hidden; }
.card-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.card-media:hover .card-img img { transform: scale(1.045); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.card-media .num {
  position: absolute; top: 12px; inset-inline-start: 16px; margin: 0; z-index: 1;
  font-size: 1.7rem; color: #fff; opacity: .95; text-shadow: 0 2px 14px rgba(17, 27, 58, .45);
}
.card-media h3 { font-size: 1.4rem; }
.ai-chip {
  position: absolute; bottom: 10px; inset-inline-end: 10px; padding: 3px 9px; border-radius: 999px;
  font-size: .62rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5;
  background: rgba(254, 247, 237, .9); color: var(--navy);
}
:lang(ar) .ai-chip, :lang(zh) .ai-chip { letter-spacing: 0; font-size: .72rem; }
.cards-more { text-align: center; margin: 44px 0 0; }

/* ---------- Interventions phares ---------- */
.featured .section-head { margin-bottom: 40px; }
.feat-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 16px) / 6); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px;
  scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
}
.feat-track:focus-visible { outline: 1px solid var(--gold-light); outline-offset: 6px; border-radius: 12px; }
.feat {
  scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(230, 198, 126, .25);
  transition: border-color .3s, transform .35s, background .3s;
}
.feat:hover { border-color: var(--gold-light); background: rgba(255, 255, 255, .07); transform: translateY(-4px); }
.feat-img { position: relative; display: block; aspect-ratio: 520 / 600; direction: ltr; }
.feat-img img { width: 100%; height: 100%; object-fit: cover; }
.feat-split { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--gold-light); }
.feat-img .ba-tag { bottom: 10px; font-size: .58rem; padding: 3px 8px; }
.feat-img .ba-tag-before { left: 10px; }
.feat-img .ba-tag-after { right: 10px; }
.feat-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 18px; flex: 1; }
.feat-cat { font-size: .66rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }
.feat-name { font-family: var(--f-display); font-size: 1.22rem; font-weight: 600; line-height: 1.2; color: var(--ivory); flex: 1; }
.feat-see { font-size: .78rem; color: rgba(254, 247, 237, .72); margin-top: 8px; }
.feat-see::after { content: " →"; color: var(--gold-light); }
[dir="rtl"] .feat-see::after { content: " ←"; }
:lang(ar) .feat-cat, :lang(zh) .feat-cat { letter-spacing: 0; font-size: .78rem; }
.feat-note { font-size: .8rem; color: rgba(254, 247, 237, .62); margin: 24px 0 0; max-width: 80ch; }

/* ---------- Parcours : pictogrammes or ---------- */
.step-ico {
  position: relative; display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 16px;
  border-radius: 50%; border: 1px solid var(--gold); background: radial-gradient(circle at 30% 25%, #fff, var(--cream));
}
.step-ico svg { width: 28px; height: 28px; fill: none; stroke: var(--gold-dark); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.step-num {
  position: absolute; top: -4px; inset-inline-end: -6px; width: 23px; height: 23px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: var(--gold-light);
  font: 600 .78rem/1 var(--f-display);
}

/* ---------- Destinations : illustrations au trait ---------- */
.dest.dest-art { padding: 0 0 40px; }
.dest-art > h3, .dest-art > p { padding-inline: 40px; }
.dest-illu { background: linear-gradient(180deg, #FFFCF6, var(--cream)); border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.dest-illu svg { display: block; width: 100%; height: auto; fill: none; stroke: var(--gold-dark); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.dest-illu .d-soft { stroke: var(--gold); opacity: .55; }
.dest-illu .d-blue { stroke: #2F5F9E; fill: rgba(47, 95, 158, .06); }
.dest-illu .d-dot { fill: var(--gold-dark); stroke: none; }
.dest-illu .d-flower { fill: rgba(181, 82, 127, .14); stroke: #A9547C; stroke-width: 1.1; }
.dest-illu .d-sun { fill: rgba(230, 198, 126, .3); stroke: var(--gold); }
.dest-art .dest-code { top: auto; bottom: 8px; font-size: 5rem; }
.dest-art .dest-place { font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 4px; }
:lang(ar) .dest-art .dest-place, :lang(zh) .dest-art .dest-place { letter-spacing: 0; font-size: .9rem; }

/* ---------- Fondatrice : portrait ---------- */
.founder-photo { position: relative; margin: 0 auto; width: 100%; max-width: 360px; }
.founder-photo img {
  width: 100%; aspect-ratio: 1; object-fit: contain; padding: 8%; background: var(--ivory); border-radius: 999px 999px 22px 22px;
  outline: 1px solid var(--gold); outline-offset: 12px; box-shadow: 0 40px 80px -40px rgba(17, 27, 58, .45);
}
.founder-script {
  position: absolute; bottom: -38px; inset-inline-end: -14px; direction: ltr;
  font-family: var(--f-script); font-size: 4.4rem; line-height: 1; padding: 0 .1em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.founder-text .btn { margin-top: 6px; }

/* ---------- Contessa Vision : aperçu de l'interface ---------- */
.vision-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; text-align: start; }
.vision .vision-copy .lead { margin-inline: 0; }
.vision .vision-copy .kicker::before { display: block; }
.vision .vision-copy .fineprint { margin: 1.2em 0 2em; }
.vision-device {
  width: min(340px, 100%); margin-inline: auto; padding: 14px; border-radius: 34px; color: var(--navy);
  background: #FFFBF4; border: 1px solid rgba(230, 198, 126, .55); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .7);
}
.vd-bar { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px 12px; }
.vd-brand { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; direction: ltr; }
.vd-brand em { font-style: italic; color: var(--gold-dark); }
.vd-dots i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin-inline-start: 3px; }
.vd-steps { list-style: none; display: flex; gap: 6px; margin: 0 0 12px; padding: 0; }
.vd-steps li { flex: 1; min-width: 0; display: flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 999px; background: var(--cream); color: var(--muted); font-size: .68rem; }
.vd-steps span { flex: none; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-size: .6rem; background: #fff; border: 1px solid var(--line); }
.vd-steps .done span { background: var(--gold); border-color: var(--gold); color: #fff; }
.vd-steps .on { background: var(--navy); color: var(--ivory); }
.vd-steps .on span { background: var(--gold-light); border: 0; color: var(--navy-deep); }
.vd-steps b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vd-shot { position: relative; aspect-ratio: 420 / 560; border-radius: 20px; overflow: hidden; direction: ltr; background: var(--cream); }
.vd-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vd-shot .vd-after { clip-path: inset(0 0 0 50%); animation: vdSweep 8s ease-in-out infinite; }
.vd-split { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(196, 154, 69, .6); animation: vdSplit 8s ease-in-out infinite; }
@keyframes vdSweep { 0%, 100% { clip-path: inset(0 0 0 50%); } 35% { clip-path: inset(0 0 0 28%); } 70% { clip-path: inset(0 0 0 72%); } }
@keyframes vdSplit { 0%, 100% { left: 50%; } 35% { left: 28%; } 70% { left: 72%; } }
.vd-shot .ba-tag { bottom: 10px; font-size: .58rem; padding: 3px 8px; }
.vd-shot .ba-tag-before { left: 10px; }
.vd-shot .ba-tag-after { right: 10px; }
.vd-wm {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  padding: 4px 10px; border-radius: 999px; font-size: .58rem; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(17, 27, 58, .72); color: var(--ivory);
}
.vd-panel { padding: 14px 6px 6px; }
.vd-proc { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 10px; font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; color: var(--navy); }
.vd-proc small { font: 400 .72rem var(--f-body); color: var(--muted); }
.vd-slider { display: block; position: relative; height: 4px; border-radius: 4px; background: var(--cream); margin: 0 6px 16px; }
.vd-slider i { position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 38%; border-radius: 4px; background: var(--gold-grad); }
.vd-slider i::after { content: ""; position: absolute; inset-inline-end: -7px; top: -5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 1px solid var(--gold); }
.vd-cta { display: block; text-align: center; padding: 11px; border-radius: 999px; background: var(--navy); color: var(--ivory); font-size: .8rem; font-weight: 500; }
:lang(ar) .vd-wm, :lang(zh) .vd-wm { letter-spacing: 0; font-size: .66rem; }

.btn-outline-light { color: var(--ivory); border-color: var(--gold-light); }
.btn-outline-light:hover { background: rgba(230, 198, 126, .12); }

@media (prefers-reduced-motion: reduce) {
  .vd-shot .vd-after, .vd-split { animation: none; }
}
@media (max-width: 1100px) {
  .feat-track { grid-auto-columns: 30%; }
}
@media (max-width: 920px) {
  .vision-grid { grid-template-columns: 1fr; gap: 48px; }
  .founder-photo { max-width: 280px; margin-bottom: 30px; }
  .founder-script { font-size: 3.4rem; bottom: -30px; }
  .ba-arch { width: min(340px, 84%); }
  .feat-track { grid-auto-columns: 42%; }
}
@media (max-width: 600px) {
  .ba-arch { width: min(280px, 78%); outline-offset: 8px; }
  .feat-track { grid-auto-columns: 66%; padding-inline: 2px; }
  .dest-art > h3, .dest-art > p { padding-inline: 24px; }
  .card-body { padding: 18px 20px 22px; }
}

/* Fondatrice : le logo prend la hauteur du texte (ordinateur), carré sur mobile */
.founder { align-items: stretch; }
.founder-photo { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.founder-photo img { height: 100%; aspect-ratio: auto; min-height: 0; }
@media (max-width: 920px) {
  .founder { align-items: start; }
  .founder-photo { align-self: auto; display: block; }
  .founder-photo img { height: auto; aspect-ratio: 1; }
}
