/* ============================================
   Cabinet Dr. Luis Barba — V5
   Palette basée sur le vert du logo
   Ton: informatif, chaleureux, moderne
   ============================================ */

/* --- Variables CSS --- */
:root {
  /* Palette logo-vert */
  --color-primary: #1A5E5A;
  --color-primary-dark: #134A47;
  --color-primary-light: #E8F5F2;
  --color-primary-muted: #A3D4CC;
  --color-accent: #D4956B;
  --color-accent-dark: #B87D56;
  --color-dark: #1E2D3B;
  --color-dark-light: #3A4F63;
  --color-text: #333333;
  --color-text-light: #5F6B7A;
  --color-bg: #FFFFFF;
  --color-bg-light: #F7FAFA;
  --color-bg-warm: #FFF9F4;
  --color-border: #E2E8ED;
  --color-white: #FFFFFF;
  --color-star: #F4B740;

  /* Typography */
  --font-heading: 'Nunito', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 5rem;

  /* Layout */
  --max-width: 1200px;
  --header-height: 72px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --radius-pill: 50px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);

  /* Transitions */
  --ease: 0.3s ease;
  --ease-fast: 0.2s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--ease-fast); }
a:hover { color: var(--color-primary-dark); }
ul, ol { list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.25;
  font-weight: 800;
}
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; color: var(--color-text-light); }

/* --- Accessibility --- */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--color-primary); color: var(--color-white);
  padding: 8px 16px; border-radius: var(--radius-sm);
  z-index: 9999; font-weight: 700;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }

/* --- Container --- */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; font-family: var(--font-heading); font-weight: 700;
  font-size: 1rem; border-radius: var(--radius-pill); border: 2px solid transparent;
  cursor: pointer; transition: all var(--ease-fast); text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--primary { background: var(--color-accent); color: var(--color-white); border-color: var(--color-accent); }
.btn--primary:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); color: var(--color-white); }

.btn--secondary { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn--secondary:hover { background: var(--color-primary); color: var(--color-white); }

.btn--white { background: var(--color-white); color: var(--color-primary-dark); border-color: var(--color-white); }
.btn--white:hover { background: var(--color-primary-light); color: var(--color-primary-dark); }

.btn--large { padding: 16px 40px; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Doctolib button */
.btn-doctolib {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; background: var(--color-accent); color: var(--color-white);
  font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem;
  border-radius: var(--radius-pill); border: none; cursor: pointer;
  transition: all var(--ease-fast); text-decoration: none; white-space: nowrap;
}
.btn-doctolib:hover { background: var(--color-accent-dark); color: var(--color-white); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-doctolib svg { width: 16px; height: 16px; }

/* --- Header --- */
.header {
  position: sticky; top: 0; left: 0; right: 0;
  height: var(--header-height); background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm); z-index: 1000;
  transition: box-shadow var(--ease);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.header .container {
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}

.header__logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--color-dark); flex-shrink: 0;
}
.header__logo:hover { color: var(--color-primary); }
.header__logo img { height: 42px; width: auto; }
.header__logo-text {
  font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem;
  line-height: 1.2;
}
.header__logo-text small {
  display: block; font-size: 0.7rem; font-weight: 600;
  color: var(--color-text-light); letter-spacing: 0.3px;
}

/* Navigation */
.nav { display: flex; align-items: center; gap: var(--spacing-sm); }
.nav__list { display: flex; gap: 2px; align-items: center; }
.nav__link {
  display: block; padding: 8px 12px; font-size: 0.9rem; font-weight: 600;
  color: var(--color-dark-light); border-radius: var(--radius-sm);
  transition: all var(--ease-fast);
}
.nav__link:hover, .nav__link--active {
  color: var(--color-primary); background: var(--color-primary-light);
}

/* Dropdown for Soins */
.nav__dropdown { position: relative; }
.nav__dropdown-toggle { cursor: pointer; }
.nav__dropdown-toggle svg {
  width: 12px; height: 12px; margin-left: 2px; vertical-align: middle;
  transition: transform var(--ease-fast);
}
.nav__dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--color-white); border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all var(--ease-fast);
  z-index: 100;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown.open .nav__dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__dropdown:hover .nav__dropdown-toggle svg { transform: rotate(180deg); }
