/* VivaSkin — design system · palette rose-cuivré (Option B) */
:root {
  --bg: #faf5f1;
  --bg-warm: #f4ebe4;
  --bg-deep: #eddcd0;
  --ink: #2a221e;
  --ink-soft: #554641;
  --muted: #9a847a;
  --line: #eadcd0;
  --gold: #c79c87;
  --gold-dark: #a37763;
  --gold-light: #e5c9b9;
  --white: #ffffff;
  --rose: #d9b5a3;
  --success: #4a7c59;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5 { font-family: 'Cormorant Garamond', serif; font-weight: 400; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.8rem); line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); line-height: 1.1; }
h3 { font-size: 1.55rem; line-height: 1.25; }
h4 { font-size: 1.25rem; }
p { color: var(--ink-soft); }
a { color: inherit; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 32px; }
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 20px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}
.btn {
  display: inline-block;
  padding: 16px 34px;
  font-size: 0.83rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--gold-dark); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-dark); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.btn-light:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Announcement */
.announce {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  padding: 10px 16px;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
}
.announce span { color: var(--gold); margin: 0 8px; }
.announce-track {
  display: inline-flex;
  gap: 0;
  will-change: transform;
}
.announce-item {
  display: inline-block;
  padding: 0 36px 0 0;
  flex-shrink: 0;
}
.announce-item b { color: var(--gold); font-weight: inherit; margin: 0 10px; }
.announce-item a { color: var(--bg); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.4); }
@keyframes announceMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Header */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 242, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 30px 0; }
.logo {
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.logo strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  color: var(--ink);
  padding-left: 0.24em;
  line-height: 1;
}
.logo small {
  font-family: 'Inter', sans-serif;
  font-size: 0.56rem;
  font-weight: 300;
  letter-spacing: 0.58em;
  color: var(--ink-soft);
  text-transform: uppercase;
  padding-left: 0.58em;
  line-height: 1;
  position: relative;
}
.logo small::before,
.logo small::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.logo small::before { right: calc(100% + 6px); }
.logo small::after { left: calc(100% + 6px); margin-left: -0.58em; }
.logo span { color: var(--ink); }
footer .logo small { color: #b7ada1; }
footer .logo small::before, footer .logo small::after { background: var(--gold); opacity: 0.5; }
.nav-links { display: flex; gap: 38px; list-style: none; }
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  font-weight: 300;
  transition: color 0.25s ease;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 400; }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 1px; background: var(--gold);
}

/* Dropdowns */
.nav-links li.has-dropdown { position: relative; }
.nav-links li.has-dropdown > a::after {
  content: ' ▾';
  font-size: 0.65rem;
  color: var(--gold-dark);
  margin-left: 4px;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: -20px;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 20px 40px -15px rgba(27, 27, 27, 0.15);
  padding: 14px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  list-style: none;
  z-index: 110;
}
.nav-links li.has-dropdown:hover > .nav-dropdown,
.nav-links li.has-dropdown:focus-within > .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-links li.has-dropdown::before {
  content: '';
  position: absolute;
  top: 100%; left: -20px; right: -20px; height: 16px;
}
.nav-dropdown li { padding: 0; }
.nav-dropdown li a {
  display: block;
  padding: 12px 24px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: background 0.15s, color 0.15s, padding-left 0.2s;
}
.nav-dropdown li a:hover {
  background: var(--bg-warm);
  color: var(--ink);
  padding-left: 30px;
}
.nav-dropdown li a small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 2px;
  letter-spacing: 0.08em;
}
.nav-dropdown-separator {
  height: 1px;
  background: var(--line);
  margin: 8px 20px;
}
.nav-dropdown li a.featured { color: var(--gold-dark); font-weight: 500; }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.phone-link { display: none; } /* téléphone dans la bannière du haut uniquement */
.nav-user-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; color: var(--ink); border: 1px solid var(--gold-light); border-radius: 100px; background: var(--bg-warm); transition: all 0.25s ease; }
.nav-user-icon:hover { color: var(--gold-dark); border-color: var(--gold-dark); background: #fff; }
.nav-user-icon svg { width: 20px; height: 20px; stroke-width: 1.8; }
.nav-cta .btn-primary { padding: 11px 22px; font-size: 0.72rem; letter-spacing: 0.24em; font-weight: 400; }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .phone-link { display: none; }
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed; top: 0; right: 0;
  width: 86%; max-width: 400px;
  height: 100vh;
  height: 100dvh;
  background: var(--bg);
  z-index: 200;
  padding: 78px 28px 40px;
  box-shadow: -20px 0 60px rgba(0,0,0,0.2);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { list-style: none; }
.mobile-menu > ul > li > a,
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  font-family: 'Cormorant Garamond', serif;
}
.mobile-menu-close {
  position: absolute; top: 18px; right: 20px;
  background: none; border: 0; font-size: 1.9rem; cursor: pointer;
  width: 40px; height: 40px;
  line-height: 1;
  color: var(--ink);
}

/* Bloc Espace client en haut du menu */
.mobile-menu a.mobile-menu-account {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 22px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: 'Inter', sans-serif;
  font-size: inherit;
}
.mobile-menu a.mobile-menu-account:hover { border-color: var(--gold); box-shadow: 0 6px 18px -10px rgba(139, 111, 73, 0.3); }
.mobile-menu-account .mma-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mobile-menu-account .mma-icon svg { width: 20px; height: 20px; }
.mobile-menu-account .mma-text { flex: 1; font-family: 'Inter', sans-serif; }
.mobile-menu-account .mma-title { display: block; font-size: 0.98rem; color: var(--ink); font-weight: 500; letter-spacing: 0.02em; }
.mobile-menu-account .mma-sub { display: block; font-size: 0.76rem; color: var(--muted); letter-spacing: 0.04em; margin-top: 2px; }
.mobile-menu-account .mma-chev {
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}

.menu-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(27,27,27,0.5);
  z-index: 150;
}
.menu-backdrop.open, .mobile-menu.open + .menu-backdrop { display: block; }
body.menu-open { overflow: hidden; position: fixed; width: 100%; }
body.menu-open .mobile-menu { display: block; }

/* Hero */
.hero {
  position: relative;
  padding: 90px 0 110px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; }
.hero-content { max-width: 580px; }
.hero h1 em, .hero h1 span.accent { color: var(--gold-dark); font-style: italic; font-weight: 400; }
.hero-lead { margin-top: 26px; font-size: 1.08rem; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-meta { display: flex; gap: 36px; margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-meta strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  color: var(--gold-dark);
  display: block;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 8px;
}
.hero-meta span { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 2px;
  overflow: hidden;
  background: var(--bg-warm);
  box-shadow: 0 30px 60px -20px rgba(139, 111, 73, 0.3);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  bottom: 26px; left: 26px;
  background: var(--white);
  padding: 18px 22px;
  border-radius: 2px;
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.25);
  max-width: 260px;
}
.hero-badge .stars { color: var(--gold); letter-spacing: 2px; font-size: 0.9rem; }
.hero-badge strong { font-size: 0.92rem; display: block; margin-top: 4px; color: var(--ink); }
.hero-badge small { font-size: 0.74rem; color: var(--muted); }

.hero-price-tag {
  position: absolute;
  top: 26px; right: 26px;
  background: var(--gold);
  color: var(--ink);
  padding: 14px 20px;
  border-radius: 2px;
  text-align: center;
  box-shadow: 0 15px 30px -10px rgba(139, 111, 73, 0.5);
}
.hero-price-tag .price-prefix {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.7;
  margin-bottom: 2px;
  line-height: 1;
}
.hero-price-tag strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; line-height: 1; }
.hero-price-tag small { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; display: block; margin-top: 4px; }

/* Ruban prix minimaliste (remplace l'ancien hero-price-tag) */
.hero-ribbon {
  position: absolute;
  left: 0;
  bottom: 32px;
  background: var(--white);
  padding: 14px 26px 14px 28px;
  display: inline-flex;
  align-items: baseline;
  gap: 18px;
  box-shadow: 0 14px 40px -14px rgba(27, 27, 27, 0.28), 0 4px 12px -6px rgba(27, 27, 27, 0.1);
  border-radius: 0 2px 2px 0;
}
.hero-ribbon::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
}
.ribbon-tag {
  font-size: 0.64rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
}
.ribbon-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.005em;
}
.ribbon-price small {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 300;
  margin-left: 2px;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .hero { padding: 50px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-height: 540px; aspect-ratio: 3/4; }
  .hero-meta { gap: 24px; }
}

