/* ==========================================================================
   Cabinet Dentaire Dr. Morine El Mehdi — Feuille de style principale
   Design system : "Luxury Medical & High-Tech Clean"
   ========================================================================== */

:root {
  /* Couleurs */
  --navy-950: #0B132B;
  --navy-800: #1C2541;
  --navy-700: #253358;
  --white: #FFFFFF;
  --pearl: #F8FAFC;
  --pearl-200: #EEF2F7;
  --slate-500: #64748B;
  --slate-700: #334155;

  --cyan: #06B6D4;
  --sky: #0EA5E9;
  --gold: #F59E0B;

  --gradient-accent: linear-gradient(120deg, var(--cyan), var(--sky));
  --gradient-gold: linear-gradient(120deg, #FBBF24, var(--gold));
  --gradient-navy: linear-gradient(160deg, var(--navy-950), var(--navy-800));

  /* Typographie */
  --font-display: "Outfit", "Syne", sans-serif;
  --font-body: "Plus Jakarta Sans", "Inter", sans-serif;

  /* Rayons & ombres */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --shadow-soft: 0 10px 40px -12px rgba(11, 19, 43, 0.18);
  --shadow-glow-cyan: 0 0 0 1px rgba(6, 182, 212, 0.15), 0 20px 60px -20px rgba(6, 182, 212, 0.45);
  --shadow-glow-gold: 0 20px 50px -18px rgba(245, 158, 11, 0.5);

  --header-h: 76px;
  --topbar-h: 40px;
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--topbar-h) + 16px);
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.icon { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 24px;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.nowrap { white-space: nowrap; }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: var(--shadow-glow-cyan);
}
.btn--primary:hover { box-shadow: 0 24px 60px -16px rgba(6, 182, 212, 0.55); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn--outline {
  background: transparent;
  color: var(--navy-800);
  border-color: rgba(11, 19, 43, 0.2);
}
.btn--outline:hover { border-color: var(--cyan); color: var(--cyan); }

.btn--full { width: 100%; }

/* --------------------------------------------------------------------------
   Barre supérieure
   -------------------------------------------------------------------------- */
.top-bar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  height: var(--topbar-h);
  position: relative;
  z-index: 60;
}
.top-bar__inner {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.top-bar__status { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.6);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.55); }
  70% { box-shadow: 0 0 0 6px rgba(6, 182, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}
.top-bar__note { color: rgba(255, 255, 255, 0.5); display: none; }
.top-bar__links { display: flex; align-items: center; gap: 20px; }
.top-bar__link { display: flex; align-items: center; gap: 6px; transition: color 0.2s ease; }
.top-bar__link:hover { color: var(--cyan); }

@media (min-width: 900px) {
  .top-bar__note { display: inline; }
}
@media (max-width: 720px) {
  .top-bar__link--hide-sm { display: none; }
}

/* --------------------------------------------------------------------------
   Header / Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 19, 43, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: padding 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(11, 19, 43, 0.92);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6);
}

.navbar {
  max-width: 1240px;
  margin-inline: auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--white); flex-shrink: 0; }
.brand__mark { width: 34px; height: 34px; color: var(--cyan); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: 0.2px; }
.brand__text em { font-style: normal; font-size: 0.7rem; color: rgba(255, 255, 255, 0.55); letter-spacing: 0.06em; text-transform: uppercase; }

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  margin-inline: auto;
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a { color: rgba(255, 255, 255, 0.78); position: relative; padding: 6px 0; transition: color 0.2s ease; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gradient-accent);
  transition: width 0.25s ease;
  border-radius: 2px;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: none; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-actions .btn { padding: 10px 18px; font-size: 0.85rem; }

.nav-toggle {
  margin-left: auto;
  width: 40px; height: 40px;
  border: none; background: transparent;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-actions { display: flex; }
  .nav-toggle { display: none; }
}

/* Menu mobile */
@media (max-width: 1023px) {
  .nav-links {
    position: fixed;
    inset: calc(var(--header-h) + var(--topbar-h)) 16px auto 16px;
    background: var(--navy-800);
    border-radius: var(--radius-md);
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    box-shadow: var(--shadow-soft);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .nav-links.is-open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { display: block; width: 100%; padding: 10px 6px; }
  .nav-links::after { display: none; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--gradient-navy);
  color: var(--white);
  padding: 90px 0 130px;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -20%; right: -10%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.35), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at top, black, transparent 75%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

@media (min-width: 980px) {
  .hero__inner { grid-template-columns: 1.15fr 0.85fr; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gradient-accent); border-radius: 2px; }
.eyebrow--dark { color: var(--sky); }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.04;
  margin: 0;
  letter-spacing: -0.01em;
}
.hero__title em { font-style: normal; background: var(--gradient-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.reveal-line { display: block; overflow: hidden; }
.reveal-inner { display: inline-block; will-change: transform; }

.smile-underline { width: 220px; height: 26px; margin: 14px 0 20px; display: block; }
.smile-underline path { stroke: var(--gold); stroke-width: 4; }

.hero__subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 0 34px;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
}
@media (min-width: 640px) {
  .quick-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.qa-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  line-height: 1.35;
}
.qa-btn strong { color: var(--white); font-size: 0.85rem; font-weight: 600; }
.qa-btn__icon { font-size: 1.1rem; }
.qa-btn:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.1); border-color: rgba(6, 182, 212, 0.5); }
.qa-btn--accent { background: rgba(6, 182, 212, 0.14); border-color: rgba(6, 182, 212, 0.4); }
.qa-btn--gold { background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.35); }
.qa-btn--gold:hover { border-color: var(--gold); }
.qa-btn { border: 1px solid rgba(255, 255, 255, 0.12); appearance: none; text-align: left; }