.nav__dropdown-menu a {
  display: block; padding: 10px 14px; font-size: 0.88rem; font-weight: 600;
  color: var(--color-dark-light); border-radius: var(--radius-sm);
  transition: all var(--ease-fast);
}
.nav__dropdown-menu a:hover {
  background: var(--color-primary-light); color: var(--color-primary);
}

/* Google badge */
.google-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; background: var(--color-bg-light); border-radius: var(--radius-pill);
  font-size: 0.85rem; font-weight: 700; color: var(--color-dark);
  text-decoration: none; border: 1px solid var(--color-border);
  transition: all var(--ease-fast);
}
.google-badge:hover { box-shadow: var(--shadow-sm); background: var(--color-white); color: var(--color-dark); }
.google-badge__stars { color: var(--color-star); letter-spacing: -1px; }
.google-badge__label { font-size: 0.75rem; color: var(--color-text-light); font-weight: 400; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001;
}
.hamburger__line {
  width: 26px; height: 3px; background: var(--color-dark);
  border-radius: 2px; transition: all var(--ease);
}
.hamburger.active .hamburger__line:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active .hamburger__line:nth-child(2) { opacity: 0; }
.hamburger.active .hamburger__line:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Nav overlay */
.nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.4); z-index: 999;
}
.nav-overlay.active { display: block; }

/* --- Hero Section --- */
.hero {
  position: relative; overflow: hidden;
  padding: 80px 0 60px;
  background: linear-gradient(160deg, var(--color-primary-light) 0%, var(--color-bg-warm) 40%, var(--color-white) 100%);
}
.hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 50px;
  background: var(--color-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-xl); align-items: center;
  position: relative; z-index: 2;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; background: rgba(26,94,90,0.1); color: var(--color-primary-dark);
  font-weight: 700; font-size: 0.85rem; border-radius: var(--radius-pill);
  margin-bottom: var(--spacing-md);
}

.hero h1 { margin-bottom: var(--spacing-md); }
.hero h1 span { color: var(--color-primary); }

.hero__subtitle {
  font-size: 1.1rem; color: var(--color-text-light);
  margin-bottom: var(--spacing-lg); line-height: 1.7;
}

.hero__actions { display: flex; gap: var(--spacing-sm); flex-wrap: wrap; align-items: center; }

.hero__image { position: relative; }
.hero__image img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); object-fit: cover;
}

.hero__trust {
  display: flex; gap: var(--spacing-xl); margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg); border-top: 1px solid var(--color-border);
}
.hero__trust-item { text-align: center; }
.hero__trust-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-primary-light); display: flex;
  align-items: center; justify-content: center; margin: 0 auto var(--spacing-xs);
}
.hero__trust-icon svg { width: 22px; height: 22px; stroke: var(--color-primary); fill: none; stroke-width: 2; }
.hero__trust-label { font-size: 0.82rem; color: var(--color-text-light); font-weight: 600; }

/* --- Sections --- */
.section { padding: var(--spacing-xxl) 0; }
.section--light { background: var(--color-bg-light); }
.section--warm { background: var(--color-bg-warm); }
.section--primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
}
.section--primary h2, .section--primary h3 { color: var(--color-white); }
.section--primary p { color: rgba(255,255,255,0.9); }

.section__header { text-align: center; max-width: 700px; margin: 0 auto var(--spacing-xl); }
.section__header p { font-size: 1.1rem; color: var(--color-text-light); }
.section__eyebrow {
  display: inline-block; font-family: var(--font-heading); font-weight: 700;
  font-size: 0.82rem; color: var(--color-primary); text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: var(--spacing-xs);
}
.section--primary .section__eyebrow { color: var(--color-primary-muted); }

/* --- Cards --- */
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.card {
  background: var(--color-white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: all var(--ease); border: 1px solid var(--color-border);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--color-primary-muted); }

.card__image {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
}

