/* ═══════════════════════════════════════════════════
   OrthoMennecy — Design System v2
   Direction : Medical Premium × Humain × Moderne
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Tokens ─────────────────────────────────────── */
:root {
  /* Couleurs */
  --ink:       #0f1f2e;       /* bleu nuit profond */
  --ink-60:    rgba(15,31,46,.6);
  --cream:     #f8f5f0;       /* fond chaud ivoire */
  --white:     #ffffff;
  --sage:      #4a9e8f;       /* teal humain */
  --sage-light:#e8f5f2;
  --sage-dark: #2f7a6d;
  --coral:     #e8634a;       /* accent chaleur */
  --gold:      #c9a84c;       /* accent premium */
  --gray-1:    #f2ede8;
  --gray-2:    #d9d1c7;
  --gray-3:    #9e968e;

  /* Typo */
  --serif:     'DM Serif Display', Georgia, serif;
  --sans:      'DM Sans', 'Optima', Candara, sans-serif;

  /* Espace */
  --r-sm:   8px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   40px;

  /* Ombres */
  --shadow-sm:  0 2px 8px rgba(15,31,46,.08);
  --shadow-md:  0 8px 32px rgba(15,31,46,.12);
  --shadow-lg:  0 24px 64px rgba(15,31,46,.16);

  /* Transitions */
  --ease: cubic-bezier(.25,.46,.45,.94);
}

/* ── Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typographie ────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; }

p { font-size: 1rem; font-weight: 300; color: var(--ink-60); }

/* ── Layout helpers ──────────────────────────────── */
.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}
.section { padding: clamp(60px, 8vw, 120px) 0; }
.section--alt { background: var(--white); }
.section--ink { background: var(--ink); color: var(--white); }
.section--sage { background: var(--sage-light); }

/* ── Header / Nav ────────────────────────────────── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all .4s var(--ease);
}
#header.scrolled {
  background: rgba(248,245,240,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.nav-logo__name {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--white);
  transition: color .3s;
}
#header.scrolled .nav-logo__name { color: var(--ink); }

.nav-logo__sub {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  transition: color .3s;
}
#header.scrolled .nav-logo__sub { color: var(--sage); }

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: .9rem;
  color: var(--white);
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  padding: 8px 18px;
  border-radius: 50px;
  transition: all .3s;
}
#header.scrolled .nav-phone {
  color: var(--ink);
  background: var(--sage-light);
  border-color: var(--sage);
}
.nav-phone:hover {
  background: var(--sage) !important;
  border-color: var(--sage) !important;
  color: var(--white) !important;
}
.nav-phone svg { width: 14px; height: 14px; }

.burger {
  width: 44px; height: 44px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  cursor: pointer;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  transition: background .3s;
}
#header.scrolled .burger {
  background: var(--gray-1);
  border-color: var(--gray-2);
}
.burger:hover { background: var(--sage) !important; border-color: var(--sage) !important; }
.burger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all .35s var(--ease);
}
#header.scrolled .burger span { background: var(--ink); }
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Menu Overlay ────────────────────────────────── */
#nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: grid;
  grid-template-columns: 1fr 380px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease);
}
#nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.nav-overlay__bg {
  background: var(--ink);
  transform: translateX(-100%);
  transition: transform .5s var(--ease);
}
#nav-overlay.open .nav-overlay__bg { transform: translateX(0); }

.nav-overlay__panel {
  background: var(--cream);
  transform: translateX(100%);
  transition: transform .5s var(--ease) .05s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 48px;
}
#nav-overlay.open .nav-overlay__panel { transform: translateX(0); }

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 40px;
}
.nav-links a {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-2);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: color .3s, opacity .4s var(--ease), transform .4s var(--ease);
}
#nav-overlay.open .nav-links a {
  opacity: 1;
  transform: translateY(0);
}
#nav-overlay.open .nav-links a:nth-child(1) { transition-delay: .15s; }
#nav-overlay.open .nav-links a:nth-child(2) { transition-delay: .2s; }
#nav-overlay.open .nav-links a:nth-child(3) { transition-delay: .25s; }
#nav-overlay.open .nav-links a:nth-child(4) { transition-delay: .3s; }
#nav-overlay.open .nav-links a:nth-child(5) { transition-delay: .35s; }
#nav-overlay.open .nav-links a:nth-child(6) { transition-delay: .4s; }
#nav-overlay.open .nav-links a:nth-child(7) { transition-delay: .45s; }
#nav-overlay.open .nav-links a:nth-child(8) { transition-delay: .5s; }
#nav-overlay.open .nav-links a:nth-child(9) { transition-delay: .55s; }
#nav-overlay.open .nav-links a:nth-child(10) { transition-delay: .6s; }

.nav-links a:hover { color: var(--sage); }
.nav-links a .nav-num {
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 500;
  color: var(--sage);
  letter-spacing: .1em;
  min-width: 20px;
}

