:root {
  --cream: #FFF6EC;
  --sand: #F5E5D6;
  --rose-pale: #E9C6B0;
  --rose-soft: #F2C6B6;
  --terracotta: #D89374;
  --terracotta-deep: #D47058;
  --gold: #E4BB8A;
  --sage-soft: #C1C0AC;
  --sage-deep: #747C65;
  --ink: #2A2620;
  --ink-soft: #5C544A;

  /* Safe-area iPhones notchés (X+) — utilisables partout dans le CSS.
     Sur les autres appareils, env() retourne 0px → aucun effet. */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* ════════════════════════════════════════════════════════════════════
   MOBILE & TACTILE — Réglages iOS / Android globaux
   ════════════════════════════════════════════════════════════════════ */
html {
  scroll-behavior: smooth;
  /* Empêche iOS Safari de redimensionner le texte au passage portrait/paysage. */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Anti-débordement horizontal mobile : des décors (badge SVG, marquee)
     dépassent à droite ; sans clip sur html, la page défile/« bouge »
     latéralement. `clip` empêche ce scroll sans casser les position:sticky. */
  overflow-x: clip;
}
::selection { background: var(--terracotta); color: var(--cream); }

/* Tap & touch : enlève le flash bleu/gris au tap (iOS/Android), élimine
   le délai 300ms hérité, et garantit un focus clavier visible pour l'a11y. */
a, button, [role="button"], summary, [data-matto-open], details summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 2px;
}

body {
  font-family: 'Manrope', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
  /* Rendu de texte plus net (Retina + Android haute densité). */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Padding bas safe-area pour le footer sur iPhones notchés en portrait. */
  padding-bottom: var(--safe-bottom);
}

/* ---------- TOP EDITORIAL BAR ---------- */
.top-bar {
  background: var(--ink);
  color: var(--cream);
  padding: 10px 56px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  z-index: 101;
}
.top-bar span em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.05em;
  color: var(--terracotta);
  margin: 0 4px;
  font-size: 13px;
}
.top-bar-right { display: flex; gap: 32px; }
.top-bar a { color: rgba(255,246,236,0.7); text-decoration: none; transition: color 0.3s; }
.top-bar a:hover { color: var(--terracotta); }

/* ---------- NAV ---------- */
nav {
  position: sticky; top: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 56px;
  z-index: 100;
  background: rgba(255, 246, 236, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(42, 38, 32, 0.06);
}
.logo {
  font-family: 'Italiana', serif;
  font-size: 36px; font-weight: 400;
  letter-spacing: 0.015em;
  color: var(--ink);
  text-decoration: none;
  display: flex; align-items: center; gap: 12px;
  line-height: 1;
}
.logo small {
  font-family: 'Manrope', sans-serif;
  font-size: 8px; font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--terracotta);
  align-self: end;
  padding-bottom: 6px;
  padding-left: 12px;
}
/* Lettre F custom inline dans le texte du logo de la nav.
   logo-F.png : crop noir sur transparent centré sur la barre du f.
   margin négatif resserre l'espace avec n et i pour un kerning naturel. */
.logo-f {
  display: inline-block;
  height: 1em;
  width: auto;
  vertical-align: -0.12em;
  margin: 0 -0.25em;
}
/* Resserrer In + i autour du F pour avoir "Infi" tout collé,
   sans toucher au letter-spacing du tagline qui reste large. */
.logo { letter-spacing: -0.02em; }
.logo small { letter-spacing: 0.32em; }
.nav-links { display: flex; gap: 42px; list-style: none; }
.nav-links a {
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--terracotta); }
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 1px;
  background: var(--terracotta);
  transition: width 0.4s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* ─── Menu déroulant "Soins" ─── */
.nav-links .has-dropdown { position: relative; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -28px;
  min-width: 240px;
  padding: 18px 0;
  margin-top: 18px;
  background: var(--cream);
  border: 1px solid rgba(42, 38, 32, 0.08);
  box-shadow: 0 20px 40px rgba(42, 38, 32, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 60;
}
.nav-links .has-dropdown:hover > .nav-dropdown,
.nav-links .has-dropdown:focus-within > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 9px 28px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  transition: color 0.2s ease, padding-left 0.25s ease;
}
.nav-dropdown a:hover,
.nav-dropdown a:focus {
  color: var(--terracotta);
  padding-left: 34px;
}
.nav-dropdown a::after { display: none; }  /* pas de soulignement comme dans la nav principale */
.cta-nav {
  background: var(--ink);
  color: var(--cream);
  padding: 14px 28px;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--ink);
}
.cta-nav:hover { background: var(--terracotta); border-color: var(--terracotta); }

/* ---------- BUTTONS / SHARED ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 28px;
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
  padding: 22px 44px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex; align-items: center; gap: 14px;
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--terracotta);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary:hover { border-color: var(--terracotta); transform: translateY(-2px); }
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }
.btn-primary svg { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.btn-primary:hover svg { transform: translateX(6px); }

.btn-link {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 5px;
  transition: all 0.3s;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-link:hover { color: var(--terracotta); border-color: var(--terracotta); gap: 14px; }

.section-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--terracotta);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  display: block;
}

/* ---------- SCROLL PROGRESS ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--terracotta), var(--terracotta-deep));
  z-index: 200;
  transition: width 0.05s linear;
}

/* ---------- MOBILE MENU ---------- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  /* 44×44px = standard iOS Human Interface Guidelines / Material Design. */
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 1px;
  background: var(--ink);
  transition: all 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--cream);
  z-index: 99;
  /* Padding qui respecte le notch (haut) et l'indicateur d'accueil (bas)
     sur iPhones X+ en portrait ; et le bord arrondi de l'écran en paysage. */
  padding:
    calc(100px + var(--safe-top))
    max(32px, var(--safe-right))
    max(32px, var(--safe-bottom))
    max(32px, var(--safe-left));
  flex-direction: column;
  gap: 24px;
  /* Scroll si le menu dépasse (petits écrans / orientation paysage). */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  font-family: 'Italiana', serif;
  font-size: 32px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(42, 38, 32, 0.1);
  padding-bottom: 16px;
}
.mobile-menu a em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--terracotta);
}

/* ============== HERO ============== */
.hero {
  padding: 90px 56px 100px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  min-height: calc(100vh - 100px);
}

.hero-text { z-index: 2; position: relative; }

