

/* ===== RDV Button under specialty cards (specialites.html) ===== */
.specialty-card-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.specialty-card-wrap .specialty-card {
  border-radius: 12px 12px 0 0;
  margin-bottom: 0 !important;
}
.btn-rdv-card {
  display: block;
  text-align: center;
  background: #738b69;
  color: #fff !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 14px 20px;
  border-radius: 0 0 12px 12px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.15s ease;
}
.btn-rdv-card:hover {
  background: #5a6c52;
  transform: translateY(-1px);
}
.btn-rdv-card::before {
  content: "\f073";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 8px;
}
/* ============================================================
   CABINET DENTAIRE CÔTÉ GARE BUSSIGNY
   Stylesheet global - identique au site original
   Palette: #738b69 (vert principal) / #5a6c52 (vert hover)
   Fonts: Plus Jakarta Sans (body) / Playfair (titres)
   ============================================================ */

/* ===== IMPORTS FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #212529;
  line-height: 1.6;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #738b69; text-decoration: none; transition: color 0.25s ease; }
a:hover { color: #5a6c52; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== VARIABLES ===== */
:root {
  --primary: #738b69;
  --primary-dark: #5a6c52;
  --primary-light: #e8f0e3;
  --text-dark: #212529;
  --text-medium: #4a5568;
  --text-light: #888;
  --bg-light: #fafafa;
  --bg-section: #f5f6f3;
  --bg-dark: #1a1a1a;
  --border: #e5e7eb;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
p { margin-bottom: 1rem; }

/* ===== CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow { max-width: 980px; margin: 0 auto; padding: 0 20px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}
.btn-outline {
  background: var(--white);
  color: var(--text-dark);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.btn-sm { padding: 8px 20px; font-size: 0.8rem; }

/* ===== HEADER ===== */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-top: 4px solid #c9c1ad;
}
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 8px 40px 0;
  position: relative;
}
.header-contact-left, .header-contact-right {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
  color: #000;
  flex: 1;
}
.header-contact-right { justify-content: flex-end; }
.header-contact-left a, .header-contact-right a {
  color: #000;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}
.header-contact-left a:hover, .header-contact-right a:hover { color: #738b69; }
.header-contact-left i, .header-contact-right i { color: #738b69; }
.logo-center {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  z-index: 5;
}
.logo-center a { display: block; }
.logo-center img { height: 92px; width: auto; display: block; }
.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 8px 40px;
  position: relative;
}
.nav-left, .nav-right { flex: 1; display: flex; align-items: center; }
.nav-left { justify-content: flex-start; padding-right: 130px; }
.nav-right { justify-content: flex-end; padding-left: 130px; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}
.main-nav > a, .has-submenu > a {
  color: #2a2a2a;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: color 0.3s;
  padding: 6px 0;
  white-space: nowrap;
}
.main-nav > a:hover, .has-submenu > a:hover { color: #738b69; }
.has-submenu { position: relative; }
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #f5f6f3;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  min-width: 260px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s;
  z-index: 200;
  list-style: none;
  margin: 0;
}
.has-submenu:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu li a {
  display: block;
  padding: 10px 20px;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.submenu li a:hover { background: #d8e6cf; color: #738b69; }
.main-nav .btn-primary, .main-nav a.btn {
  background: #738b69;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 0.8rem;
  transition: background 0.3s, transform 0.2s;
  margin-left: 4px;
}
.main-nav .btn-primary:hover, .main-nav a.btn:hover { background: #5a6c52; color: #fff !important; }
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 16px;
}
.mobile-menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #2a2a2a;
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}
@media (max-width: 1100px) {
  .nav-left { padding-right: 130px; }
  .nav-right { padding-left: 130px; }
  .main-nav { gap: 18px; }
  .logo-center img { height: 90px; }
}
@media (max-width: 900px) {
  .header-top { padding: 12px 20px 0; font-size: 0.85rem; }
  .header-contact-left, .header-contact-right { gap: 10px; font-size: 0.82rem; }
  .logo-center img { height: 70px; }
  .header-main { padding: 14px 20px; }
  .nav-left .main-nav, .nav-right .main-nav:not(.mobile-keep) { display: none; }
  .nav-left { padding-right: 0; }
  .nav-right { padding-left: 0; justify-content: flex-end; }
  .mobile-menu-toggle { display: block; }
  .main-nav .btn-primary { padding: 10px 18px; font-size: 0.78rem; }
}
@media (max-width: 600px) {
  .header-top { padding: 10px 14px 0; }
  .header-contact-left { font-size: 0.78rem; }
  .logo-center img { height: 58px; }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: calc(100vh - 160px);
  min-height: 600px;
  overflow: hidden;
}
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8vh;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.4) 100%);
}
.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  max-width: 100%;
  padding: 0 24px;
  z-index: 2;
}
.hero-title {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(1rem, 2.6vw, 2.5rem) !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: var(--white) !important;
  margin-bottom: 36px !important;
  line-height: 1.3 !important;
  text-align: center !important;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4) !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}
.hero-title .line { display: block !important; white-space: nowrap !important; word-break: keep-all !important; overflow-wrap: normal !important; }
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  pointer-events: none;
  z-index: 5;
}
.hero-arrows button {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.hero-arrows button:hover { background: rgba(255,255,255,0.4); }

/* ===== FLOATING BUTTONS (WhatsApp, Lang) ===== */
.floating-side {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  padding: 14px 8px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease;
}
.floating-btn:hover { background: var(--primary-dark); color: var(--white); }
.floating-btn.lang-btn { background: #2c2c2c; }
.floating-btn.lang-btn:hover { background: var(--primary); }

.lang-dropdown {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  min-width: 60px;
  margin-right: 4px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.lang-dropdown.active { opacity: 1; visibility: visible; }
.lang-dropdown a {
  display: block;
  padding: 8px 14px;
  font-size: 0.85rem;
  color: var(--text-dark);
  writing-mode: horizontal-tb;
  text-align: center;
}
.lang-dropdown a:hover { background: var(--primary-light); }

/* ===== WELCOME SECTION ===== */
.welcome-section {
  position: relative;
  padding: 110px 0;
  background: linear-gradient(rgba(40,50,40,0.55), rgba(40,50,40,0.65)),
              url('https://www.dentiste-cote-gare-bussigny.ch/file/zone/451-451.webp') center/cover fixed;
  color: var(--white);
  text-align: center;
}
.welcome-section h2 {
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.welcome-section .divider {
  width: 80px;
  height: 1px;
  background: var(--white);
  margin: 18px auto 28px;
}
.welcome-subtitle {
  font-style: italic;
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--white);
}
.welcome-tagline {
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}
.welcome-section p {
  max-width: 720px;
  margin: 0 auto 18px;
  font-size: 0.97rem;
  line-height: 1.8;
}
.welcome-section h3 {
  color: var(--white);
  margin: 36px 0 18px;
  font-size: 1.4rem;
}
.welcome-section .highlight {
  font-style: italic;
  font-weight: 600;
  margin: 30px 0 24px;
}
.welcome-cta { margin-top: 24px; }

/* ===== OFFRES BAND (parallax) ===== */
.offers-band {
  position: relative;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.65)),
              url('https://www.dentiste-cote-gare-bussigny.ch/file/department/345-345.webp') center/cover fixed;
  padding: 60px 0;
  color: var(--white);
}
.offers-band-title {
  text-align: center;
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.offers-carousel {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.offers-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: offers-scroll 40s linear infinite;
  will-change: transform;
}
.offers-carousel:hover .offers-track {
  animation-play-state: paused;
}
.offers-track .offer-item {
  flex: 0 0 320px;
  min-width: 320px;
}
@keyframes offers-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .offers-track .offer-item { flex: 0 0 260px; min-width: 260px; }
  .offers-track { animation-duration: 30s; }
}
.offer-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
}
.offer-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}
.offer-text { flex: 1; }
.offer-title {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.offer-price {
  display: inline-block;
  padding: 6px 22px;
  border: 2px solid var(--primary);
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

/* ===== SERVICES SECTION ===== */
.services-section {
  position: relative;
  padding: 90px 0;
  background: var(--bg-section);
}
.services-section .section-title { color: #2a2a2a; }
.services-section .service-content h3 { color: #2a2a2a; }
.services-section .service-card { background: transparent; }
.section-title {
  text-align: center;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 60px;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}
.service-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  display: block;
}
.service-card {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  transition: transform 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); }
.service-media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.service-media img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s ease; } 
.service-card:hover .service-media img { transform: scale(1.05); }
.service-content { padding: 18px 8px 24px; text-align: left; }
.service-content h3 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.service-link {
  display: inline-block;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.service-link:hover { border-color: var(--primary); }

/* ===== GALLERY ===== */
.gallery-section { padding: 90px 0; background: var(--bg-section); }
.gallery-section .section-title { color: var(--text-dark); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

/* ===== GALLERY CAROUSEL (auto-scroll) ===== */
.gallery-carousel {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
.gallery-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: gallery-scroll 60s linear infinite;
  will-change: transform;
}
.gallery-carousel:hover .gallery-track { animation-play-state: paused; }
.gallery-carousel .gallery-item {
  flex: 0 0 auto;
  width: 320px;
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}
.gallery-carousel .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-carousel .gallery-item:hover img { transform: scale(1.06); }

@keyframes gallery-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .gallery-carousel .gallery-item { width: 240px; }
  .gallery-track { animation-duration: 45s; }
}
@media (max-width: 480px) {
  .gallery-carousel .gallery-item { width: 200px; }
  .gallery-track { animation-duration: 35s; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-track { animation: none; }
  .gallery-carousel { overflow-x: auto; }
}

/* ===== ARTICLES ===== */
.articles-section { padding: 90px 0; background: #fff; }
.articles-section .section-title { color: var(--text-dark); }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.article-card { background: #fff; box-shadow: var(--shadow-sm); transition: box-shadow 0.3s ease; }
.article-card:hover { box-shadow: var(--shadow-md); }
.article-img { aspect-ratio: 3/4; overflow: hidden; }
.article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.article-card:hover .article-img img { transform: scale(1.05); }
.article-content { padding: 22px 24px 28px; }
.article-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}
.article-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.article-date { font-size: 0.8rem; color: var(--text-light); }

/* ===== TEAM ===== */
.team-section { padding: 90px 0; background: var(--bg-section); }
.team-section .section-title { color: var(--text-dark); }
.team-grid {
  display: grid;
    grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.team-card { text-align: center; }
.team-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 0 18px;
  overflow: hidden;
    border-radius: 0;
    border: none;
  box-shadow: var(--shadow-md);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-family: 'Inter', sans-serif; font-size: 1.25rem; margin-bottom: 4px; }
.team-role {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.team-bio { font-size: 0.9rem; color: var(--text-medium); line-height: 1.7; }

/* Team card - hover overlay (Rhone Dental style) */
.team-card { position: relative; cursor: pointer; text-align: left; }
.team-photo { position: relative; }
.team-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background: rgba(115, 139, 105, 0.88);
  color: #fff;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.team-card:hover .team-overlay { opacity: 1; }
.team-overlay .team-overlay-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: #fff;
}
.team-overlay .team-overlay-role {
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.5px;
  margin: 0;
}
.team-card .team-card-info { display: none; }
.team-card h3 { display: none; }
.team-card .team-role { display: none; }
.team-card .team-bio { display: none; }

/* Team modal */
.team-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.team-modal-overlay.active { display: flex; opacity: 1; }
.team-modal {
  background: #fff;
  max-width: 980px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  padding: 50px;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.team-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #555;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  z-index: 2;
}
.team-modal-close:hover { color: var(--primary); }
.team-modal-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.team-modal-body { display: flex; flex-direction: column; }
.team-modal-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.team-modal-role {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.team-modal-bio {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #2a2a2a;
  margin-bottom: 24px;
}
.team-modal-contact { display: flex; gap: 12px; margin-top: auto; }
.team-modal-contact a {
  width: 44px;
  height: 44px;
  border: 1px solid #ddd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2a2a2a;
  border-radius: 4px;
  transition: all 0.25s ease;
  font-size: 1.05rem;
}
.team-modal-contact a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
body.modal-open { overflow: hidden; }
@media (max-width: 768px) {
  .team-modal { grid-template-columns: 1fr; padding: 40px 24px; gap: 20px; }
  .team-modal-img { max-width: 320px; margin: 0 auto; }
  .team-modal-close { top: 10px; right: 14px; }
}

/* ===== CONTACT ===== */
.contact-section { padding: 90px 0; background: #fff; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.contact-info h2 {
  font-size: 1.75rem;
  margin-bottom: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
}
.contact-block { margin-bottom: 24px; }
.contact-block h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--text-medium);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.contact-block p, .contact-block a {
  display: block;
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.6;
}
.contact-block a:hover { color: var(--primary); }
.contact-form-wrapper { background: var(--bg-section); padding: 36px 36px 30px; }
.contact-form-wrapper h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--primary);
  letter-spacing: 0.5px;
}
.contact-form-wrapper p { font-size: 0.9rem; color: var(--text-medium); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color 0.3s ease;
}
.form-control:focus { outline: none; border-color: var(--primary); }
textarea.form-control { resize: vertical; min-height: 110px; }
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-medium);
  margin: 16px 0 22px;
}
.form-checkbox input { margin-top: 4px; }