.card__body { padding: var(--spacing-md); }

.card__icon {
  width: 56px; height: 56px;
  background: var(--color-primary-light); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--spacing-sm);
}
.card__icon svg { width: 28px; height: 28px; stroke: var(--color-primary); fill: none; stroke-width: 2; }

.card__title { margin-bottom: var(--spacing-xs); }
.card__text { color: var(--color-text-light); font-size: 0.95rem; margin-bottom: var(--spacing-sm); }
.card__link {
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 700; color: var(--color-primary); font-size: 0.9rem;
}
.card__link:hover { gap: 8px; color: var(--color-accent); }

/* --- Trust Band --- */
.trust-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--spacing-md);
  padding: var(--spacing-lg) 0;
}

.trust-item {
  display: flex; align-items: center; gap: var(--spacing-sm);
  padding: var(--spacing-sm);
}
.trust-item__icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--color-primary-light); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.trust-item__icon svg { width: 24px; height: 24px; stroke: var(--color-primary); fill: none; stroke-width: 2; }
.trust-item__text { font-size: 0.9rem; font-weight: 600; color: var(--color-dark); line-height: 1.3; }

/* --- Features / Engagements --- */
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--spacing-lg);
}
.feature-item { text-align: center; padding: var(--spacing-lg) var(--spacing-sm); }
.feature-item__icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,0.15); display: flex;
  align-items: center; justify-content: center; margin: 0 auto var(--spacing-sm);
}
.feature-item__icon svg { width: 32px; height: 32px; stroke: var(--color-white); fill: none; stroke-width: 2; }
.section:not(.section--primary) .feature-item__icon { background: var(--color-primary-light); }
.section:not(.section--primary) .feature-item__icon svg { stroke: var(--color-primary); }
.feature-item h3 { font-size: 1.05rem; margin-bottom: var(--spacing-xs); }
.feature-item p { font-size: 0.9rem; }

/* --- Two column layout --- */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl); align-items: center;
}
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }

.two-col__image img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); object-fit: cover;
}

.two-col__content h2 { margin-bottom: var(--spacing-sm); }
.two-col__content p { margin-bottom: var(--spacing-sm); }
.two-col__content ul { margin: var(--spacing-sm) 0; }
.two-col__content li {
  padding: 8px 0 8px 28px; position: relative; color: var(--color-text-light);
}
.two-col__content li::before {
  content: ''; position: absolute; left: 0; top: 16px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary);
}

/* --- Steps --- */
.steps { display: flex; flex-direction: column; gap: var(--spacing-lg); max-width: 700px; margin: 0 auto; }
.step { display: flex; gap: var(--spacing-md); align-items: flex-start; }
.step__number {
  width: 50px; height: 50px; background: var(--color-primary); color: var(--color-white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800; font-size: 1.2rem; flex-shrink: 0;
}
.step__content h3 { margin-bottom: var(--spacing-xs); }
.step__content p { color: var(--color-text-light); font-size: 0.95rem; }

/* --- FAQ --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item__question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: var(--spacing-md) 0; background: none; border: none; cursor: pointer;
  font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700;
  color: var(--color-dark); text-align: left; gap: var(--spacing-sm);
  transition: color var(--ease-fast);
}
.faq-item__question:hover { color: var(--color-primary); }
.faq-item__icon { width: 24px; height: 24px; flex-shrink: 0; transition: transform var(--ease); }
.faq-item__icon svg { width: 24px; height: 24px; stroke: var(--color-primary); fill: none; stroke-width: 2; }
.faq-item.active .faq-item__icon { transform: rotate(180deg); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.active .faq-item__answer { max-height: 600px; }
.faq-item__answer-inner { padding-bottom: var(--spacing-md); }
.faq-item__answer-inner p { color: var(--color-text-light); line-height: 1.7; }

/* --- CTA Section --- */
.cta-section {
  text-align: center; padding: var(--spacing-xxl) 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
}
.cta-section h2 { color: var(--color-white); margin-bottom: var(--spacing-sm); }
.cta-section p {
  color: rgba(255,255,255,0.9); font-size: 1.1rem;
  margin-bottom: var(--spacing-lg); max-width: 600px;
  margin-left: auto; margin-right: auto;
}
.cta-section .btn--white:hover { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-white); }

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding: 64px 0 48px; text-align: center; position: relative;
  background: linear-gradient(160deg, var(--color-primary-light) 0%, var(--color-bg-warm) 100%);
}
.page-hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 40px;
  background: var(--color-white); clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero h1 { margin-bottom: var(--spacing-sm); }