.nav-contact-block {
  background: var(--ink);
  border-radius: var(--r-lg);
  padding: 24px;
  color: var(--white);
}
.nav-contact-block p { color: rgba(255,255,255,.6); font-size: .85rem; margin-bottom: 6px; }
.nav-contact-block a { color: var(--white); font-weight: 500; font-size: 1.1rem; }
.nav-contact-block a:hover { color: var(--sage); }

/* ── Hero ────────────────────────────────────────── */
#hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(60px, 8vw, 100px);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--ink);
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .45;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(15,31,46,.3) 0%,
    rgba(15,31,46,.85) 70%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sage);
  background: rgba(74,158,143,.12);
  border: 1px solid rgba(74,158,143,.3);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.4; transform:scale(1.3); }
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-title em {
  font-style: italic;
  color: var(--sage);
}
.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,.7);
  max-width: 520px;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sage);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 500;
  font-size: .95rem;
  transition: all .3s var(--ease);
}
.btn-primary:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74,158,143,.35);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.35);
  font-weight: 400;
  font-size: .95rem;
  transition: all .3s var(--ease);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
}
.hero-stats {
  display: flex;
  gap: 32px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
}
.hero-stat__num {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--white);
  line-height: 1;
}
.hero-stat__label {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 4px;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Section intro ────────────────────────────────── */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.intro-label::before {
  content: '';
  width: 32px; height: 1.5px;
  background: var(--sage);
}
.intro-grid p {
  margin-top: 20px;
  font-size: 1.05rem;
  line-height: 1.75;
}
.intro-img-wrap {
  position: relative;
}
.intro-img-wrap img {
  width: 100%;
  border-radius: var(--r-xl);
  aspect-ratio: 4/5;
  object-fit: cover;
}
.intro-img-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 16px;
}
.intro-img-badge__icon {
  width: 48px; height: 48px;
  background: var(--sage-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.intro-img-badge__text strong {
  display: block;
  font-size: 1.4rem;
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1;
}
.intro-img-badge__text span {
  font-size: .8rem;
  color: var(--gray-3);
}

/* ── Traitements ─────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .intro-label { justify-content: center; }
.section-header p {
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 1.05rem;
}

.traitements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trait-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.trait-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.trait-card:hover img { transform: scale(1.06); }
.trait-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,31,46,.88) 40%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.trait-card__tag {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 8px;
}
.trait-card h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.trait-card p {
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  line-height: 1.6;
}
.trait-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--sage);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s;
}
.trait-card:hover .trait-card__link {
  opacity: 1;
  transform: translateY(0);
}

/* ── Bons à savoir / Conseils ──────────────────────── */
.conseils-flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.conseil-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 20px;
  border: 1px solid var(--gray-1);
  transition: box-shadow .3s, transform .3s;
}
.conseil-item:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.conseil-item__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.conseil-item__text strong {
  display: block;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}
.conseil-item__text span {
  font-size: .85rem;
  color: var(--gray-3);
  line-height: 1.5;
}

/* ── Cabinet photos ──────────────────────────────── */
.photos-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 12px;
}
.photo-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
}
.photo-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.photo-item:hover img { transform: scale(1.04); }
.photo-item:first-child { grid-row: 1 / 3; }

/* ── Horaires / Info pratique ───────────────────── */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.info-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.info-card__icon {
  width: 52px; height: 52px;
  background: var(--sage-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}
.info-card h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.horaires-list { display: flex; flex-direction: column; gap: 12px; }
.horaire-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-1);
  font-size: .92rem;
}
.horaire-row:last-child { border-bottom: none; padding-bottom: 0; }
.horaire-day { font-weight: 500; color: var(--ink); }
.horaire-time { color: var(--gray-3); font-size: .87rem; }
.horaire-closed { color: var(--gray-3); font-style: italic; }
.info-tel {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--sage-light);
  border-radius: var(--r-md);
  padding: 16px 20px;
  margin-top: 20px;
  font-weight: 500;
  color: var(--sage-dark);
  font-size: 1.05rem;
  transition: background .3s;
}
.info-tel:hover { background: var(--sage); color: var(--white); }

.adresse-block { margin-top: 20px; }
.adresse-block p {
  font-size: .95rem;
  margin-bottom: 8px;
  line-height: 1.7;
  color: var(--ink-60);
}
.map-img {
  border-radius: var(--r-md);
  overflow: hidden;
  margin-top: 16px;
}
.map-img img { width: 100%; }

/* ── CTA bande ──────────────────────────────────── */
.cta-band {
  background: var(--sage);
  border-radius: var(--r-xl);
  padding: 56px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 80px 0;
}
.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  max-width: 500px;
}
.cta-band h2 em { font-style: italic; opacity: .8; }
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--sage-dark);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all .3s;
}
.btn-white:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Footer ─────────────────────────────────────── */
#footer {
  background: var(--ink);
  color: var(--white);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 32px;
}
.footer-brand p {
  color: rgba(255,255,255,.45);
  font-size: .88rem;
  margin: 14px 0 24px;
  line-height: 1.7;
  max-width: 280px;
}
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: background .3s;
}
.social-btn:hover { background: var(--sage); }
.footer-col h4 {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--sage); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: rgba(255,255,255,.25);
}
.footer-bottom a { color: rgba(255,255,255,.35); transition: color .2s; }
.footer-bottom a:hover { color: var(--sage); }