/* ===== TRUST BADGES ===== */
.trust-badges {
  background: var(--bg-section);
  padding: 50px 20px;
}
.trust-badges-wrap {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  flex-wrap: wrap;
}
.trust-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  padding: 22px 32px;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 110px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
}
.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.trust-google .google-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -1px;
  line-height: 1;
}
.trust-google-rating {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rating-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: #4b3a8a;
  font-family: 'Inter', sans-serif;
}
.rating-stars {
  color: #F5B400;
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.rating-count {
  font-size: 0.9rem;
  color: #666;
  font-family: 'Inter', sans-serif;
}
.rating-cta {
  font-size: 1.1rem;
  font-weight: 700;
  color: #4b3a8a;
  font-family: 'Inter', sans-serif;
  display: block;
  margin-bottom: 4px;
}
.trust-follow {
  flex-direction: column;
  gap: 14px;
  padding: 22px 36px;
}
.follow-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #2a2a2a;
}
.follow-icons {
  display: flex;
  gap: 14px;
}
.follow-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.follow-icon:hover { transform: translateY(-2px); filter: brightness(1.1); }
.follow-icon.ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.follow-icon.fb { background: #1877F2; }
.follow-icon.li { background: #0A66C2; }

@media (max-width: 600px) {
  .trust-card { padding: 18px 22px; min-height: 0; }
  .trust-google .google-logo { font-size: 1.6rem; }
  .rating-number { font-size: 1.3rem; }
}


/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--bg-section);
  padding: 42px 20px 56px;
}
.testimonials-title {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: #2a2a2a;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  margin-bottom: 28px;
}
.testimonials-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.review-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  padding: 20px 28px;
  position: relative;
}
.review-quote-mark {
  color: #c8d2e3;
  font-size: 1.2rem;
  display: block;
  margin-bottom: 6px;
}
.review-stars {
  color: #F5B400;
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.review-text {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  color: #2a2a2a;
  line-height: 1.5;
  font-size: 0.93rem;
  margin-bottom: 12px;
}
.review-author {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #2a2a2a;
  font-size: 0.92rem;
  margin: 0;
}
@media (max-width: 800px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .review-card { padding: 16px 18px; }
}

/* ===== FOOTER (Rhône Dental Clinic style) ===== */
.site-footer {
  background: #151012;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 0;
  margin-top: 80px;
}
.site-footer .sf-main {
  max-width: 1050px;
  margin: 0 auto;
  padding: 70px 24px 0;
}
.site-footer .sf-logo-block {
  text-align: center;
  margin-bottom: 50px;
}
.site-footer .sf-logo img {
  height: 100px;
  width: auto;
  margin: 0 auto;
  display: inline-block;
}
.site-footer .sf-info {
  display: grid;
  grid-template-columns: 3fr 4fr 2fr 1fr;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 50px;
}
.site-footer .sf-col h3 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1.45px;
  line-height: 1.6;
  margin-bottom: 10px;
  text-transform: none;
}
.site-footer .sf-col a,
.site-footer .sf-col p {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  text-decoration: none;
}
.site-footer .sf-col a:hover { color: #b39d78; }
.site-footer .sf-sitemap p,
.site-footer .sf-schedule p { margin: 0; }
.site-footer .sf-address,
.site-footer .sf-phone,
.site-footer .sf-email {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  line-height: 1.5;
}
.site-footer .sf-address i,
.site-footer .sf-phone i,
.site-footer .sf-email i { color: #b39d78; margin-top: 4px; min-width: 16px; }
.site-footer .sf-cta { margin-top: 18px; }
.site-footer .sf-cta a {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-bottom: 1px solid #b39d78;
  padding-bottom: 4px;
}
.site-footer .sf-socials {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
}
.site-footer .sf-socials a {
  width: 45px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #b39d78;
  font-size: 1.5rem;
  margin-bottom: 0;
  transition: transform 0.2s ease;
}
.site-footer .sf-socials a:hover { transform: translateY(-2px); color: #fff; }
.site-footer .sf-newsletter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 0 50px;
}
.site-footer .sf-newsletter .nl-label {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.site-footer .sf-newsletter input[type="email"] {
  background: transparent;
  border: none;
  border-bottom: 1px solid #fff;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-style: italic;
  padding: 4px 0;
  outline: none;
  width: 315px;
  min-width: 200px;
}
.site-footer .sf-newsletter input::placeholder { color: rgba(255,255,255,0.6); }
.site-footer .sf-newsletter button {
  background: transparent;
  border: 1px solid #b39d78;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.75px;
  text-transform: uppercase;
  padding: 0 15px;
  height: 30px;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.site-footer .sf-newsletter button:hover { background: #b39d78; color: #151012; }
.site-footer .sf-docs {
  border-top: 1px solid #b39d78;
  max-width: 1050px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer .sf-docs-links { display: flex; gap: 30px; }
.site-footer .sf-docs-links a {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}
.site-footer .sf-docs-links a:hover { color: #b39d78; }
.site-footer .sf-copyright {
  color: #fff;
  font-size: 12px;
  text-align: right;
}
@media (max-width: 768px) {
  .site-footer .sf-info { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .site-footer .sf-socials { flex-direction: row; justify-content: center; }
  .site-footer .sf-address, .site-footer .sf-phone, .site-footer .sf-email { justify-content: center; }
  .site-footer .sf-docs { flex-direction: column; text-align: center; }
  .site-footer .sf-copyright { text-align: center; }
}

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-md);
  z-index: 80;
  cursor: pointer;
  transition: background 0.3s ease;
}
.scroll-top:hover { background: var(--primary-dark); }
.scroll-top.visible { display: flex; }

/* ===== INTERIOR PAGES ===== */
.page-hero {
  padding: 80px 0;
  background: linear-gradient(rgba(40,50,40,0.6), rgba(40,50,40,0.7)),
              url('https://www.dentiste-cote-gare-bussigny.ch/file/zone/451-451.webp') center/cover;
  color: #fff;
  text-align: center;
}
.page-hero h1 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}
.page-content { padding: 80px 0; }
.page-content h2 {
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
}

/* ===== TARIFS TABLE ===== */
.tarifs-table {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.tarifs-table th, .tarifs-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.tarifs-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.tarifs-table tr:nth-child(even) { background: var(--bg-light); }
.tarifs-table .price-col { text-align: right; font-weight: 600; color: var(--primary-dark); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .header-main { grid-template-columns: auto 1fr auto; padding: 0 20px 14px; }
  .nav-left, .nav-right, .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .header-top { padding: 12px 20px 8px; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .articles-grid, .gallery-grid, .offers-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .header-top { display: none; }
  .logo-center img { height: 60px; }
  .hero { height: auto; min-height: 480px; padding: 80px 0; }
  .hero-title { font-size: 0.9rem !important; }
  .welcome-section, .services-section, .gallery-section, .articles-section, .team-section, .contact-section { padding: 60px 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid, .gallery-grid, .offers-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .footer-social { justify-content: center; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .floating-side .floating-btn { padding: 10px 6px; font-size: 0.7rem; }
}
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 280px; }
      .team-grid { grid-template-columns: 1fr; gap: 20px; }
  .contact-form-wrapper { padding: 24px 20px; }
}

/* ===== MOBILE NAV OVERLAY ===== */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.mobile-nav-overlay.active { opacity: 1; visibility: visible; }
.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 86%;
  max-width: 380px;
  height: 100vh;
  background: #fff;
  padding: 28px 24px;
  z-index: 201;
  overflow-y: auto;
  transition: right 0.3s ease;
}
.mobile-nav-panel.active { right: 0; }
.mobile-nav-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  font-size: 1.6rem;
  color: var(--text-dark);
}
.mobile-nav-panel ul { margin-top: 40px; }
.mobile-nav-panel ul li { border-bottom: 1px solid var(--border); }
.mobile-nav-panel ul li a {
  display: block;
  padding: 14px 4px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.mobile-nav-panel ul li a:hover { color: var(--primary); }
.mobile-nav-panel .submenu {
  padding-left: 16px;
  background: var(--bg-light);
}
.mobile-nav-panel .submenu li a {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 0.88rem;
}

/* ===== HEADER LAYOUT FIX (desktop) ===== */
.site-header { background:#fff; }
.header-top { padding:14px 40px; }
.header-top-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:nowrap;
}
.header-contact-left,
.header-contact-right {
  display:flex;
  align-items:center;
  gap:18px;
  flex:1;
  font-size:0.92rem;
  color:#000;
}
.header-contact-right { justify-content:flex-end; }
.header-contact-left a,
.header-contact-right a {
  color:#000;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.header-contact-left a:hover,
.header-contact-right a:hover { color:#738b69; }
.logo img { max-height:70px; width:auto; display:block; }
.main-nav { padding:10px 0; }
.nav-inner {
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}
.nav-list {
  display:flex !important;
  flex-direction:row !important;
  align-items:center;
  justify-content:center;
  gap:28px;
  list-style:none;
  margin:0;
  padding:0;
  flex-wrap:wrap;
}
.nav-list > li {
  position:relative;
  list-style:none;
}
.nav-list > li > a {
  color:#212529;
  text-decoration:none;
  font-weight:600;
  font-size:0.92rem;
  letter-spacing:0.5px;
  text-transform:uppercase;
  padding:8px 0;
  display:inline-flex;
  align-items:center;
  gap:6px;
  transition:color 0.2s;
}
.nav-list > li > a:hover { color:#738b69; }
.nav-list .btn-rdv {
  background:#738b69;
  color:#fff !important;
  padding:10px 22px !important;
  border-radius:4px;
  transition:background 0.2s;
}
.nav-list .btn-rdv:hover { background:#5a6c52; }
.has-submenu { position:relative; }
.has-submenu .submenu {
  position:absolute;
  top:100%;
  left:0;
  background:#f5f6f3;
  border:1px solid #d8e6cf;
  box-shadow:0 8px 24px rgba(0,0,0,0.18);
  min-width:240px;
  padding:10px 0;
  list-style:none;
  margin:0;
  opacity:0;
  visibility:hidden;
  transition:opacity 0.2s, visibility 0.2s;
  z-index:200;
}
.has-submenu:hover .submenu,
.has-submenu.open .submenu {
  opacity:1;
  visibility:visible;
}
.has-submenu .submenu li { list-style:none; }
.has-submenu .submenu a {
  display:block;
  padding:9px 20px;
  color:#1a1a1a;
  text-decoration:none;
  font-size:0.88rem;
  text-transform:none;
  letter-spacing:normal;
  font-weight:500;
}
.has-submenu .submenu a:hover {
  background:#d8e6cf;
  color:#738b69;
}
.mobile-menu-toggle {
  display:none;
  background:none;
  border:none;
  font-size:1.5rem;
  cursor:pointer;
  color:#212529;
  position:absolute;
  left:20px;
  top:50%;
  transform:translateY(-50%);
}

/* Mobile responsive */
@media (max-width:980px) {
  .header-contact-left,
  .header-contact-right { display:none; }
  .header-top-inner { justify-content:center; }
  .nav-list { display:none !important; }
  .mobile-menu-toggle { display:block; }
  .nav-inner { justify-content:center; min-height:50px; }
}



/* ===== LEGAL CONTENT (Mentions Légales) ===== */
.legal-content { padding: 60px 0 80px; background: #fff; }
.legal-content .container { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.legal-article h2 { font-family: 'Inter', sans-serif; color: #738b69; font-size: 1.25rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin: 48px 0 20px; padding-bottom: 0; border-bottom: none; }
.legal-article h2:first-child { margin-top: 0; }
.legal-article p { color: #212529; line-height: 1.75; margin-bottom: 14px; font-size: 1rem; text-align: justify; }
.legal-article a { color: #738b69; text-decoration: underline; transition: color .3s; }
.legal-article a:hover { color: #5a6c52; }
.legal-article .legal-list { list-style: none; padding-left: 0; margin: 14px 0 24px; background: #f7f7f5; border-left: 4px solid #738b69; padding: 18px 24px; border-radius: 4px; }
.legal-article .legal-list li { padding: 4px 0; line-height: 1.6; color: #212529; }
.legal-article .legal-update { margin-top: 50px; padding-top: 20px; border-top: 1px solid #e8e2d5; color: #777; font-size: .95rem; text-align: right; }
@media (max-width: 768px) {
  .legal-content { padding: 40px 0 60px; }
  .legal-article h2 { font-size: 1.35rem; }
  .legal-article p { text-align: left; }
}

.legal-article h3 { font-family: 'Inter', sans-serif; color: #212529; font-size: 1.15rem; font-weight: 700; margin: 24px 0 10px; }


/* ========================================================
   ABOUT CLINIC SECTION (Rhone-style, two-block layout)
   ======================================================== */
.about-clinic {
  background: var(--white);
  padding: 100px 0;
  color: var(--text-dark);
}
.about-clinic__container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.about-clinic__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: stretch;
  margin-bottom: 100px;
}
.about-clinic__row:last-of-type {
  margin-bottom: 0;
}
.about-clinic__row--reverse .about-clinic__media {
  order: 2;
}
.about-clinic__media {
  position: relative;
  align-self: stretch;
  min-height: 0;
  overflow: hidden;
  border-radius: 2px;
}
.about-clinic__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 2px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.about-clinic__content {
  display: flex;
  flex-direction: column;
}
.about-clinic__title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: var(--text-dark);
  margin-bottom: 18px;
  line-height: 1.25;
}
.about-clinic__divider {
  display: none;
}
.about-clinic__content p {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-medium);
  margin-bottom: 12px;
}
.about-clinic__content p a {
  color: var(--primary);
  text-decoration: none;
}
.about-clinic__content p a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}
.about-clinic__highlight {
  font-style: italic;
  color: var(--text-dark) !important;
  font-weight: 600;
  margin-top: 6px !important;
  margin-bottom: 26px !important;
}
.about-clinic__cta {
  align-self: flex-start;
  margin-top: 18px;
}
.btn-outline-dark {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--text-dark);
  padding: 14px 36px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-outline-dark:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* Gallery row under the two blocks */
.about-clinic__gallery {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.about-clinic__gallery-item {
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}
.about-clinic__gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.about-clinic__gallery-item:hover img {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 900px) {
  .about-clinic {
    padding: 70px 0;
  }
  .about-clinic__row {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 60px;
  }
  .about-clinic__row--reverse .about-clinic__media {
    order: 0;
  }
  .about-clinic__media img {
    max-height: 380px;
  }
  .about-clinic__gallery {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 40px;
  }
  .about-clinic__gallery-item img {
    height: 180px;
  }
}
@media (max-width: 480px) {
  .about-clinic__title {
    font-size: 1.35rem;
  }
}

/* ===== CITATION DRE. POPESCU (quote-band) ===== */
.quote-band { background: #ffffff; padding: 80px 0; overflow: hidden; }
.quote-band__inner { position: relative; max-width: 1280px; margin: 0 auto; min-height: 577px; display: block; }
.quote-band__media { position: absolute; top: -28px; left: 47%; right: 0; width: auto; height: 100%; overflow: hidden; z-index: 1; }
.quote-band__media img { width: 100%; height: 100%; object-fit: contain; object-position: center top; display: block; filter: none; }
.quote-band__text { position: absolute; top: 96px; bottom: 136px; left: 0; width: calc(50% + 38px); background: #0e0e0e; color: #ffffff; padding: 70px 80px; display: flex; flex-direction: column; justify-content: center; z-index: 2; box-shadow: 0 20px 60px rgba(0,0,0,0.25); }
.quote-band__quote { font-size: 1.15rem; line-height: 1.8; color: #f5f5f5; margin: 0 0 40px 0; font-weight: 300; font-style: italic; letter-spacing: 0.01em; }
.quote-band__signature { font-family: 'Inter', sans-serif; font-style: italic; font-size: 1.6rem; color: #ffffff; text-align: right; margin: 0; font-weight: 500; }
@media (max-width: 900px) {
.quote-band { padding: 0; }
.quote-band__inner { min-height: auto; }
.quote-band__media { position: relative; left: auto; right: auto; width: 100%; height: 320px; }
.quote-band__text { position: relative; top: auto; bottom: auto; width: 92%; margin: -60px auto 30px; padding: 40px 28px; box-shadow: 0 12px 30px rgba(0,0,0,0.25); }
.quote-band__quote { font-size: 1rem; }
.quote-band__signature { font-size: 1.35rem; text-align: center; }
}


/* ===== JOIN US (Carrière) - dentalgroup.ch style ===== */
.career-form-section {
  position: relative;
  background: #ffffff;
  padding: 100px 20px 120px;
  overflow: hidden;
}
.career-form-section::before,
.career-form-section::after {
  content: none;
}
.join-us-container {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.join-us-left h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #1a1a1a;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}
.join-us-left p {
  font-family: 'Inter', sans-serif;
  color: #2a2a2a;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 14px;
}
.join-us-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.join-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.join-field label {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: #1a1a1a;
}
.join-field input[type="text"],
.join-field input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  background: #ffffff;
  border: none;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #1a1a1a;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s ease;
}
.join-field input[type="text"]::placeholder,
.join-field input[type="email"]::placeholder {
  color: #b5b5b5;
}
.join-field input[type="text"]:focus,
.join-field input[type="email"]:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(26,26,26,0.15);
}
.join-field input[type="file"] {
  width: 100%;
  padding: 12px 14px;
  background: #e0dccf;
  border: none;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: #1a1a1a;
  cursor: pointer;
}
.join-field input[type="file"]::file-selector-button {
  background: #1a1a1a;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  margin-right: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.join-field input[type="file"]::file-selector-button:hover {
  background: #333;
}
.btn-send-application {
  margin-top: 10px;
  align-self: flex-start;
  background: #1a1a1a;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  padding: 16px 26px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: background 0.25s ease, transform 0.2s ease;
}
.btn-send-application:hover {
  background: #333;
  transform: translateX(2px);
}
.btn-send-application i {
  transition: transform 0.25s ease;
}
.btn-send-application:hover i {
  transform: translateX(4px);
}

/* Warm touch on career intro section if present */
.career-intro {
  background: #ffffff;
  padding: 70px 20px 40px;
  text-align: center;
}
.career-intro h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: #3a2818;
  margin-bottom: 18px;
}
.career-intro p {
  max-width: 720px;
  margin: 0 auto 12px;
  font-family: 'Inter', sans-serif;
  color: #5a4636;
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 860px) {
  .career-form-section { padding: 60px 20px 80px; }
  .join-us-container { grid-template-columns: 1fr; gap: 40px; }
}


/* ============================================
   CONTACT PAGE - inspiré dentistedorigny.ch
   ============================================ */
.contact-hero {
  background: var(--bg-section);
  padding: 70px 20px 50px;
  text-align: center;
}
.contact-hero h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #1a1a1a;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.contact-hero p {
  font-family: 'Inter', sans-serif;
  color: #4a4a4a;
  font-size: 1.05rem;
}

.contact-top-grid {
  background: #ffffff;
  padding: 60px 20px;
}
.contact-top-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.contact-card {
  background: #f4f8fc; /* soft blue-tinted background like reference site */
  border-radius: 16px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
}
.contact-card h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #2a5db0; /* accent like dentistedorigny */
  margin-bottom: 16px;
  letter-spacing: -0.2px;
}
.contact-card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #1a1a1a;
  margin-top: 22px;
  margin-bottom: 10px;
}
.contact-card h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #1a1a1a;
  margin-top: 18px;
  margin-bottom: 6px;
}
.contact-card p {
  font-family: 'Inter', sans-serif;
  color: #2a2a2a;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 8px;
}
.contact-card a { color: #2a5db0; }
.contact-card a:hover { color: #1e4a8a; text-decoration: underline; }

.contact-card-address { margin-bottom: 22px !important; }
.contact-line { margin-bottom: 6px !important; }
.contact-label { display: inline-block; min-width: 92px; color: #555; }

.contact-card-buttons {
  margin-top: auto;
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.btn-contact-primary {
  display: inline-block;
  text-align: center;
  background: #2a5db0;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 22px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: background 0.25s ease, transform 0.2s ease;
}
.btn-contact-primary:hover { background: #1e4a8a; color: #fff !important; text-decoration: none !important; }
.btn-contact-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 22px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: background 0.25s ease;
}
.btn-contact-whatsapp:hover { background: #1ebe57; color: #fff !important; text-decoration: none !important; }
.btn-contact-whatsapp i { font-size: 1.2rem; }

.contact-map-frame {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.contact-map-frame iframe { display: block; }

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: #2a2a2a;
  padding: 6px 0;
  border-bottom: 1px solid rgba(42, 93, 176, 0.08);
}
.hours-list li:last-child { border-bottom: none; }
.hours-list li span:first-child { font-weight: 500; }

/* Contact form */
.contact-form-section {
  background: var(--bg-section);
  padding: 80px 20px 100px;
}
.contact-form-container {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 70px;
  align-items: start;
}
.contact-form-left h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: #1a1a1a;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}
.contact-form-left p {
  font-family: 'Inter', sans-serif;
  color: #2a2a2a;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 12px;
}
.contact-form-modern {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.cf-field { display: flex; flex-direction: column; gap: 6px; }
.cf-field label {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: #1a1a1a;
}
.cf-field input,
.cf-field select,
.cf-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d6dde6;
  border-radius: 6px;
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #1a1a1a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: #2a5db0;
  box-shadow: 0 0 0 3px rgba(42, 93, 176, 0.12);
}
.cf-field textarea { resize: vertical; min-height: 110px; font-family: 'Inter', sans-serif; }
.cf-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: #4a4a4a;
  line-height: 1.5;
  margin-top: 4px;
}
.cf-consent input[type="checkbox"] { margin-top: 3px; accent-color: #2a5db0; }
.btn-send-contact {
  margin-top: 8px;
  align-self: flex-start;
  background: #1a1a1a;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 16px 26px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: background 0.25s ease;
}
.btn-send-contact:hover { background: #2a5db0; }
.btn-send-contact i { transition: transform 0.25s ease; }
.btn-send-contact:hover i { transform: translateX(4px); }

@media (max-width: 980px) {
  .contact-top-container { grid-template-columns: 1fr; }
  .contact-form-container { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .cf-row { grid-template-columns: 1fr; }
}


/* ============================================
   CONTACT PAGE — RICH SECTIONS
   ============================================ */
.how-to-come,
.parkings-section,
.neighborhood-section,
.good-to-know {
  padding: 70px 20px;
}
.how-to-come { background: #ffffff; }
.parkings-section { background: var(--bg-section); }
.neighborhood-section { background: #ffffff; }
.good-to-know { background: var(--bg-section); }

.how-header {
  max-width: 800px;
  margin: 0 auto 44px;
  text-align: center;
}
.how-header h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: #1a1a1a;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
}
.how-header p {
  font-family: 'Inter', sans-serif;
  color: #4a4a4a;
  font-size: 1rem;
  line-height: 1.65;
}

/* ===== HOW TO COME (3 cards) ===== */
.how-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.how-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.how-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}
.how-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e5e5e5;
}
.how-photo iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.how-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(26,26,26,0.85);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(4px);
}
.how-tag i { font-size: 0.75rem; }
.how-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.how-body h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: #1a1a1a;
  margin-bottom: 12px;
}
.how-body p {
  font-family: 'Inter', sans-serif;
  color: #2a2a2a;
  font-size: 0.93rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
.how-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}
.how-list li {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #2a2a2a;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
}
.how-list li i {
  color: #2a5db0;
  width: 18px;
  font-size: 0.9rem;
}
.how-link {
  margin-top: auto;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #2a5db0 !important;
  text-decoration: none !important;
  align-self: flex-start;
  padding-top: 8px;
}
.how-link:hover { color: #1e4a8a !important; text-decoration: underline !important; }

/* Bus lines styling */
.bus-lines {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}
.bus-lines li {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: #2a2a2a;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
}
.bus-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 26px;
  border-radius: 4px;
  background: #d6271e;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0 8px;
}
.bus-35 { background: #d6271e; }
.bus-56 { background: #f39200; }
.bus-58 { background: #009ee2; }
.bus-702 { background: #ffd400; color: #1a1a1a; }
.bus-736 { background: #4a4a4a; }

/* ===== PARKINGS GRID ===== */
.parkings-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.parking-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}
.parking-card:hover { transform: translateY(-3px); }
.parking-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e5e5e5;
}
.parking-photo iframe { width: 100%; height: 100%; border: 0; display: block; }
.parking-info {
  padding: 18px 18px 20px;
  position: relative;
}
.parking-badge {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.badge-free { background: #e6f6ed; color: #1a7d3a; }
.badge-paid { background: #fff1d6; color: #a85e00; }
.parking-info h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.parking-info p {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: #4a4a4a;
  line-height: 1.55;
  margin-bottom: 6px;
}
.parking-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem !important;
  color: #666 !important;
  margin-top: 6px;
}
.parking-meta i { color: #2a5db0; }

/* ===== NEIGHBORHOOD ===== */
.neighborhood-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 320px;
  gap: 18px;
}
.hood-tile {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}
.hood-tile iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.hood-caption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(26,26,26,0.85);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* ===== GOOD TO KNOW (tips) ===== */
.tips-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.tip-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px 26px;
  border: 1px solid rgba(42, 93, 176, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tip-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}
.tip-icon {
  font-size: 1.5rem;
  color: #2a5db0;
  margin-bottom: 14px;
  display: block;
}
.tip-card h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #1a1a1a;
  margin-bottom: 10px;
}
.tip-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: #2a2a2a;
  line-height: 1.6;
}
.tip-card a { color: #2a5db0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .how-grid { grid-template-columns: 1fr 1fr; }
  .parkings-grid { grid-template-columns: 1fr 1fr; }
  .neighborhood-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 260px;
  }
  .hood-large { grid-column: 1 / -1; }
  .tips-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .how-grid,
  .parkings-grid,
  .tips-grid {
    grid-template-columns: 1fr;
  }
  .neighborhood-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 260px 260px 260px;
  }
  .hood-large { grid-column: 1; }
}


/* ============================================
   SPÉCIALITÉS HUB (specialites.html)
   ============================================ */
.specialties-hub {
  padding: 60px 0 80px;
}
.specialties-hub .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 24px;
}
@media (max-width: 1100px) {
  .specialties-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .specialties-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .specialties-grid { grid-template-columns: 1fr; }
}
.specialty-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
  color: inherit;
}
.specialty-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}
.specialty-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f4f4f4;
}
.specialty-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.specialty-card:hover .specialty-card-media img {
  transform: scale(1.05);
}
.specialty-card-body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.specialty-card-body h3 {
  margin: 0 0 10px;
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  color: #1f3a3d;
}
.specialty-card-body p {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
  flex: 1;
}
.specialty-card-body .card-cta {
  font-weight: 600;
  color: #2f6b6b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.specialty-card:hover .card-cta {
  color: #1f3a3d;
}

/* ============================================
   SPECIALITY DETAIL PAGE (specialite-*.html)
   ============================================ */
.spec-detail-hero {
  position: relative;
  padding: 90px 20px 70px;
  background: linear-gradient(rgba(31,58,61,.55), rgba(31,58,61,.55)), #1f3a3d;
  color: #fff;
  text-align: center;
}
.spec-detail-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.6rem;
  margin: 0 0 12px;
}
.spec-detail-hero .lead {
  font-size: 1.1rem;
  opacity: .95;
  max-width: 720px;
  margin: 0 auto;
}
.spec-detail-body {
  max-width: 880px;
  margin: 0 auto;
  padding: 60px 20px;
}
.spec-detail-media {
  margin: 0 0 32px;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #f4f4f4;
}
.spec-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.spec-detail-body h2 {
  font-family: "Playfair Display", serif;
  color: #1f3a3d;
  margin: 32px 0 12px;
  font-size: 1.5rem;
}
.spec-detail-body p {
  line-height: 1.7;
  color: #333;
  margin: 0 0 14px;
}
.spec-faq {
  margin: 32px 0;
}
.spec-faq details {
  border-bottom: 1px solid #e6e6e6;
  padding: 14px 0;
}
.spec-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #1f3a3d;
  list-style: none;
  padding-right: 20px;
  position: relative;
}
.spec-faq summary::-webkit-details-marker { display: none; }
.spec-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2rem;
  color: #2f6b6b;
}
.spec-faq details[open] summary::after {
  content: "−";
}
.spec-faq details[open] summary {
  margin-bottom: 10px;
}
.spec-cta-block {
  background: #f7faf9;
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  margin-top: 28px;
}
.spec-cta-block p {
  margin: 0 0 14px;
}
.spec-cta-block .btn-primary,
.spec-cta-block .btn-rdv {
  display: inline-block;
  margin-top: 4px;
}

/* Back link */
.spec-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  text-decoration: none;
  color: #2f6b6b;
  font-weight: 600;
  font-size: 0.95rem;
}
.spec-back-link:hover { color: #1f3a3d; }

/* ===== ACTUALITES MEDICALES - CAROUSEL HORIZONTAL ===== */
.actualites-section {
  overflow: hidden;
  position: relative;
}
.actualites-section .services-grid {
  display: flex !important;
  grid-template-columns: none !important;
  flex-wrap: nowrap !important;
  width: max-content;
  gap: 16px;
  animation: actualites-scroll 60s linear infinite;
  padding: 10px 0;
}
.actualites-section .services-grid:hover {
  animation-play-state: paused;
}
.actualites-section .service-card {
  flex: 0 0 320px;
  width: 320px;
  min-width: 320px;
  max-width: 320px;
}
.actualites-section .service-card .service-media {
  height: 200px;
  overflow: hidden;
}
.actualites-section .service-card .service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes actualites-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 12px)); }
}
@media (max-width: 768px) {
  .actualites-section .service-card {
    flex: 0 0 240px;
    width: 240px;
    min-width: 240px;
    max-width: 240px;
  }
  .actualites-section .services-grid {
    animation-duration: 45s;
  }
}
/* Force full carousel width - override services-grid max-width */
section.actualites-section .services-grid.services-grid-four,
section.actualites-section .services-grid {
  max-width: none !important;
  width: max-content !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
section.actualites-section {
  padding-left: 0;
  padding-right: 0;
}

.actualites-carousel {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}



/* ===== Align RDV buttons across specialty cards (equal-height row) ===== */
.specialties-grid {
    align-items: stretch;
}
.specialty-card-wrap {
    height: 100%;
}
.specialty-card-wrap .specialty-card {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    height: auto !important;
    min-height: 0;
}
.specialty-card-wrap .specialty-card .specialty-card-body,
.specialty-card-wrap .specialty-card .card-body,
.specialty-card-wrap .specialty-card > div:last-child {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}
.specialty-card-wrap .btn-rdv-card {
    margin-top: auto;
}

/* ===== PAGE BANNER (non-homepage interior pages) ===== */
.page-banner,
.tarifs-banner {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 2400 / 500;
  max-height: 360px;
  min-height: 200px;
}
.page-banner img,
.tarifs-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
@media (max-width: 768px) {
  .page-banner,
  .tarifs-banner {
    aspect-ratio: 16 / 9;
    min-height: 140px;
    max-height: 240px;
  }
}
.rdv-badge {
  display: inline-block;
  background: var(--primary-light, #e8f0e3);
  color: var(--primary, #738b69);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 22px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.rdv-intro h1 {
  font-family: 'Inter', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: #212529;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.rdv-intro p {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: #4a5568;
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto;
}
.rdv-widget-section {
  background: #ffffff;
  padding: 30px 20px 100px;
}
.rdv-widget-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.rdv-widget-frame {
  background: #ffffff;
  border: 1px solid #e6ebe2;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(115, 139, 105, 0.10);
}
.rdv-widget-frame iframe {
  display: block;
  width: 100%;
  min-height: 900px;
  border: 0;
}
.rdv-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 100px;
}
.rdv-aside-card {
  background: #ffffff;
  border: 1px solid #e6ebe2;
  border-radius: 14px;
  padding: 22px 22px 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}
.rdv-aside-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light, #e8f0e3);
  color: var(--primary, #738b69);
  font-size: 1rem;
  margin-bottom: 12px;
}
.rdv-aside-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #212529;
  margin: 0 0 10px;
}
.rdv-aside-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: #5a6072;
  line-height: 1.55;
  margin: 0 0 12px;
}
.rdv-aside-link {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--primary, #738b69);
  text-decoration: none;
  margin-top: 6px;
  transition: color 0.2s ease;
}
.rdv-aside-link:hover {
  color: var(--primary-dark, #5a6c52);
}
.rdv-hours {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
}
.rdv-hours li {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid #f0f3ed;
  color: #4a5568;
}
.rdv-hours li:last-child { border-bottom: none; }
.rdv-hours li span:last-child {
  font-weight: 600;
  color: #212529;
}
.btn-primary.active {
  background: var(--primary-dark, #5a6c52);
}
@media (max-width: 980px) {
  .rdv-widget-container {
    grid-template-columns: 1fr;
  }
  .rdv-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}
@media (max-width: 600px) {
  .rdv-intro h1 { font-size: 2rem; }
  .rdv-intro { padding: 60px 18px 30px; }
  .rdv-widget-section { padding: 20px 14px 70px; }
  .rdv-widget-frame iframe { min-height: 760px; }
  .rdv-aside { grid-template-columns: 1fr; }
}



/* ===== subpage transparent/blurred header (all pages except homepage) ===== */
body:not(.home) .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  box-shadow: 0 1px 12px rgba(0,0,0,0.05);
}
body:not(.home) {
  position: relative;
}
/* Pages without a banner/hero need top padding so content is not hidden under the absolute header */
body:not(.home):not(:has(.tarifs-banner)):not(:has(.page-banner)):not(:has(.page-hero)) {
  padding-top: 162px;
}
@media (max-width: 768px) {
  body:not(.home):not(:has(.tarifs-banner)):not(:has(.page-banner)):not(:has(.page-hero)) {
    padding-top: 110px;
  }
}


/* ===== Header behavior: transparent on home, solid white on inner pages ===== */
/* Homepage: transparent header over hero (matches dentiste-cote-gare-bussigny.ch) */
body.home .site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent !important;
    box-shadow: none !important;
    border-top: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    z-index: 20;
}
body.home {
    position: relative;
}
/* Make sure hero starts at the very top on home */
body.home .hero,
body.home .hero-section,
body.home .home-hero,
body.home .banner {
    margin-top: 0;
}

/* Inner pages: solid white sticky header */
body:not(.home) .site-header {
    position: sticky;
    top: 0;
    left: auto;
    right: auto;
    background: #fff !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-top: 4px solid #c9c1ad;
    z-index: 100;
}
body:not(.home) {
    position: static;
}
/* Remove the special padding-top compensation for inner pages now that the header is sticky and takes space */
body:not(.home):not(:has(.tarifs-banner)):not(:has(.page-banner)):not(:has(.page-hero)) {
    padding-top: 0;
}

/* ===== Homepage header turns white on scroll ===== */
body.home .site-header {
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-top-color 0.3s ease;
}
body.home .site-header.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    border-top: 4px solid #c9c1ad !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    z-index: 1000;
}


/* ===== RAPPEL POPUP ===== */
.btn-rappel {
  background: transparent;
  border: 1.5px solid #c9a86b;
  color: #c9a86b;
  transition: all 0.25s ease;
  margin-right: 8px;
}
.btn-rappel:hover {
  background: #c9a86b;
  color: #fff;
  border-color: #c9a86b;
}

.rappel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}
.rappel-overlay.active {
  display: flex;
  opacity: 1;
}
.rappel-modal {
  background: #fff;
  border-radius: 8px;
  width: 100%;
  max-width: 600px;
  padding: 50px 50px 40px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.rappel-overlay.active .rappel-modal {
  transform: translateY(0);
}
.rappel-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 22px;
  color: #333;
  cursor: pointer;
  line-height: 1;
  padding: 6px;
  transition: color 0.2s ease;
}
.rappel-close:hover {
  color: #c9a86b;
}
.rappel-title {
  text-align: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: #1a1a1a;
  margin-bottom: 30px;
}
.rappel-form .rappel-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 18px;
}
.rappel-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.rappel-field .req {
  color: #c9a86b;
  margin-left: 2px;
}
.rappel-field input,
.rappel-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d4d4d4;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #333;
  background: #fff;
  transition: border-color 0.2s ease;
}
.rappel-field input:focus,
.rappel-field select:focus {
  outline: none;
  border-color: #c9a86b;
}
.rappel-submit-wrap {
  text-align: center;
  margin-top: 26px;
}
.rappel-submit {
  background: #c9a86b;
  color: #fff;
  border: none;
  padding: 12px 36px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: background 0.25s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.rappel-submit:hover {
  background: #b0915a;
}
.rappel-success {
  text-align: center;
  margin-top: 18px;
  color: #2a7a4a;
  font-weight: 500;
}
@media (max-width: 600px) {
  .rappel-modal {
    padding: 40px 25px 30px;
  }
  .rappel-form .rappel-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .btn-rappel {
    display: none;
  }
}

/* ===== ACTUALITES MEDICALES section ===== */
.actualites-section {
    max-width: 1300px;
    margin: 80px auto;
    padding: 0 20px;
}
.actualites-header {
    text-align: center;
    margin-bottom: 50px;
}
.actualites-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #2a2a2a;
    margin: 0 0 18px;
}
.actualites-divider {
    display: inline-block;
    width: 60px;
    height: 2px;
    background: #c9c1ad;
    margin: 0 auto 20px;
}
.actualites-subtitle {
    font-size: 1rem;
    color: #555;
    max-width: 720px;
    margin: 0 auto;
}
.actualites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}
.actualite-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 4px;
    text-decoration: none;
    aspect-ratio: 4 / 3;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.actualite-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.actualite-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.actualite-card:hover img {
    transform: scale(1.06);
}
.actualite-btn {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    background: #111;
    color: #fff;
    padding: 12px 28px;
    border-radius: 999px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    white-space: nowrap;
    text-transform: uppercase;
    transition: background 0.3s ease;
}
.actualite-card:hover .actualite-btn {
    background: #738b69;
}
@media (max-width: 900px) {
    .actualites-grid { grid-template-columns: 1fr; gap: 18px; }
    .actualites-title { font-size: 1.7rem; }
    .actualites-section { margin: 50px auto; }
}

/* ===== Transparent / blurred header for non-homepage pages ===== */
body:not(.home) .site-header {
    background: rgba(255, 255, 255, 0.35);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
    border-top: 4px solid rgba(201, 193, 173, 0.85);
}
body:not(.home) .site-header .header-top {
    background: transparent;
}
body:not(.home) .site-header .header-main {
    background: transparent;
}
@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
    body:not(.home) .site-header {
          background: rgba(255, 255, 255, 0.85);
    }
}

/* ===== FORCE transparent + blurred header on non-homepage pages (override earlier white !important rules) ===== */
html body:not(.home) .site-header {
    background: rgba(255, 255, 255, 0.30) !important;
    -webkit-backdrop-filter: saturate(160%) blur(14px) !important;
    backdrop-filter: saturate(160%) blur(14px) !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04) !important;
    border-top: 4px solid rgba(201, 193, 173, 0.85) !important;
}
html body:not(.home) .site-header .header-top,
html body:not(.home) .site-header .header-main {
    background: transparent !important;
}
html body:not(.home) .site-header.scrolled {
    background: rgba(255, 255, 255, 0.55) !important;
    -webkit-backdrop-filter: saturate(160%) blur(18px) !important;
    backdrop-filter: saturate(160%) blur(18px) !important;
}
@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
    html body:not(.home) .site-header {
          background: rgba(255, 255, 255, 0.85) !important;
    }
}

/* ===== FINAL: Header overlay style (like /tarifs) on all non-homepage pages =====
   - Header fully transparent, positioned absolute over a hero banner
   - Hero banner image injected via body::before on subpages without their own banner
   - Vertical pipe separators between nav links
*/

/* 1) Body becomes positioning context and reserves space for the hero banner */
html body:not(.home) {
    position: relative !important;
    padding-top: 0 !important; /* override earlier 162px rule */
}

/* 2) Inject a default hero banner via ::before on subpages that don't already have one */
html body:not(.home):not(:has(.tarifs-banner)):not(:has(.page-banner)):not(:has(.page-hero))::before {
    content: '';
    display: block;
    width: 100%;
    height: 380px;
    background-image: linear-gradient(rgba(255,255,255,0.05), rgba(255,255,255,0.05)), url('tarifs-banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
}

/* 3) Header: fully transparent, absolute over the banner */
html body:not(.home) .site-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: transparent !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border-top: none !important;
    z-index: 20 !important;
}
html body:not(.home) .site-header .header-top,
html body:not(.home) .site-header .header-main {
    background: transparent !important;
    box-shadow: none !important;
}

/* 4) When sticky/scrolled, give it a translucent backing for readability */
html body:not(.home) .site-header.scrolled {
    position: fixed !important;
    background: rgba(255, 255, 255, 0.85) !important;
    -webkit-backdrop-filter: saturate(160%) blur(14px) !important;
    backdrop-filter: saturate(160%) blur(14px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* 5) Vertical pipe separators between main-nav links on subpages */
html body:not(.home) .site-header .main-nav {
    display: flex;
    align-items: center;
    gap: 0;
}
html body:not(.home) .site-header .main-nav > a + a,
html body:not(.home) .site-header .main-nav > .has-submenu + a,
html body:not(.home) .site-header .main-nav > a + .has-submenu,
html body:not(.home) .site-header .main-nav > .has-submenu + .has-submenu {
    border-left: 1px solid rgba(60, 60, 60, 0.35);
}
html body:not(.home) .site-header .main-nav > a,
html body:not(.home) .site-header .main-nav > .has-submenu > a {
    padding-left: 18px;
    padding-right: 18px;
}
/* Don't put a left border on the PRENDRE RDV button */
html body:not(.home) .site-header .main-nav > a.btn,
html body:not(.home) .site-header .main-nav > a.btn-primary {
    border-left: none !important;
    margin-left: 12px;
}

/* 6) On the .tarifs-banner page, keep its own banner (no ::before injected) */

@media (max-width: 900px) {
    html body:not(.home):not(:has(.tarifs-banner)):not(:has(.page-banner)):not(:has(.page-hero))::before {
          height: 260px;
    }
}
@media (max-width: 600px) {
    html body:not(.home):not(:has(.tarifs-banner)):not(:has(.page-banner)):not(:has(.page-hero))::before {
          height: 200px;
    }
}

/* ===== Homepage hero takes the full viewport on load ===== */
body.home .hero {
    height: 100vh !important;
    min-height: 100vh !important;
}
body.home .hero-slider,
body.home .hero-slide {
    height: 100% !important;
}
/* On small screens, keep a sensible minimum so content remains readable */
@media (max-width: 600px) {
    body.home .hero {
          min-height: 560px !important;
    }
}


/* ===== SPECIALTY PAGES REDESIGN (Rhône-style: dark hero banner + centered clean content) ===== */

/* Hero banner: dark background with image overlay, centered white title */
html body section.page-hero:has(+ section.page-content) {
  position: relative !important;
  background: #2a2a2a !important;
  color: #ffffff !important;
  padding: 110px 20px 90px !important;
  text-align: center !important;
  min-height: 340px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
html body section.page-hero:has(+ section.page-content)::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  background-image: linear-gradient(rgba(20,20,20,0.55), rgba(20,20,20,0.55)), var(--hero-bg, none);
  background-size: cover !important;
  background-position: center !important;
  z-index: 0 !important;
}
html body section.page-hero:has(+ section.page-content)::after {
  display: none !important;
  content: none !important;
  background: none !important;
}
html body section.page-hero:has(+ section.page-content) .container {
  position: relative !important;
  z-index: 1 !important;
  max-width: 1100px !important;
  text-align: center !important;
}
html body section.page-hero:has(+ section.page-content) h1 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(2rem, 4.2vw, 3.2rem) !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  color: #ffffff !important;
  margin: 0 0 18px !important;
  text-align: center !important;
}
html body section.page-hero:has(+ section.page-content) h1::after {
  content: "" !important;
  display: block !important;
  width: 70px !important;
  height: 2px !important;
  background: #c9a86b !important;
  margin: 22px auto 0 !important;
}
html body section.page-hero:has(+ section.page-content) p,
html body section.page-hero:has(+ section.page-content) .lead {
  color: #e8e2d6 !important;
  font-size: 1.05rem !important;
  margin: 0 auto !important;
  max-width: 720px !important;
  text-align: center !important;
}

/* Content section: light cream background, centered narrow column */
body:has(section.page-content) section.page-content {
  background: #f7f3ec !important;
  padding: 70px 20px 90px !important;
}
body:has(section.page-content) section.page-content .container {
  max-width: 880px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* Breadcrumb / back link */
body:has(section.page-content) .back-link,
body:has(section.page-content) a[href="specialites.html"] {
  display: inline-block !important;
  margin: 0 0 36px !important;
  font-size: 0.9rem !important;
  color: #7a6a4a !important;
  text-decoration: none !important;
  letter-spacing: 0.02em !important;
}
body:has(section.page-content) .back-link:hover {
  color: #c9a86b !important;
}

/* Inline image: moderate size, centered, with soft shadow */
body:has(section.page-content) .content-image {
  margin: 0 auto 40px !important;
  max-width: 720px !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  box-shadow: 0 12px 36px rgba(40, 30, 15, 0.12) !important;
}
body:has(section.page-content) .content-image img {
  width: 100% !important;
  height: auto !important;
  max-height: 380px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 6px !important;
}

/* Section headings: centered uppercase, gold underline */
body:has(section.page-content) .page-content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.45rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #1a1a1a !important;
  text-align: center !important;
  margin: 56px auto 10px !important;
  position: relative !important;
}
body:has(section.page-content) .page-content h2::after {
  content: "" !important;
  display: block !important;
  width: 56px !important;
  height: 2px !important;
  background: #c9a86b !important;
  margin: 14px auto 24px !important;
}

/* Paragraphs: centered, comfortable reading width */
body:has(section.page-content) .page-content p {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.8 !important;
  color: #3a3a3a !important;
  text-align: center !important;
  max-width: 720px !important;
  margin: 0 auto 18px !important;
}

/* Lists: centered with subtle bullets */
body:has(section.page-content) .page-content ul,
body:has(section.page-content) .page-content ol {
  max-width: 640px !important;
  margin: 0 auto 24px !important;
  padding-left: 0 !important;
  list-style: none !important;
  text-align: left !important;
}
body:has(section.page-content) .page-content ul li,
body:has(section.page-content) .page-content ol li {
  position: relative !important;
  padding-left: 22px !important;
  margin-bottom: 10px !important;
  color: #3a3a3a !important;
  line-height: 1.7 !important;
}
body:has(section.page-content) .page-content ul li::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 11px !important;
  width: 6px !important;
  height: 6px !important;
  background: #c9a86b !important;
  border-radius: 50% !important;
}

