/* =========================================================
   AKOYA DENTAL CLINIC — feuille de style principale
   Palette inspirée de la nacre : ivoire perlé, vert pin profond,
   or doux. Le "chapelet de perles" est l'élément signature,
   utilisé comme séparateur de sections dans tout le site.
   ========================================================= */

:root {
  /* Couleurs */
  --ivory:        #F6F2E9;
  --ivory-soft:   #EFE8D8;
  --sage:         #E4ECE5;
  --teal:         #10332F;
  --teal-light:   #1F5A52;
  --teal-soft:    #2C6E63;
  --gold:         #B9975B;
  --gold-light:   #E1CFA0;
  --charcoal:     #23282A;
  --white:        #FFFFFF;

  /* Typographie */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body:    'Manrope', -apple-system, sans-serif;

  /* Échelle */
  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 28px;
  --shadow-soft: 0 20px 45px -25px rgba(16, 51, 47, 0.35);
  --shadow-card: 0 12px 30px -18px rgba(16, 51, 47, 0.25);
  --container: 1180px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Utilitaires ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-light), var(--gold) 70%);
  box-shadow: 0 0 0 3px rgba(185, 151, 91, 0.18);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--teal);
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  max-width: 720px;
}

.section-sub {
  color: #4B5450;
  max-width: 560px;
  margin-top: 14px;
  font-size: 1.02rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-primary {
  background: var(--teal);
  color: var(--ivory);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--teal-light); }
.btn-outline {
  border: 1.5px solid var(--teal);
  color: var(--teal);
}
.btn-outline:hover { background: var(--teal); color: var(--ivory); transform: translateY(-2px); }
.btn-gold {
  background: var(--gold);
  color: var(--teal);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ---------- Chapelet de perles (séparateur signature) ---------- */
.pearl-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2.6vw, 22px);
  padding: 46px 0;
  position: relative;
}
.pearl-divider::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185,151,91,0.55), transparent);
  transform: translateY(-50%);
}
.pearl-divider span {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff, var(--gold-light) 45%, var(--gold) 100%);
  box-shadow: 0 1px 3px rgba(16,51,47,0.25);
}
.pearl-divider span:nth-child(3n) { width: 14px; height: 14px; }

/* ---------- En-tête / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 242, 233, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(16, 51, 47, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 48px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--teal);
}
.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
}
.nav-links a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--charcoal);
  padding: 6px 2px;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  transition: right 0.28s ease;
}
.nav-links a:hover { color: var(--teal-light); }
.nav-links a:hover::after { right: 0; }
.nav-links a.active { color: var(--teal); }
.nav-links a.active::after { right: 0; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 22px; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--teal); border-radius: 2px; }

@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--ivory);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px clamp(20px, 5vw, 48px) 30px;
    gap: 18px;
    border-bottom: 1px solid rgba(16,51,47,0.1);
    transform: translateY(-130%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--teal);
  color: rgba(246, 242, 233, 0.88);
  padding: 64px 0 26px;
  margin-top: 100px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-grid h4 {
  color: var(--ivory);
  font-size: 1rem;
  margin-bottom: 16px;
}
.site-footer .brand { color: var(--ivory); margin-bottom: 14px; }
.footer-about p { font-size: 0.92rem; color: rgba(246,242,233,0.7); max-width: 320px; }
.footer-links a, .footer-contact li {
  display: block;
  font-size: 0.92rem;
  color: rgba(246,242,233,0.78);
  margin-bottom: 10px;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(246,242,233,0.15);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(246,242,233,0.55);
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Bouton WhatsApp flottant ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 26px; height: 26px; fill: var(--ivory); }

/* ---------- Assistant IA flottant ---------- */
.ai-chat-float {
  position: fixed;
  bottom: 96px;
  right: 24px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease;
  border: none;
  cursor: pointer;
}
.ai-chat-float:hover { transform: scale(1.08); }
.ai-chat-float svg { width: 26px; height: 26px; stroke: var(--teal); fill: none; }
.ai-chat-float .ai-dot {
  position: absolute; top: 4px; right: 4px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal); border: 2px solid var(--ivory);
}