.hero-issue {
  display: flex; align-items: center; gap: 24px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 40px;
  animation: fadeUp 1s ease-out;
}
.hero-issue strong {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--terracotta);
}
.hero-issue::before {
  content: ''; width: 0; height: 0;
  display: none;
}

.hero h1 {
  font-family: 'Italiana', serif;
  font-size: clamp(64px, 9vw, 138px);
  line-height: 0.92;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 36px;
  animation: fadeUp 1.2s ease-out 0.1s both;
}
.hero h1 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--terracotta);
  display: inline-block;
}

.hero-meta {
  display: flex; gap: 36px;
  margin-bottom: 36px;
  padding: 24px 0;
  animation: fadeUp 1s ease-out 0.3s both;
}
.hero-meta div small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.hero-meta div strong {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  color: var(--ink);
}

.hero p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 44px;
  animation: fadeUp 1s ease-out 0.5s both;
}
.hero p::first-letter {
  font-family: 'Italiana', serif;
  font-size: 64px;
  float: left;
  line-height: 0.85;
  margin: 6px 12px 0 0;
  color: var(--terracotta);
}

.hero-cta-group {
  display: flex; gap: 32px; align-items: center;
  animation: fadeUp 1s ease-out 0.7s both;
}

.hero-image {
  position: relative;
  /* Le conteneur prend le ratio EXACT de la photo (portrait 900×1349) :
     ratios identiques → object-fit:cover affiche l'image ENTIÈRE, zéro
     recadrage. La hauteur est plafonnée, la largeur en découle, et on
     centre le portrait dans sa colonne. */
  aspect-ratio: 900 / 1349;
  height: 86vh; max-height: 820px;
  width: auto;
  justify-self: center;
  animation: fadeUp 1.5s ease-out 0.2s both;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.04) saturate(0.92) sepia(0.06);
}
.hero-image::after {
  content: '';
  position: absolute;
  bottom: -50px; right: -50px;
  width: 220px; height: 220px;
  background: var(--sand);
  z-index: -1;
}
.hero-image::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(42, 38, 32, 0.15));
  pointer-events: none;
  z-index: 1;
}

.hero-tag {
  position: absolute;
  bottom: 70px; left: -40px;
  background: var(--cream);
  padding: 22px 30px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 19px;
  color: var(--ink);
  box-shadow: 0 25px 50px rgba(42, 38, 32, 0.1);
  max-width: 280px;
  z-index: 2;
}
.hero-tag small {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-top: 10px;
}

.hero-stamp {
  position: absolute;
  top: 30px; right: 30px;
  width: 130px; height: 130px;
  background: rgba(42, 38, 32, 0.35);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  border: 1px solid rgba(255, 246, 236, 0.25);
  z-index: 2;
  animation: floatGentle 7s ease-in-out infinite reverse;
}
.hero-stamp .stamp-text {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  color: var(--cream);
  animation: spinSlow 32s linear infinite;
}
.hero-stamp .stamp-mark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 32%;
  height: auto;
  display: block;
}
@keyframes spinSlow {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

.scroll-cue {
  position: absolute;
  bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 12px;
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  animation: bounce 2.5s ease-in-out infinite;
}
.scroll-cue::after {
  content: '';
  width: 1px; height: 32px;
  background: var(--ink-soft);
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.6; }
  50% { transform: translate(-50%, 8px); opacity: 1; }
}

/* ============== PROMESSE ============== */
.promesse {
  padding: 90px 56px;
  background: var(--cream);
  border-top: 1px solid rgba(42, 38, 32, 0.1);
  border-bottom: 1px solid rgba(42, 38, 32, 0.1);
}
.promesse-header {
  text-align: center;
  margin-bottom: 64px;
}
.promesse-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 19px;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
}
.promesse-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
}
.promesse-item {
  text-align: center;
  padding: 0 36px;
  border-left: 1px solid rgba(42, 38, 32, 0.12);
  position: relative;
}
.promesse-item:first-child { border-left: none; }
.promesse-num {
  font-family: 'Italiana', serif;
  font-style: italic;
  font-size: 56px;
  color: var(--terracotta);
  display: block;
  line-height: 1;
  margin-bottom: 24px;
  font-weight: 400;
  letter-spacing: 0.05em;
}
.promesse-item h4 {
  font-family: 'Italiana', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.05;
  margin-bottom: 16px;
  letter-spacing: 0.005em;
}
.promesse-item h4 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--terracotta);
}
.promesse-item p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ============== MARQUEE ============== */
.marquee {
  background: var(--ink);
  color: var(--cream);
  padding: 28px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-content {
  display: inline-block;
  animation: scroll 38s linear infinite;
  font-family: 'Italiana', serif;
  font-size: 32px;
  letter-spacing: 0.06em;
}
.marquee-content span { margin: 0 44px; }
.marquee-content em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--terracotta);
  font-size: 36px;
  margin: 0 36px;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============== SERVICES ============== */
.services {
  padding: 180px 56px;
  background: var(--cream);
}

.section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 100px;
  align-items: end;
}
.section-header h2 {
  font-family: 'Italiana', serif;
  font-size: clamp(56px, 6.5vw, 100px);
  line-height: 0.95;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.005em;
}
.section-header h2 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--terracotta);
}
.section-header p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 480px;
}

/* Services with featured layout */
.services-asymm {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.service-card {
  background: var(--cream);
  padding: 48px 36px;
  position: relative;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 360px;
  display: flex; flex-direction: column;
  border: 1px solid rgba(42, 38, 32, 0.12);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.service-card.featured {
  grid-column: span 1;
  grid-row: span 2;
  background: var(--ink);
  color: var(--cream);
  min-height: 100%;
  padding: 56px 44px;
}
.service-card.featured .service-num,
.service-card.featured .arrow { color: var(--terracotta); }
.service-card.featured h3 { color: var(--cream); }
.service-card.featured p { color: rgba(255, 246, 236, 0.7); }
.service-card.featured > * { position: relative; z-index: 1; }

.service-card:hover {
  background: var(--sand);
  transform: translateY(-4px);
  border-color: var(--terracotta);
}
.service-card.featured:hover {
  background: var(--terracotta-deep);
}

.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--terracotta);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.service-card h3 {
  font-family: 'Italiana', serif;
  font-size: 38px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 22px;
  letter-spacing: 0.005em;
}
.service-card.featured h3 {
  font-size: 56px;
}
.service-card p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  flex: 1;
}
.service-card .arrow {
  margin-top: 28px;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 12px;
  transition: gap 0.3s, color 0.3s;
}
.service-card:hover .arrow { gap: 20px; color: var(--terracotta); }
.service-card .featured-tag {
  display: inline-block;
  background: var(--terracotta);
  color: var(--cream);
  padding: 6px 14px;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 28px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
}