/* FAQ details/accordion */
body:has(section.page-content) .page-content details {
  max-width: 720px !important;
  margin: 0 auto 14px !important;
  background: #ffffff !important;
  border: 1px solid #ece4d3 !important;
  border-radius: 6px !important;
  padding: 0 !important;
  text-align: left !important;
}
body:has(section.page-content) .page-content details summary {
  padding: 18px 22px !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  list-style: none !important;
  position: relative !important;
  padding-right: 50px !important;
}
body:has(section.page-content) .page-content details summary::-webkit-details-marker {
  display: none !important;
}
body:has(section.page-content) .page-content details summary::after {
  content: "+" !important;
  position: absolute !important;
  right: 22px !important;
  top: 50%;
  transform: translateY(-50%) !important;
  color: #c9a86b !important;
  font-size: 1.4rem !important;
  font-weight: 400 !important;
}
body:has(section.page-content) .page-content details[open] summary::after {
  content: "−" !important;
}
body:has(section.page-content) .page-content details p {
  padding: 0 22px 18px !important;
  margin: 0 !important;
  text-align: left !important;
}

/* CTA block at bottom: centered, separated */
body:has(section.page-content) .page-cta {
  margin: 60px auto 0 !important;
  padding: 40px 20px 0 !important;
  border-top: 1px solid #e3d9c4 !important;
  text-align: center !important;
  max-width: 720px !important;
}
body:has(section.page-content) .page-cta h2 {
  font-size: 1.3rem !important;
  margin-top: 0 !important;
}
body:has(section.page-content) .page-cta .btn,
body:has(section.page-content) .page-cta a.button {
  display: inline-block !important;
  margin-top: 10px !important;
}