/* Page hero (sous-pages) */
.page-hero {
  padding: 70px 0 60px;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--line);
}
.page-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.page-hero h1 em { color: var(--gold-dark); font-style: italic; }
.page-hero-lead { margin-top: 22px; font-size: 1.05rem; max-width: 540px; }
.page-hero-visual { aspect-ratio: 4/3; border-radius: 2px; overflow: hidden; }
.page-hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumb { font-size: 0.82rem; color: var(--muted); margin-bottom: 26px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb span { margin: 0 10px; }
@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* Section générique */
section { padding: 100px 0; }
section.tight { padding: 70px 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-head p { font-size: 1.05rem; margin-top: 18px; }
.section-head.left { text-align: left; margin-left: 0; }

/* Trust banner */
.trust-banner {
  background: var(--ink);
  color: var(--bg);
  padding: 28px 0;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
}
.trust-item { display: flex; align-items: center; gap: 14px; font-size: 0.85rem; }
.trust-item svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--gold); }
.trust-item strong { color: var(--bg); font-weight: 500; }
.trust-item small { color: #b7ada1; display: block; font-size: 0.75rem; }
@media (max-width: 900px) { .trust-row { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (max-width: 540px) { .trust-row { grid-template-columns: 1fr; } }

/* Piliers */
.pillars { background: var(--bg-warm); }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar {
  background: var(--white);
  padding: 44px 36px;
  border-radius: 2px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid transparent;
  display: flex; flex-direction: column;
}
.pillar:hover { transform: translateY(-6px); box-shadow: 0 25px 50px -20px rgba(139, 111, 73, 0.25); border-color: var(--line); }
.pillar-img {
  aspect-ratio: 4/3;
  margin: -44px -36px 28px;
  overflow: hidden;
}
.pillar-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.pillar:hover .pillar-img img { transform: scale(1.05); }
.pillar-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--ink);
  font-style: normal;
  font-weight: 500;
  margin-bottom: 14px;
  line-height: 1.1;
  text-align: center;
}
.abos-grid .pillar-num,
.pillars-grid .pillar-num { font-size: 2.2rem; text-align: center; }
.pillar h3 { margin-bottom: 12px; }
.pillar > p { font-size: 0.95rem; margin-bottom: 24px; flex-grow: 1; }
.pillar ul { list-style: none; margin-bottom: 24px; }
.pillar li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
}
.pillar li::before { content: '— '; color: var(--gold); margin-right: 6px; }
.pillar li span { color: var(--ink); font-weight: 500; }
.pillar-cta {
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: all 0.3s;
  align-self: flex-start;
}
.pillar-cta:hover { color: var(--gold-dark); letter-spacing: 0.26em; }
.abos-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .abos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .pillars-grid { grid-template-columns: 1fr !important; } }
.abos-hint { display: none; }

/* Global : toutes les grilles multi-colonnes → carrousel horizontal sur mobile */
@media (max-width: 900px) {
  .pillars-grid,
  .feature-grid,
  .steps {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    gap: 14px !important;
    padding: 4px 18px 18px;
    margin: 0 -18px;
    scrollbar-width: none;
    flex-wrap: nowrap !important;
  }
  .pillars-grid::-webkit-scrollbar,
  .feature-grid::-webkit-scrollbar,
  .steps::-webkit-scrollbar { display: none; }
  .pillars-grid > *,
  .feature-grid > *,
  .steps > * {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }
  .pillars-grid > *:last-child,
  .feature-grid > *:last-child,
  .steps > *:last-child { margin-right: 4px; }
}

/* Abos carousel mobile — swipe horizontal */
@media (max-width: 720px) {
  .abos-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 4px 18px 18px;
    margin: 0 -18px;
    scrollbar-width: none;
  }
  .abos-grid::-webkit-scrollbar { display: none; }
  .abos-grid .pillar {
    flex: 0 0 78%;
    scroll-snap-align: center;
    padding: 32px 26px;
    margin-top: 14px;
  }
  .abos-grid .pillar:first-child { margin-left: 0; }
  .abos-grid .pillar:last-child { margin-right: 4px; }
  /* Indice visuel de swipe */
  .abos-hint {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    align-items: center;
  }
  .abos-hint::before, .abos-hint::after { content: ''; display: inline-block; width: 16px; height: 1px; background: var(--gold); opacity: 0.5; }
}

/* Expertise split */
.split-section { }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-grid.reverse .split-img { order: 2; }
.split-img {
  aspect-ratio: 4/5;
  border-radius: 2px;
  overflow: hidden;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-content h2 { margin-bottom: 22px; }
.split-content > p { font-size: 1.05rem; margin-bottom: 28px; }
.tech-list { list-style: none; margin-top: 26px; }
.tech-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: start;
}
.tech-list li:first-child { border-top: 1px solid var(--line); }
.tech-name { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; color: var(--ink); }
.tech-desc { font-size: 0.92rem; }
@media (max-width: 900px) {
  .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .split-grid.reverse .split-img { order: 0; }
  .tech-list li { grid-template-columns: 1fr; gap: 6px; }
}

/* Feature rows */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 50px; }
.feature {
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.feature-icon {
  width: 48px; height: 48px;
  background: var(--bg-warm);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--gold-dark);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h4 { margin-bottom: 10px; }
.feature p { font-size: 0.9rem; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }

/* Process */
.process { background: var(--ink); color: var(--bg); }
.process .eyebrow { color: var(--gold); }
.process h2, .process h3, .process h4 { color: var(--bg); }
.process .section-head p { color: #c9bfb3; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  padding: 34px 26px;
  border: 1px solid #332f2b;
  border-radius: 2px;
  transition: border-color 0.3s, background 0.3s;
}
.step:hover { border-color: var(--gold); background: #211d19; }
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--gold);
  font-style: italic;
  display: block;
  margin-bottom: 12px;
}
.step h4 { font-size: 1.2rem; margin-bottom: 10px; color: var(--bg); }
.step p { color: #b7ada1; font-size: 0.86rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Price table */
.price-table { background: var(--bg-warm); }
.price-table-wrap {
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 20px 40px -20px rgba(139,111,73,0.15);
}
.price-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 22px 30px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 16px;
}
.price-row:last-child { border-bottom: 0; }
.price-row.head {
  background: var(--ink); color: var(--bg);
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
}
.price-row.head span { color: var(--bg); }
.price-zone { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--ink); }
.price-zone small { display: block; font-family: 'Inter', sans-serif; font-size: 0.78rem; color: var(--muted); font-weight: 400; margin-top: 4px; }
.price-cell { font-size: 1rem; color: var(--ink); font-weight: 500; }
.price-cell del { color: var(--muted); font-weight: 300; margin-right: 8px; font-size: 0.88rem; }
.price-cell.highlight { color: var(--gold-dark); font-size: 1.15rem; }
.price-note { font-size: 0.82rem; color: var(--muted); margin-top: 24px; text-align: center; }
@media (max-width: 800px) {
  .price-row { grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px 20px; }
  .price-row.head { display: none; }
  .price-zone { grid-column: 1 / -1; font-size: 1.15rem; margin-bottom: 6px; }
  .price-cell::before {
    content: attr(data-label);
    display: block; font-size: 0.7rem; color: var(--muted);
    letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 2px;
  }
}

/* Reviews */
.reviews { background: var(--bg-warm); }
.reviews-header { display: flex; justify-content: space-between; align-items: end; margin-bottom: 48px; flex-wrap: wrap; gap: 20px; }
.google-badge {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); padding: 16px 24px; border-radius: 2px;
  border: 1px solid var(--line);
}
.google-badge .g-score { font-size: 2rem; font-family: 'Cormorant Garamond', serif; color: var(--ink); line-height: 1; }
.google-badge .stars { color: var(--gold); letter-spacing: 2px; font-size: 0.9rem; margin-top: 4px; }
.google-badge small { color: var(--muted); font-size: 0.78rem; display: block; }
.google-badge strong { font-size: 0.9rem; }
.reviews-grid {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 0 16px;
  scroll-snap-type: x proximity;
}
.reviews-grid::-webkit-scrollbar { display: none; }
.reviews-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: reviews-slide 80s linear infinite;
}
.reviews-grid:hover .reviews-track,
.reviews-grid:focus-within .reviews-track,
.reviews-grid:active .reviews-track { animation-play-state: paused; }
@keyframes reviews-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-track { animation: none; }
}
.review {
  flex: 0 0 320px;
  max-width: 320px;
  scroll-snap-align: start;
  background: var(--white);
  padding: 32px 28px;
  border-radius: 2px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.review::before {
  content: '"';
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  color: var(--gold);
  line-height: 1;
  position: absolute;
  top: 4px; left: 20px;
  opacity: 0.25;
}
.review .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; font-size: 0.9rem; }
.review p {
  font-size: 0.92rem;
  margin-bottom: 20px;
  font-style: italic;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.review .author { font-weight: 500; font-size: 0.88rem; margin-top: auto; }
.review .author small { color: var(--muted); font-weight: 300; display: block; font-size: 0.78rem; margin-top: 2px; font-style: normal; }
@media (max-width: 700px) {
  .review { flex: 0 0 280px; max-width: 280px; padding: 28px 22px; }
  .reviews-track { animation-duration: 60s; }
}

/* FAQ */
.faq { background: var(--bg); }
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-question {
  width: 100%;
  padding: 26px 0;
  background: none;
  border: 0;
  text-align: left;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-question::after {
  content: '+';
  font-size: 1.6rem;
  color: var(--gold-dark);
  transition: transform 0.3s;
  line-height: 1;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-answer-inner { padding: 0 0 26px; color: var(--ink-soft); font-size: 0.98rem; }
.faq-answer-inner p { margin-bottom: 12px; }
.faq-answer-inner ul { margin-left: 20px; margin-bottom: 12px; }
.faq-item.open .faq-answer { max-height: 500px; }

/* CTA Booking */
.booking {
  background: linear-gradient(135deg, #2a221e 0%, #3a2f29 100%);
  color: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.booking::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(184, 149, 106, 0.15) 0%, transparent 70%);
}
.booking h2 { color: var(--bg); margin-bottom: 20px; position: relative; }
.booking h2 em { color: var(--gold); font-style: italic; font-weight: 400; }
.booking p { color: #c9bfb3; max-width: 580px; margin: 0 auto 40px; font-size: 1.05rem; position: relative; }
.booking .hero-actions { justify-content: center; position: relative; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info { padding: 10px 0; }
.contact-block { margin-bottom: 32px; }
.contact-block h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
  font-weight: 500;
}
.contact-block p, .contact-block a { font-size: 1.02rem; color: var(--ink); text-decoration: none; line-height: 1.7; }
.contact-block a:hover { color: var(--gold-dark); }
.map {
  background: var(--bg-warm);
  aspect-ratio: 4/3;
  border-radius: 2px;
  overflow: hidden;
}
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.2) contrast(1.05); }
.contact-form { background: var(--white); padding: 40px; border-radius: 2px; border: 1px solid var(--line); }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg);
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } .form-row { grid-template-columns: 1fr; } }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.team-card { text-align: left; }
.team-photo {
  aspect-ratio: 3/4;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--bg-warm);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { margin-bottom: 4px; }