.ai-chat-panel {
  position: fixed;
  bottom: 96px;
  right: 24px;
  z-index: 250;
  width: min(360px, calc(100vw - 40px));
  height: min(520px, calc(100vh - 140px));
  background: var(--ivory);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-soft);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.ai-chat-panel.open { display: flex; }

.ai-chat-head {
  background: var(--teal);
  color: var(--ivory);
  padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.ai-chat-head .who { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.92rem; }
.ai-chat-head .who img { width: 26px; height: 26px; }
.ai-chat-head button { background: none; border: none; color: var(--ivory); font-size: 1.4rem; cursor: pointer; line-height: 1; }

.ai-chat-messages {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.ai-msg { max-width: 84%; padding: 10px 14px; border-radius: 14px; font-size: 0.88rem; line-height: 1.45; }
.ai-msg.bot { align-self: flex-start; background: var(--white); color: var(--charcoal); border-bottom-left-radius: 4px; }
.ai-msg.user { align-self: flex-end; background: var(--teal); color: var(--ivory); border-bottom-right-radius: 4px; }
.ai-msg.typing { align-self: flex-start; background: var(--white); display: flex; gap: 4px; padding: 12px 16px; }
.ai-msg.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: aiTypingDot 1s infinite ease-in-out; }
.ai-msg.typing span:nth-child(2) { animation-delay: 0.15s; }
.ai-msg.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes aiTypingDot { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.ai-chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid rgba(16,51,47,0.08); flex-shrink: 0; background: var(--white); }
.ai-chat-form input {
  flex: 1; padding: 11px 14px; border-radius: 999px; border: 1.5px solid rgba(16,51,47,0.15);
  font-family: inherit; font-size: 0.88rem; background: var(--ivory);
}
.ai-chat-form input:focus { outline: none; border-color: var(--gold); }
.ai-chat-form button {
  width: 42px; height: 42px; border-radius: 50%; border: none; background: var(--teal);
  display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0;
}
.ai-chat-form button svg { width: 17px; height: 17px; fill: var(--ivory); }
.ai-chat-form button:disabled { opacity: 0.5; cursor: default; }

@media (max-width: 480px) {
  .ai-chat-float { bottom: 88px; }
  .ai-chat-panel { bottom: 88px; right: 16px; width: calc(100vw - 32px); }
}

/* ---------- HERO (page d'accueil) — ouverture façon nacre ---------- */
.hero-stage {
  position: relative;
  width: 100%;
  min-height: 640px;
  height: 90vh;
  max-height: 880px;
  overflow: hidden;
  background: var(--teal);
}
@media (max-width: 720px) {
  .hero-stage { height: 78vh; min-height: 560px; }
}

.hero-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}
.hero-media-fallback {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--teal), var(--teal-soft));
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(16,51,47,0.82) 0%, rgba(16,51,47,0.38) 55%, rgba(16,51,47,0.55) 100%);
  z-index: 2;
}

.hero-shell {
  position: absolute; top: -10%; width: 56%; height: 120%;
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(225,207,160,0.3), transparent 55%),
    linear-gradient(135deg, var(--teal-soft), var(--teal) 70%);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
  transition: transform 1.2s cubic-bezier(.76,0,.24,1);
  z-index: 5;
}
.hero-shell-left { left: 0; border-radius: 0 45% 35% 0 / 0 60% 40% 0; transform-origin: left center; }
.hero-shell-right { right: 0; border-radius: 45% 0 0 35% / 60% 0 0 40%; transform-origin: right center; }
.hero-stage.open .hero-shell-left { transform: translateX(-105%) rotateY(-8deg); }
.hero-stage.open .hero-shell-right { transform: translateX(105%) rotateY(8deg); }

.hero-logo-pearl {
  position: absolute; top: 50%; left: 50%; z-index: 6;
  width: 84px; height: 84px;
  transform: translate(-50%, -50%) scale(1);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff 0%, var(--gold-light) 55%, var(--gold) 100%);
  box-shadow: 0 0 0 0 rgba(225,207,160,0.5);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  animation: heroPearlGlow 2.2s ease-in-out infinite;
  transition: transform 0.7s ease 0.15s, opacity 0.7s ease 0.15s;
}
.hero-logo-pearl img { width: 100%; height: 100%; object-fit: contain; }
@keyframes heroPearlGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225,207,160,0.45); }
  50% { box-shadow: 0 0 0 18px rgba(225,207,160,0); }
}
.hero-stage.open .hero-logo-pearl { transform: translate(-50%, -50%) scale(0); opacity: 0; }