/* ============== PAGE SOIN ============== */

/* Fil d'Ariane — neutralise la règle globale `nav {}` (flex, sticky, fond…) */
.breadcrumb {
  display: block;
  position: static;
  background: none;
  backdrop-filter: none;
  border-bottom: none;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 56px 0;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.breadcrumb a { color: var(--ink-soft); text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--terracotta); }
.breadcrumb span[aria-hidden] { margin: 0 10px; color: var(--terracotta); }
.breadcrumb [aria-current] { color: var(--ink); }

/* En-tête du soin */
.soin-hero {
  max-width: 880px;
  margin: 0 auto;
  padding: 64px 56px 110px;
  text-align: center;
}
.soin-hero-eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.soin-hero h1 {
  font-family: 'Italiana', serif;
  font-size: clamp(48px, 6vw, 92px);
  font-weight: 400;
  line-height: 1.02;
  color: var(--ink);
  margin: 22px 0 14px;
  letter-spacing: 0.005em;
}
.soin-hero-locality {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 34px;
}
.soin-hero-intro {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 42px;
}

/* Image principale du soin — rendue dans le hero. LCP element typique,
   donc on définit aspect-ratio en CSS pour éviter le layout shift même
   si le navigateur n'a pas encore les dimensions intrinsèques. */
.soin-hero-figure {
  margin: 0 0 42px;
  border-radius: 18px;
  overflow: hidden;
  max-width: 980px;
}
.soin-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  /* Ratio 3:2 (moins extrême que 16:9) pour mieux accueillir une photo de
     soin verticale ; cadrage biaisé vers le haut pour garder le geste. */
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 35%;
}
/* Hero cuir chevelu : photo portrait — on dézoome via un ratio plus
   carré pour qu'on voie mieux la scène, sans tronquer la tête.
   Largeur volontairement réduite pour ne pas écraser la mise en page. */
.soin-hero-figure--soin-cuir-chevelu-caen {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.soin-hero-figure--soin-cuir-chevelu-caen img {
  aspect-ratio: 4 / 5;
  object-position: center 30%;
}

/* Section Résultats — carrousel avant/après. Les composites ont des
   ratios variés (portrait + paysage) : chaque slide fait 100 % de la
   largeur du viewport, l'image est centrée et limitée en hauteur. */
.soin-carousel {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.soin-carousel-viewport {
  overflow: hidden;
  flex: 1;
  border-radius: 16px;
}
.soin-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.soin-carousel-slide {
  flex: 0 0 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.soin-carousel-slide img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  border-radius: 16px;
  background: var(--cream);
}
.soin-carousel-caption {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  text-align: center;
  max-width: 560px;
  margin: 20px auto 0;
}

/* Flèches — disques sobres, en dehors du viewport sur desktop. */
.soin-carousel-arrow {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 9999px;
  border: 1px solid rgba(42, 38, 32, 0.16);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.soin-carousel-arrow:hover {
  background: var(--terracotta);
  color: var(--cream);
  border-color: var(--terracotta);
}

/* Points indicateurs — injectés par soin-carousel.js. */
.soin-carousel-dots {
  position: absolute;
  bottom: -34px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.soin-carousel-dot {
  width: 8px; height: 8px;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgba(42, 38, 32, 0.22);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.soin-carousel-dot.is-active {
  background: var(--terracotta);
  transform: scale(1.3);
}

/* Mobile : flèches en superposition sur les bords du viewport. */
@media (max-width: 768px) {
  .soin-carousel { gap: 0; }
  .soin-carousel-arrow {
    position: absolute;
    z-index: 2;
    top: 38%;
    width: 38px; height: 38px;
    background: rgba(255, 255, 255, 0.85);
  }
  .soin-carousel-prev { left: 8px; }
  .soin-carousel-next { right: 8px; }
}

.soin-result-disclaimer {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
  text-align: center;
  max-width: 620px;
  /* marge haute généreuse : laisse la place aux points du carrousel
     (positionnés en absolu sous le viewport). */
  margin: 56px auto 0;
}

/* Blocs de contenu — le rythme vient des fonds alternés, pas de filets */
.soin-block {
  padding: 110px 56px;
  background: var(--cream);
}
.soin-block-alt { background: var(--sand); }
.soin-block-head {
  max-width: 1100px;
  margin: 0 auto 60px;
}
.soin-block-head h2 {
  font-family: 'Italiana', serif;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  margin-top: 12px;
}

/* Colonnes : indications / zones / résultats */
.soin-cols {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
.soin-col h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 24px;
}
.soin-col ul { list-style: none; }
.soin-col li {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  padding: 9px 0 9px 24px;
  position: relative;
}
.soin-col li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 7px;
  height: 7px;
  background: var(--terracotta);
  border-radius: 50%;
}

/* Déroulé de la séance */
.soin-steps {
  max-width: 1100px;
  margin: 0 auto;
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 52px 64px;
}
.soin-steps li {
  counter-increment: step;
  padding-left: 72px;
  position: relative;
}
.soin-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: -12px;
  font-family: 'Italiana', serif;
  font-size: 46px;
  color: var(--terracotta);
}
.soin-steps strong {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 8px;
}
.soin-steps span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* En pratique — faits clés */
.soin-facts {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.soin-fact-label {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}
.soin-fact-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.45;
}
.soin-note {
  max-width: 1100px;
  margin: 60px auto 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.soin-note strong {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-right: 6px;
}

/* FAQ — cartes douces, aucun filet */
.soin-faq {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.soin-faq details {
  background: var(--sand);
  padding: 8px 36px;
}
.soin-faq summary {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--ink);
  padding: 24px 44px 24px 0;
  cursor: pointer;
  position: relative;
  list-style: none;
  transition: color 0.3s;
}
.soin-faq summary::-webkit-details-marker { display: none; }
.soin-faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  font-weight: 300;
  color: var(--terracotta);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.soin-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.soin-faq summary:hover { color: var(--terracotta); }
.soin-faq details p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
  padding: 0 0 26px;
}

/* Autres soins */
.soin-others {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.soin-other {
  background: var(--cream);
  padding: 42px 34px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.soin-other:hover { transform: translateY(-6px); }
.soin-other-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--terracotta);
}
.soin-other-title {
  font-family: 'Italiana', serif;
  font-size: 27px;
  color: var(--ink);
  margin: 10px 0 14px;
}
.soin-other-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
  flex: 1;
}
.soin-other-arrow {
  margin-top: 24px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.3s;
}
.soin-other:hover .soin-other-arrow { color: var(--terracotta); }

@media (max-width: 968px) {
  .breadcrumb { padding: 26px 24px 0; }
  .soin-hero { padding: 44px 24px 72px; }
  .soin-block { padding: 70px 24px; }
  .soin-block-head { margin-bottom: 44px; }
  .soin-cols { grid-template-columns: 1fr; gap: 44px; }
  .soin-steps { grid-template-columns: 1fr; gap: 40px; }
  .soin-facts { grid-template-columns: 1fr; gap: 34px; }
  .soin-others { grid-template-columns: 1fr; }
}

/* ============== PAGES LÉGALES ============== */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 56px 130px;
}
.legal-head {
  margin-bottom: 56px;
}
.legal-eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.legal-head h1 {
  font-family: 'Italiana', serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  margin: 20px 0 14px;
}
.legal-updated {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--ink-soft);
}
.legal-body h2 {
  font-family: 'Italiana', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
  margin: 48px 0 16px;
}
.legal-body p,
.legal-body li {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.legal-body p { margin-bottom: 14px; }
.legal-body ul {
  margin: 0 0 14px;
  padding-left: 24px;
}
.legal-body li { margin-bottom: 8px; }
.legal-body a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--terracotta);
  transition: color 0.3s;
}
.legal-body a:hover { color: var(--terracotta); }
.legal-body strong { color: var(--ink); font-weight: 500; }
.legal-todo {
  background: var(--sand);
  border-left: 2px solid var(--terracotta);
  padding: 18px 24px;
  margin-bottom: 40px !important;
  font-size: 17px !important;
}