.page-hero p { color: var(--color-text-light); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* --- Team --- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--spacing-xl); align-items: start; }
.team-member { text-align: center; }
.team-member--card {
  text-align: left;
  background: var(--color-white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid var(--color-border);
  padding: var(--spacing-lg);
  transition: all var(--ease);
}
.team-member--card:hover { box-shadow: var(--shadow-md); border-color: var(--color-primary-muted); }
.team-member__header {
  display: flex; gap: var(--spacing-lg); align-items: center;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--color-border);
}
.team-member__intro { flex: 1; }
.team-member__photo {
  width: 120px; height: 120px; border-radius: 50%;
  overflow: hidden; box-shadow: var(--shadow-md);
  border: 4px solid var(--color-primary-light); flex-shrink: 0;
}
.team-member__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-member__photo--placeholder {
  background: var(--color-primary-light); display: flex;
  align-items: center; justify-content: center;
}
.team-member__photo--placeholder svg { width: 48px; height: 48px; stroke: var(--color-primary-muted); fill: none; stroke-width: 1.5; }
.team-member__name { margin-bottom: 4px; }
.team-member__role { color: var(--color-primary); font-weight: 700; font-size: 0.95rem; margin-bottom: var(--spacing-xs); }
.team-member__bio { color: var(--color-text-light); font-size: 0.95rem; }
.team-member__details { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--spacing-xs); }
.team-member__tag {
  padding: 4px 12px; background: var(--color-primary-light);
  color: var(--color-primary-dark); border-radius: var(--radius-pill);
  font-size: 0.82rem; font-weight: 600;
}
.team-member__formation-title {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem;
  color: var(--color-dark); margin: var(--spacing-md) 0 var(--spacing-sm);
}
.team-member__formation-title svg {
  width: 20px; height: 20px; stroke: var(--color-primary); fill: none; flex-shrink: 0;
}
.team-member__formation {
  text-align: left; list-style: none; padding-left: 0;
}
.team-member__formation li {
  font-size: 0.85rem; color: var(--color-text-light);
  padding: 8px 0 8px 24px; border-bottom: 1px solid var(--color-border);
  position: relative;
}
.team-member__formation li::before {
  content: ''; position: absolute; left: 0; top: 16px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-primary-muted);
}
.team-member__formation li:last-child { border-bottom: none; }

/* --- Tech cards --- */
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--spacing-lg); }
.tech-item {
  display: flex; gap: var(--spacing-md); padding: var(--spacing-lg);
  background: var(--color-white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid var(--color-border);
  transition: all var(--ease);
}
.tech-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-primary-muted); }
.tech-item--vertical {
  flex-direction: column; align-items: center; text-align: center;
  border-top: 3px solid var(--color-primary);
}
.tech-item__icon {
  width: 56px; height: 56px; background: var(--color-primary-light);
  border-radius: var(--radius-sm); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.tech-item--vertical .tech-item__icon {
  width: 64px; height: 64px; border-radius: 50%;
}
.tech-item__icon svg { width: 28px; height: 28px; stroke: var(--color-primary); fill: none; stroke-width: 2; }
.tech-item--vertical .tech-item__icon svg { width: 30px; height: 30px; }
.tech-item__title { margin-bottom: var(--spacing-xs); font-size: 1.05rem; }
.tech-item__text { color: var(--color-text-light); font-size: 0.9rem; margin-bottom: 0; }

/* --- Gallery --- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-sm); }
.gallery-grid img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius); transition: transform var(--ease);
}
.gallery-grid img:hover { transform: scale(1.02); }
.gallery-grid .gallery-wide { grid-column: span 2; }

.gallery-grid--full {
  grid-template-columns: repeat(2, 1fr); gap: var(--spacing-md);
}
.gallery-grid--full .gallery-wide { grid-column: span 1; }
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  margin: 0;
}
.gallery-item img { border-radius: 0; }
.gallery-item figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: var(--spacing-sm) var(--spacing-md);
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: var(--color-white); font-size: 0.85rem; font-weight: 600;
  opacity: 0; transition: opacity var(--ease);
}
.gallery-item:hover figcaption { opacity: 1; }
.gallery-item:hover img { transform: scale(1.04); }

/* --- Approche split --- */
.approche-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl); align-items: center;
}
.approche-split__quote {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem); color: var(--color-primary-dark);
  line-height: 1.35; margin: 0; padding: 0;
  border-left: 4px solid var(--color-primary); padding-left: var(--spacing-lg);
}
.approche-split__text p { color: var(--color-text-light); font-size: 1.05rem; }
.approche-split__text p:last-child { margin-bottom: 0; }