.hero__aside {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.hero__photo-frame {
  position: relative;
  width: min(360px, 82vw);
  aspect-ratio: 1 / 1;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-glow-cyan);
}
.hero__photo-glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 50% 30%, rgba(6, 182, 212, 0.4), transparent 65%);
  z-index: 0;
  pointer-events: none;
}
.hero__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
}
.hero__photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: linear-gradient(200deg, rgba(11, 19, 43, 0) 55%, rgba(11, 19, 43, 0.55) 100%);
  pointer-events: none;
}

.rating-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  width: min(320px, 100%);
  text-align: center;
  box-shadow: var(--shadow-glow-cyan);
  animation: float-y 6s ease-in-out infinite;
  z-index: 3;
}
.hero .rating-card { margin-top: -56px; }
.rating-card__stars { color: var(--gold); font-size: 1.4rem; letter-spacing: 4px; margin-bottom: 6px; }
.rating-card__score { font-family: var(--font-display); font-size: 3.2rem; font-weight: 800; color: var(--white); }
.rating-card__score span { font-size: 1.4rem; color: rgba(255, 255, 255, 0.55); font-weight: 500; }
.rating-card__label { font-weight: 600; color: var(--white); margin: 4px 0 2px; }
.rating-card__sub { font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); margin: 0; }

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.floating-tag {
  position: absolute;
  padding: 9px 16px;
  border-radius: var(--radius-full);
  background: rgba(11, 19, 43, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--white);
  box-shadow: var(--shadow-soft);
  display: none;
}
@media (min-width: 640px) {
  .floating-tag { display: inline-flex; align-items: center; gap: 6px; }
  .floating-tag::before { content: "●"; color: var(--cyan); font-size: 0.6rem; }
}
.floating-tag--top { top: -6px; left: -10px; animation: float-y 5s ease-in-out infinite; }
.floating-tag--bottom { bottom: 6px; right: -18px; animation: float-y 7s ease-in-out infinite reverse; }

.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255, 255, 255, 0.35);
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-cue span { width: 4px; height: 8px; border-radius: 2px; background: var(--cyan); animation: scroll-cue 1.8s ease infinite; }
@keyframes scroll-cue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { opacity: 0; }
}

/* --------------------------------------------------------------------------
   Sections génériques
   -------------------------------------------------------------------------- */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy-950);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.section-title--light { color: var(--white); }
.section-lead {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--slate-500);
  max-width: 620px;
  margin: 0 0 46px;
}
.section-lead--light { color: rgba(255, 255, 255, 0.7); }

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.services { padding: 110px 0; background: var(--pearl); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--white);
  border: 1px solid rgba(11, 19, 43, 0.06);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.service-card:hover { box-shadow: var(--shadow-glow-cyan); border-color: rgba(6, 182, 212, 0.25); }