/* Responsive */
@media (max-width: 768px) {
  html body section.page-hero:has(+ section.page-content) {
    padding: 90px 18px 70px !important;
    min-height: 260px !important;
  }
  html body section.page-hero:has(+ section.page-content) h1 {
    font-size: 1.8rem !important;
  }
  body:has(section.page-content) section.page-content {
    padding: 50px 18px 70px !important;
  }
  body:has(section.page-content) .content-image {
    margin-bottom: 30px !important;
  }
  body:has(section.page-content) .content-image img {
    max-height: 260px !important;
  }
  body:has(section.page-content) .page-content h2 {
    font-size: 1.2rem !important;
    margin-top: 44px !important;
  }
}

/* ===== Header nav text size to match rhone-dental-clinic.ch (18px) ===== */
.main-nav > a, .has-submenu > a, .nav-list > li > a { font-size: 18px !important; }
/* ===== RDV buttons rounded corners (style dentistedorigny.ch) ===== */

.btn, .btn-primary, .btn-outline, .btn-rdv, .nav-list .btn-rdv, .main-nav .btn-primary, .main-nav a.btn, .btn-rdv-card, .btn-send-application, .btn-send-contact, .btn-contact-primary, .btn-contact-whatsapp, .spec-cta-block .btn-rdv, .about-clinic__cta, a.btn-primary, a.btn { border-radius: 8px !important; }