.team-role { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 12px; font-weight: 500; }
.team-card p { font-size: 0.9rem; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }

/* Content article (pages services longues) */
.content-article { max-width: 800px; margin: 0 auto; }
.content-article h2 { margin: 50px 0 20px; }
.content-article h2:first-child { margin-top: 0; }
.content-article h3 { margin: 32px 0 14px; }
.content-article p { margin-bottom: 18px; font-size: 1rem; line-height: 1.75; }
.content-article ul, .content-article ol { margin: 0 0 20px 22px; }
.content-article li { margin-bottom: 8px; color: var(--ink-soft); line-height: 1.7; }
.content-article strong { color: var(--ink); font-weight: 500; }
.content-article a { color: var(--gold-dark); text-decoration: underline; text-decoration-color: var(--gold-light); text-underline-offset: 4px; }
.content-article blockquote {
  border-left: 2px solid var(--gold);
  padding: 4px 0 4px 24px;
  margin: 24px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--ink);
  font-style: italic;
}
.content-article .callout {
  background: var(--bg-warm);
  padding: 28px 30px;
  border-radius: 2px;
  margin: 30px 0;
  border-left: 3px solid var(--gold);
}
.content-article .callout h4 { margin-bottom: 8px; }
.content-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
}
.content-article th, .content-article td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.content-article th {
  background: var(--bg-warm);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

/* Zone grid (for laser page) */
.zones-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.zone-chip {
  background: var(--white);
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 2px;
  text-align: center;
  transition: all 0.3s;
}
.zone-chip:hover { border-color: var(--gold); background: var(--bg-warm); }
.zone-chip strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; color: var(--ink); }
.zone-chip span { font-size: 0.85rem; color: var(--gold-dark); font-weight: 500; }
.zone-chip small { display: block; font-size: 0.72rem; color: var(--muted); margin-top: 2px; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 900px) { .zones-grid { grid-template-columns: repeat(2, 1fr); } }

/* Comparison */
.compare-table {
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin: 30px 0;
}
.compare-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
  font-size: 0.9rem;
}
.compare-row:last-child { border-bottom: 0; }
.compare-row.head {
  background: var(--ink); color: var(--bg);
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
}
.compare-row.highlight { background: var(--bg-warm); }
.compare-row strong { color: var(--ink); }
@media (max-width: 800px) {
  .compare-row { grid-template-columns: 1fr 1fr; gap: 8px; font-size: 0.82rem; }
  .compare-row.head { display: none; }
}

/* Footer */
footer {
  background: var(--ink);
  color: #b7ada1;
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid #332f2b;
}
footer .logo { margin-bottom: 18px; }
footer .logo strong { color: var(--bg); }
footer .logo small { color: #b7ada1; }
footer .logo small::before, footer .logo small::after { background: var(--gold); opacity: 0.6; }
footer .logo span { color: var(--gold); }
footer h5 {
  color: var(--bg);
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}
footer ul { list-style: none; }
footer li { margin-bottom: 10px; }
footer a { color: #b7ada1; text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
footer a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 30px; font-size: 0.78rem;
  flex-wrap: wrap; gap: 12px;
}
.footer-social { display: flex; gap: 14px; margin-top: 14px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid #332f2b;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.footer-social a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.footer-social svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }

/* Price badge */
.lowest-price-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 2px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 20px;
}
.lowest-price-badge::before { content: '✦'; color: var(--ink); }

/* WhatsApp floating button · version premium discrète */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--bg);
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0;
  transition: opacity 0.3s ease, inset 0.3s ease;
}
.whatsapp-float:hover {
  transform: translateY(-2px);
  background: var(--gold-dark);
  color: var(--bg);
}
.whatsapp-float:hover::after { opacity: 0.5; inset: -6px; }
.whatsapp-float svg { width: 24px; height: 24px; }
.whatsapp-float .wa-label,
.whatsapp-float-pulse { display: none; }

/* Tooltip label au hover */
.whatsapp-float .wa-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: var(--bg);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  border-radius: 2px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; transform: translateY(-50%) translateX(-4px); }

@media (max-width: 600px) {
  .whatsapp-float {
    width: 56px; height: 56px;
    bottom: 22px;
    right: 22px;
  }
  .whatsapp-float .wa-tooltip { display: none; }
}

/* ================ ESPACE CLIENT ================ */
.ec-body { background: var(--bg); min-height: 100vh; }
.ec-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
@media (max-width: 900px) { .ec-layout { grid-template-columns: 1fr; } }

/* Sidebar */
.ec-sidebar { background: var(--white); border-right: 1px solid var(--line); padding: 30px 22px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
@media (max-width: 900px) { .ec-sidebar { position: static; height: auto; } }
.ec-sidebar-logo { padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 22px; text-align: center; }
.ec-user { background: var(--bg-warm); padding: 16px 18px; border-radius: 6px; margin-bottom: 24px; display: flex; gap: 12px; align-items: center; }
.ec-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--gold-light); color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 500; flex-shrink: 0; }
.ec-user-info { overflow: hidden; }
.ec-user-name { font-size: 0.92rem; color: var(--ink); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ec-user-badge { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark); font-weight: 500; }
.ec-nav { list-style: none; flex: 1; }
.ec-nav li a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; color: var(--ink-soft); text-decoration: none; font-size: 0.9rem; border-radius: 4px; transition: all 0.2s; margin-bottom: 3px; }
.ec-nav li a:hover { background: var(--bg-warm); color: var(--ink); }
.ec-nav li a.active { background: var(--ink); color: var(--bg); font-weight: 500; }
.ec-nav li a.active svg { color: var(--gold); }
.ec-nav li a svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--muted); }
.ec-sidebar-bottom { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.ec-sidebar-bottom a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: var(--muted); text-decoration: none; font-size: 0.85rem; border-radius: 4px; transition: all 0.2s; }
.ec-sidebar-bottom a:hover { background: var(--bg-warm); color: var(--ink); }

/* Main */
.ec-main { padding: 40px 50px; max-width: 1200px; }
@media (max-width: 900px) { .ec-main { padding: 30px 24px; } }
.ec-page-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; flex-wrap: wrap; gap: 20px; }
.ec-page-title { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; line-height: 1.1; color: var(--ink); font-weight: 400; margin-bottom: 6px; }
.ec-page-title em { color: var(--gold-dark); font-style: italic; }
.ec-page-subtitle { color: var(--ink-soft); font-size: 0.95rem; }

/* Stats grid */
.ec-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 36px; }
@media (max-width: 900px) { .ec-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .ec-stats { grid-template-columns: 1fr; } }
.ec-stat { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 22px 24px; }
.ec-stat-label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.ec-stat-value { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; color: var(--ink); font-weight: 400; line-height: 1; }
.ec-stat-value small { font-family: 'Inter', sans-serif; font-size: 0.82rem; color: var(--muted); font-weight: 300; }
.ec-stat-trend { font-size: 0.78rem; color: var(--success); margin-top: 6px; }

/* Cards */
.ec-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 28px 30px; margin-bottom: 22px; }
.ec-card-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.ec-card-title { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--ink); font-weight: 400; }
.ec-card-action { font-size: 0.82rem; color: var(--gold-dark); text-decoration: none; font-weight: 500; }
.ec-card-action:hover { color: var(--ink); }
.ec-grid-2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
@media (max-width: 900px) { .ec-grid-2 { grid-template-columns: 1fr; } }