.service-card__icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(14, 165, 233, 0.12));
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.service-card h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy-950); margin: 0 0 10px; }
.service-card p { font-size: 0.92rem; line-height: 1.6; color: var(--slate-500); margin: 0; }

/* --------------------------------------------------------------------------
   À propos / Cabinet
   -------------------------------------------------------------------------- */
.about { padding: 110px 0; background: var(--white); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 980px) { .about__grid { grid-template-columns: 0.85fr 1.15fr; } }

.about__glass-card {
  background: var(--gradient-navy);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.about__glass-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(6, 182, 212, 0.35), transparent 55%);
}
.about__stat { position: relative; display: flex; align-items: baseline; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.about__stat:last-child { border-bottom: none; padding-bottom: 0; }
.about__stat-value { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--white); min-width: 78px; }
.about__stat-label { color: rgba(255, 255, 255, 0.68); font-size: 0.88rem; font-weight: 500; }

.about__content p { line-height: 1.75; color: var(--slate-500); margin: 0 0 16px; }
.about__list { display: flex; flex-direction: column; gap: 12px; margin: 22px 0 30px; }
.about__list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.94rem;
  color: var(--slate-700);
}
.about__list li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gradient-accent);
}
.about__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------------------
   Galerie (placeholders photo — à remplacer par de vraies photos)
   -------------------------------------------------------------------------- */
.gallery {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(4, 1fr); } }

.gallery__tile {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  border: 1.5px dashed rgba(11, 19, 43, 0.18);
  background: linear-gradient(155deg, var(--pearl-200), var(--pearl));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: border-color 0.25s ease, transform 0.25s ease;
  overflow: hidden;
  position: relative;
}
.gallery__tile:hover { border-color: var(--cyan); transform: translateY(-3px); }
.gallery__icon { font-size: 1.8rem; opacity: 0.65; }
.gallery__tile figcaption { font-size: 0.78rem; font-weight: 600; color: var(--slate-500); text-align: center; padding: 0 10px; }

.gallery__tile--photo {
  border-style: solid;
  border-color: rgba(11, 19, 43, 0.08);
  box-shadow: var(--shadow-soft);
}
.gallery__tile--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery__tile--photo figcaption {
  position: relative;
  z-index: 1;
  margin-top: auto;
  width: 100%;
  padding: 10px 12px;
  color: var(--white);
  text-align: left;
  background: linear-gradient(0deg, rgba(11, 19, 43, 0.82), rgba(11, 19, 43, 0));
}

.gallery__note {
  margin: 18px 0 0;
  font-size: 0.8rem;
  color: var(--slate-500);
}
.gallery__note code {
  background: rgba(11, 19, 43, 0.06);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.76rem;
}

/* --------------------------------------------------------------------------
   Localisation
   -------------------------------------------------------------------------- */
.location { padding: 110px 0 120px; background: var(--pearl); }
.location__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 46px;
}
@media (min-width: 980px) { .location__grid { grid-template-columns: 1.3fr 0.9fr; } }

.location__map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11, 19, 43, 0.08);
}
.location__map { width: 100%; height: 440px; background: var(--pearl-200); }

.location__map-fallback {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 32px;
  background: linear-gradient(155deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  transition: opacity 0.35s ease;
}
.location__map-fallback.is-hidden { opacity: 0; pointer-events: none; }
.location__map-fallback__pin { font-size: 2.2rem; }
.location__map-fallback__title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin: 0; }
.location__map-fallback__address { font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); margin: 0 0 6px; line-height: 1.6; }

.location__info {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11, 19, 43, 0.06);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.location__info h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy-950); margin: 0; }

.info-row { display: flex; gap: 14px; align-items: flex-start; }
.info-row__icon { font-size: 1.2rem; }
.info-row strong { display: block; color: var(--navy-950); font-size: 0.92rem; margin-bottom: 3px; }
.info-row p { margin: 0; font-size: 0.88rem; color: var(--slate-500); line-height: 1.55; }
.info-row a:hover { color: var(--cyan); }

.leaflet-popup-content-wrapper { border-radius: 14px; font-family: var(--font-body); }
.map-popup { font-size: 0.85rem; line-height: 1.5; }
.map-popup strong { display: block; font-family: var(--font-display); color: var(--navy-950); margin-bottom: 4px; }
.map-popup a { color: var(--cyan); font-weight: 600; }