/* --- Contact / Info Pratiques --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-xl); }
.contact-info { display: flex; flex-direction: column; gap: var(--spacing-lg); }
.contact-info__item { display: flex; gap: var(--spacing-md); align-items: flex-start; }
.contact-info__icon {
  width: 48px; height: 48px; background: var(--color-primary-light);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.contact-info__icon svg { width: 22px; height: 22px; stroke: var(--color-primary); fill: none; stroke-width: 2; }
.contact-info__label { font-weight: 700; color: var(--color-dark); margin-bottom: 2px; }
.contact-info__value { color: var(--color-text-light); font-size: 0.95rem; }
.contact-info__value a { color: var(--color-primary); }

/* Horaires table */
.horaires-table { width: 100%; border-collapse: collapse; }
.horaires-table th, .horaires-table td {
  padding: var(--spacing-sm); text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.horaires-table th { font-weight: 700; color: var(--color-dark); }
.horaires-table td { color: var(--color-text-light); }

/* Map */
.map-container {
  width: 100%; aspect-ratio: 16/9; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* Transport items */
.transport-list { display: flex; flex-direction: column; gap: var(--spacing-sm); }
.transport-item {
  display: flex; align-items: center; gap: var(--spacing-sm);
  padding: var(--spacing-sm); background: var(--color-white);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
.transport-item__icon {
  width: 36px; height: 36px; background: var(--color-primary);
  color: var(--color-white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.8rem; flex-shrink: 0;
}

/* --- Inline CTA block --- */
.inline-cta {
  background: var(--color-bg-light); border-radius: var(--radius);
  padding: var(--spacing-xl); text-align: center;
  border: 1px solid var(--color-border);
}
.inline-cta h3 { margin-bottom: var(--spacing-xs); }
.inline-cta p { color: var(--color-text-light); margin-bottom: var(--spacing-md); }

/* --- Mentions Legales --- */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 {
  margin-top: var(--spacing-xl); margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-xs); border-bottom: 2px solid var(--color-primary-light);
}
.legal-content h3 { margin-top: var(--spacing-lg); margin-bottom: var(--spacing-sm); }
.legal-content p, .legal-content li { color: var(--color-text-light); margin-bottom: var(--spacing-sm); }
.legal-content ul { list-style: disc; padding-left: var(--spacing-lg); }
.honoraires-table {
  width: 100%; border-collapse: collapse; margin: var(--spacing-md) 0;
}
.honoraires-table th, .honoraires-table td {
  padding: var(--spacing-sm) var(--spacing-md);
  text-align: left; border: 1px solid var(--color-border);
}
.honoraires-table th { background: var(--color-bg-light); font-weight: 700; }

/* --- Premiere visite highlight --- */
.highlight-box {
  background: var(--color-primary-light); border-radius: var(--radius);
  padding: var(--spacing-lg); border-left: 4px solid var(--color-primary);
  margin: var(--spacing-md) 0;
}
.highlight-box p { color: var(--color-dark); margin-bottom: 0; }
.highlight-box strong { color: var(--color-primary-dark); }

/* --- Footer --- */
.footer {
  background: var(--color-dark); color: rgba(255,255,255,0.7);
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: var(--spacing-xl); margin-bottom: var(--spacing-xl);
}
.footer__brand { max-width: 360px; }
.footer__logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: var(--spacing-sm); text-decoration: none;
}
.footer__logo img { height: 36px; width: auto; filter: brightness(0) invert(1); }
.footer__logo-text { font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; color: var(--color-white); }
.footer__desc { font-size: 0.9rem; line-height: 1.7; margin-bottom: var(--spacing-md); }
.footer__contact-item {
  display: flex; align-items: center; gap: var(--spacing-xs);
  font-size: 0.9rem; margin-bottom: var(--spacing-xs);
}
.footer__contact-item svg { width: 16px; height: 16px; stroke: var(--color-primary-muted); fill: none; stroke-width: 2; flex-shrink: 0; }
.footer__contact-item a { color: rgba(255,255,255,0.7); }
.footer__contact-item a:hover { color: var(--color-white); }

.footer h4 { color: var(--color-white); font-size: 1rem; margin-bottom: var(--spacing-md); }
.footer__links { display: flex; flex-direction: column; gap: var(--spacing-xs); }
.footer__links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: color var(--ease-fast); }
.footer__links a:hover { color: var(--color-primary-muted); }

#banniere-ordinale {
  margin-top: var(--spacing-lg); padding: var(--spacing-md);
  border: 1px dashed rgba(255,255,255,0.2); border-radius: var(--radius-sm);
  text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.3);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--spacing-lg); display: flex;
  justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--spacing-sm); font-size: 0.85rem;
}
.footer__bottom-links { display: flex; gap: var(--spacing-md); }
.footer__bottom-links a { color: rgba(255,255,255,0.5); }
.footer__bottom-links a:hover { color: var(--color-primary-muted); }