/* RDV card spéciale */
.ec-rdv { background: linear-gradient(135deg, var(--ink) 0%, #3a2f29 100%); color: var(--bg); border: 0; }
.ec-rdv .ec-card-title { color: var(--bg); }
.ec-rdv-date { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; line-height: 1; margin-bottom: 8px; color: var(--gold); }
.ec-rdv-time { font-size: 0.95rem; color: #e5c9b9; margin-bottom: 18px; }
.ec-rdv-info { font-size: 0.88rem; color: #c9bfb3; margin-bottom: 20px; line-height: 1.6; }
.ec-rdv .btn { background: var(--gold); color: var(--ink); }
.ec-rdv .btn:hover { background: var(--bg); }

/* Zones progress */
.ec-zone-row { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ec-zone-row:last-child { border-bottom: 0; }
.ec-zone-name { flex: 1; font-size: 0.92rem; color: var(--ink); font-weight: 500; }
.ec-zone-name small { display: block; font-size: 0.78rem; color: var(--muted); font-weight: 300; margin-top: 2px; letter-spacing: 0.06em; }
.ec-progress { width: 120px; height: 6px; background: var(--bg-warm); border-radius: 100px; overflow: hidden; flex-shrink: 0; }
.ec-progress-fill { height: 100%; background: var(--gold); border-radius: 100px; transition: width 0.3s; }
.ec-zone-count { font-size: 0.84rem; color: var(--ink-soft); font-weight: 500; min-width: 54px; text-align: right; }

/* Table */
.ec-table { width: 100%; border-collapse: collapse; }
.ec-table th { text-align: left; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.ec-table td { padding: 14px; border-bottom: 1px solid var(--line); font-size: 0.92rem; color: var(--ink); }
.ec-table tr:last-child td { border-bottom: 0; }
.ec-table tr:hover td { background: var(--bg-warm); }
.ec-table td small { color: var(--muted); font-size: 0.8rem; }
.ec-table .ec-tag { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.ec-tag.confirmed { background: #e5f2e8; color: var(--success); }
.ec-tag.upcoming { background: var(--gold-light); color: var(--ink); }
.ec-tag.pending { background: #fdf6eb; color: var(--gold-dark); }
.ec-tag.cancelled { background: #f3e5e5; color: #a04040; }
.ec-table .ec-link { color: var(--gold-dark); text-decoration: none; font-weight: 500; }
.ec-table .ec-link:hover { text-decoration: underline; }

/* Empty state */
.ec-empty { padding: 50px 30px; text-align: center; color: var(--muted); }
.ec-empty .icon { font-size: 2.2rem; color: var(--gold-dark); font-family: 'Cormorant Garamond', serif; margin-bottom: 14px; }
.ec-empty h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--ink); margin-bottom: 8px; }
.ec-empty p { font-size: 0.92rem; margin-bottom: 18px; }

/* Photo gallery */
.ec-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .ec-photo-grid { grid-template-columns: repeat(2, 1fr); } }
.ec-photo-card { background: var(--white); border-radius: 4px; overflow: hidden; border: 1px solid var(--line); cursor: pointer; transition: all 0.25s; }
.ec-photo-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(139,111,73,0.12); }
.ec-photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; aspect-ratio: 2/1.2; background: var(--line); }
.ec-photo-pair div { background-size: cover; background-position: center; position: relative; }
.ec-photo-pair div::after { content: attr(data-label); position: absolute; top: 8px; left: 8px; background: rgba(0,0,0,0.55); color: #fff; font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; font-weight: 500; }
.ec-photo-meta { padding: 14px 16px; }
.ec-photo-meta strong { display: block; font-size: 0.92rem; color: var(--ink); }
.ec-photo-meta small { font-size: 0.78rem; color: var(--muted); }

/* Hamburger espace-client : caché en desktop */
.ec-mobile-hamburger { display: none; }

/* Mobile espace client */
@media (max-width: 900px) {
  .ec-sidebar {
    padding: 14px 18px 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .ec-sidebar-logo {
    padding-bottom: 14px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
  }
  .ec-sidebar-logo .logo { font-size: 0.95rem; }
  .ec-mobile-hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 1.7rem;
    padding: 4px 10px;
    line-height: 1;
    color: var(--ink);
  }
  .ec-user { margin-bottom: 14px; padding: 12px 14px; }
  .ec-avatar { width: 36px; height: 36px; font-size: 1rem; }
  .ec-user-name { font-size: 0.88rem; }
  .ec-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -18px;
    padding: 2px 18px 4px;
    flex: none;
  }
  .ec-nav::-webkit-scrollbar { display: none; }
  .ec-nav li { flex-shrink: 0; }
  .ec-nav li a {
    white-space: nowrap;
    padding: 9px 14px;
    font-size: 0.82rem;
    margin-bottom: 0;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 100px;
  }
  .ec-nav li a svg { display: none; }
  .ec-nav li a.active { border-color: var(--ink); }
  .ec-sidebar-bottom { display: none; }
  .ec-main { padding: 22px 18px 40px; }
  .ec-page-header { margin-bottom: 22px; gap: 14px; }
  .ec-page-header > a.btn { width: 100%; text-align: center; }
  .ec-page-title { font-size: 1.7rem; }
  .ec-page-subtitle { font-size: 0.88rem; }
  .ec-card { padding: 22px 20px; margin-bottom: 16px; }
  .ec-card-title { font-size: 1.2rem; }
  .ec-rdv-date { font-size: 1.5rem; }
  .ec-rdv-time { font-size: 0.88rem; }
  .ec-rdv-info { font-size: 0.85rem; }
  .ec-zone-row { flex-wrap: wrap; gap: 10px 14px; padding: 14px 0; }
  .ec-zone-name { flex: 1 1 60%; font-size: 0.88rem; }
  .ec-progress { width: 100%; order: 3; flex: 1 1 100%; }
  .ec-zone-count { min-width: auto; font-size: 0.8rem; }
  /* Table → cartes empilées pour lisibilité */
  .ec-table { display: block; }
  .ec-table thead { display: none; }
  .ec-table tbody, .ec-table tr { display: block; }
  .ec-table tr {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 14px 16px;
    margin-bottom: 10px;
    background: var(--white);
  }
  .ec-table tr:hover td { background: transparent; }
  .ec-table td {
    display: block;
    padding: 3px 0;
    border-bottom: 0;
    font-size: 0.88rem;
  }
  .ec-table td:first-child {
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 6px;
  }
  .ec-table td:last-child { margin-top: 8px; }
  .ec-table td small { font-size: 0.78rem; color: var(--muted); }
  .ec-photo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .ec-page-title { font-size: 1.5rem; }
  .ec-card { padding: 20px 16px; }
  .ec-main { padding: 18px 14px 36px; }
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.divider { height: 1px; background: var(--line); margin: 40px 0; border: 0; }

/* ================ Autocomplete adresse ================ */
.addr-ac-wrap { position: relative; }
.addr-ac-list {
  position: absolute;
  top: calc(100% + 2px);
  left: 0; right: 0;
  list-style: none;
  margin: 0; padding: 6px 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 14px 32px -14px rgba(27,27,27,0.2);
  max-height: 280px;
  overflow-y: auto;
  z-index: 300;
}
.addr-ac-item {
  padding: 10px 14px;
  cursor: pointer;
  display: block;
  transition: background 0.15s;
}
.addr-ac-item.is-active, .addr-ac-item:hover { background: var(--bg-warm); }
.addr-ac-main { display: block; font-size: 0.9rem; color: var(--ink); font-weight: 500; }
.addr-ac-sub  { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 2px; }

/* ================ L'EXPERTISE EN IMAGES ================ */
.in-action { background: var(--bg-warm); }
.ia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 12px;
}
.ia-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 14px 32px -22px rgba(139, 111, 73, 0.28);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.ia-card:hover { transform: translateY(-3px); box-shadow: 0 24px 52px -24px rgba(139, 111, 73, 0.4); }
.ia-img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.ia-card:hover .ia-img { transform: scale(1.03); }
.ia-meta { padding: 18px 22px 22px; }
.ia-eyebrow {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
  margin-bottom: 8px;
}
.ia-meta strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 1.25;
}
.ia-meta small {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.ia-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.84rem;
  color: var(--muted);
  font-style: italic;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 900px) {
  .ia-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .ia-meta { padding: 14px 16px 18px; }
  .ia-meta strong { font-size: 1.05rem; }
}
@media (max-width: 540px) {
  .ia-grid { grid-template-columns: 1fr; }
}

/* ================ NOTRE CENTRE · GALERIE ================ */
.centre-gallery { background: var(--bg); }
.cg-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 220px 220px;
  gap: 10px;
  margin-top: 12px;
}
.cg-item {
  background-size: cover;
  background-position: center;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.4s ease;
}
.cg-item:hover { transform: scale(1.02); }
.cg-item::after {
  content: attr(data-caption);
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 18px 14px;
  background: linear-gradient(to top, rgba(27,27,27,0.75), transparent);
  color: var(--bg);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cg-item:hover::after { opacity: 1; }
.cg-item-1 { grid-column: span 3; grid-row: span 2; }
.cg-item-2 { grid-column: span 3; grid-row: span 1; }
.cg-item-3 { grid-column: span 2; grid-row: span 1; }
.cg-item-4 { grid-column: span 1; grid-row: span 1; }
.cg-item-5 { grid-column: span 2; grid-row: span 1; }
@media (max-width: 900px) {
  .cg-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 160px);
    gap: 8px;
  }
  .cg-item-1 { grid-column: span 2; grid-row: span 1; }
  .cg-item-2, .cg-item-3, .cg-item-4, .cg-item-5 { grid-column: span 1; grid-row: span 1; }
  .cg-item::after { opacity: 1; font-size: 0.92rem; }
}

/* ================ RDV · ALTERNATIVE PLANITY ================ */
.rdv-alt { padding: 0 0 8px; margin-top: -22px; }
.rdv-alt-card {
  background: var(--white);
  border: 1px solid var(--gold-light);
  border-radius: 6px;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 10px 28px -14px rgba(139, 111, 73, 0.18);
}
.rdv-alt-text { flex: 1; min-width: 240px; }
.rdv-alt-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}
.rdv-alt-text strong { display: block; font-size: 1.02rem; color: var(--ink); font-weight: 500; font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; line-height: 1.25; margin-bottom: 4px; }
.rdv-alt-text small { font-size: 0.84rem; color: var(--ink-soft); line-height: 1.5; display: block; }
.rdv-alt-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 13px 22px;
}
.rdv-alt-btn svg { width: 16px; height: 16px; }

@media (max-width: 720px) {
  .rdv-alt { margin-top: 0; padding: 16px 0 0; }
  .rdv-alt-card { padding: 18px 18px 20px; gap: 14px; }
  .rdv-alt-btn { width: 100%; justify-content: center; padding: 13px 18px; }
}