.hero-content {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 20px;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.9s ease 0.6s, transform 0.9s ease 0.6s;
}
.hero-stage.content-visible .hero-content { opacity: 1; transform: translateY(0); }
.hero-content .eyebrow { color: var(--gold-light); }
.hero-content .eyebrow::before {
  background: radial-gradient(circle at 30% 30%, #fff, var(--gold-light) 70%);
}
.hero-content h1 {
  color: var(--ivory);
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  margin-bottom: 16px;
}
.hero-content h1 em { font-style: italic; color: var(--gold-light); }
.hero-content .hero-tagline {
  color: rgba(246,242,233,0.75);
  max-width: 480px;
  margin: 0 auto 26px;
  font-size: 1.02rem;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 34px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.service-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--sage);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; stroke: var(--teal); }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { font-size: 0.92rem; color: #545C57; }
.service-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
}
.service-more::after { content: " →"; }

@media (max-width: 920px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- Formulaire de rendez-vous ---------- */
.appointment {
  background: var(--ivory-soft);
  padding: 70px 0;
  margin-top: 40px;
}
.appointment-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: center;
}
.appointment-intro .section-title { max-width: 460px; }
.appointment-perks {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.appointment-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--teal);
  font-weight: 600;
}
.appointment-perks li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff, var(--gold-light) 45%, var(--gold) 100%);
  flex-shrink: 0;
}

.appointment-form {
  background: var(--white);
  border-radius: var(--radius-l);
  padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--shadow-soft);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 7px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-s);
  border: 1.5px solid rgba(16,51,47,0.15);
  background: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--charcoal);
  transition: border-color 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-field textarea { resize: vertical; min-height: 90px; }

.form-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.form-actions .btn { flex: 1; justify-content: center; min-width: 200px; }
.btn-whatsapp {
  background: #1F5A52;
  color: var(--ivory);
}
.btn-whatsapp:hover { background: var(--teal-light); transform: translateY(-2px); }
.btn-whatsapp svg { width: 18px; height: 18px; fill: var(--ivory); }

.form-note {
  font-size: 0.78rem;
  color: #7C847E;
  margin-top: 14px;
  text-align: center;
}
.form-success {
  display: none;
  background: var(--sage);
  color: var(--teal);
  border-radius: var(--radius-s);
  padding: 14px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.form-success.show { display: block; }

@media (max-width: 920px) {
  .appointment-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .form-actions .btn { min-width: 100%; }
}

/* ---------- Centre d'apprentissage (3D) ---------- */
.learn-topics {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  margin: 30px 0 8px;
  scrollbar-width: none;
}
.learn-topics::-webkit-scrollbar { display: none; }
.learn-topic-btn {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(16,51,47,0.15);
  background: var(--white);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.88rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}
.learn-topic-btn svg { width: 18px; height: 18px; stroke: currentColor; }
.learn-topic-btn.active, .learn-topic-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--ivory);
}

.learn-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 10px;
}
@media (max-width: 900px) {
  .learn-layout { grid-template-columns: 1fr; }
}

.learn-photo-wrap {
  position: relative;
  background: linear-gradient(160deg, var(--ivory-soft), var(--sage));
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4/3.4;
}
.learn-photo-wrap img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: none;
}
.learn-photo-wrap img.loaded { display: block; }
.learn-photo-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: var(--teal-light);
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 24px;
}