/* ── Page header (internes) ──────────────────────── */
.page-header {
  padding: 140px 0 72px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(74,158,143,.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-header .intro-label { color: var(--sage); }
.page-header .intro-label::before { background: var(--sage); }
.page-header h1 { color: var(--white); margin-top: 10px; }
.page-header p { color: rgba(255,255,255,.55); max-width: 560px; margin-top: 16px; }

/* ── Accordion ───────────────────────────────────── */
.accordion { display: flex; flex-direction: column; gap: 8px; }
.acc-item {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-1);
  overflow: hidden;
  transition: box-shadow .3s;
}
.acc-item.open { box-shadow: var(--shadow-sm); }
.acc-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 500;
  font-size: .98rem;
  color: var(--ink);
  gap: 16px;
  transition: color .2s;
  user-select: none;
}
.acc-q:hover { color: var(--sage); }
.acc-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gray-1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .8rem;
  transition: all .3s;
}
.acc-item.open .acc-icon {
  background: var(--sage);
  color: var(--white);
  transform: rotate(45deg);
}
.acc-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease), padding .3s;
  padding: 0 24px;
  color: var(--ink-60);
  font-size: .95rem;
  line-height: 1.75;
}
.acc-item.open .acc-a {
  max-height: 600px;
  padding: 0 24px 24px;
}

/* ── Cards génériques ────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-img { aspect-ratio: 16/9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 24px; }
.card-tag {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 8px;
}
.card-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card-body p { font-size: .9rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--sage);
  transition: gap .2s;
}
.card-link:hover { gap: 10px; }

/* ── Bloc info (prise en charge, qualité, etc.) ─── */
.info-blocks { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.info-block {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 36px;
  border-top: 3px solid var(--sage);
  box-shadow: var(--shadow-sm);
}
.info-block__num {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--sage-light);
  line-height: 1;
  margin-bottom: 16px;
}
.info-block h3 { font-size: 1.3rem; margin-bottom: 12px; }
.info-block p { font-size: .92rem; }

/* ── Tableau ─────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: .92rem;
}
th {
  background: var(--ink);
  color: var(--white);
  padding: 14px 20px;
  text-align: left;
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: .05em;
}
td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--gray-1);
  color: var(--ink-60);
}
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: var(--gray-1); }

/* ── Équipe ──────────────────────────────────────── */
.equipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.equipe-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.equipe-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.equipe-avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid var(--sage-light);
}
.equipe-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.equipe-card__role {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sage);
}
.equipe-card p { margin-top: 14px; font-size: .88rem; }

/* ── Video grid ──────────────────────────────────── */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 24px; }
.video-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.video-wrap {
  position: relative;
  padding-top: 56.25%;
  background: var(--ink);
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-card__body { padding: 16px 20px; }
.video-card__body h4 { font-size: 1rem; font-family: var(--sans); font-weight: 500; }

/* ── Urgence blocks ──────────────────────────────── */
.urgence-intro {
  background: linear-gradient(135deg, #fff3f0 0%, #fff8f6 100%);
  border: 1px solid #f5d0c8;
  border-left: 4px solid var(--coral);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  margin-bottom: 40px;
}
.urgence-intro p { color: var(--ink); font-size: .95rem; }

/* ── Contact form ────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: .04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--gray-2);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(74,158,143,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%;
  background: var(--sage);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 14px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .3s, transform .2s;
}
.form-submit:hover { background: var(--sage-dark); transform: translateY(-2px); }

/* ── Animations ──────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  animation: fadeUp .7s var(--ease) forwards;
}
.fade-up.d1 { animation-delay: .1s; }
.fade-up.d2 { animation-delay: .2s; }
.fade-up.d3 { animation-delay: .3s; }
.fade-up.d4 { animation-delay: .4s; }
.fade-up.d5 { animation-delay: .5s; }

/* Intersection observer reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
  .traitements-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .info-blocks { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  #nav-overlay { grid-template-columns: 0 1fr; }
  .nav-overlay__bg { display: none; }
  .nav-overlay__panel { border-radius: 0; padding: 100px 32px 48px; }
  .cta-band { flex-direction: column; text-align: center; padding: 40px 28px; }
}
@media (max-width: 768px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-img-wrap { display: none; }
  .traitements-grid { grid-template-columns: 1fr; }
  .photos-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .photos-grid .photo-item:first-child { grid-row: auto; grid-column: 1/-1; }
  .info-grid { grid-template-columns: 1fr; }
  .info-blocks { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { gap: 20px; }
  .conseils-flow { grid-template-columns: 1fr; }
  .nav-phone { display: none; }
}
