/* ============================================
   OSTEO DOMICILE IDF — styles.css
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@400;500;600&display=swap');

/* ---- CSS Variables ---- */
:root {
  --primary: #1B4F72;
  --primary-dark: #12354d;
  --primary-light: #2874a6;
  --secondary: #2980B9;
  --secondary-dark: #1f6391;
  --secondary-light: #3d9dd4;
  --accent: #E74C3C;
  --accent-light: #ff6b5b;
  --gold: #F39C12;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --text: #1e293b;
  --text-light: #64748b;
  --font-main: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
  --transition: 0.25s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1,h2,h3,h4,h5 { font-family: var(--font-main); font-weight: 700; line-height: 1.25; }

/* ---- Utility ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-secondary { color: var(--secondary); }
.fw-800 { font-weight: 800; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px; font-family: var(--font-main);
  font-weight: 700; font-size: 15px; cursor: pointer;
  transition: all var(--transition); border: 2px solid transparent;
  text-align: center; white-space: normal; word-break: break-word;
  line-height: 1.3;
}
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(27,79,114,0.35); }
.btn-secondary { background: var(--secondary); color: var(--white); border-color: var(--secondary); }
.btn-secondary:hover { background: var(--secondary-dark); border-color: var(--secondary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(41,128,185,0.35); }
.btn-accent { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-accent:hover { background: #c0392b; border-color: #c0392b; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(231,76,60,0.35); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-phone { background: var(--accent); color: var(--white); border-color: var(--accent); font-size: 18px; padding: 16px 36px; }
.btn-phone:hover { background: #c0392b; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(231,76,60,0.4); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---- Urgency Bar ---- */
.urgency-bar {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 10px 20px;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 1000;
}
.urgency-bar a { color: var(--white); text-decoration: underline; font-weight: 700; }
.urgency-bar .pulse { display: inline-block; width: 10px; height: 10px; background: var(--white); border-radius: 50%; margin-right: 8px; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 999;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  border-bottom: 3px solid var(--primary);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 44px; height: 44px; background: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-icon svg { width: 26px; height: 26px; color: var(--white); }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--font-main); font-weight: 800; font-size: 16px; color: var(--primary); line-height: 1.1; }
.logo-sub { font-size: 11px; color: var(--text-light); font-weight: 500; letter-spacing: 0.5px; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { font-family: var(--font-main); font-weight: 600; font-size: 13px; color: var(--gray-700); padding: 8px 12px; border-radius: 8px; transition: all var(--transition); }
.main-nav a:hover, .main-nav a.active { color: var(--primary); background: var(--gray-100); }
.header-phone { display: flex; align-items: center; gap: 8px; background: var(--accent); color: var(--white); padding: 10px 20px; border-radius: 50px; font-family: var(--font-main); font-weight: 800; font-size: 15px; transition: all var(--transition); white-space: nowrap; }
.header-phone:hover { background: #c0392b; transform: translateY(-1px); box-shadow: 0 4px 15px rgba(231,76,60,0.4); }
.header-phone svg { width: 18px; height: 18px; flex-shrink: 0; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; flex-shrink: 0; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: all var(--transition); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.pexels.com/photos/4506111/pexels-photo-4506111.jpeg?auto=compress&cs=tinysrgb&h=900');
  background-size: cover; background-position: center;
  opacity: 0.18;
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(231,76,60,0.9); color: var(--white);
  padding: 8px 18px; border-radius: 50px; font-family: var(--font-main);
  font-weight: 700; font-size: 13px; margin-bottom: 24px; letter-spacing: 0.5px;
}
.hero h1 { font-size: clamp(1.8rem, 5vw, 3.5rem); color: var(--white); margin-bottom: 20px; font-weight: 900; }
.hero h1 span { color: #A9CCE3; }
.hero-desc { font-size: 17px; color: rgba(255,255,255,0.88); margin-bottom: 32px; max-width: 580px; line-height: 1.75; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat .stat-num { font-family: var(--font-main); font-size: 2rem; font-weight: 900; color: #A9CCE3; display: block; }
.hero-stat .stat-label { font-size: 12px; color: rgba(255,255,255,0.75); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.hero-right { position: relative; z-index: 2; flex-shrink: 0; }
.hero-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; max-width: 360px; width: 100%;
  box-shadow: var(--shadow-xl);
}
.hero-card h3 { font-size: 18px; color: var(--primary); margin-bottom: 20px; font-weight: 800; }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 80px 0; }

/* ---- Urgency Section ---- */
.urgency-section {
  background: linear-gradient(135deg, #c0392b, var(--accent));
  color: var(--white); padding: 60px 0;
}
.urgency-section h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); margin-bottom: 16px; font-weight: 900; }
.urgency-section p { font-size: 17px; opacity: 0.92; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.urgency-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-bottom: 40px; }
.urgency-item { background: rgba(255,255,255,0.12); border-radius: var(--radius); padding: 20px 16px; text-align: center; border: 1px solid rgba(255,255,255,0.2); }
.urgency-item svg { width: 32px; height: 32px; margin: 0 auto 12px; }
.urgency-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; font-family: var(--font-main); }
.urgency-item p { font-size: 12px; opacity: 0.8; margin-bottom: 0; }

/* ---- Section Headers ---- */
.section-header { margin-bottom: 56px; }
.section-tag { display: inline-block; background: rgba(27,79,114,0.1); color: var(--primary); padding: 6px 16px; border-radius: 50px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; font-family: var(--font-main); }
.section-title { font-size: clamp(1.6rem, 3.5vw, 2.8rem); color: var(--gray-800); margin-bottom: 16px; }
.section-desc { font-size: 17px; color: var(--text-light); max-width: 620px; line-height: 1.8; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin-left: auto; margin-right: auto; }

/* ---- Services ---- */
.services-section { padding: 100px 0; background: var(--gray-50); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.service-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: all var(--transition);
  border: 2px solid transparent;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.service-card-img { height: 220px; overflow: hidden; position: relative; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-badge { position: absolute; top: 16px; left: 16px; background: var(--accent); color: var(--white); padding: 4px 12px; border-radius: 50px; font-size: 11px; font-weight: 700; font-family: var(--font-main); }
.service-card-body { padding: 28px; }
.service-icon { width: 48px; height: 48px; background: rgba(27,79,114,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.service-icon svg { width: 24px; height: 24px; color: var(--primary); }
.service-card-body h3 { font-size: 18px; color: var(--primary); margin-bottom: 10px; }
.service-card-body p { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 20px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tag { background: var(--gray-100); color: var(--gray-700); padding: 4px 12px; border-radius: 50px; font-size: 11px; font-weight: 600; }

/* ---- About Section ---- */
.about-section { padding: 100px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); }
.about-img img { width: 100%; height: 480px; object-fit: cover; }
.about-badge {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--secondary); color: var(--white);
  padding: 20px 24px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  font-family: var(--font-main); text-align: center;
}
.about-badge .big { display: block; font-size: 2rem; font-weight: 900; line-height: 1; }
.about-badge .small { font-size: 12px; font-weight: 600; opacity: 0.9; margin-top: 4px; display: block; }
.about-content h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 20px; }
.about-content p { color: var(--text-light); margin-bottom: 16px; line-height: 1.8; }
.diplomas { margin-top: 28px; }
.diploma-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--gray-200); }
.diploma-item:last-child { border-bottom: none; }
.diploma-year { font-family: var(--font-main); font-weight: 800; color: var(--primary); font-size: 13px; min-width: 40px; }
.diploma-text { font-size: 14px; color: var(--gray-700); }

/* ---- Why Section ---- */
.why-section { padding: 100px 0; background: var(--primary); }
.why-section .section-title { color: var(--white); }
.why-section .section-tag { background: rgba(255,255,255,0.15); color: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.why-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-lg); padding: 32px 24px; transition: all var(--transition); }
.why-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-4px); }
.why-card svg { width: 40px; height: 40px; color: #A9CCE3; margin-bottom: 16px; }
.why-card h4 { font-size: 16px; color: var(--white); margin-bottom: 10px; font-family: var(--font-main); }
.why-card p { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.7; }

/* ---- Patients Section ---- */
.patients-section { padding: 100px 0; background: var(--gray-50); }
.patients-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.patient-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px 20px; text-align: center; box-shadow: var(--shadow); transition: all var(--transition); cursor: default; }
.patient-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.patient-card svg { width: 48px; height: 48px; color: var(--primary); margin: 0 auto 16px; }
.patient-card h4 { font-size: 15px; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; font-family: var(--font-main); }
.patient-card p { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* ---- Forms ---- */
.form-section { padding: 80px 0; background: var(--gray-50); }
.contact-form-wrap { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.form-title { font-size: 22px; color: var(--primary); margin-bottom: 8px; font-family: var(--font-main); }
.form-subtitle { font-size: 14px; color: var(--text-light); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--gray-700); font-family: var(--font-main); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px; border: 2px solid var(--gray-200); border-radius: 10px;
  font-size: 15px; font-family: var(--font-body); color: var(--text);
  background: var(--white); transition: border-color var(--transition);
  outline: none; width: 100%; min-width: 0; box-sizing: border-box;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-privacy { font-size: 11px; color: var(--text-light); margin-top: 8px; }
.form-success { display: none; background: rgba(41,128,185,0.1); border: 2px solid var(--secondary); color: var(--secondary-dark); padding: 16px 20px; border-radius: 10px; font-weight: 600; margin-top: 16px; }

/* ---- Lead Sidebar Form ---- */
.lead-sidebar { background: var(--primary); border-radius: var(--radius-lg); padding: 32px; }
.lead-sidebar h3 { color: var(--white); font-size: 18px; margin-bottom: 6px; }
.lead-sidebar p { color: rgba(255,255,255,0.8); font-size: 13px; margin-bottom: 24px; }
.lead-sidebar .form-group label { color: rgba(255,255,255,0.85); }
.lead-sidebar .form-group input,
.lead-sidebar .form-group select,
.lead-sidebar .form-group textarea { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); color: var(--white); }
.lead-sidebar .form-group input::placeholder,
.lead-sidebar .form-group textarea::placeholder { color: rgba(255,255,255,0.5); }
.lead-sidebar .form-group input:focus,
.lead-sidebar .form-group select:focus { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.12); }
.lead-sidebar .form-group select option { background: var(--primary); color: var(--white); }

