/* ============================================================
   Cabinet Gardin – Orthophonie Caen
   Aesthetic: Medical luxury – refined, clean, trustworthy
   Palette: Deep teal + warm cream + soft gold accent
   ============================================================ */

:root {
  --bg: #f7f5f2;
  --bg-section: #ffffff;
  --bg-dark: #1a2e35;
  --bg-dark2: #243b44;
  --primary: #1a4a5c;
  --primary-light: #2d6a82;
  --accent: #c9984a;
  --accent-light: #e8c07a;
  --text: #1e1e1e;
  --text-mid: #4a5568;
  --text-light: #718096;
  --border: #e2ddd7;
  --border-light: #f0ece8;
  --white: #ffffff;
  --shadow-sm: 0 2px 12px rgba(26,74,92,0.07);
  --shadow-md: 0 8px 32px rgba(26,74,92,0.12);
  --shadow-lg: 0 24px 64px rgba(26,74,92,0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea, button { font-family: inherit; }

/* ---- CONTAINER ---- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   NAVIGATION
======================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247, 245, 242, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-symbol {
  font-size: 22px;
  color: var(--primary);
  line-height: 1;
}
.logo-title {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.2;
}
.logo-sub {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.btn-nav {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 500 !important;
  transition: var(--transition) !important;
  white-space: nowrap;
}
.btn-nav:hover {
  background: var(--primary-light) !important;
  transform: translateY(-1px);
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: var(--transition);
}
.burger:hover {
  background: rgba(26,74,92,0.06);
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Burger open state */
.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
  box-shadow: 0 8px 24px rgba(26,74,92,0.1);
}
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border-light);
  transition: color 0.2s;
}
.mobile-menu a:hover {
  color: var(--primary);
}
.mobile-menu .btn-nav {
  display: block;
  text-align: center;
  margin-top: 16px;
  padding: 14px 22px !important;
  border-radius: 50px !important;
}
.mobile-menu.open { display: block; }

/* ========================================
   HERO
======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
  background: linear-gradient(160deg, #f0ece6 0%, #e8eef2 50%, #f0f4f2 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}
.hero-shape.s1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #b8d4e0 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: floatShape 12s ease-in-out infinite;
}
.hero-shape.s2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #e8c07a33 0%, transparent 70%);
  bottom: 50px; left: 10%;
  animation: floatShape 9s ease-in-out infinite reverse;
}
.hero-shape.s3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #c8dde8 0%, transparent 70%);
  top: 40%; left: 40%;
  animation: floatShape 14s ease-in-out infinite 2s;
}
@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,74,92,0.08);
  color: var(--primary);
  border: 1px solid rgba(26,74,92,0.15);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 28px;
  animation: fadeUp 0.7s ease both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 76px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--bg-dark);
  margin-bottom: 24px;
  animation: fadeUp 0.7s ease 0.1s both;
}
.hero-title em {
  font-style: italic;
  color: var(--primary);
}
.hero-desc {
  font-size: 18px;
  color: var(--text-mid);
  font-weight: 300;
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.7;
  animation: fadeUp 0.7s ease 0.2s both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeUp 0.7s ease 0.3s both;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(26,74,92,0.25);
  display: inline-block;
  text-align: center;
}
.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,74,92,0.3);
}
.btn-ghost {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  padding: 13px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
}
.btn-ghost:hover {
  background: rgba(26,74,92,0.06);
  transform: translateY(-2px);
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: fadeUp 0.7s ease 0.4s both;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat strong {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
}
.stat span {
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}
.stat-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: fadeUp 1s ease 0.8s both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-light), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.7); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   SECTIONS COMMON
======================================== */
.section { padding: 96px 0; }
.section:nth-child(even) { background: var(--white); }

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 64px;
  padding: 0 16px;
}
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-tag.light { color: var(--accent-light); }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 500;
  color: var(--bg-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 16px;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.7;
}