.learn-info {
  background: var(--white);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
  padding: clamp(26px, 4vw, 38px);
}
.learn-info h2 { font-size: 1.5rem; margin-bottom: 12px; }
.learn-info p.desc { color: #4B5450; margin-bottom: 22px; font-size: 0.97rem; }
.learn-info h3 { font-size: 1rem; margin-bottom: 12px; }
.learn-steps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.learn-step { display: flex; gap: 12px; align-items: flex-start; }
.learn-step .n {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--sage); color: var(--teal); font-size: 0.78rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.learn-step p { font-size: 0.88rem; color: #4B5450; padding-top: 3px; }

/* ---------- Bandeau de confiance ---------- */
.trust-strip {
  background: var(--ivory-soft);
  padding: 46px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.trust-grid .num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--teal);
}
.trust-grid .label {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: #5A625D;
  margin-top: 4px;
}
@media (max-width: 720px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CTA final ---------- */
.cta-band {
  background: var(--teal);
  border-radius: var(--radius-l);
  padding: 60px clamp(24px, 6vw, 70px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  color: var(--ivory);
  margin: 30px auto 0;
}
.cta-band h2 { color: var(--ivory); font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 480px; }
.cta-band p { color: rgba(246,242,233,0.75); margin-top: 10px; max-width: 420px; }

/* ---------- Page header (pages intérieures) ---------- */
.page-header {
  padding: 60px 0 20px;
  text-align: center;
}
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-header p { color: #4B5450; max-width: 560px; margin: 16px auto 0; }

/* ---------- Galerie ---------- */
.filter-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 30px 0 10px;
}
.filter-btn {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(16,51,47,0.18);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  transition: all 0.2s ease;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--ivory);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  background: var(--sage);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(16,51,47,0.85);
  color: var(--ivory);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 30px 16px 14px;
  background: linear-gradient(0deg, rgba(16,51,47,0.85), transparent);
  color: var(--ivory);
  font-size: 0.85rem;
  font-weight: 600;
}
.gallery-video { position: relative; }
.gallery-video .play-badge {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.gallery-video .play-badge span {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff 0%, var(--gold-light) 45%, var(--gold) 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px -6px rgba(16,51,47,0.55);
  transition: transform 0.3s ease;
}
.gallery-video .play-badge span::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid rgba(246,242,233,0.6);
  animation: playPulse 2.4s ease-out infinite;
}
@keyframes playPulse {
  0% { transform: scale(0.85); opacity: 0.9; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { opacity: 0; }
}
.gallery-item:hover .play-badge span { transform: scale(1.08); }
.gallery-video .play-badge svg { width: 18px; height: 18px; fill: var(--teal); margin-left: 2px; }
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-light);
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-align: center;
  padding: 16px;
  background: linear-gradient(135deg, var(--sage), var(--ivory-soft));
}

@media (max-width: 920px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(16,20,19,0.92);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox-content { max-width: 720px; width: 100%; text-align: center; }
.lightbox-content img { width: 100%; border-radius: var(--radius-m); }

.lightbox-content .video-frame {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
  transform: scale(0.94);
  opacity: 0;
  animation: lightboxGrow 0.28s ease forwards;
}
.lightbox-content .video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@keyframes lightboxGrow {
  to { transform: scale(1); opacity: 1; }
}
.lightbox-close {
  position: absolute; top: 24px; right: 30px;
  color: var(--ivory); font-size: 2rem; line-height: 1;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover { background: rgba(246,242,233,0.12); }
.lightbox-caption {
  display: inline-block;
  color: var(--ivory);
  margin-top: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(246,242,233,0.1);
}

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); }
.blog-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--sage), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  font-family: var(--font-display);
}
.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.blog-body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.blog-body h3 { font-size: 1.12rem; }
.blog-body p { font-size: 0.9rem; color: #545C57; flex: 1; }
.blog-meta {
  font-size: 0.78rem;
  color: #8A928D;
  margin-top: 4px;
}
.blog-readmore {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
  margin-top: 6px;
}
.blog-readmore::after { content: " →"; }

@media (max-width: 920px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---------- Localisation ---------- */
.location-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}
.map-wrap {
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/3.4;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

.hours-card, .info-card {
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 32px;
  box-shadow: var(--shadow-card);
  margin-bottom: 22px;
}
.hours-card h3, .info-card h3 { margin-bottom: 18px; font-size: 1.2rem; }
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid rgba(16,51,47,0.08);
  font-size: 0.94rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-row .day { font-weight: 600; color: var(--teal); }
.hours-row .closed { color: #B4433A; font-weight: 600; }
.hours-row .status-open {
  color: var(--teal-soft);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
  font-size: 0.92rem;
}
.info-list li:last-child { margin-bottom: 0; }
.info-list .ic {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--sage);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-list .ic svg { width: 18px; height: 18px; stroke: var(--teal); }
.info-list strong { display: block; color: var(--teal); margin-bottom: 2px; }
.info-list span { color: #545C57; }

@media (max-width: 880px) {
  .location-layout { grid-template-columns: 1fr; }
}

/* ---------- Animations légères au scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
/* ---------- Fenêtre de lecture d'article ---------- */
.article-modal {
  position: fixed;
  inset: 0;
  background: rgba(16, 20, 19, 0.55);
  backdrop-filter: blur(3px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  z-index: 300;
  padding: 5vh 20px;
  overflow-y: auto;
}
.article-modal.open { display: flex; }
.article-modal-inner {
  position: relative;
  background: var(--white);
  width: 100%;
  max-width: 720px;
  border-radius: var(--radius-l);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-soft);
  transform: scale(0.94);
  opacity: 0;
  animation: articleGrow 0.28s ease forwards;
}
@keyframes articleGrow {
  to { transform: scale(1); opacity: 1; }
}
.article-modal-close {
  position: absolute;
  top: 18px; right: 22px;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--teal);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.article-modal-close:hover { background: var(--sage); }
.article-modal-cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.article-modal-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 8px;
  padding-right: 30px;
}
.article-modal-meta {
  display: block;
  font-size: 0.82rem;
  color: #8A928D;
  margin-bottom: 26px;
}
.article-modal-body p {
  margin-bottom: 16px;
  color: #3E4642;
  font-size: 0.98rem;
}
.article-modal-body h3 {
  font-size: 1.08rem;
  margin: 26px 0 10px;
  color: var(--teal);
}
.article-modal-body ul {
  margin: 0 0 16px;
  padding-left: 4px;
}
.article-modal-body li {
  list-style: none;
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 0.96rem;
  color: #3E4642;
}
.article-modal-body li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff, var(--gold-light) 45%, var(--gold) 100%);
}
.article-modal-body strong { color: var(--teal); }

@media (max-width: 600px) {
  .article-modal { padding: 0; align-items: stretch; background: var(--white); }
  .article-modal-inner {
    max-width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    border-radius: 0;
    background: var(--white);
  }
}

/* =========================================================
   SLIDER AVANT / APRÈS INTERACTIF
   ========================================================= */
.ba-slider { padding: 0; }
.ba-compare {
  position: absolute;
  inset: 0;
  cursor: ew-resize;
  user-select: none;
  touch-action: pan-y;
}
.ba-img { position: absolute; inset: 0; overflow: hidden; background: var(--ivory-soft); }
.ba-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ba-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: var(--teal-light);
  font-family: var(--font-display);
  font-size: 0.85rem;
  padding: 16px;
}
.ba-fallback-before { background: linear-gradient(135deg, var(--ivory-soft), var(--sage)); }
.ba-fallback-after { background: linear-gradient(135deg, var(--sage), var(--gold-light)); }
.ba-before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.2s ease;
}
.ba-after { z-index: 1; }
.ba-slider.dragging .ba-before { transition: none; }
.ba-line {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 0;
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;
  transition: left 0.2s ease;
}
.ba-slider.dragging .ba-line { transition: none; }
.ba-line::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 2px;
  background: rgba(246,242,233,0.9);
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(16,51,47,0.35);
}
.ba-handle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff 0%, var(--gold-light) 45%, var(--gold) 100%);
  box-shadow: 0 8px 20px -6px rgba(16,51,47,0.55), 0 0 0 4px rgba(246,242,233,0.9);
  display: flex; align-items: center; justify-content: center;
  pointer-events: auto;
  cursor: ew-resize;
  transition: transform 0.25s ease;
}
.ba-handle img { width: 24px; height: 24px; object-fit: contain; border-radius: 50%; }
.ba-compare:hover .ba-handle,
.ba-handle:focus-visible { transform: translate(-50%, -50%) scale(1.1); }
.ba-handle:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.ba-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  background: rgba(16,51,47,0.85);
  color: var(--ivory);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  pointer-events: none;
  transition: background 0.2s ease;
}
.ba-badge.is-after { background: rgba(185,151,91,0.92); color: var(--teal); }
.ba-slider .gallery-tag { display: none; }
.ba-slider .gallery-caption { z-index: 4; }