@media (max-width: 968px) {
  .legal { padding: 40px 24px 90px; }
  .legal-head { margin-bottom: 40px; }
}

/* ============== PHILOSOPHY ============== */
.philosophy {
  padding: 200px 56px;
  background: var(--sand);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.philosophy::before {
  content: 'Infi Derm';
  position: absolute;
  bottom: -60px; right: -30px;
  font-family: 'Italiana', serif;
  font-size: 320px;
  color: rgba(216, 147, 116, 0.07);
  letter-spacing: -0.02em;
  pointer-events: none;
}
.philosophy-image {
  height: 660px;
  position: relative;
}
.philosophy-image img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.02);
}
.philosophy-badge {
  position: absolute;
  top: -30px; right: -30px;
  width: 180px; height: 180px;
  background: var(--terracotta);
  border-radius: 50%;
  box-shadow: 0 20px 40px rgba(216, 147, 116, 0.3);
  animation: floatGentle 6s ease-in-out infinite;
  z-index: 3;
}
.philosophy-badge .stamp-text {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  color: var(--cream);
  animation: spinSlow 28s linear infinite;
}
.philosophy-badge .stamp-mark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 30%;
  height: auto;
  display: block;
}
@keyframes floatGentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.philosophy-text .eyebrow { color: var(--sage-deep); }
.philosophy-text .eyebrow::before { background: var(--sage-deep); }

.philosophy-text h2 {
  font-family: 'Italiana', serif;
  font-size: clamp(44px, 5.5vw, 80px);
  line-height: 1;
  color: var(--ink);
  margin-bottom: 36px;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.philosophy-text h2 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--sage-deep);
}
.philosophy-text > p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.signature {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 24px;
  color: var(--ink);
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(42, 38, 32, 0.15);
}

/* ============== BEFORE / AFTER ============== */
.beforeafter {
  padding: 180px 56px;
  background: var(--cream);
}
.ba-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
}
.ba-header h2 {
  font-family: 'Italiana', serif;
  font-size: clamp(56px, 7vw, 110px);
  line-height: 0.95;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 28px;
  letter-spacing: -0.005em;
}
.ba-header h2 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--terracotta);
}
.ba-header p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.ba-slider {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16/10;
  user-select: none;
  overflow: hidden;
  cursor: ew-resize;
}
.ba-after, .ba-before-wrap {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.ba-after {
  background-size: cover;
  background-position: center;
  background-image: url('/img/resultat-apres.jpg');
}
.ba-before-wrap {
  width: 50%;
  overflow: hidden;
}
.ba-before {
  width: 1100px;
  max-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-image: url('/img/resultat-avant.jpg');
  filter: grayscale(0.45) contrast(0.95) brightness(0.95);
}
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--cream);
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(42, 38, 32, 0.1);
}
.ba-handle::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  background: var(--cream);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(42, 38, 32, 0.25);
  display: flex; align-items: center; justify-content: center;
}
.ba-handle::after {
  content: '⟷';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px;
  color: var(--terracotta);
  font-weight: 100;
}
.ba-input {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}
.ba-label {
  position: absolute;
  top: 32px;
  font-family: 'Italiana', serif;
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--cream);
  background: rgba(42, 38, 32, 0.55);
  backdrop-filter: blur(6px);
  padding: 10px 22px;
  text-transform: uppercase;
}
.ba-label-before { left: 32px; }
.ba-label-after { right: 32px; }

.ba-caption {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--ink-soft);
  margin-top: 32px;
  max-width: 600px;
  margin-left: auto; margin-right: auto;
}
.ba-caption strong {
  font-style: normal;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: inline-block;
  margin: 0 6px;
}