/* === Per-page hero banners (overrides default ::before banner image) === */
html body[data-page="specialites"]:not(.home):not(:has(.tarifs-banner)):not(:has(.page-banner)):not(:has(.page-hero))::before{background-image:linear-gradient(rgba(255,255,255,0.05),rgba(255,255,255,0.05)),url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?auto=format&fit=crop&w=1800&q=75')!important;background-position:center 35%!important;}
html body[data-page="contact"]:not(.home):not(:has(.tarifs-banner)):not(:has(.page-banner)):not(:has(.page-hero))::before{background-image:linear-gradient(rgba(255,255,255,0.10),rgba(255,255,255,0.10)),url('https://images.unsplash.com/photo-1663755790576-61733ecaedb1?auto=format&fit=crop&w=1800&q=75')!important;background-position:center 50%!important;}
html body[data-page="conseils"]:not(.home):not(:has(.tarifs-banner)):not(:has(.page-banner)):not(:has(.page-hero))::before{background-image:linear-gradient(rgba(255,255,255,0.08),rgba(255,255,255,0.08)),url('https://images.unsplash.com/photo-1489278353717-f64c6ee8a4d2?auto=format&fit=crop&w=1800&q=75')!important;background-position:center 40%!important;}
html body[data-page="carriere"]:not(.home):not(:has(.tarifs-banner)):not(:has(.page-banner)):not(:has(.page-hero))::before{background-image:linear-gradient(rgba(255,255,255,0.08),rgba(255,255,255,0.08)),url('https://images.unsplash.com/photo-1685022036574-12bffde5e2b7?auto=format&fit=crop&w=1800&q=75')!important;background-position:center 30%!important;}



/* ============================================
   BLOG / ACTUALITÉS — Page Conseils
   ============================================ */
.blog-section {
  background: #f7f5f2;
  padding: 72px 0 96px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.blog-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(40, 50, 40, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(40, 50, 40, 0.14);
}

.blog-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e9e6df;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.06);
}