.map-pin {
  width: 34px; height: 34px;
  border-radius: 50% 50% 50% 0;
  background: var(--gradient-accent);
  transform: rotate(-45deg);
  box-shadow: 0 6px 18px -4px rgba(6, 182, 212, 0.6);
  display: flex; align-items: center; justify-content: center;
  animation: pin-pulse 2.4s ease-in-out infinite;
}
.map-pin::after { content: ""; width: 12px; height: 12px; background: var(--white); border-radius: 50%; transform: rotate(45deg); }
@keyframes pin-pulse {
  0%, 100% { box-shadow: 0 6px 18px -4px rgba(6, 182, 212, 0.6); }
  50% { box-shadow: 0 6px 26px -2px rgba(6, 182, 212, 0.9); }
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact { padding: 110px 0 120px; background: var(--gradient-navy); color: var(--white); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 980px) { .contact__grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }

.contact__direct { display: flex; flex-direction: column; gap: 14px; margin-top: 34px; }
.contact__direct-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem; font-weight: 500;
  width: fit-content;
  transition: background 0.25s ease, transform 0.25s ease;
}
.contact__direct-link:hover { background: rgba(255, 255, 255, 0.12); transform: translateX(4px); }

.contact-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 0.82rem; font-weight: 600; color: rgba(255, 255, 255, 0.75); }
.form-row input,
.form-row select,
.form-row textarea {
  background: rgba(11, 19, 43, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  color: var(--white);
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.25);
}
.form-row select option { color: var(--navy-950); }

.form-row.has-error input,
.form-row.has-error select,
.form-row.has-error textarea { border-color: #F87171; }
.form-error { font-size: 0.76rem; color: #FCA5A5; min-height: 14px; }

.form-feedback {
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.88rem;
  display: none;
}
.form-feedback.is-visible { display: block; }
.form-feedback.is-success { background: rgba(6, 182, 212, 0.15); border: 1px solid rgba(6, 182, 212, 0.4); color: #A5F3FC; }
.form-feedback.is-error { background: rgba(248, 113, 113, 0.12); border: 1px solid rgba(248, 113, 113, 0.4); color: #FCA5A5; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.7); padding: 80px 0 0; position: relative; }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }

.brand--footer { color: var(--white); margin-bottom: 16px; }
.footer__slogan { font-size: 0.9rem; color: rgba(255, 255, 255, 0.5); max-width: 260px; line-height: 1.6; }

.footer__col h4 { font-family: var(--font-display); font-size: 0.95rem; color: var(--white); margin: 0 0 18px; }
.footer__col ul { display: flex; flex-direction: column; gap: 11px; font-size: 0.86rem; }
.footer__col a:hover { color: var(--cyan); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 24px 0 32px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

.back-to-top {
  position: absolute;
  right: 24px; top: -24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: var(--white);
  border: none;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow-cyan);
  transition: transform 0.25s ease;
}
.back-to-top:hover { transform: translateY(-4px); }

/* --------------------------------------------------------------------------
   Widget flottant
   -------------------------------------------------------------------------- */
.floating-widget {
  position: fixed;
  bottom: 24px; right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 70;
}
.floating-widget__btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease;
}
.floating-widget__btn svg { width: 26px; height: 26px; fill: currentColor; }
.floating-widget__btn:hover { transform: scale(1.08); }
.floating-widget__btn--whatsapp {
  background: #25D366;
  animation: magnetic-pulse 2.6s ease-in-out infinite;
}
.floating-widget__btn--phone { background: var(--gradient-accent); }

@keyframes magnetic-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  60% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* --------------------------------------------------------------------------
   Toast (partage de contact)
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 96px; left: 50%;
  transform: translate(-50%, 16px);
  background: var(--navy-950);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 80;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   Utilitaires d'animation (contrôlés par animations.js)
   -------------------------------------------------------------------------- */
/* IMPORTANT : tout le contenu est visible par défaut (pas d'opacity:0 ici).
   C'est animations.js qui masque puis révèle les éléments au chargement,
   uniquement si GSAP a bien pu se charger. Ainsi, si une librairie externe
   ne se charge pas (pas de connexion, bloqueur, etc.), le site reste
   entièrement lisible au lieu d'afficher une page "vide". */
[data-tilt] { transition: transform 0.15s ease-out; }