/* ================ RDV · PLANNING PLANITY ================ */
.rdv-section { padding: 60px 0 80px; background: var(--bg); }
.rdv-layout { display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: start; }
.rdv-services {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px 22px;
  position: sticky;
  top: 110px;
}
.rdv-sidebar-title { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--ink); margin-bottom: 18px; font-weight: 400; }
.rdv-service-group { margin-bottom: 22px; }
.rdv-group-label {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.rdv-service {
  display: block;
  width: 100%;
  max-width: 100%;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px;
  margin: 0 0 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  overflow: hidden;
}
.rdv-service:last-child { margin-bottom: 0; }
.rdv-service-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  justify-content: space-between;
}
.rdv-service-name {
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.rdv-feat {
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-light);
  padding: 2px 7px;
  border-radius: 100px;
  font-weight: 500;
  line-height: 1.4;
}
.rdv-zone-tag {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.rdv-zone-S { background: #f1e6db; }
.rdv-zone-M { background: var(--gold-light); }
.rdv-zone-L { background: var(--gold); color: var(--white); }

/* ---- filtre catégories (chips) ---- */
.rdv-cat-filter {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 -22px 14px;
  padding: 2px 22px 8px;
}
.rdv-cat-filter::-webkit-scrollbar { display: none; }
.rdv-cat {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 7px 14px;
  font-family: inherit;
  font-size: 0.76rem;
  color: var(--ink-soft);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.rdv-cat:hover { border-color: var(--gold); color: var(--ink); }
.rdv-cat.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  font-weight: 500;
}

/* ---- recherche ---- */
.rdv-search-wrap {
  position: relative;
  margin-bottom: 18px;
}
.rdv-search-wrap::before {
  content: '';
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%239a847a' stroke-width='2' viewBox='0 0 24 24'><circle cx='11' cy='11' r='7'/><path d='M20 20l-4-4'/></svg>") no-repeat center/contain;
  opacity: 0.7;
}
.rdv-search-wrap input {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: var(--bg-warm);
  border: 1px solid transparent;
  border-radius: 100px;
  padding: 11px 16px 11px 38px;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--ink);
  transition: all 0.2s;
}
.rdv-search-wrap input:focus { outline: none; border-color: var(--gold); background: var(--white); }
.rdv-search-wrap input::placeholder { color: var(--muted); }

/* ---- liste ---- */
.rdv-services-list {
  max-height: 560px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  margin: 0 -4px;
}
.rdv-services-list::-webkit-scrollbar { width: 4px; }
.rdv-services-list::-webkit-scrollbar-thumb { background: var(--line); border-radius: 10px; }

/* Accordion */
.rdv-accordion .rdv-service-group {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0 4px 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.rdv-accordion .rdv-service-group.is-open {
  border-color: var(--gold);
  box-shadow: 0 6px 20px -14px rgba(139, 111, 73, 0.35);
}
.rdv-group-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: transparent;
  border: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  color: var(--ink);
  text-align: left;
  transition: background 0.15s;
}
.rdv-group-header:hover { background: var(--bg-warm); }
.rdv-accordion .is-open .rdv-group-header { background: var(--bg-warm); }
.rdv-group-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.96rem;
  flex-shrink: 0;
}
.rdv-accordion .is-open .rdv-group-icon {
  background: var(--gold);
  color: var(--ink);
}
.rdv-group-name {
  flex: 1;
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.rdv-group-count {
  background: var(--bg-warm);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.66rem;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  font-weight: 500;
}
.rdv-accordion .is-open .rdv-group-count {
  background: var(--white);
  color: var(--gold-dark);
}
.rdv-group-caret {
  font-size: 1.1rem;
  color: var(--muted);
  transition: transform 0.25s ease;
  display: inline-block;
  line-height: 1;
  flex-shrink: 0;
}
.rdv-accordion .is-open .rdv-group-caret {
  transform: rotate(90deg);
  color: var(--gold-dark);
}
.rdv-group-body {
  padding: 8px 12px 14px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  animation: rdv-expand 0.25s ease;
}
@keyframes rdv-expand {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.rdv-group-body .rdv-service {
  background: var(--white);
}
.rdv-services-empty {
  padding: 30px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  background: var(--bg-warm);
  border-radius: 6px;
}
.rdv-services-empty a { color: var(--gold-dark); text-decoration: underline; }
.rdv-service:hover { border-color: var(--gold); box-shadow: 0 4px 14px -10px rgba(139, 111, 73, 0.4); }
.rdv-service.active {
  background: var(--bg);
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 2px var(--gold-light), 0 10px 24px -16px rgba(139, 111, 73, 0.6);
}
.rdv-service.active .rdv-service-name { color: var(--ink); }
.rdv-service.active .rdv-service-meta { color: var(--gold-dark); }
.rdv-service-meta { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.02em; margin-top: 4px; line-height: 1.4; }

.rdv-trust {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--bg-warm);
  padding: 14px;
  border-radius: 4px;
  margin-top: 20px;
}
.rdv-trust svg { width: 20px; height: 20px; color: var(--gold-dark); flex-shrink: 0; margin-top: 2px; }
.rdv-trust strong { display: block; font-size: 0.86rem; color: var(--ink); font-weight: 500; }
.rdv-trust small { font-size: 0.76rem; color: var(--muted); }

.rdv-planning {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 28px 24px;
}
.rdv-planning-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.rdv-planning-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
  font-weight: 500;
}
.rdv-planning-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--ink); font-weight: 400; }
.rdv-week-nav { display: flex; gap: 6px; align-items: center; }
.rdv-week-nav button {
  background: var(--white);
  border: 1px solid var(--line);
  width: 36px; height: 36px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--ink);
  line-height: 1;
  transition: all 0.2s;
}
.rdv-week-nav button:hover { background: var(--bg-warm); border-color: var(--gold); }
.rdv-week-nav .rdv-today {
  width: auto;
  min-width: 160px;
  padding: 0 22px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  height: 44px;
  color: var(--ink);
  background: var(--bg-warm);
  border-color: var(--line);
}
.rdv-week-nav .rdv-today:hover {
  background: var(--gold-light);
  border-color: var(--gold);
}

/* ---- Planity-style : dates + périodes (matin/après-midi/soir) ---- */
.rdv-next-slot {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  grid-template-areas:
    "label arrow"
    "date arrow";
  gap: 2px 14px;
  width: 100%;
  max-width: 100%;
  background: var(--ink);
  color: var(--bg);
  border: 0;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 18px;
  cursor: pointer;
  transition: background 0.2s;
  text-align: left;
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  box-sizing: border-box;
  overflow: hidden;
}
.rdv-next-slot:hover { background: var(--gold-dark); }
.rdv-next-label {
  grid-area: label;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  min-width: 0;
}
.rdv-next-date {
  grid-area: date;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--bg);
  line-height: 1.25;
  min-width: 0;
  overflow-wrap: break-word;
}
.rdv-next-arrow {
  grid-area: arrow;
  align-self: center;
  font-size: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
}