/* =========================================================
   TRANSITION "NACRE" ENTRE LES PAGES
   ========================================================= */
.nacre-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nacre-transition.leave { pointer-events: all; }

/* Le logo grossit pendant la navigation, puis rapetisse à l'arrivée sur la nouvelle page */
.nacre-logo {
  position: relative;
  z-index: 1;
  width: 60px; height: 60px;
  transform: scale(0.3);
  opacity: 0;
}
.nacre-logo img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(16,51,47,0.4));
}
.nacre-transition.covered .nacre-logo { transition: none !important; transform: scale(1); opacity: 1; }
.nacre-transition.leave .nacre-logo {
  animation: nacreLogoGrow 0.5s cubic-bezier(0.6, 0, 0.4, 1) forwards;
}
.nacre-transition.enter .nacre-logo {
  animation: nacreLogoShrink 0.75s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
@keyframes nacreLogoGrow {
  0% { transform: scale(0.3); opacity: 0; }
  60% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes nacreLogoShrink {
  0% { transform: scale(1); opacity: 1; }
  40% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.3); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .nacre-transition { display: none; }
}

/* =========================================================
   REFLET NACRÉ AU SURVOL (cartes services / galerie / blog)
   ========================================================= */
.service-card,
.gallery-item,
.blog-card {
  position: relative;
  overflow: hidden;
}
.service-card::after,
.gallery-item:not(.ba-slider)::after,
.blog-card::after {
  content: "";
  position: absolute;
  top: -60%; left: -35%;
  width: 35%; height: 220%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.55) 45%, rgba(225,207,160,0.7) 55%, transparent 100%);
  transform: translateX(-260%) rotate(8deg);
  transition: transform 0.85s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: overlay;
}
.service-card:hover::after,
.gallery-item:not(.ba-slider):hover::after,
.blog-card:hover::after {
  transform: translateX(420%) rotate(8deg);
}
@media (prefers-reduced-motion: reduce) {
  .service-card::after, .gallery-item::after, .blog-card::after { display: none; }
}