/* ============== STATS ============== */
.stats {
  padding: 140px 56px;
  background: var(--cream);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.stat {
  text-align: center;
  padding: 0 30px;
  position: relative;
}
.stat-num {
  font-family: 'Italiana', serif;
  font-size: 100px;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 18px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.stat-num em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 70px;
  color: var(--terracotta);
}
.stat-label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.stat-letter {
  position: absolute;
  top: 0; left: 30px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ============== JOURNAL ============== */
.journal {
  padding: 180px 56px;
  background: var(--sand);
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 60px;
}
.journal-card {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.journal-card:hover { transform: translateY(-8px); }
.journal-image {
  height: 380px;
  overflow: hidden;
  margin-bottom: 28px;
  position: relative;
}

.journal-art {
  height: 380px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.journal-art-1 { background: var(--terracotta); color: var(--cream); }
.journal-art-2 { background: var(--ink); color: var(--cream); }
.journal-art-3 { background: var(--sage); color: var(--cream); }

.journal-art-num {
  font-family: 'Italiana', serif;
  font-size: 200px;
  line-height: 1;
  letter-spacing: 0.02em;
  opacity: 0.95;
}
.journal-card:hover .journal-art {
  transform: scale(1.02);
}
.journal-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  filter: contrast(1.02);
}
.journal-card:hover .journal-image img { transform: scale(1.05); }
.journal-meta {
  display: flex; gap: 16px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.journal-meta span:not(:last-child)::after {
  content: '·';
  margin-left: 16px;
  color: var(--ink-soft);
}
.journal-card h3 {
  font-family: 'Italiana', serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: 0.005em;
}
.journal-card h3 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--terracotta);
}
.journal-card p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.journal-readmore {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: all 0.3s;
}
.journal-card:hover .journal-readmore {
  color: var(--terracotta); border-color: var(--terracotta);
}

/* ============== TESTIMONIAL ============== */
.testimonial {
  padding: 200px 56px;
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 60px; left: 50%; transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 320px;
  color: rgba(216, 147, 116, 0.15);
  line-height: 0.5;
  pointer-events: none;
}
.testimonial > * { position: relative; z-index: 1; }

.testimonial .eyebrow {
  color: var(--terracotta);
  justify-content: center;
}
.testimonial .eyebrow::before { background: var(--terracotta); }

.testimonial blockquote {
  font-family: 'Italiana', serif;
  font-size: clamp(36px, 4.2vw, 64px);
  line-height: 1.15;
  max-width: 1150px;
  margin: 36px auto;
  font-weight: 400;
  letter-spacing: 0.005em;
}
.testimonial blockquote em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--terracotta);
}
.testimonial-author {
  margin-top: 56px;
  display: inline-block;
}
.testimonial-author-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--cream);
  margin-bottom: 6px;
}
.testimonial-author-info {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 246, 236, 0.55);
}
.stars {
  display: flex; justify-content: center; gap: 8px;
  margin-bottom: 28px;
}
.stars span { color: var(--gold); font-size: 18px; }

/* REVIEWS MOSAIC */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1300px;
  margin: 90px auto 40px;
  text-align: left;
}
.review-card {
  background: rgba(255, 246, 236, 0.04);
  border: 1px solid rgba(255, 246, 236, 0.12);
  padding: 32px 28px;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex; flex-direction: column;
}
.review-card:hover {
  background: rgba(255, 246, 236, 0.08);
  border-color: var(--terracotta);
  transform: translateY(-4px);
}
.review-stars {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 4px;
  margin-bottom: 18px;
}
.review-card p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 246, 236, 0.92);
  margin-bottom: 24px;
  flex: 1;
}
.review-author {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 246, 236, 0.55);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 246, 236, 0.12);
}
.review-author strong {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--cream);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-right: 6px;
}
.reviews-link {
  display: inline-block;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  border-bottom: 1px solid rgba(255, 246, 236, 0.4);
  padding-bottom: 6px;
  margin-top: 24px;
  text-decoration: none;
  transition: all 0.3s;
}
.reviews-link:hover {
  color: var(--terracotta);
  border-color: var(--terracotta);
}

/* ============== CTA FINAL FULL-BLEED ============== */
/* CTA final — mise en page 2 colonnes : texte sur panneau sombre +
   photo portrait ENTIÈRE (non recadrée). La photo de soin étant verticale,
   un bandeau plein écran la rognait ; ici elle est montrée en intégralité
   dans sa colonne. */
.cta-final {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  padding: 90px 56px;
}
.cta-bg {
  position: relative;
  justify-self: center;
}
.cta-bg img {
  display: block;
  width: 100%;
  max-width: 440px;
  height: auto;            /* portrait intégral, aucun recadrage */
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  filter: contrast(1.03) saturate(0.96);
}
.cta-final > .cta-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  text-align: left;
}
.cta-content .eyebrow {
  color: var(--terracotta);
}
.cta-content .eyebrow::before { background: var(--terracotta); }
.cta-content h2 {
  font-family: 'Italiana', serif;
  font-size: clamp(48px, 6vw, 100px);
  line-height: 0.94;
  margin-bottom: 32px;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.cta-content h2 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--terracotta);
}
.cta-content p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: rgba(255, 246, 236, 0.85);
  max-width: 480px;
  margin: 0 0 48px;
  line-height: 1.5;
}
.cta-final .btn-primary {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}
.cta-final .btn-primary::before { background: var(--terracotta); }
.cta-final .btn-primary:hover { color: var(--cream); border-color: var(--terracotta); }

/* ============== FOOTER ============== */
footer {
  padding: 100px 56px 40px;
  background: var(--ink);
  color: var(--cream);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand {
  font-family: 'Italiana', serif;
  font-size: 56px;
  letter-spacing: 0.015em;
  margin-bottom: 20px;
  font-weight: 400;
  line-height: 1;
  color: var(--cream);
}
.footer-logo {
  display: block;
  height: 90px;
  width: auto;
  max-width: 320px;
  margin-bottom: 24px;
  /* L'image est blanche sur fond noir : mix-blend-mode lighten fait
     disparaître le fond noir de l'image sur le fond du footer (ink),
     ne laissant que le wordmark blanc visible — pas de cadre apparent. */
  mix-blend-mode: lighten;
}
.footer-brand small {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 246, 236, 0.6);
  margin-top: 12px;
}
.footer-grid p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  color: rgba(255, 246, 236, 0.7);
  max-width: 320px; line-height: 1.6;
}
.footer-grid h4 {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 24px;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 12px; }
.footer-grid a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-grid a:hover { color: var(--terracotta); }
/* Mention anti-phishing — sobre, factuelle, NON alarmiste. Placée entre la
   grille du footer et le bandeau de bas (mentions légales). Cormorant pour
   ne pas couper le ton éditorial du footer ; couleur claire et lien
   discrètement souligné pour ne pas crier. */
.footer-trust {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 0 8px;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 246, 236, 0.6);
  font-style: italic;
}
.footer-trust a,
.footer-trust a:visited {
  color: rgba(255, 246, 236, 0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 246, 236, 0.25);
  transition: color 0.25s, border-color 0.25s;
}
.footer-trust a:hover {
  color: var(--terracotta);
  border-color: var(--terracotta);
}