.blog-card-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(115, 139, 105, 0.95);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.blog-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  font-size: 0.82rem;
  color: #8a8a7e;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.blog-card-meta i {
  margin-right: 6px;
  color: #738b69;
}

.blog-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  line-height: 1.3;
  color: #2c3a2c;
  margin: 0 0 10px;
  font-weight: 600;
}

.blog-card-body p {
  color: #5b6258;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 18px;
  flex: 1;
}

.blog-card-body .read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #738b69;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  align-self: flex-start;
  position: relative;
  transition: color 0.25s ease, gap 0.25s ease;
}

.blog-card-body .read-more i {
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.blog-card-body .read-more:hover {
  color: #5a7252;
  gap: 12px;
}

.blog-card-body .read-more:hover i {
  transform: translateX(3px);
}

/* Tablet */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .blog-section {
    padding: 48px 0 64px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 0 18px;
  }
  .blog-card-body {
    padding: 20px 20px 24px;
  }
  .blog-card-body h3 {
    font-size: 1.15rem;
  }
}


/* Conseils page hero — extra top padding to clear absolute site-header */
body[data-page="conseils"] .page-hero {
  padding-top: 170px;
  padding-bottom: 70px;
}
body[data-page="conseils"] .page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
body[data-page="conseils"] .page-hero p {
  font-size: 1.02rem;
  opacity: 0.92;
}