/* ---- Ville Pages ---- */
.page-hero { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); padding: 80px 0; color: var(--white); }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 16px; font-weight: 900; }
.page-hero p { font-size: 17px; opacity: 0.88; max-width: 600px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 24px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { opacity: 0.5; }

.ville-layout { display: grid; grid-template-columns: 1fr 360px; gap: 48px; padding: 60px 0; }
.ville-content h2 { font-size: 1.6rem; color: var(--primary); margin-bottom: 16px; margin-top: 40px; }
.ville-content h2:first-child { margin-top: 0; }
.ville-content p { color: var(--text-light); margin-bottom: 16px; line-height: 1.8; }
.ville-content ul { list-style: none; margin-bottom: 20px; }
.ville-content ul li { padding: 6px 0 6px 24px; position: relative; color: var(--text-light); font-size: 15px; }
.ville-content ul li::before { content: '✓'; position: absolute; left: 0; color: var(--secondary); font-weight: 700; }

.sticky-sidebar { position: sticky; top: 100px; height: fit-content; display: flex; flex-direction: column; gap: 24px; }
.contact-box { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); border: 2px solid var(--gray-200); }
.contact-box.urgent { border-color: var(--accent); }
.contact-box h4 { font-size: 16px; color: var(--primary); margin-bottom: 16px; font-family: var(--font-main); }
.contact-box.urgent h4 { color: var(--accent); }
.phone-big { display: flex; align-items: center; gap: 12px; background: var(--accent); color: var(--white); padding: 16px 20px; border-radius: 12px; font-family: var(--font-main); font-weight: 800; font-size: 20px; transition: all var(--transition); margin-bottom: 12px; }
.phone-big:hover { background: #c0392b; transform: translateY(-2px); }
.phone-big svg { width: 24px; height: 24px; flex-shrink: 0; }
.phone-hours { font-size: 12px; color: var(--text-light); text-align: center; }

/* ---- Villes Listing ---- */
.dept-section { padding: 40px 0; border-bottom: 1px solid var(--gray-200); }
.dept-section:last-child { border-bottom: none; }
.dept-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.dept-badge { background: var(--primary); color: var(--white); padding: 6px 14px; border-radius: 8px; font-family: var(--font-main); font-weight: 800; font-size: 14px; }
.dept-name { font-size: 1.3rem; font-weight: 800; color: var(--gray-800); font-family: var(--font-main); }
.dept-count { font-size: 12px; color: var(--text-light); }
.villes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.ville-link { display: block; padding: 8px 14px; background: var(--white); border: 1px solid var(--gray-200); border-radius: 8px; font-size: 13px; color: var(--gray-700); transition: all var(--transition); font-weight: 500; }
.ville-link:hover { background: var(--primary); color: var(--white); border-color: var(--primary); transform: translateY(-1px); }

/* ---- Testimonials ---- */
.testimonials-section { padding: 100px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.testimonial-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--gray-200); }
.testimonial-stars { color: var(--gold); font-size: 18px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text { font-size: 15px; color: var(--gray-700); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; color: var(--white); font-family: var(--font-main); font-weight: 700; font-size: 16px; flex-shrink: 0; }
.author-name { font-weight: 700; font-size: 14px; color: var(--gray-800); font-family: var(--font-main); }
.author-info { font-size: 12px; color: var(--text-light); }

/* ---- CTA Banner ---- */
.cta-banner { padding: 80px 0; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); }
.cta-banner h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 17px; margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-phone-display { font-family: var(--font-main); font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 900; color: var(--white); margin-bottom: 8px; }
.cta-phone-display a { color: #A9CCE3; }
.cta-phone-display a:hover { text-decoration: underline; }

/* ---- Footer ---- */
.site-footer { background: var(--gray-900); color: var(--white); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-icon { width: 36px; height: 36px; background: var(--primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-logo-icon svg { width: 20px; height: 20px; color: var(--white); }
.footer-logo-name { font-family: var(--font-main); font-weight: 800; font-size: 15px; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 20px; }
.footer-phone { display: flex; align-items: center; gap: 8px; background: var(--accent); color: var(--white); padding: 12px 18px; border-radius: 50px; font-family: var(--font-main); font-weight: 700; font-size: 15px; width: fit-content; transition: all var(--transition); }
.footer-phone:hover { background: #c0392b; }
.footer-phone svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer-col h4 { font-family: var(--font-main); font-size: 14px; font-weight: 700; margin-bottom: 16px; color: var(--white); letter-spacing: 0.5px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; font-size: 12px; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 10px; }
.footer-legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal-links a { color: rgba(255,255,255,0.4); font-size: 12px; }
.footer-legal-links a:hover { color: rgba(255,255,255,0.7); }

/* ---- Scroll animations ---- */
.reveal-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }

/* ---- FAQ ---- */
.faq-section { padding: 80px 0; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; cursor: pointer; font-family: var(--font-main); font-weight: 600; font-size: 15px; color: var(--gray-800); background: var(--white); transition: background var(--transition); gap: 12px; }
.faq-question:hover { background: var(--gray-50); }
.faq-question.open { color: var(--primary); background: rgba(27,79,114,0.04); }
.faq-icon { flex-shrink: 0; width: 20px; height: 20px; transition: transform var(--transition); }
.faq-question.open .faq-icon { transform: rotate(180deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-answer.open { padding: 0 24px 20px; max-height: 500px; }
.faq-answer p { font-size: 14px; color: var(--text-light); line-height: 1.8; }

/* ---- Alert box ---- */
.alert-box { display: flex; gap: 16px; background: rgba(231,76,60,0.06); border: 2px solid rgba(231,76,60,0.2); border-radius: var(--radius); padding: 20px 24px; margin: 32px 0; }
.alert-box svg { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.alert-box-content h4 { font-size: 15px; color: var(--accent); margin-bottom: 4px; font-family: var(--font-main); }
.alert-box-content p { font-size: 13px; color: var(--gray-700); }

/* ---- Phone box contact page ---- */
.phone-box-contact {
  background: var(--accent);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  color: white;
  margin-bottom: 28px;
  text-align: center;
  word-break: break-word;
  overflow: hidden;
}
.phone-box-contact .phone-label {
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.phone-box-contact .phone-number {
  color: white;
  font-family: var(--font-main);
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 900;
  display: block;
  margin-bottom: 8px;
  white-space: nowrap;
}
.phone-box-contact .phone-sub {
  font-size: 13px;
  opacity: 0.85;
  line-height: 1.5;
}

/* ---- Rappel form ---- */
.rappel-section {
  padding: 60px 0;
  background: var(--primary);
}
.rappel-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 0 16px;
}
.rappel-inner h2 {
  color: white;
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  margin-bottom: 10px;
}
.rappel-inner > p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  font-size: 15px;
}
.rappel-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.rappel-form-wrap input {
  padding: 16px 20px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 16px;
  width: 100%;
  outline: none;
  box-sizing: border-box;
  font-family: var(--font-body);
}
.rappel-form-wrap input::placeholder { color: rgba(255,255,255,0.6); }
.rappel-form-wrap input:focus { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.15); }
.rappel-form-wrap .btn {
  width: 100%;
  justify-content: center;
  padding: 16px 24px;
  font-size: 16px;
  white-space: normal;
  text-align: center;
}

/* ============================================
   RESPONSIVE — Mobile First
   ============================================ */

/* Tablet — 1024px */
@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-badge { bottom: -16px; right: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ville-layout { grid-template-columns: 1fr; }
  .sticky-sidebar { position: static; }
  .contact-form-wrap { padding: 28px; }
}

/* Mobile — 768px */
@media (max-width: 768px) {
  /* Nav mobile */
  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-200);
    gap: 8px;
    z-index: 999;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 16px; display: block; font-size: 15px; }
  .nav-toggle { display: flex; }
  .header-phone span { display: none; }
  .header-phone { padding: 10px 14px; }

  /* Grilles */
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 20px; }
  .urgency-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .patients-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid-3 { grid-template-columns: 1fr !important; }
  .patients-grid-3 { grid-template-columns: repeat(2, 1fr) !important; }
  .services-grid-3 { grid-template-columns: 1fr !important; }
  .urgency-grid-6 { grid-template-columns: repeat(2, 1fr) !important; }

  /* Contact page */
  .contact-main-grid { grid-template-columns: 1fr !important; }
  .contact-form-wrap { padding: 20px; }

  /* Bouton submit full width sur mobile */
  .contact-page-form .btn-lg {
    font-size: 15px !important;
    padding: 16px 20px !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.4 !important;
    height: auto !important;
  }

  /* Sections padding */
  .services-section,
  .about-section,
  .why-section,
  .patients-section,
  .testimonials-section,
  .faq-section { padding: 60px 0; }

  .section-header { margin-bottom: 36px; }

  /* Hero */
  .hero { min-height: auto; padding: 60px 0; }
  .hero-split { padding: 40px 0; }

  /* Ville layout */
  .ville-layout { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }

  /* About */
  .about-img img { height: 300px; }
  .about-badge { right: 0; bottom: -12px; padding: 14px 16px; }
  .about-badge .big { font-size: 1.5rem; }

  /* CTA banner */
  .cta-banner { padding: 60px 0; }

  /* Rappel section */
  .rappel-section { padding: 48px 0; }
}

/* Small mobile — 480px */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .urgency-grid { grid-template-columns: 1fr; }
  .patients-grid { grid-template-columns: 1fr; }
  .villes-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-direction: column; gap: 16px; }
  .patients-grid-3 { grid-template-columns: 1fr !important; }
  .urgency-grid-6 { grid-template-columns: 1fr !important; }

  .phone-box-contact .phone-number { font-size: 1.3rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal-links { justify-content: center; }

  /* Formulaires */
  .contact-form-wrap { padding: 16px; }
  .lead-sidebar { padding: 20px; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; }

  /* Hero */
  .hero-badge { font-size: 11px; padding: 6px 14px; }
  .btn-lg { padding: 14px 20px; font-size: 15px; }

  /* Urgency bar */
  .urgency-bar { font-size: 11px; padding: 8px 12px; }

  /* FAQ */
  .faq-question { font-size: 14px; padding: 16px 16px; }
  .faq-answer { padding: 0 16px; }
  .faq-answer.open { padding: 0 16px 16px; }
}