.footer-bottom {
  margin-top: 36px;
  border-top: 1px solid rgba(255, 246, 236, 0.15);
  padding-top: 32px;
  display: flex; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255, 246, 236, 0.5);
}
/* Liens du bandeau bas (mentions légales / CGU / confidentialité).
   Sans cette règle, le navigateur applique le bleu / violet :visited
   par défaut, illisibles sur fond ink. On force la couleur du texte
   ambiant + un hover terracotta cohérent avec le reste du footer. */
.footer-bottom a,
.footer-bottom a:visited {
  color: rgba(255, 246, 236, 0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 246, 236, 0.2);
  padding-bottom: 1px;
  transition: color 0.25s, border-color 0.25s;
}
.footer-bottom a:hover {
  color: var(--terracotta);
  border-color: var(--terracotta);
}

/* ============== ANIMATIONS ============== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll-driven reveal (modern Chrome) */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  animation: revealIn linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 60%;
}
@keyframes revealIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ============== RESPONSIVE ============== */
@media (max-width: 1080px) {
  .services-asymm { grid-template-columns: 1fr 1fr; }
  .service-card.featured { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 968px) {
  .top-bar { padding: 8px 20px; font-size: 9px; gap: 16px; flex-wrap: wrap; }
  .top-bar-right { gap: 16px; }
  nav { padding: 18px 20px; gap: 12px; }
  .nav-links { display: none; }
  .menu-toggle { display: flex; flex: 0 0 auto; }
  /* Logo : plus compact sur mobile et tagline masqué (déjà dans la top-bar)
     pour que « Infi Derm », le bouton RDV et le menu tiennent alignés. */
  .logo { font-size: 26px; gap: 6px; flex: 0 1 auto; min-width: 0; }
  .logo small { display: none; }
  .cta-nav { padding: 10px 16px; font-size: 10px; white-space: nowrap; flex: 0 0 auto; margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding: 60px 24px 80px; gap: 48px; min-height: auto; }
  .hero-image { height: 540px; }
  .hero-cta-group { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-meta { flex-wrap: wrap; gap: 24px; }
  .scroll-cue { display: none; }
  .press { grid-template-columns: 1fr; gap: 24px; padding: 40px 24px; }
  .press-logos { justify-content: center; gap: 24px; }
  .press-logos span { font-size: 18px; }
  .promesse { padding: 60px 24px; }
  .promesse-grid { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .promesse-item { padding: 0 20px; }
  .promesse-item:nth-child(2) { border-left: 1px solid rgba(42, 38, 32, 0.12); }
  .promesse-item:nth-child(3) { border-left: none; padding-top: 40px; border-top: 1px solid rgba(42, 38, 32, 0.12); }
  .promesse-item:nth-child(4) { padding-top: 40px; border-top: 1px solid rgba(42, 38, 32, 0.12); }
  .promesse-num { font-size: 44px; }
  .promesse-item h4 { font-size: 22px; }
  .marquee-content { font-size: 24px; }
  .section-header { grid-template-columns: 1fr; gap: 32px; margin-bottom: 60px; }
  .services-asymm { grid-template-columns: 1fr; }
  .service-card.featured { grid-column: span 1; }
  .services, .philosophy, .beforeafter, .journal, .testimonial { padding: 90px 24px; }
  .philosophy { grid-template-columns: 1fr; gap: 50px; }
  .philosophy-image { height: 480px; }
  .stats { grid-template-columns: 1fr 1fr; padding: 80px 24px; }
  .stat { padding: 24px; border-left: none; border-top: 1px solid rgba(42, 38, 32, 0.1); }
  .stat:nth-child(-n+2) { border-top: none; }
  .stat-num { font-size: 64px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 60px; }
  .review-card { padding: 24px 20px; }
  .review-card p { font-size: 16px; }
  .journal-grid { grid-template-columns: 1fr; gap: 40px; }
  .ba-label { font-size: 10px; padding: 6px 14px; }
  .ba-label-before { left: 16px; top: 16px; }
  .ba-label-after { right: 16px; top: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; padding: 32px 24px 0; }
  footer { padding: 70px 24px 30px; }
  .cta-final {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 70px 24px;
    text-align: center;
  }
  .cta-final > .cta-content { text-align: center; max-width: none; }
  .cta-content p { margin-left: auto; margin-right: auto; }
  .cta-bg { order: -1; }            /* photo au-dessus du texte sur mobile */
  .cta-bg img { max-width: 320px; margin: 0 auto; }
}

/* ════════════════════════════════════════════════════════════════════
   WIDGET MATTONESTHETIK — Modal de réservation (iframe)
   Déclenchée par tout élément avec [data-matto-open].
   ════════════════════════════════════════════════════════════════════ */

.matto-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 26, 46, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.matto-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.matto-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  /* dvh (dynamic viewport height) = vraie hauteur visible sur iOS Safari,
     même quand la barre d'URL apparaît/disparaît. 100vh fait sauter le modal. */
  width: min(1100px, calc(100vw - 24px));
  height: min(820px, calc(100dvh - 24px - var(--safe-top) - var(--safe-bottom)));
  background: var(--cream);
  border-radius: 16px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.matto-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.matto-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  /* 44×44 = cible tactile minimale iOS HIG / Material — confortable au pouce. */
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(42, 38, 32, 0.08);
  color: var(--ink);
  border-radius: 9999px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.15s ease;
}
.matto-modal-close:hover {
  background: rgba(42, 38, 32, 0.15);
  transform: rotate(90deg);
}

.matto-modal-iframe {
  flex: 1;
  width: 100%;
  border: none;
  display: block;
}

.matto-modal-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid rgba(216, 147, 116, 0.2);
  border-top-color: var(--terracotta);
  border-radius: 50%;
  animation: matto-spin 0.8s linear infinite;
}
@keyframes matto-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.matto-modal-iframe.loaded + .matto-modal-loader {
  display: none;
}

body.matto-modal-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .matto-modal {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    top: 0;
    left: 0;
    transform: scale(0.96);
  }
  .matto-modal.open {
    transform: scale(1);
  }
}

/* ════════════════════════════════════════════════════════════════════
   WIDGET AGENT IA — Assistante de prise de RDV
   Bulle flottante + panneau pop-up. Palette alignée terracotta/cream/ink.
   ════════════════════════════════════════════════════════════════════ */