/* ============================================
   HERO BANNERS — Per-page background images
   ============================================ */

/* Specialty hub page */
body[data-page="specialites"] section.page-hero { --hero-bg: url('images/gallery-05-mirror-bonsai.jpg'); }

/* Conseils / blog */
body[data-page="conseils"] section.page-hero { --hero-bg: url('images/cabinet-02-treatment-room.jpg'); }

/* Carriere */
body[data-page="carriere"] section.page-hero { --hero-bg: url('images/cabinet-05-second-room.jpg'); }

/* Individual specialty pages — selected via the content-image src */
body:has(.content-image img[src*="service-01-hygiene"]) section.page-hero { --hero-bg: url('images/service-01-hygiene.jpg'); }
body:has(.content-image img[src*="service-02-implantologie"]) section.page-hero { --hero-bg: url('images/service-02-implantologie.jpg'); }
body:has(.content-image img[src*="service-03-facettes"]) section.page-hero { --hero-bg: url('images/service-03-facettes.jpg'); }
body:has(.content-image img[src*="service-04-urgences"]) section.page-hero { --hero-bg: url('images/service-04-urgences.jpg'); }
body:has(.content-image img[src*="service-05-sure-smile"]) section.page-hero { --hero-bg: url('images/service-05-sure-smile.jpg'); }
body:has(.content-image img[src*="service-06-prophylactiques"]) section.page-hero { --hero-bg: url('images/service-06-prophylactiques.jpg'); }
body:has(.content-image img[src*="service-07-protheses"]) section.page-hero { --hero-bg: url('images/service-07-protheses.jpg'); }
body:has(.content-image img[src*="service-08-orthodontie"]) section.page-hero { --hero-bg: url('images/service-08-orthodontie.jpg'); }
body:has(.content-image img[src*="service-09-endodontie"]) section.page-hero { --hero-bg: url('images/service-09-endodontie.jpg'); }
body:has(.content-image img[src*="service-10-parodontologie"]) section.page-hero { --hero-bg: url('images/service-10-parodontologie.jpg'); }
body:has(.content-image img[src*="service-11-pedodontie"]) section.page-hero { --hero-bg: url('images/service-11-pedodontie.jpg'); }
body:has(.content-image img[src*="service-12-blanchiment"]) section.page-hero { --hero-bg: url('images/service-12-blanchiment.jpg'); }
body:has(.content-image img[src*="service-13-couronnes"]) section.page-hero { --hero-bg: url('images/service-13-couronnes.jpg'); }
body:has(.content-image img[src*="service-14-chirurgie"]) section.page-hero { --hero-bg: url('images/service-14-chirurgie.jpg'); }
body:has(.content-image img[src*="service-15-soins-conservateurs"]) section.page-hero { --hero-bg: url('images/service-15-soins-conservateurs.jpg'); }
body:has(.content-image img[src*="service-16-radiologie"]) section.page-hero { --hero-bg: url('images/service-16-radiologie.jpg'); }
body:has(.content-image img[src*="service-17-inlays"]) section.page-hero { --hero-bg: url('images/service-17-inlays.jpg'); }
body:has(.content-image img[src*="service-18-bruxisme"]) section.page-hero { --hero-bg: url('images/service-18-bruxisme.jpg'); }
body:has(.content-image img[src*="service-19-detartrage"]) section.page-hero { --hero-bg: url('images/service-19-detartrage.jpg'); }
body:has(.content-image img[src*="service-20-esthetique"]) section.page-hero { --hero-bg: url('images/service-20-esthetique.jpg'); }