/* --- Scroll reveal --- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero__actions { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero__image { max-width: 500px; margin: 0 auto; }
  .trust-band { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col, .two-col--reverse { grid-template-columns: 1fr; direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .gallery-wide { grid-column: span 1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --spacing-xxl: 3rem; }

  .hamburger { display: flex; }
  .nav {
    position: fixed; top: 0; right: -100%;
    width: 85%; max-width: 350px; height: 100vh;
    background: var(--color-white); flex-direction: column;
    padding: calc(var(--header-height) + var(--spacing-lg)) var(--spacing-lg) var(--spacing-lg);
    box-shadow: var(--shadow-lg); transition: right var(--ease);
    overflow-y: auto; align-items: stretch; z-index: 1000;
  }
  .nav.open { right: 0; }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__link { font-size: 1rem; padding: var(--spacing-sm); }
  .nav__dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; padding-left: var(--spacing-sm); background: var(--color-bg-light);
    border-radius: var(--radius-sm); margin-top: 4px;
  }
  .btn-doctolib { width: 100%; justify-content: center; padding: var(--spacing-sm); margin-top: var(--spacing-sm); }
  .google-badge { align-self: center; margin-top: var(--spacing-sm); }

  .hero { padding: 48px 0 40px; }
  .hero__trust { flex-direction: column; gap: var(--spacing-sm); align-items: center; }
  .trust-band { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .gallery-wide { grid-column: span 1; }
  .team-grid { grid-template-columns: 1fr; }
  .team-member__header { flex-direction: column; text-align: center; }
  .team-member__details { justify-content: center; }
  .gallery-grid--full { grid-template-columns: 1fr; }
  .approche-split { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 375px) {
  .container { padding: 0 16px; }
  .btn--large { width: 100%; }
}

/* --- TEST-BANNER-START (à supprimer avant la mise en production) --- */
.test-banner {
  background: #FFF3CD; color: #5C4300; border-bottom: 1px solid #F0D98A;
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 600;
  text-align: center; padding: 0.6rem 1rem; line-height: 1.4;
}
/* --- TEST-BANNER-END --- */