.chat-agent {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9990;
  font-family: 'Manrope', sans-serif;
}

/* ── Bouton flottant ── */
.chat-fab {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 9999px;
  border: none;
  background: var(--terracotta);
  color: var(--cream);
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(216, 147, 116, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease;
}
.chat-fab:hover {
  background: var(--terracotta-deep);
  transform: translateY(-2px);
}
.chat-fab-icon,
.chat-fab-close {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.25s ease;
}
.chat-fab-close {
  font-size: 22px;
  opacity: 0;
  transform: rotate(-90deg);
}
.chat-open .chat-fab-icon {
  opacity: 0;
  transform: rotate(90deg);
}
.chat-open .chat-fab-close {
  opacity: 1;
  transform: rotate(0);
}

/* ── Bulle d'accroche (teaser) ── */
.chat-teaser {
  position: absolute;
  bottom: 74px;
  right: 0;
  width: 220px;
  background: var(--cream);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
  padding: 14px 32px 14px 16px;
  border-radius: 14px 14px 4px 14px;
  box-shadow: 0 12px 32px rgba(42, 38, 32, 0.18);
  border: 1px solid rgba(42, 38, 32, 0.06);
  cursor: pointer;
  animation: chatTeaserIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes chatTeaserIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-teaser-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-size: 12px;
  cursor: pointer;
  line-height: 1;
}
.chat-teaser-close:hover { color: var(--terracotta); }

/* ── Panneau de conversation ── */
.chat-panel {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 370px;
  max-width: calc(100vw - 32px);
  height: 540px;
  max-height: calc(100vh - 120px);
  background: var(--cream);
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(42, 38, 32, 0.28);
  border: 1px solid rgba(42, 38, 32, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}
.chat-open .chat-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* ── En-tête ── */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--ink);
  color: var(--cream);
}
.chat-header-id {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-header-id strong {
  font-family: 'Italiana', serif;
  font-size: 17px;
  font-weight: 400;
  display: block;
  letter-spacing: 0.01em;
}
.chat-header-id small {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 246, 236, 0.55);
}
.chat-header-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sage-soft);
  box-shadow: 0 0 0 3px rgba(193, 192, 172, 0.25);
  flex-shrink: 0;
}
.chat-header-close {
  border: none;
  background: transparent;
  color: rgba(255, 246, 236, 0.7);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}
.chat-header-close:hover { color: var(--terracotta); }

/* ── Zone de messages ── */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-msg {
  max-width: 82%;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 14px;
  white-space: pre-wrap;
  word-wrap: break-word;
  animation: chatMsgIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes chatMsgIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-msg--assistant {
  align-self: flex-start;
  background: white;
  color: var(--ink);
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(42, 38, 32, 0.05);
}
.chat-msg--user {
  align-self: flex-end;
  background: var(--terracotta);
  color: var(--cream);
  border-bottom-right-radius: 4px;
}

/* Indicateur de frappe */
.chat-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 14px 16px;
}
.chat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose-pale);
  animation: chatTypingBounce 1.2s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatTypingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* ── Propositions rapides ── */
/* Suggestions cliquables — interaction principale du parcours guidé.
   Chaque bouton occupe toute la largeur pour faciliter le tap mobile et
   guider l'œil ; pleine couleur terracotta pour être lue comme la CTA
   évidente, pas comme un simple tag. */
.chat-quick {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 14px 10px;
}
.chat-quick:empty { padding: 0; }
.chat-quick-btn {
  border: 1px solid var(--terracotta);
  background: var(--terracotta);
  color: var(--cream);
  font-family: 'Manrope', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  text-align: left;
  padding: 10px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.12s ease;
}
.chat-quick-btn:hover {
  background: var(--terracotta-deep);
}
.chat-quick-btn:active {
  transform: scale(0.985);
}

/* Mini-calendrier rendu dans le flux des messages quand l'agent appelle
   show_calendar. Une vraie grille de créneaux cliquables, regroupés par
   jour — remplace la liste de chips fragile que le LLM produisait à la
   main. */