/* Stronger hero overlay to ensure title readability on bright images and consistent header contrast */
html body section.page-hero:has(+ section.page-content)::before {
  background-image: linear-gradient(rgba(15,20,18,0.55), rgba(15,25,20,0.82)), var(--hero-bg, none) !important;
  background-size: cover !important;
  background-position: center !important;
}

/* Make hero title pop on any background */
html body section.page-hero:has(+ section.page-content) h1 {
  text-shadow: 0 2px 18px rgba(0,0,0,0.45) !important;
}
html body section.page-hero:has(+ section.page-content) p,
html body section.page-hero:has(+ section.page-content) .lead {
  text-shadow: 0 1px 8px rgba(0,0,0,0.4) !important;
}


/* Normalize CABINET submenu hero banners to match standard .page-hero size */
html body section.lc-hero,
html body section.nh-hero,
html body section.ne-hero {
  min-height: 340px !important;
  padding: 110px 20px 90px !important;
}
@media (max-width: 768px) {
  html body section.lc-hero,
  html body section.nh-hero,
  html body section.ne-hero {
    min-height: 280px !important;
    padding: 90px 18px 70px !important;
  }
}


/* =============================================================
   Header contrast fix on pages with a banner
   Adds a soft dark gradient strip behind the absolute header
   and forces white nav text + subtle text-shadow so links are
   always readable over any banner image (light or dark).
   Scoped via :has() so the homepage (no banner) is untouched.
============================================================= */
html body:has(section.page-hero, section.lc-hero, section.nh-hero, section.ne-hero, section.nc-hero, section.ex-hero, section.service-hero, section.hub-hero, section.tarifs-banner) header.site-header {
  position: absolute;
  z-index: 50;
}
html body:has(section.page-hero, section.lc-hero, section.nh-hero, section.ne-hero, section.nc-hero, section.ex-hero, section.service-hero, section.hub-hero, section.tarifs-banner) header.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0) 100%);
  pointer-events: none;
  z-index: -1;
}
/* Make header content readable: white text + soft shadow */
html body:has(section.page-hero, section.lc-hero, section.nh-hero, section.ne-hero, section.nc-hero, section.ex-hero, section.service-hero, section.hub-hero, section.tarifs-banner) header.site-header .header-top a,
html body:has(section.page-hero, section.lc-hero, section.nh-hero, section.ne-hero, section.nc-hero, section.ex-hero, section.service-hero, section.hub-hero, section.tarifs-banner) header.site-header .header-main a:not(.btn):not(.cta):not(.btn-rdv):not(.prendre-rdv) {
  color: #ffffff !important;
  text-shadow: 0 1px 6px rgba(0,0,0,0.55);
}
/* Hover state: warm accent gold instead of muddy color */
html body:has(section.page-hero, section.lc-hero, section.nh-hero, section.ne-hero, section.nc-hero, section.ex-hero, section.service-hero, section.hub-hero, section.tarifs-banner) header.site-header .header-main a:hover {
  color: #d9c089 !important;
}
/* Icons inside header links (phone, envelope) match white */
html body:has(section.page-hero, section.lc-hero, section.nh-hero, section.ne-hero, section.nc-hero, section.ex-hero, section.service-hero, section.hub-hero, section.tarifs-banner) header.site-header .header-top i {
  color: #ffffff !important;
  opacity: 0.9;
}