/* ========================================
   SPÉCIALITÉS
======================================== */
.specialites { background: var(--bg); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.spec-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.spec-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}
.spec-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.spec-card:hover::before { opacity: 1; }
.spec-icon {
  width: 52px;
  height: 52px;
  color: var(--primary);
  margin-bottom: 20px;
}
.spec-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--bg-dark);
  margin-bottom: 12px;
}
.spec-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  font-weight: 300;
}

/* ========================================
   ÉQUIPE
======================================== */
.equipe { background: var(--white); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.team-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.team-photo {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.team-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  color: rgba(26,74,92,0.7);
  letter-spacing: 1px;
}
.team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,74,92,0.85), transparent 50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}
.team-card:hover .team-overlay { opacity: 1; }
.team-overlay span {
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
}
.team-info {
  padding: 18px 16px 20px;
}
.team-info h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--bg-dark);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.team-role {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 6px;
  font-weight: 600;
}
.team-spec {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.5;
}

/* ========================================
   ACCÈS
======================================== */
.acces { background: var(--bg); }
.acces-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.acces-info .section-tag { display: block; margin-bottom: 12px; }
.acces-info h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 500;
  color: var(--bg-dark);
  margin-bottom: 40px;
}
.adresse-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.adresse-block:last-child { border-bottom: none; }
.adresse-icon {
  width: 40px;
  height: 40px;
  background: rgba(26,74,92,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.adresse-icon svg { width: 20px; height: 20px; }
.adresse-block strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 4px;
}
.adresse-block p {
  font-size: 15px;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.6;
}
.adresse-block a { color: var(--primary); font-weight: 500; }
.acces-map {
  position: sticky;
  top: 100px;
}
.acces-map iframe {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.map-cta {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
  transition: var(--transition);
}
.map-cta:hover { color: var(--primary-light); }

/* ========================================
   CONTACT
======================================== */
.contact {
  background: var(--bg-dark);
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-left h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 500;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 20px;
}
.contact-left p {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 32px;
}
.contact-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 14px 18px;
  border-radius: var(--radius);
}
.contact-note svg {
  width: 20px;
  height: 20px;
  color: var(--accent-light);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-note span {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
  outline: none;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,74,92,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a5568' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}
.form-check label {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
  cursor: pointer;
}

.btn-submit {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(26,74,92,0.25);
  border: none;
  -webkit-appearance: none;
}
.btn-submit:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,74,92,0.3);
}

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-top: 16px;
  color: #2e7d32;
}
.form-success svg { width: 24px; height: 24px; flex-shrink: 0; }
.form-success span { font-size: 14px; }
.form-success.show { display: flex; }

/* ========================================
   FOOTER
======================================== */
.footer {
  background: var(--bg-dark2);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .nav-logo {
  margin-bottom: 16px;
}
.footer-brand .logo-title { color: var(--white); }
.footer-brand .logo-sub { color: rgba(255,255,255,0.4); }
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  font-weight: 300;
}
.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a, .footer-col p, .footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  transition: color 0.2s;
  line-height: 1.6;
}
.footer-col li a:hover, .footer-col a:hover {
  color: var(--white);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

/* ========================================
   INDIVIDUAL PRACTITIONER PAGE
======================================== */
.prat-hero {
  padding-top: 120px;
  padding-bottom: 64px;
  background: linear-gradient(160deg, #e8f0f5 0%, #f5f2ee 100%);
  position: relative;
  overflow: hidden;
}
.prat-hero-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
}
.prat-avatar-lg {
  width: 240px;
  height: 300px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 500;
  color: rgba(26,74,92,0.6);
  flex-shrink: 0;
  box-shadow: var(--shadow-lg);
}
.prat-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.prat-breadcrumb a { color: var(--primary); }
.prat-breadcrumb span { color: var(--text-light); }
.prat-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 500;
  color: var(--bg-dark);
  margin-bottom: 8px;
}
.prat-role {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 24px;
}
.prat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.prat-tag {
  background: rgba(26,74,92,0.08);
  color: var(--primary);
  border: 1px solid rgba(26,74,92,0.15);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
}
.prat-desc { font-size: 16px; color: var(--text-mid); font-weight: 300; line-height: 1.75; }
.prat-content { padding: 80px 0; background: var(--white); }
.prat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.prat-section h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--bg-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.prat-list { list-style: none; }
.prat-list li {
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 300;
}
.prat-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.prat-cta {
  background: var(--bg);
  padding: 64px 0;
  text-align: center;
}
.prat-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  color: var(--bg-dark);
  margin-bottom: 12px;
}
.prat-cta p {
  font-size: 16px;
  color: var(--text-mid);
  font-weight: 300;
  margin-bottom: 32px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  margin-bottom: 32px;
}
.back-link:hover { gap: 12px; }