.chat-calendar {
  margin: 6px 14px 12px 30px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(42, 38, 32, 0.10);
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(42, 38, 32, 0.04);
}
.chat-calendar-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(42, 38, 32, 0.08);
}
.chat-calendar-day {
  margin-bottom: 10px;
}
.chat-calendar-day:last-child {
  margin-bottom: 0;
}
.chat-calendar-day-label {
  font-family: 'Manrope', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.chat-calendar-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  gap: 6px;
}
.chat-calendar-slot {
  border: 1px solid var(--terracotta);
  background: transparent;
  color: var(--terracotta);
  font-family: 'Manrope', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 4px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.chat-calendar-slot:hover {
  background: var(--terracotta);
  color: var(--cream);
}
.chat-calendar-slot:active {
  transform: scale(0.96);
}

/* Mini-formulaire de coordonnées rendu dans la bulle assistant quand
   l'agent appelle show_contact_form. Inspiré du calendrier : carte
   blanche, bordure douce, à la même position visuelle dans le flux. */
.chat-contact-form {
  margin: 6px 14px 12px 30px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(42, 38, 32, 0.10);
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(42, 38, 32, 0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-contact-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(42, 38, 32, 0.08);
}
.chat-contact-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.chat-contact-field span {
  font-family: 'Manrope', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.chat-contact-field input {
  font-family: 'Manrope', sans-serif;
  font-size: 13.5px;
  color: var(--ink);
  padding: 8px 12px;
  border: 1px solid rgba(42, 38, 32, 0.16);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s ease;
}
.chat-contact-field input:focus {
  border-color: var(--terracotta);
}
.chat-contact-field input:invalid:not(:placeholder-shown) {
  border-color: #c44;
}
.chat-contact-notice {
  margin: 4px 0 0;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.chat-contact-submit {
  margin-top: 4px;
  border: none;
  background: var(--terracotta);
  color: var(--cream);
  font-family: 'Manrope', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  padding: 11px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.chat-contact-submit:hover { background: var(--terracotta-deep); }
.chat-contact-submit:active { transform: scale(0.985); }

/* Pied du calendrier : demande la semaine suivante à l'agent. Lien
   discret pour ne pas concurrencer les créneaux disponibles maintenant. */
.chat-calendar-more {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  color: var(--terracotta);
  font-family: 'Manrope', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  text-align: center;
  padding: 10px 4px 2px;
  margin-top: 10px;
  border-top: 1px solid rgba(42, 38, 32, 0.08);
  cursor: pointer;
  transition: color 0.15s ease;
}
.chat-calendar-more:hover { color: var(--terracotta-deep); }

/* Lien « Écrire un message » — échappatoire discrète vers la saisie
   libre. Visible mais en retrait : ne doit pas concurrencer les
   suggestions principales. */
.chat-input-toggle {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  text-align: center;
  padding: 8px 14px 12px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.18s ease;
}
.chat-input-toggle:hover { color: var(--terracotta); }
.chat-input-toggle[hidden] { display: none; }

/* ── Formulaire de saisie (replié par défaut) ── */
.chat-input[hidden] { display: none; }
.chat-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(42, 38, 32, 0.08);
  background: white;
}
.chat-input input {
  flex: 1;
  border: 1px solid rgba(42, 38, 32, 0.14);
  border-radius: 9999px;
  padding: 10px 16px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease;
}
.chat-input input:focus { border-color: var(--terracotta); }
.chat-input button {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: none;
  border-radius: 9999px;
  background: var(--terracotta);
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.chat-input button:hover { background: var(--terracotta-deep); }

.chat-disclaimer {
  font-size: 10px;
  line-height: 1.4;
  color: var(--ink-soft);
  text-align: center;
  padding: 8px 16px 12px;
  background: white;
  margin: 0;
}

/* ── Responsive mobile ── */
@media (max-width: 480px) {
  .chat-agent { bottom: 16px; right: 16px; }
  .chat-panel {
    width: calc(100vw - 24px);
    height: calc(100vh - 100px);
    bottom: 74px;
    right: -8px;
  }
  .chat-teaser { width: 200px; }
}

/* ====================================================================
   JOURNAL — page index /journal/ et lien "voir tous" depuis la home
   ==================================================================== */
.journal-all {
  margin-top: 64px;
  text-align: center;
}
.journal-all-link {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: color 0.25s, border-color 0.25s;
}
.journal-all-link:hover {
  color: var(--terracotta);
  border-color: var(--terracotta);
}

.journal-index-hero {
  max-width: 880px;
  margin: 0 auto;
  padding: 64px 56px 70px;
  text-align: center;
}
.journal-index-hero h1 {
  font-family: 'Italiana', serif;
  font-size: clamp(48px, 6vw, 92px);
  font-weight: 400;
  line-height: 1.02;
  color: var(--ink);
  margin: 22px 0 28px;
  letter-spacing: 0.005em;
}
.journal-index-hero h1 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--terracotta);
}
.journal-index-intro {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}
.journal-index {
  padding: 0 56px 160px;
  background: var(--cream);
}
.journal-index .journal-grid { margin-top: 0; }
/* l'index utilise un <h2> par carte (vs <h3> sur la home) — mêmes styles */
.journal-index .journal-card h2 {
  font-family: 'Italiana', serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: 0.005em;
}
.journal-index .journal-card h2 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--terracotta);
}

/* ====================================================================
   ARTICLE — page d'un article individuel /journal/<slug>/
   ==================================================================== */
.article {
  max-width: 880px;
  margin: 0 auto;
  padding: 64px 56px 80px;
}
.article-hero {
  text-align: center;
  margin-bottom: 56px;
}
.article-eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.article-hero h1 {
  font-family: 'Italiana', serif;
  font-size: clamp(40px, 5.2vw, 76px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  margin: 22px 0 18px;
  letter-spacing: 0.005em;
}
.article-hero h1 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--terracotta);
}
.article-meta {
  display: flex;
  justify-content: center;
  gap: 14px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.article-lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 auto 40px;
  max-width: 720px;
}
.article-figure {
  margin: 0 0 24px;
  border-radius: 18px;
  overflow: hidden;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 40%;
}

/* Corps de l'article — typographie éditoriale, ~720px de mesure
   pour rester lisible (60-75 caractères par ligne). */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  line-height: 1.75;
  color: var(--ink);
}
.article-body h2 {
  font-family: 'Italiana', serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin: 64px 0 22px;
  letter-spacing: 0.005em;
}
.article-body h2 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--terracotta);
}
.article-body h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 48px 0 14px;
}
.article-body p {
  margin: 0 0 22px;
}
.article-body p.lead {
  font-size: 22px;
  line-height: 1.6;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 36px;
}
.article-body ul,
.article-body ol {
  margin: 0 0 26px;
  padding-left: 24px;
}
.article-body ul li,
.article-body ol li {
  margin-bottom: 10px;
}
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body em { font-style: italic; }
.article-body a {
  color: var(--terracotta);
  text-decoration: none;
  border-bottom: 1px solid var(--terracotta);
  transition: opacity 0.2s;
}
.article-body a:hover { opacity: 0.7; }
.article-body blockquote {
  margin: 36px 0;
  padding: 18px 28px;
  border-left: 3px solid var(--terracotta);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.article-body figure {
  margin: 36px 0;
}
.article-body figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.article-body figure figcaption {
  margin-top: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
}

/* Soins liés — maillage interne en bas d'article */
.article-related {
  max-width: 980px;
  margin: 96px auto 0;
  padding-top: 64px;
  border-top: 1px solid rgba(42, 38, 32, 0.12);
  text-align: center;
}
.article-related h2 {
  font-family: 'Italiana', serif;
  font-size: 40px;
  font-weight: 400;
  margin: 18px 0 40px;
  color: var(--ink);
}
.article-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  text-align: left;
}
.article-related-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  background: var(--sand);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s;
}
.article-related-card:hover {
  transform: translateY(-4px);
  background: var(--cream);
}
.article-related-num {
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 10px;
}
.article-related-title {
  font-family: 'Italiana', serif;
  font-size: 26px;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 10px;
}
.article-related-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.article-related-arrow {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: auto;
}
.article-related-card:hover .article-related-arrow { color: var(--terracotta); }

@media (max-width: 968px) {
  .article { padding: 48px 24px 60px; }
  .article-body { font-size: 18px; }
  .article-body h2 { font-size: 30px; margin: 48px 0 18px; }
  .journal-index-hero { padding: 44px 24px 52px; }
  .journal-index { padding: 0 24px 100px; }
  .journal-index .journal-grid { grid-template-columns: 1fr; gap: 56px; }
}