/* =========================================================
   BANDEAU DE TÉMOIGNAGES DÉFILANT (collier de perles)
   ========================================================= */
.testimonials-band { padding: 90px 0; overflow: hidden; }
.testimonial-marquee {
  margin-top: 44px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.testimonial-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: clamp(18px, 3vw, 30px);
  animation: testimonialScroll 42s linear infinite;
}
.testimonial-marquee:hover .testimonial-track,
.testimonial-marquee:focus-within .testimonial-track { animation-play-state: paused; }
@keyframes testimonialScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.testimonial-bead {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 6px 16px -6px rgba(16,51,47,0.35), 0 0 0 3px rgba(185,151,91,0.18);
  display: flex; align-items: center; justify-content: center;
  padding: 6px;
}
.testimonial-bead img { width: 100%; height: 100%; object-fit: contain; }
.testimonial-card {
  flex: none;
  width: min(360px, 78vw);
  background: var(--white);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
  padding: 26px 28px;
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.testimonial-stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 0.12em; margin-bottom: 10px; }
.testimonial-quote { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--charcoal); line-height: 1.5; }
.testimonial-author { margin-top: 14px; font-size: 0.85rem; font-weight: 700; color: var(--teal); }
.testimonial-author span { display: block; font-weight: 500; color: #7A8480; font-size: 0.78rem; margin-top: 2px; }

.google-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 10px 18px;
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  color: var(--teal);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.google-rating-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.grb-score { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.grb-stars { color: var(--gold); letter-spacing: 0.08em; font-size: 0.85rem; }
.grb-count { font-size: 0.82rem; font-weight: 600; color: #5A625D; }
@media (max-width: 500px) {
  .grb-count { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-track { animation: none; }
}
@media (max-width: 600px) {
  .testimonials-band { padding: 60px 0; }
}