/* ========================================
   PARCOURS DE SOINS
======================================== */
.parcours {
  background: var(--bg);
}

.parcours-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: 56px;
}

.parcours-steps::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--primary) 15%,
    var(--accent) 50%,
    var(--primary) 85%,
    transparent 100%
  );
  opacity: 0.2;
  z-index: 0;
}

.parcours-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.parcours-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 40px;
  right: -4px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--accent);
  border-top: 1.5px solid var(--accent);
  transform: rotate(45deg);
  opacity: 0.45;
  z-index: 2;
}

.parcours-step-top {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.parcours-circle {
  position: relative;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parcours-circle-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(135deg, var(--primary), var(--accent), var(--primary-light)) border-box;
  opacity: 0.5;
  transition: var(--transition);
}

.parcours-step:hover .parcours-circle-ring {
  opacity: 1;
  transform: scale(1.08);
}

.parcours-circle-inner {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    var(--primary) 0%,
    var(--primary-light) 60%,
    #3a8aa8 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow:
    0 8px 24px rgba(26, 74, 92, 0.28),
    0 2px 6px rgba(26, 74, 92, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: var(--transition);
}

.parcours-circle-inner svg {
  width: 28px;
  height: 28px;
  transition: var(--transition);
}

.parcours-step:hover .parcours-circle-inner {
  background: linear-gradient(145deg, var(--primary-light) 0%, var(--accent) 100%);
  box-shadow:
    0 12px 32px rgba(201, 152, 74, 0.35),
    0 4px 10px rgba(201, 152, 74, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}

.parcours-step:hover .parcours-circle-inner svg {
  transform: scale(1.12);
}

.parcours-step-label {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light, #d4a85a) 100%);
  color: var(--white);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 14px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 1px;
  padding: 4px 13px;
  border-radius: 50px;
  white-space: nowrap;
  z-index: 3;
  box-shadow:
    0 2px 8px rgba(201, 152, 74, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: var(--transition);
}

.parcours-step:hover .parcours-step-label {
  transform: translateX(-50%) translateY(-3px);
}

.parcours-step h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--bg-dark);
  margin-bottom: 10px;
}

.parcours-step p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 300;
}

.parcours-cta {
  text-align: center;
  margin-top: 8px;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
======================================== */

/* ---- 1024px ---- */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .team-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
}
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .prat-grid { grid-template-columns: 1fr; }

  .parcours-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 56px 24px;
  }
  .parcours-steps::before,
  .parcours-step:not(:last-child)::after {
    display: none;
  }
}

/* ---- 768px ---- */
@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }
  .burger { display: flex; }

  /* Hero */
  .hero-content {
    padding: 60px 24px 80px;
  }
  .hero-desc {
    font-size: 16px;
  }
  .hero-stats {
    gap: 16px;
  }
  .stat strong { font-size: 22px; }
  .stat-sep { display: none; }

  /* Sections */
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 48px; }

  /* Specialites */
  .cards-grid {
    grid-template-columns: 1fr;
  }