/* ---- Badges couverture subtils (sur carte service) ---- */
.rdv-cov {
  display: inline-flex;
  align-items: center;
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  vertical-align: middle;
}
.rdv-cov-sub { background: #dde8de; color: var(--success); }
.rdv-cov-pkg { background: var(--gold-light); color: var(--gold-dark); }

/* ---- Panier multi-sélection ---- */
.rdv-cart {
  margin-top: 18px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  padding: 16px 18px;
  position: sticky;
  bottom: 10px;
  box-shadow: 0 10px 28px -12px rgba(27,27,27,0.45);
}
.rdv-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.rdv-cart-title {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.rdv-cart-clear {
  background: transparent;
  border: 0;
  color: #b7ada1;
  font-family: inherit;
  font-size: 0.74rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rdv-cart-clear:hover { color: var(--gold); }
.rdv-cart-items {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  max-height: 180px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.rdv-cart-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #3a2f29;
}
.rdv-cart-item:last-child { border-bottom: 0; }
.rdv-cart-item-text { flex: 1; min-width: 0; }
.rdv-cart-item-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--bg);
  font-weight: 500;
  line-height: 1.3;
}
.rdv-cart-item-text small {
  display: block;
  font-size: 0.72rem;
  color: #b7ada1;
  margin-top: 2px;
}
.rdv-cart-item-text small s { color: #8b7f73; }
.rdv-cart-tag {
  display: inline-block;
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 500;
  margin-left: 4px;
}
.rdv-cart-tag-inc { background: var(--success); color: #fff; }
.rdv-cart-tag-pkg { background: var(--gold); color: var(--ink); }
.rdv-cart-item-remove {
  background: transparent;
  border: 0;
  color: #b7ada1;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  flex-shrink: 0;
}
.rdv-cart-item-remove:hover { background: rgba(255,255,255,0.08); color: var(--gold); }
.rdv-cart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #3a2f29;
  gap: 10px;
}
.rdv-cart-totals {
  font-size: 0.82rem;
  color: #d9cdc2;
}
.rdv-cart-sep { margin: 0 6px; color: #8b7f73; }
.rdv-cart-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
  min-width: 0;
}
.rdv-cart-paylabel {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.rdv-cart-paynum {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--bg);
  font-weight: 500;
  line-height: 1;
}
.rdv-cart-breakdown {
  font-size: 0.68rem;
  color: #b7ada1;
  letter-spacing: 0.02em;
  line-height: 1.4;
  display: block;
  max-width: 100%;
}
.rdv-cart-saved { color: var(--success); font-weight: 500; }

/* ---- Calendrier mois (grille 7 jours) ---- */
.rdv-cal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.rdv-cal {
  margin-bottom: 22px;
  background: var(--bg-warm);
  border-radius: 8px;
  padding: 14px 12px 16px;
}
.rdv-cal.is-flash { animation: rdvCalFlash 0.45s ease; }
@keyframes rdvCalFlash {
  0%   { opacity: 0.3; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}
.rdv-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 6px;
  padding: 0 2px;
}
.rdv-cal-weekdays span {
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  padding: 6px 0;
}
.rdv-cal-weekdays .is-weekend { color: var(--gold-dark); }
.rdv-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.rdv-cal-empty { visibility: hidden; aspect-ratio: 1; }
.rdv-cal-day {
  -webkit-appearance: none;
  appearance: none;
  background: var(--white);
  border: 1px solid transparent;
  border-radius: 8px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
  transition: all 0.15s ease;
  padding: 0;
  position: relative;
}
.rdv-cal-day:hover:not(:disabled) { border-color: var(--gold); transform: scale(1.04); }
.rdv-cal-day:disabled { cursor: not-allowed; background: transparent; }
.rdv-cal-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 500;
}
.rdv-cal-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: transparent;
  display: block;
}
.rdv-cal-day.is-free .rdv-cal-dot { background: var(--gold-dark); }
.rdv-cal-day.is-full .rdv-cal-num { color: #c9bfb5; text-decoration: line-through; }
.rdv-cal-day.is-full .rdv-cal-dot { background: #dfd4c9; }
.rdv-cal-day.is-past .rdv-cal-num { color: #d9cdc2; }
.rdv-cal-day.is-past { background: transparent; }
.rdv-cal-day.is-closed { background: transparent; }
.rdv-cal-day.is-closed .rdv-cal-num { color: #d9cdc2; font-style: italic; font-size: 0.9rem; }
.rdv-cal-day.is-today { border-color: var(--gold); }
.rdv-cal-day.is-today::before {
  content: '';
  position: absolute;
  top: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.rdv-cal-day.is-selected {
  background: var(--ink) !important;
  border-color: var(--ink);
  color: var(--bg);
  box-shadow: 0 8px 20px -8px rgba(27,27,27,0.5);
}
.rdv-cal-day.is-selected .rdv-cal-num { color: var(--bg); text-decoration: none; }
.rdv-cal-day.is-selected .rdv-cal-dot { background: var(--gold); }
.rdv-cal-day.is-selected.is-today::before { background: var(--gold); }

/* Legend */
.rdv-legend-item { display: inline-flex; align-items: center; gap: 6px; }
.rdv-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.rdv-dot-free { background: var(--gold-dark); }
.rdv-dot-full { background: #dfd4c9; }
.rdv-dot-closed { background: transparent; border: 1px dashed #c9bfb5; }

/* Ancien sélecteur dates (masqué) */
.rdv-dates {
  display: none;
}
.rdv-dates-legacy {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 16px;
  margin: 0 -2px 18px;
  scrollbar-width: thin;
}
.rdv-dates::-webkit-scrollbar { height: 4px; }
.rdv-dates::-webkit-scrollbar-thumb { background: var(--line); border-radius: 10px; }
.rdv-date {
  -webkit-appearance: none;
  appearance: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 78px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  font-family: inherit;
  color: var(--ink);
  transition: all 0.2s ease;
  position: relative;
  box-sizing: border-box;
}
.rdv-date:hover:not(:disabled):not(.is-closed) { border-color: var(--gold); transform: translateY(-1px); }
.rdv-date.is-today { border-color: var(--gold); }
.rdv-date.is-today::after {
  content: "aujourd'hui";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.54rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--ink);
  padding: 2px 8px;
  border-radius: 100px;
  white-space: nowrap;
  font-weight: 500;
}
.rdv-date.is-selected {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.rdv-date.is-selected .rdv-date-weekday,
.rdv-date.is-selected .rdv-date-month,
.rdv-date.is-selected .rdv-date-count { color: #d9cdc2; }
.rdv-date.is-full:not(.is-selected) { opacity: 0.5; }
.rdv-date.is-full .rdv-date-count { color: #a38a7c; }
.rdv-date.is-closed { opacity: 0.35; cursor: not-allowed; }
.rdv-date-weekday {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.rdv-date-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 500;
}
.rdv-date-month {
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.rdv-date-count {
  margin-top: 4px;
  font-size: 0.66rem;
  color: var(--gold-dark);
  letter-spacing: 0.04em;
  font-weight: 500;
}

.rdv-periods { display: flex; flex-direction: column; gap: 18px; }
.rdv-periods-hint {
  background: var(--bg-warm);
  border: 1px dashed var(--line);
  padding: 28px 20px;
  text-align: center;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}
.rdv-periods-empty {
  background: var(--bg-warm);
  padding: 24px;
  border-radius: 6px;
  border-left: 3px solid var(--gold);
}
.rdv-periods-empty strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 6px; }
.rdv-periods-empty p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }

.rdv-periods-head h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 14px;
  text-transform: capitalize;
  line-height: 1.3;
}
.rdv-period {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px 20px 20px;
}
.rdv-period.is-empty { opacity: 0.55; background: var(--bg-warm); }
.rdv-period-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.rdv-period-header h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}
.rdv-period-header small { font-size: 0.76rem; color: var(--muted); }
.rdv-period-count {
  margin-left: auto;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
}
.rdv-period.is-empty .rdv-period-count { color: var(--muted); }

.rdv-chips {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.rdv-chips-empty { color: var(--muted); font-size: 0.86rem; font-style: italic; grid-column: 1 / -1; padding: 6px 0; }
.rdv-chip {
  -webkit-appearance: none;
  appearance: none;
  background: var(--bg-warm);
  border: 1px solid transparent;
  padding: 10px 6px;
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  letter-spacing: 0.02em;
  text-align: center;
}
.rdv-chip:hover { background: var(--gold-light); border-color: var(--gold); }
.rdv-chip.is-selected {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* Legacy grid — conservé pour compat, masqué */
.rdv-grid {
  display: none;
}
.rdv-day { display: flex; flex-direction: column; }
.rdv-day-head {
  padding: 10px 6px 14px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.rdv-day-head.is-today {
  position: relative;
}
.rdv-day-head.is-today::after {
  content: "aujourd'hui";
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--ink);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
}
.rdv-day-name {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.rdv-day-num { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--ink); line-height: 1; font-weight: 500; }
.rdv-day-month { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.1em; text-transform: lowercase; }

.rdv-slots {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 14px;
  max-height: 540px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.rdv-slots::-webkit-scrollbar { width: 4px; }
.rdv-slots::-webkit-scrollbar-thumb { background: var(--line); border-radius: 10px; }
.rdv-slot {
  background: var(--bg-warm);
  border: 1px solid transparent;
  padding: 8px 4px;
  border-radius: 4px;
  font-size: 0.82rem;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.rdv-slot:hover { background: var(--gold-light); border-color: var(--gold); }
.rdv-slot.is-selected {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.rdv-slot.is-full {
  background: transparent;
  color: #c9bfb5;
  cursor: not-allowed;
  text-decoration: line-through;
  opacity: 0.6;
}
.rdv-slot.is-full:hover { background: transparent; border-color: transparent; }
.rdv-day-empty {
  padding: 20px 0;
  text-align: center;
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rdv-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
  align-items: center;
}
.rdv-legend span { display: inline-flex; align-items: center; gap: 7px; }
.rdv-legend .dot { width: 10px; height: 10px; border-radius: 100px; display: inline-block; }
.rdv-legend .dot-free { background: var(--bg-warm); border: 1px solid var(--gold); }
.rdv-legend .dot-selected { background: var(--ink); }
.rdv-legend .dot-full { background: transparent; border: 1px dashed #c9bfb5; }
.rdv-planity { margin-left: auto; font-size: 0.72rem; color: var(--gold-dark); letter-spacing: 0.08em; }

/* Confirmation */
.rdv-confirm {
  margin-top: 22px;
  padding: 24px 26px 28px;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.rdv-confirm-head { margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.rdv-confirm-head h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--ink); margin: 6px 0 4px; font-weight: 500; }
.rdv-confirm-head small { color: var(--muted); font-size: 0.86rem; }
.rdv-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.rdv-form label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.rdv-form input, .rdv-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  border-radius: 3px;
  transition: border-color 0.2s;
  margin-top: 4px;
}
.rdv-form input:focus, .rdv-form textarea:focus { outline: none; border-color: var(--gold-dark); }
.rdv-form-full { display: block; margin-bottom: 14px; }
.rdv-form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 18px; line-height: 1.5; }
.rdv-form-check input { width: auto; margin-top: 3px; }
.rdv-form-check a { color: var(--gold-dark); }
.rdv-form-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

/* Succès */
.rdv-success {
  margin-top: 22px;
  padding: 36px 26px 32px;
  background: linear-gradient(135deg, var(--ink) 0%, #3a2f29 100%);
  color: var(--bg);
  border-radius: 6px;
  text-align: center;
}
.rdv-success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 18px;
  font-weight: 600;
}
.rdv-success h3 { color: var(--bg); font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; margin-bottom: 10px; font-weight: 400; }
.rdv-success p { color: #d9cdc2; max-width: 520px; margin: 0 auto 24px; font-size: 0.96rem; }
.rdv-success-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.rdv-success-actions .btn-outline { border-color: var(--gold); color: var(--gold); }
.rdv-success-actions .btn-outline:hover { background: var(--gold); color: var(--ink); }

@media (max-width: 1000px) {
  .rdv-layout { grid-template-columns: 1fr; }
  .rdv-services { position: static; }
}
@media (max-width: 720px) {
  .rdv-section { padding: 28px 0 60px; }
  .rdv-planning { padding: 20px 14px; }
  .rdv-planning-header { gap: 12px; flex-direction: column; align-items: stretch; }
  .rdv-planning-title { font-size: 1.15rem; }
  .rdv-week-nav { justify-content: space-between; }
  .rdv-week-nav .rdv-today { flex: 1; }
  .rdv-week-nav button { height: 40px; }

  .rdv-next-slot { padding: 12px 14px; gap: 10px; }
  .rdv-next-date { font-size: 1.05rem; }

  .rdv-week-nav { width: 100%; gap: 8px; }
  .rdv-week-nav .rdv-today {
    flex: 1;
    min-width: 0;
    font-size: 1.15rem;
    padding: 0 12px;
    height: 46px;
  }
  .rdv-week-nav button:not(.rdv-today) {
    flex: 0 0 46px;
    height: 46px;
  }

  .rdv-cal { padding: 10px 6px 12px; }
  .rdv-cal-grid { gap: 3px; }
  .rdv-cal-day { border-radius: 7px; }
  .rdv-cal-num { font-size: 0.95rem; }
  .rdv-cal-weekdays span { font-size: 0.62rem; padding: 4px 0; }

  .rdv-periods-head h3 { font-size: 1.15rem; }
  .rdv-period { padding: 14px 16px 16px; }
  .rdv-period-header h4 { font-size: 1rem; }
  .rdv-chips { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .rdv-chip { padding: 11px 4px; font-size: 0.84rem; }

  .rdv-legend { font-size: 0.72rem; gap: 12px; flex-direction: column; align-items: flex-start; }
  .rdv-planity { font-size: 0.68rem; }

  .rdv-services { padding: 18px 16px; overflow: hidden; }
  .rdv-service { padding: 13px 14px; }
  .rdv-cat-filter { margin: 0 -16px 12px; padding: 2px 16px 8px; }
  .rdv-services-list { max-height: 460px; }
  .rdv-sidebar-title { font-size: 1.15rem; margin-bottom: 14px; }

  .rdv-confirm { padding: 20px 16px; }
  .rdv-form-row { grid-template-columns: 1fr; gap: 10px; margin-bottom: 10px; }
  .rdv-form-actions { flex-direction: column-reverse; }
  .rdv-form-actions .btn { width: 100%; text-align: center; }
}

/* ================ PERSONA SWITCHER (démo) ================ */
.persona-switcher {
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 400;
  font-family: 'Inter', sans-serif;
}
.persona-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--bg);
  border: 0;
  border-radius: 100px;
  padding: 9px 14px 9px 10px;
  font-size: 0.74rem;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(27, 27, 27, 0.35);
  transition: background 0.2s;
}
.persona-trigger:hover { background: var(--gold-dark); }
.persona-badge {
  background: var(--gold);
  color: var(--ink);
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 100px;
  font-weight: 600;
}
.persona-current { font-weight: 500; letter-spacing: 0.02em; }
.persona-caret { font-size: 0.66rem; opacity: 0.8; margin-left: 2px; }
.persona-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 20px 40px -12px rgba(27,27,27,0.25), 0 6px 16px -10px rgba(27,27,27,0.15);
}
.persona-menu-head { padding: 4px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.persona-menu-head strong { display: block; font-size: 0.78rem; color: var(--ink); font-weight: 500; }
.persona-menu-head small { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.02em; }
.persona-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 9px 10px;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.persona-menu button:hover { background: var(--bg-warm); }
.persona-menu button.is-active { background: var(--bg-warm); }
.persona-menu button.is-active::after {
  content: '✓';
  margin-left: auto;
  color: var(--gold-dark);
  font-weight: 500;
}
.persona-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.88rem;
  font-weight: 500;
  flex-shrink: 0;
}
.persona-avatar-guest { background: var(--line); color: var(--muted); }
.persona-menu strong { display: block; font-size: 0.86rem; color: var(--ink); font-weight: 500; }
.persona-menu small { display: block; font-size: 0.72rem; color: var(--muted); margin-top: 1px; }

/* ================ RDV : bandeau connecté + variantes ================ */
.rdv-auth-banner {
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.rdv-auth-banner .rab-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  flex-shrink: 0;
}
.rdv-auth-banner .rab-text { flex: 1; min-width: 180px; }
.rdv-auth-banner .rab-hello { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--bg); }
.rdv-auth-banner .rab-sub { display: block; font-size: 0.82rem; color: #d9cdc2; margin-top: 2px; }
.rdv-auth-banner .rab-actions { display: flex; gap: 10px; margin-left: auto; }
.rdv-auth-banner .rab-link {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.rdv-auth-banner .rab-link:hover { border-color: var(--gold); }

.rdv-coverage {
  background: var(--bg-warm);
  border: 1px solid var(--gold-light);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.rdv-coverage-icon {
  width: 34px; height: 34px;
  background: var(--gold);
  color: var(--ink);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.rdv-coverage-text { flex: 1; }
.rdv-coverage-text strong { display: block; font-size: 0.95rem; color: var(--ink); font-weight: 500; }
.rdv-coverage-text small { display: block; font-size: 0.8rem; color: var(--ink-soft); margin-top: 2px; }
.rdv-coverage-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--gold-dark);
  font-weight: 500;
  flex-shrink: 0;
}
.rdv-coverage-price.rdv-coverage-value {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--gold-light);
  font-size: 1.05rem;
}

/* ================ Badge sync Planity ================ */
.planity-sync {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  font-size: 0.74rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.planity-sync-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(74, 124, 89, 0.5);
  animation: planitySyncPulse 2s infinite;
  flex-shrink: 0;
}
@keyframes planitySyncPulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 124, 89, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(74, 124, 89, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 124, 89, 0); }
}
.planity-sync strong { color: var(--ink); font-weight: 500; }

@media (max-width: 540px) {
  .persona-switcher { bottom: 12px; left: 12px; }
  .persona-menu { min-width: 240px; left: 0; right: auto; }
  .rdv-auth-banner { padding: 14px 16px; gap: 12px; }
  .rdv-auth-banner .rab-actions { margin-left: 0; width: 100%; }
}

/* ================ COOKIE BANNER ================ */
.cookie-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(27, 27, 27, 0.35);
  backdrop-filter: blur(3px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.cookie-backdrop.visible { opacity: 1; }

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 40px 80px -20px rgba(27, 27, 27, 0.45), 0 10px 30px -15px rgba(27, 27, 27, 0.25);
  padding: 24px 26px;
  z-index: 9999;
  transform: translateY(150%);
  transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 8px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-banner h4::before {
  content: '';
  display: inline-block;
  width: 22px; height: 22px;
  background: var(--gold-light);
  border-radius: 50%;
  background-image: radial-gradient(circle at 30% 30%, var(--gold) 3px, transparent 3px),
                    radial-gradient(circle at 70% 40%, var(--gold-dark) 2px, transparent 2px),
                    radial-gradient(circle at 45% 70%, var(--gold) 2.5px, transparent 2.5px);
}
.cookie-banner p {
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 18px;
}
.cookie-banner p a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn, .cookie-actions a.btn {
  padding: 12px 18px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  flex: 1;
  text-align: center;
  min-width: 0;
}
.cookie-actions .btn-outline { background: transparent; }

@media (max-width: 540px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    padding: 20px 18px 22px;
    max-width: none;
  }
  .cookie-banner h4 { font-size: 1.1rem; }
  .cookie-banner p { font-size: 0.82rem; margin-bottom: 14px; }
  .cookie-actions { flex-direction: column-reverse; gap: 8px; }
  .cookie-actions .btn, .cookie-actions a.btn { width: 100%; flex: unset; padding: 14px 18px; }
}

/* ================ PAGES LEGALES ================ */
.legal-body {
  padding: 60px 0 100px;
}
.legal-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  color: var(--ink);
  margin: 42px 0 14px;
  font-weight: 500;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.legal-body h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.legal-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  margin: 24px 0 10px;
  color: var(--ink);
  font-weight: 500;
}
.legal-body p, .legal-body li {
  font-size: 0.96rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
.legal-body p { margin-bottom: 14px; }
.legal-body ul { padding-left: 22px; margin: 10px 0 20px; }
.legal-body li { margin-bottom: 6px; }
.legal-body strong { color: var(--ink); font-weight: 500; }
.legal-body a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 2px; }
.legal-body .legal-note {
  background: var(--bg-warm);
  border-left: 3px solid var(--gold);
  padding: 16px 22px;
  margin: 20px 0;
  font-size: 0.9rem;
  border-radius: 2px;
}
.legal-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.9rem; }
.legal-body th, .legal-body td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.legal-body th { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--bg-warm); }
.legal-body code { background: var(--bg-warm); padding: 2px 6px; border-radius: 2px; font-size: 0.82rem; color: var(--ink); font-family: ui-monospace, SFMono-Regular, monospace; }

/* Cookies preferences UI */
.cookie-prefs { margin-top: 24px; }
.cookie-cat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px 22px;
  margin-bottom: 12px;
}
.cookie-cat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-cat-head strong { display: block; font-size: 1rem; color: var(--ink); font-weight: 500; margin-bottom: 2px; }
.cookie-cat-head small { display: block; font-size: 0.82rem; color: var(--muted); }
.cookie-cat-desc { margin-top: 14px; font-size: 0.86rem; color: var(--ink-soft); line-height: 1.6; padding-top: 12px; border-top: 1px solid var(--line); }
.cookie-switch {
  display: inline-block;
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}
.cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #d5c9bc;
  border-radius: 26px;
  transition: background 0.25s;
}
.cookie-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.25s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.cookie-switch input:checked + .cookie-slider { background: var(--gold-dark); }
.cookie-switch input:checked + .cookie-slider::before { transform: translateX(22px); }
.cookie-switch.is-disabled .cookie-slider { background: var(--gold); cursor: not-allowed; opacity: 0.7; }
.cookie-switch.is-disabled .cookie-slider::before { transform: translateX(22px); }

/* ================ MOBILE REFINEMENTS ================ */
@media (max-width: 720px) {
  .container, .container-narrow { padding: 0 18px; }

  /* Announcement bar — défilement continu (marquee) */
  .announce {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    padding: 7px 0;
    line-height: 1.4;
  }
  .announce-track {
    animation: announceMarquee 28s linear infinite;
  }
  .announce-item { padding-right: 24px; }
  .announce-item b { margin: 0 8px; }

  /* Header — slim, logo compact, bien opaque pour séparer du contenu */
  header {
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 0 rgba(27,27,27,0.02), 0 6px 18px -12px rgba(27,27,27,0.15);
  }
  .nav { padding: 12px 0; }
  .logo { gap: 3px; }
  .logo strong { font-size: 1.2rem; letter-spacing: 0.2em; padding-left: 0.2em; }
  .logo small { font-size: 0.44rem; letter-spacing: 0.42em; padding-left: 0.42em; }
  .logo small::before, .logo small::after { width: 8px; }
  .nav-cta { gap: 12px; }
  .nav-cta .btn-primary {
    padding: 8px 14px;
    font-size: 0.64rem;
    letter-spacing: 0.14em;
  }
  .nav-user-icon { width: 36px; height: 36px; }
  .nav-user-icon svg { width: 19px; height: 19px; stroke-width: 2; }
  .menu-toggle {
    font-size: 1.7rem;
    padding: 4px 10px;
    line-height: 1;
    margin-left: 4px;
    color: var(--ink);
  }

  /* Headings */
  h1 { font-size: 2rem; line-height: 1.1; letter-spacing: -0.015em; }
  h2 { font-size: 1.7rem; line-height: 1.15; }
  h3 { font-size: 1.25rem; }

  /* Hero — image d'abord, plein cadre, contenu dessous */
  .hero { padding: 0 0 48px; }
  .hero .container { padding: 0; }
  .hero-grid { display: flex; flex-direction: column; gap: 0; }
  .hero-visual {
    order: -1;
    aspect-ratio: 4/3;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
  }
  .hero-content {
    padding: 28px 20px 0;
    max-width: none;
  }
  .hero-lead { font-size: 0.96rem; margin-top: 16px; max-width: none; }
  .hero-actions { margin-top: 24px; gap: 10px; flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; padding: 15px 20px; font-size: 0.76rem; letter-spacing: 0.18em; }
  .hero-meta { gap: 18px; margin-top: 30px; padding-top: 22px; flex-wrap: wrap; justify-content: space-between; }
  .hero-meta > div { flex: 1 1 calc(33% - 14px); min-width: 85px; }
  .hero-meta strong { font-size: 1.5rem; margin-bottom: 3px; }
  .hero-meta span { font-size: 0.62rem; letter-spacing: 0.12em; }

  /* Badge hero sur image */
  .hero-badge {
    bottom: 14px; left: 14px;
    padding: 10px 14px;
    max-width: 200px;
  }
  .hero-badge strong { font-size: 0.85rem; }
  .hero-badge small { font-size: 0.68rem; }
  .hero-price-tag {
    top: 14px; right: 14px;
    padding: 10px 14px;
  }
  .hero-price-tag strong { font-size: 1.4rem; }
  .hero-price-tag small { font-size: 0.6rem; }
  /* Ruban mobile — plus compact */
  .hero-ribbon {
    bottom: 20px;
    padding: 10px 18px 10px 20px;
    gap: 12px;
  }
  .ribbon-tag { font-size: 0.58rem; letter-spacing: 0.22em; }
  .ribbon-price { font-size: 1.35rem; }
  .ribbon-price small { font-size: 0.72rem; }
  .lowest-price-badge {
    font-size: 0.66rem;
    padding: 7px 12px;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
  }

  /* Sections — moins de padding */
  section { padding: 56px 0; }
  section.tight { padding: 36px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head p { font-size: 0.96rem; margin-top: 14px; }

  /* Boutons génériques */
  .btn { padding: 14px 22px; font-size: 0.76rem; letter-spacing: 0.14em; }

  /* Page hero (sous-pages) — même logique image-first */
  .page-hero { padding: 0 0 36px; }
  .page-hero .container { padding: 0; }
  .page-hero-grid { display: flex; flex-direction: column; gap: 0; }
  .page-hero-visual { order: -1; border-radius: 0; aspect-ratio: 4/3; }
  .page-hero-content { padding: 26px 18px 0; }
  .breadcrumb { font-size: 0.76rem; margin-bottom: 18px; }

  /* WhatsApp */
  .whatsapp-float {
    width: 54px; height: 54px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    right: 14px;
  }
  .whatsapp-float svg { width: 26px; height: 26px; }

  /* Trust band - images/icônes plus lisibles */
  .trust-banner { padding: 24px 0; }
  .trust-row { gap: 18px !important; }
  .trust-item { padding: 0 !important; }
}

@media (max-width: 380px) {
  h1 { font-size: 1.75rem; }
  .hero-meta strong { font-size: 1.35rem; }
  .hero-meta > div { flex: 1 1 100%; display: flex; align-items: baseline; gap: 10px; text-align: left; }
  .hero-meta > div strong { margin-bottom: 0; }
}

/* ============================================================
   AUDIT MOBILE — fixes globaux pour respiration et lisibilité
   ============================================================ */

/* Conteneurs : padding minimal mais cohérent avec les carrousels (-18px) */
@media (max-width: 380px) {
  .container, .container-narrow { padding: 0 18px; }
}

/* ============================================================
   FIX DÉFINITIF débordement horizontal mobile
   ============================================================ */
@media (max-width: 720px) {
  html, body {
    overflow-x: clip !important;
    max-width: 100vw;
    width: 100%;
  }
  /* Tous les éléments respectent box-sizing border-box */
  *, *::before, *::after { box-sizing: border-box; }

  /* Interdit aux conteneurs de section de dépasser la viewport.
     IMPORTANT : on utilise overflow-x: clip (et non hidden) sur le header
     pour préserver position: sticky. */
  body > section,
  body > main,
  body > footer,
  body > nav,
  body > div:not(.menu-backdrop):not(.mobile-menu),
  .container,
  .container-narrow,
  .funnel-wrap,
  .funnel-main,
  .step-panel,
  .ec-layout,
  .ec-main,
  .ec-card,
  .recap,
  .funnel-recap-col {
    max-width: 100vw;
    overflow-x: hidden;
  }
  body > header {
    max-width: 100vw;
    overflow-x: clip;
  }

  /* MAIS autoriser le scroll horizontal SEULEMENT sur les carrousels intentionnels */
  .abos-grid,
  .pillars-grid,
  .feature-grid,
  .formula-grid,
  .zones-ref-grid,
  .ec-nav,
  .reviews-stream,
  [class*="rdv-cat-filter"] {
    overflow-x: auto !important;
    overflow-y: visible !important;
  }

  /* Tableaux : wrapper scroll horizontal */
  table { max-width: 100%; }

  /* Éviter qu'une image hero/illustration dépasse */
  img, video, iframe, svg { max-width: 100%; height: auto; }
}

/* Exemple italique sous chaque formule (uniformisé sur tout le site) */
.pillar > p.formula-example-line,
.formula-example-line {
  margin: 14px 0 18px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold-dark);
  line-height: 1.4;
  text-align: center;
  padding: 10px 14px;
  background: var(--bg-warm);
  border-radius: 4px;
  letter-spacing: 0.01em;
  flex: 0 0 auto;
  flex-grow: 0;
}
.formula-example-line::before {
  content: '✦ ';
  font-style: normal;
  margin-right: 2px;
  opacity: 0.65;
}

/* Grilles statiques en colonnes multiples — forcer carrousel ou colonne unique */
@media (max-width: 720px) {
  /* Forcer toutes les pillars-grid / feature-grid / steps en carrousel
     même quand un style inline grid-template-columns est appliqué */
  .pillars-grid[style*="grid-template-columns"],
  .feature-grid[style*="grid-template-columns"],
  .steps[style*="grid-template-columns"] {
    grid-template-columns: none !important;
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 4px 18px 14px;
    margin: 0 -18px;
    scrollbar-width: none;
  }
  .pillars-grid[style*="grid-template-columns"]::-webkit-scrollbar,
  .feature-grid[style*="grid-template-columns"]::-webkit-scrollbar,
  .steps[style*="grid-template-columns"]::-webkit-scrollbar { display: none; }
  .pillars-grid[style*="grid-template-columns"] > *,
  .feature-grid[style*="grid-template-columns"] > *,
  .steps[style*="grid-template-columns"] > * {
    flex: 0 0 78%;
    scroll-snap-align: start;
    min-width: 0;
  }

  /* Featured blog hero : empiler */
  .blog-featured-grid,
  [class*="featured-grid"] {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding: 22px !important;
  }

  /* Grilles 2 col internes IA/expertise → 1 col */
  .ia-grid { grid-template-columns: 1fr !important; gap: 14px; }
  .ia-meta { padding: 14px 16px; }
}

/* Petits écrans : padding espace client plus mince */
@media (max-width: 500px) {
  .ec-main { padding: 18px 14px 36px; }
  .ec-card { padding: 18px 14px; }
  .feature-grid, .pillars-grid { gap: 10px; }
}

/* Contract box : plus lisible et compact sur très petits écrans */
@media (max-width: 600px) {
  .contract-box { max-height: 320px; padding: 22px 18px; font-size: 0.84rem; line-height: 1.55; }
}