/* Team - Mobile Compact Cards */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
    .team-card {
        align:center;
    }
  .team-photo {
    display: none;
    aspect-ratio: 1/1; /* Square instead of 3/4 for compact look */
  }

  

  .team-info { 
    padding: 10px; /* Reduced padding */
  }

  

  .team-role {
    font-size: 9px; /* Smaller role text */
  }

  .team-spec { display: block; }
  
  
    /* Parcours */
  .parcours-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .parcours-step {
    padding: 0;
    text-align: left;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 20px;
    align-items: start;
  }
  .parcours-step-top {
    grid-column: 1;
    grid-row: 1 / 3;
    margin-bottom: 0;
    justify-content: flex-start;
  }
  .parcours-circle {
    width: 72px;
    height: 72px;
  }
  .parcours-circle-inner {
    width: 56px;
    height: 56px;
  }
  .parcours-circle-inner svg {
    width: 22px;
    height: 22px;
  }
  .parcours-step-label {
    font-size: 11px;
    padding: 3px 10px;
    top: -10px;
  }
  .parcours-step h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 16px;
    margin-bottom: 6px;
    padding-top: 16px;
  }
  .parcours-step p {
    grid-column: 2;
    grid-row: 2;
    font-size: 14px;
  }

  /* Accès */
  .acces-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .acces-map { position: static; }

  /* Contact */
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form { padding: 28px 24px; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer { padding: 48px 0 0; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* Practitioner page */
  .prat-hero { padding-top: 96px; padding-bottom: 48px; }
  .prat-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .prat-avatar-lg {
    width: 140px;
    height: 180px;
    font-size: 40px;
  }
  .prat-content { padding: 56px 0; }
  .prat-cta { padding: 48px 0; }
}

/* ---- 480px ---- */
@media (max-width: 480px) {
  /* Container padding */
  .container { padding: 0 16px; }

  /* Nav */
  .nav { height: 64px; }
  .logo-title { font-size: 15px; }
  .logo-sub { display: none; }

  /* Hero */
  .hero { min-height: calc(100vh - 64px); padding-top: 64px; }
  .hero-content { padding: 48px 16px 72px; }
  .hero-badge { font-size: 10px; letter-spacing: 1px; }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  .btn-primary,
  .btn-ghost {
    width: 100%;
    text-align: center;
  }
  .hero-stats { gap: 16px; }
  .stat strong { font-size: 20px; }
  .hero-scroll { display: none; }

  /* Section */
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 36px; }

  /* Team */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .team-info { padding: 12px; }
  .team-info h3 { font-size: 13px; }
  .team-spec { display: none; }

  /* Specs */
  .spec-card { padding: 24px 20px; }

  /* Contact form */
  .contact-form { padding: 20px 16px; border-radius: var(--radius); }

  /* Footer */
  .footer-grid { gap: 20px; }
  .footer { padding: 40px 0 0; }

  /* Parcours */
  .parcours-step {
    column-gap: 16px;
  }
  .parcours-circle {
    width: 64px;
    height: 64px;
  }
  .parcours-circle-inner {
    width: 50px;
    height: 50px;
  }
  .parcours-circle-inner svg {
    width: 20px;
    height: 20px;
  }
  .parcours-step-label {
    font-size: 10px;
    padding: 2px 8px;
  }
  .parcours-step h3 {
    font-size: 15px;
    padding-top: 14px;
  }

  /* Practitioner */
  .prat-hero { padding: 88px 0 40px; }
  .prat-avatar-lg {
    width: 120px;
    height: 150px;
    font-size: 32px;
  }
  .prat-grid { gap: 32px; }
  .prat-section h2 { font-size: 20px; }
}

/* ---- 360px (very small) ---- */
@media (max-width: 360px) {
  .team-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .stat-sep { display: none; }
  .logo-symbol { font-size: 18px; }
}








