/* === Maison de Santé Place Virchow — Stylesheet === */

:root {
  --cream: #faf7f2;
  --stone: #ece5da;
  --warm-dark: #2c2620;
  --accent: #4a9d8e;
  --accent-light: #7bc4b3;
  --accent-warm: #e9a06b;
  --brand-blue: #1a3d63;
  --brand-blue-light: #2c5a87;
  --text: #3a3330;
  --text-light: #7a7570;
  --white: #ffffff;
  --google-blue: #4285F4;
  --urgent: #c44536;
  --urgent-light: #fde8e6;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text); font-size: 16px; line-height: 1.7; }

img { max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }

/* === NAV === */
nav {
  position: sticky; top: 0; z-index: 100;
  padding: 0.8rem 3rem;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(248,245,240,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(74,124,111,0.15);
}
.nav-logo-wrap { display: flex; align-items: center; gap: 0.9rem; text-decoration: none; }
.nav-logo-svg { height: 62px; width: auto; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-logo-main { font-family: 'Cormorant Garamond', serif; font-size: 1.55rem; font-weight: 600; color: var(--brand-blue); letter-spacing: 0.01em; }
.nav-logo-sub { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-light); }
.nav-right { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 1.6rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.lang-switcher { display: flex; gap: 0.3rem; }
.lang-btn { background: none; border: 1px solid transparent; padding: 0.2rem 0.45rem; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); border-radius: 3px; transition: all 0.2s; }
.lang-btn:hover, .lang-btn.active { color: var(--accent); border-color: var(--accent); }

/* === HERO === */
.hero { height: 74vh; max-height: 640px; min-height: 500px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.hero-left { display: flex; flex-direction: column; justify-content: center; padding: 3rem 4rem; max-width: 720px; margin-left: auto; }
.hero-tag { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 0.6rem; }
.hero-name-badge { display: inline-block; background: var(--brand-blue); color: white; font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; padding: 0.4rem 1.2rem; margin-bottom: 1.8rem; letter-spacing: 0.04em; }
.hero-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.4rem, 3.5vw, 3.8rem); font-weight: 300; line-height: 1.15; color: var(--warm-dark); margin-bottom: 1.4rem; }
.hero-title em { font-style: italic; color: var(--accent); }
.hero-subtitle { font-size: 0.95rem; color: var(--text-light); max-width: 400px; margin-bottom: 2rem; font-weight: 300; line-height: 1.8; }
.address-strip {
  display: flex; align-items: center; justify-content: center; gap: 0.8rem;
  background: var(--brand-blue); color: white;
  padding: 1.1rem 2rem; text-decoration: none;
  font-size: 0.95rem; text-align: left; line-height: 1.45;
  transition: background 0.25s;
}
.address-strip:hover { background: var(--brand-blue-light); }
.address-strip svg { color: var(--accent-light); flex-shrink: 0; }
.address-strip span { display: block; }
.address-strip strong { font-weight: 600; }
@media (max-width: 768px) {
  .address-strip { font-size: 0.82rem; padding: 0.9rem 1.2rem; gap: 0.6rem; }
}
.hero-right { position: relative; overflow: hidden; background: var(--cream); display: flex; align-items: center; justify-content: center; padding: 2rem; }
.hero-right img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; object-position: center center; border-radius: 8px; box-shadow: 0 12px 36px rgba(26,61,99,0.18); }
.hero-overlay { display: none; }

/* === EMERGENCY BANNER === */
.emergency-banner {
  background: linear-gradient(135deg, var(--urgent) 0%, #a8392b 100%);
  color: white;
  padding: 1rem 3rem;
  display: flex; align-items: center; justify-content: center;
  gap: 2rem; flex-wrap: wrap;
  font-size: 0.9rem;
}
.emergency-banner strong { font-weight: 600; letter-spacing: 0.05em; }
.emergency-banner a { color: white; text-decoration: none; padding: 0.3rem 0.8rem; border: 1px solid rgba(255,255,255,0.6); border-radius: 3px; transition: background 0.2s; font-weight: 500; }
.emergency-banner a:hover { background: rgba(255,255,255,0.15); }
.emergency-banner a.emergency-secondary {
  font-size: 0.82rem; font-weight: 400;
  border-color: rgba(255,255,255,0.35);
  opacity: 0.92;
}

/* === VIRCHOW BAND === */
.virchow-band { background: var(--accent); color: white; padding: 4rem 6rem; display: grid; grid-template-columns: 180px 1fr; gap: 4rem; align-items: center; }
.virchow-name { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-style: italic; line-height: 1.1; opacity: 0.9; }
.virchow-dates { font-size: 0.75rem; letter-spacing: 0.12em; opacity: 0.6; margin-top: 0.3rem; }
.virchow-text { font-size: 0.95rem; line-height: 1.9; opacity: 0.88; font-weight: 300; }

/* === SECTIONS === */
.section { padding: 5rem 6rem; }
.section.alt-bg { background: white; }
.section-header { margin-bottom: 3rem; }
.section-tag { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 0.5rem; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 300; color: var(--warm-dark); line-height: 1.2; }

/* === SERVICES === */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--stone); }
.service-card { background: var(--cream); padding: 2.5rem 2rem; transition: background 0.3s; display: block; text-decoration: none; color: inherit; }
.service-card:hover { background: white; }
.service-card-link { cursor: pointer; position: relative; }
.service-card-link::after {
  content: '→'; position: absolute; bottom: 1.5rem; right: 1.5rem;
  color: var(--accent); font-size: 1.2rem; opacity: 0;
  transition: all 0.3s;
}
.service-card-link:hover::after { opacity: 1; transform: translateX(4px); }
.service-icon { width: 40px; height: 40px; margin-bottom: 1.2rem; color: var(--accent); }
.service-name { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; margin-bottom: 0.7rem; color: var(--warm-dark); }
.service-desc { font-size: 0.85rem; color: var(--text-light); line-height: 1.75; font-weight: 300; }
.team-rdv-link {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.8rem;
  font-size: 0.78rem; text-decoration: none; letter-spacing: 0.06em;
  text-transform: uppercase; font-weight: 500; transition: gap 0.2s, background 0.2s;
}
.team-rdv-link:hover { gap: 0.7rem; }

/* === GALLERY === */
.gallery { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3px; background: var(--warm-dark); }
.gallery-item { overflow: hidden; height: 320px; background: var(--warm-dark); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.04); }

/* === TEAM === */
.team-section { background: var(--warm-dark); padding: 5rem 6rem; color: white; }
.team-section .section-title { color: white; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem 4rem; margin-top: 3rem; }
.team-card { display: grid; grid-template-columns: 120px 1fr; gap: 2rem; align-items: start; }
.team-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: center top; border: 2px solid rgba(255,255,255,0.15); }
.team-info { padding-top: 0.3rem; }
.team-name { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; margin-bottom: 0.2rem; color: white; }
.team-role { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 0.8rem; }
.team-diplomes { font-size: 0.76rem; color: rgba(255,255,255,0.42); line-height: 1.65; }
.team-diplomes li { list-style: none; padding-left: 0.8rem; position: relative; margin-bottom: 0.3rem; }
.team-diplomes li::before { content: '–'; position: absolute; left: 0; opacity: 0.4; }
.team-rdv-link { color: var(--accent-light); border: 1px solid rgba(111,163,150,0.4); padding: 0.3rem 0.7rem; border-radius: 2px; }
.team-rdv-link:hover { background: var(--accent); border-color: var(--accent); color: white; }

/* Team logo (for partners as team members) */
.team-logo-wrap {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  padding: 1.2rem;
}
.team-logo-wrap img {
  max-width: 100%; max-height: 100%; object-fit: contain;
}
.team-logo-wrap.logo-white {
  background: #ffffff;
  padding: 1.1rem;
}
.team-bio {
  font-size: 0.82rem; color: rgba(255,255,255,0.55);
  line-height: 1.65; margin-bottom: 0.7rem;
}
.team-contact {
  font-size: 0.78rem; color: rgba(255,255,255,0.5);
  line-height: 1.6; margin-bottom: 0.6rem;
}
.team-contact a { color: var(--accent-light); text-decoration: none; }
.team-contact a:hover { text-decoration: underline; }

/* Urgent signs list */
.urgent-signs-list {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0;
}
.urgent-signs-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.6rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text);
  border-bottom: 1px solid rgba(196, 69, 54, 0.12);
}
.urgent-signs-list li:last-child { border-bottom: none; }
.urgent-signs-list li::before {
  content: '⚠';
  position: absolute;
  left: 0; top: 0.5rem;
  color: var(--urgent);
  font-size: 1rem;
}
.urgent-signs-list li strong { color: var(--urgent); font-weight: 600; }

/* === RDV POLICY === */
.rdv-policy {
  background: var(--cream);
  padding: 3.5rem 6rem;
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
}
.rdv-policy-content { max-width: 900px; margin: 0 auto; }
.rdv-policy-title { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--warm-dark); margin-bottom: 1.5rem; }
.rdv-policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.rdv-policy-item { background: white; padding: 1.3rem 1.5rem; border-left: 3px solid var(--accent); font-size: 0.86rem; line-height: 1.65; color: var(--text); }
.rdv-policy-item strong { display: block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.4rem; }

/* === ORDONNANCE FORM === */
.ordonnance-section { padding: 5rem 6rem; background: white; }
.ordo-wrapper { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; max-width: 1100px; margin: 0 auto; }
.ordo-intro { padding-top: 1rem; }
.ordo-intro h2 { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 300; color: var(--warm-dark); margin-bottom: 1.3rem; }
.ordo-intro h2 em { font-style: italic; color: var(--accent); }
.ordo-intro p { font-size: 0.92rem; line-height: 1.8; color: var(--text-light); margin-bottom: 1rem; }
.ordo-note { background: var(--cream); padding: 1rem 1.2rem; border-left: 3px solid var(--accent); font-size: 0.83rem; color: var(--text); margin-top: 1.5rem; }
.ordo-note strong { color: var(--accent); display: block; margin-bottom: 0.3rem; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }

.ordo-form { background: var(--cream); padding: 2rem; border-radius: 4px; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); font-weight: 500; margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.7rem 0.9rem;
  border: 1px solid var(--stone); border-radius: 3px;
  font-family: inherit; font-size: 0.92rem; color: var(--text);
  background: white; transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit {
  background: var(--accent); color: white; border: none;
  padding: 0.85rem 2rem; font-size: 0.85rem;
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500;
  border-radius: 3px; transition: background 0.2s;
  margin-top: 0.5rem;
}
.form-submit:hover { background: var(--brand-blue); }
.radio-group { display: flex; gap: 0.5rem; }
.radio-option { flex: 1; }
.radio-option input[type="radio"] { display: none; }
.radio-option label {
  display: block; padding: 0.7rem; text-align: center;
  background: white; border: 1px solid var(--stone); border-radius: 3px;
  cursor: pointer; transition: all 0.2s;
  font-size: 0.85rem; letter-spacing: 0; text-transform: none; color: var(--text);
  margin-bottom: 0;
}
.radio-option input[type="radio"]:checked + label {
  background: var(--accent); color: white; border-color: var(--accent);
}

/* === NEWS === */
.news-section { padding: 5rem 6rem; background: var(--cream); }
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 3rem; }
.news-column h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem;
  color: var(--warm-dark); margin-bottom: 1.2rem;
  padding-bottom: 0.7rem; border-bottom: 1px solid var(--stone);
}
.news-item {
  background: white; padding: 1.2rem 1.4rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--accent-light);
  font-size: 0.88rem; line-height: 1.6;
}
.news-item.urgent { border-left-color: var(--urgent); background: var(--urgent-light); }
.news-item.info { border-left-color: var(--brand-blue-light); }
.news-date {
  font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-light);
  font-weight: 500; margin-bottom: 0.3rem;
}
.news-title { font-weight: 500; color: var(--warm-dark); margin-bottom: 0.2rem; }
.news-desc { color: var(--text-light); font-size: 0.83rem; }

/* === EMERGENCY DETAILS === */
.emergency-section { padding: 5rem 6rem; background: white; }
.emergency-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 2.5rem; }
.emergency-card {
  background: var(--cream); padding: 2rem;
  border-left: 4px solid var(--urgent);
}
.emergency-card h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.4rem;
  color: var(--warm-dark); margin-bottom: 1rem;
}
.emergency-card.urgent-vital {
  background: var(--urgent-light); border-left-color: var(--urgent);
}
.emergency-call-btn {
  display: inline-block; background: var(--urgent); color: white;
  padding: 0.6rem 1.4rem; font-size: 1.1rem; font-weight: 600;
  border-radius: 4px; text-decoration: none;
  margin-top: 0.5rem; letter-spacing: 0.05em;
}
.mmg-list { margin-top: 0.8rem; }
.mmg-item {
  padding: 0.9rem 0; border-bottom: 1px solid var(--stone);
  font-size: 0.88rem; line-height: 1.6;
}
.mmg-item:last-child { border-bottom: none; }
.mmg-item strong { display: block; color: var(--warm-dark); margin-bottom: 0.2rem; font-size: 0.94rem; }
.mmg-item .addr { color: var(--text-light); font-size: 0.83rem; }
.mmg-hours { font-size: 0.78rem; color: var(--accent); margin-top: 0.3rem; font-weight: 500; }
.pharmacy-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1rem; padding: 0.6rem 1.2rem;
  background: var(--brand-blue); color: white;
  text-decoration: none; border-radius: 3px;
  font-size: 0.85rem; letter-spacing: 0.04em;
  transition: background 0.2s;
}
.pharmacy-link:hover { background: var(--brand-blue-light); }

/* === RECRUITMENT === */
.recruitment-section {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-light) 100%);
  color: white;
  padding: 4rem 6rem;
}
.recruit-wrapper { max-width: 1000px; margin: 0 auto; text-align: center; }
.recruit-tag { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 0.8rem; }
.recruit-title { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 300; margin-bottom: 1.5rem; }
.recruit-positions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2.5rem 0; }
.recruit-position {
  background: rgba(255,255,255,0.08); padding: 1.5rem;
  border-radius: 4px; backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.1);
}
.recruit-position-icon { width: 36px; height: 36px; margin: 0 auto 0.8rem; color: var(--accent-light); }
.recruit-position-title { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; margin-bottom: 0.3rem; }
.recruit-position-desc { font-size: 0.82rem; opacity: 0.7; line-height: 1.5; }
.recruit-cta {
  display: inline-block; background: white; color: var(--brand-blue);
  padding: 0.85rem 2rem; text-decoration: none; border-radius: 3px;
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
  transition: transform 0.2s;
}
.recruit-cta:hover { transform: translateY(-2px); }

/* === PARTNERS === */

/* === LANGUAGES === */
.languages-strip { background: var(--stone); padding: 2rem 6rem; display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; }
.lang-label { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-light); font-weight: 500; }
.lang-flags { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.lang-item { display: flex; align-items: center; gap: 0.45rem; font-size: 0.85rem; }
.lang-flag { font-size: 1.3rem; }

/* === CONTACT === */
.contact-section { padding: 5rem 6rem; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-info h2 { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 300; color: var(--warm-dark); margin-bottom: 2.5rem; line-height: 1.2; }
.contact-info h2 em { font-style: italic; color: var(--accent); }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.6rem; align-items: flex-start; }
.contact-icon { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.contact-detail { font-size: 0.92rem; line-height: 1.6; }
.contact-detail strong { display: block; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 0.2rem; font-weight: 500; }
.contact-detail a { color: var(--accent); text-decoration: none; }
.horaires-grid { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1.5rem; font-size: 0.88rem; }
.horaires-grid .day { color: var(--text-light); }
.map-container { border-radius: 2px; overflow: hidden; height: 300px; background: var(--stone); }
.map-container iframe { width: 100%; height: 100%; border: none; }
.access-info { margin-top: 1.2rem; font-size: 0.82rem; color: var(--text-light); line-height: 1.8; }
.google-review-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-top: 1.5rem; background: var(--google-blue); color: white;
  text-decoration: none; padding: 0.65rem 1.2rem; border-radius: 4px;
  font-size: 0.85rem; font-weight: 500; transition: background 0.2s;
}
.google-review-btn:hover { background: #3367d6; }

/* === FOOTER === */
footer { background: var(--warm-dark); color: rgba(255,255,255,0.5); padding: 3rem 6rem 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.footer-brand .footer-logo { height: 60px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 360px; }
.footer-section h4 { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 1rem; font-weight: 500; }
.footer-section a { display: block; color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.86rem; margin-bottom: 0.5rem; transition: color 0.2s; }
.footer-section a:hover { color: white; }
.footer-bottom { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 0.78rem; }
.footer-bottom a { color: var(--accent-light); text-decoration: none; }

/* === I18N === */
[data-lang] { display: none; }
[data-lang].active { display: block; }
span[data-lang].active { display: inline; }
li[data-lang].active { display: list-item; }

/* === ANIMATIONS === */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero-tag { animation: fadeUp 0.7s ease 0.1s both; }
.hero-name-badge { animation: fadeUp 0.7s ease 0.2s both; }
.hero-title { animation: fadeUp 0.7s ease 0.3s both; }
.hero-subtitle { animation: fadeUp 0.7s ease 0.4s both; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  nav { padding: 0.7rem 1rem; }
  .nav-links { display: none; }
  .nav-logo-svg { height: 38px; }
  .nav-logo-main { font-size: 1rem; }
  .nav-logo-sub { font-size: 0.55rem; }
  .nav-right { gap: 0.6rem; }

  .emergency-banner { padding: 0.8rem 1rem; gap: 1rem; font-size: 0.82rem; }

  .hero { grid-template-columns: 1fr; height: auto !important; max-height: none !important; min-height: 0 !important; overflow: visible !important; }
  .hero-left { padding: 2.5rem 1.5rem; order: 2; }
  .hero-right { height: auto; order: 1; background: var(--cream); display: block; padding: 1.5rem; text-align: center; }
  .hero-right img { width: 100%; max-width: 420px; height: auto; max-height: none; object-fit: contain !important; display: inline-block; }
  .hero-overlay { display: none; }
  .hero-name-badge { font-size: 1.2rem; }
  .hero-title { font-size: 2.2rem; }

  .virchow-band { grid-template-columns: 1fr; padding: 2.5rem 1.5rem; gap: 1.5rem; }
  .virchow-name { font-size: 2rem; }

  .section, .news-section, .ordonnance-section, .emergency-section { padding: 3rem 1.5rem; }
  .section-title { font-size: 2rem; }

  .services-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-item { height: 220px; }

  .team-section { padding: 3rem 1.5rem; }
  .team-grid { grid-template-columns: 1fr; gap: 2rem; }
  .team-card { grid-template-columns: 90px 1fr; gap: 1.2rem; }
  .team-photo { width: 90px; height: 90px; }
  .team-logo-wrap { width: 90px; height: 90px; padding: 0.7rem; }

  .rdv-policy { padding: 2.5rem 1.5rem; }
  .rdv-policy-grid { grid-template-columns: 1fr; }

  .ordo-wrapper { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }

  .news-grid { grid-template-columns: 1fr; gap: 2rem; }
  .emergency-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  .recruitment-section { padding: 3rem 1.5rem; }
  .recruit-positions { grid-template-columns: 1fr; }
  .recruit-title { font-size: 1.8rem; }

  .languages-strip { padding: 1.5rem; gap: 1rem; }
  .contact-section { grid-template-columns: 1fr; padding: 3rem 1.5rem; gap: 2.5rem; }
  .contact-info h2 { font-size: 2rem; }
  .map-container { height: 240px; }

  footer { padding: 2.5rem 1.5rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .section, .virchow-band, .team-section, .languages-strip, .contact-section,
  .ordonnance-section, .news-section, .emergency-section, .recruitment-section,
  .rdv-policy, footer { padding-left: 3rem; padding-right: 3rem; }
  .team-grid { grid-template-columns: 1fr; }
  .ordo-wrapper { grid-template-columns: 1fr; gap: 2rem; }
  .recruit-positions { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}

/* ============================================
   === MODERN POLISH — v2 dynamic refinements ===
   ============================================ */

/* Smooth scroll offset for fixed nav */
html { scroll-padding-top: 90px; }

/* --- Refined nav: shrink on scroll --- */
nav { transition: padding 0.35s ease, box-shadow 0.35s ease, background 0.35s ease; }
nav.scrolled {
  padding-top: 0.55rem; padding-bottom: 0.55rem;
  box-shadow: 0 4px 30px rgba(26,61,99,0.08);
  background: rgba(248,245,240,0.98);
}
nav.scrolled .nav-logo-svg { height: 50px; transition: height 0.35s ease; }
.nav-logo-svg { transition: height 0.35s ease; }

/* --- Animated underline on nav links --- */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1.5px; background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

/* --- Hero: subtle gradient mesh + parallax feel --- */
.hero-left {
  background:
    radial-gradient(circle at 0% 0%, rgba(111,163,150,0.06) 0%, transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(26,61,99,0.04) 0%, transparent 40%);
}
.hero-name-badge {
  position: relative; overflow: hidden;
  box-shadow: 0 8px 24px rgba(26,61,99,0.18);
}
.hero-name-badge::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 80%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: shimmer 5s ease-in-out 1.5s infinite;
}
@keyframes shimmer {
  0% { left: -100%; } 30%, 100% { left: 150%; }
}
.hero-right img { transition: transform 1.2s cubic-bezier(0.16,1,0.3,1); }
.hero:hover .hero-right img { transform: scale(1.03); }

/* --- Scroll reveal animations --- */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-name-badge::after { animation: none; }
}

/* --- Section titles: accent line accent --- */
.section-title, .rdv-policy-title, .ordo-intro h2, .contact-info h2, .recruit-title {
  position: relative;
}
.section-tag { display: inline-flex; align-items: center; gap: 0.6rem; }
.section-tag::before {
  content: ''; width: 24px; height: 1.5px;
  background: var(--accent); display: inline-block;
}

/* --- Service cards: lift + icon pop --- */
.service-card { position: relative; overflow: hidden; }
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(26,61,99,0.08); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), color 0.3s; }
.service-card:hover .service-icon { transform: scale(1.12) rotate(-4deg); color: var(--accent-light); }
.service-name { transition: color 0.3s; }
.service-card:hover .service-name { color: var(--accent); }

/* --- Gallery: refined zoom + overlay --- */
.gallery-item { position: relative; }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,61,99,0.25), transparent 60%);
  opacity: 0; transition: opacity 0.5s ease;
}
.gallery-item:hover::after { opacity: 1; }

/* --- Team cards: photo glow + lift --- */
.team-card { transition: transform 0.4s cubic-bezier(0.16,1,0.3,1); }
.team-card:hover { transform: translateY(-3px); }
.team-photo, .team-logo-wrap { transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s; }
.team-card:hover .team-photo,
.team-card:hover .team-logo-wrap {
  border-color: var(--accent-light);
  box-shadow: 0 0 0 4px rgba(111,163,150,0.15), 0 12px 30px rgba(0,0,0,0.2);
}

/* --- Buttons: modern depth + ripple feel --- */
.form-submit, .recruit-cta, .google-review-btn, .emergency-call-btn, .pharmacy-link {
  position: relative; overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s, background 0.25s;
}
.form-submit:hover, .recruit-cta:hover, .google-review-btn:hover,
.emergency-call-btn:hover, .pharmacy-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.18);
}
.form-submit:active, .recruit-cta:active { transform: translateY(0); }

/* --- Form inputs: smoother focus --- */
.form-group input, .form-group select, .form-group textarea {
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(74,124,111,0.12);
}
.radio-option label { transition: all 0.25s cubic-bezier(0.16,1,0.3,1); }
.radio-option label:hover { border-color: var(--accent-light); transform: translateY(-1px); }

/* --- News cards: slide accent --- */
.news-item { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.news-item:hover { transform: translateX(4px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }

/* --- Recruit positions: glassy hover --- */
.recruit-position { transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), background 0.4s, border-color 0.4s; }
.recruit-position:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.25);
}
.recruit-position-icon { transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1); }
.recruit-position:hover .recruit-position-icon { transform: scale(1.15) translateY(-2px); }

/* --- Emergency banner: gentle pulse on the 112 --- */
.emergency-banner a[href="tel:112"] {
  animation: softpulse 2.6s ease-in-out infinite;
}
@keyframes softpulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.0); }
  50% { box-shadow: 0 0 0 4px rgba(255,255,255,0.12); }
}

/* --- Virchow band: subtle texture --- */
.virchow-band { position: relative; overflow: hidden; }
.virchow-band::before {
  content: '✛'; position: absolute; right: -2%; top: 50%;
  transform: translateY(-50%); font-size: 18rem;
  color: rgba(255,255,255,0.04); line-height: 1; pointer-events: none;
}

/* --- Scroll progress bar --- */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  z-index: 200; transition: width 0.1s linear;
}

/* --- Back to top button --- */
#back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--brand-blue); color: white; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.35s, transform 0.35s, background 0.25s;
  box-shadow: 0 6px 20px rgba(26,61,99,0.3);
}
#back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
#back-to-top:hover { background: var(--accent); transform: translateY(-3px); }

/* --- Map: soften + frame --- */
.map-container { box-shadow: 0 12px 36px rgba(26,61,99,0.1); transition: box-shadow 0.4s; }
.map-container:hover { box-shadow: 0 16px 48px rgba(26,61,99,0.18); }

@media (max-width: 768px) {
  .virchow-band::before { font-size: 10rem; right: -8%; }
  #back-to-top { bottom: 1.2rem; right: 1.2rem; width: 42px; height: 42px; }
  .hero-left { background: none; }
}

/* Reduce gallery height a touch on large screens for balance */
@media (min-width: 1200px) {
  .gallery-item { height: 240px; }
}

/* ============================================
   === JOVIAL WARMTH — friendly polish ===
   ============================================ */
/* Warm accent touches on section tags */
.section-tag::before { background: var(--accent-warm); }

/* Service icons get a soft circular warm halo */
.service-icon {
  background: linear-gradient(135deg, rgba(123,196,179,0.16), rgba(233,160,107,0.12));
  border-radius: 16px;
  padding: 8px;
  width: 52px; height: 52px;
  box-sizing: border-box;
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(123,196,179,0.28), rgba(233,160,107,0.2));
}

/* Hero badge: warmer gradient */
.hero-name-badge {
  background: linear-gradient(120deg, var(--brand-blue), var(--accent)) !important;
}

/* Friendly rounded corners */
.service-card, .news-item, .rdv-policy-item, .emergency-card,
.recruit-position, .ordo-form, .map-container {
  border-radius: 14px;
}
.gallery-item { border-radius: 10px; }
.gallery { gap: 10px; background: transparent; }

/* Warm hover on nav links */
.nav-links a:hover { color: var(--accent); }
.nav-links a::after { background: var(--accent-warm); }

/* Virchow band: friendlier, warmer tint */
.virchow-band {
  background: linear-gradient(135deg, var(--accent) 0%, #3f8a7c 100%);
}

/* Team cards warm glow */
.team-card:hover .team-photo,
.team-card:hover .team-logo-wrap {
  box-shadow: 0 0 0 4px rgba(123,196,179,0.2), 0 12px 30px rgba(0,0,0,0.18);
}

/* Soft decorative dots in hero (jovial) */
.hero-left::before {
  content: '';
  position: absolute;
  top: 12%; right: 8%;
  width: 90px; height: 90px;
  background: radial-gradient(circle, var(--accent-warm) 2px, transparent 2.5px);
  background-size: 18px 18px;
  opacity: 0.25;
  pointer-events: none;
}
.hero-left { position: relative; }

/* Friendlier buttons - warm accent option */
.recruit-cta { background: white; color: var(--brand-blue); }
.recruit-cta:hover { background: var(--accent-warm); color: white; }

/* Language flags pop a bit */
.lang-item { transition: transform 0.2s; }
.lang-item:hover { transform: translateY(-2px); }

@media (max-width: 768px) {
  .hero-left::before { display: none; }
  .gallery { gap: 8px; }
}

/* Large screens: keep hero balanced */
@media (min-width: 1400px) {
  .hero-left { padding: 3rem 5rem; max-width: 720px; }
}
@media (min-width: 1800px) {
  .hero-left { max-width: 780px; padding: 3rem 6rem; }
}

/* ============================================
   === DOCTENA BOOKING SECTION ===
   ============================================ */
.doctena-section { padding: 5rem 6rem; background: white; }
.doctena-intro { font-size: 0.95rem; color: var(--text-light); max-width: 620px; margin-top: 0.8rem; line-height: 1.7; }
.doctena-widget-wrap {
  margin-top: 2rem;
  background: var(--cream);
  border-radius: 14px;
  padding: 1.5rem;
  min-height: 420px;
  box-shadow: 0 8px 28px rgba(26,61,99,0.06);
}
.doctena-widget-wrap iframe { border-radius: 10px; }
.doctena-widget-wrap noscript p { text-align: center; padding: 2rem; }
.doctena-widget-wrap a { color: var(--accent); font-weight: 500; }

/* ============================================
   === ACCESSIBILITY ===
   ============================================ */
.skip-link {
  position: absolute; top: -48px; left: 1rem; z-index: 300;
  background: var(--brand-blue); color: white;
  padding: 0.6rem 1.2rem; border-radius: 0 0 8px 8px;
  text-decoration: none; font-size: 0.85rem;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}
.lang-btn:focus-visible, .form-submit:focus-visible { outline-offset: 3px; }

@media (max-width: 768px) {
  .doctena-section { padding: 3rem 1.5rem; }
  .doctena-widget-wrap { padding: 0.8rem; }
}

/* ============================================
   === ABSENCE TICKER — modern scrolling banner ===
   ============================================ */
.absence-ticker {
  display: flex; align-items: stretch;
  background: linear-gradient(90deg, #142e4b 0%, var(--brand-blue) 45%, #24507d 100%);
  color: white;
  height: 44px;
  overflow: hidden;
  position: relative;
  z-index: 101;
}
.ticker-label {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0 1.2rem;
  background: rgba(255,255,255,0.08);
  border-right: 1px solid rgba(255,255,255,0.12);
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  white-space: nowrap;
}
.ticker-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-light);
  animation: ticker-pulse 2s ease-in-out infinite;
}
@keyframes ticker-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(123,196,179,0.55); }
  50% { box-shadow: 0 0 0 6px rgba(123,196,179,0); }
}
.ticker-track {
  flex: 1;
  overflow: hidden;
  display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 3%, black 97%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, black 3%, black 97%, transparent 100%);
}
.ticker-content {
  display: flex; align-items: center; gap: 2.5rem;
  width: max-content;
  padding-left: 2.5rem;
  animation: ticker-scroll 36s linear infinite;
  will-change: transform;
}
.absence-ticker:hover .ticker-content { animation-play-state: paused; }
@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}
.ticker-item { font-size: 0.86rem; white-space: nowrap; opacity: 0.95; }
.ticker-item strong { color: var(--accent-light); font-weight: 600; }
.ticker-sep { color: var(--accent-warm); font-size: 0.7rem; opacity: 0.8; }

@media (prefers-reduced-motion: reduce) {
  .ticker-content { animation: none; padding-left: 1rem; flex-wrap: wrap; }
  .ticker-item { white-space: normal; font-size: 0.78rem; }
  .absence-ticker { height: auto; min-height: 44px; padding: 0.4rem 0; }
  .ticker-pulse { animation: none; }
}
@media (max-width: 768px) {
  .ticker-label { padding: 0 0.8rem; font-size: 0.62rem; }
  .ticker-item { font-size: 0.8rem; }
  .absence-ticker { height: 40px; }
}

/* ============================================
   === NEWS FEED ENHANCEMENTS ===
   ============================================ */
/* Journées passées du mois : atténuées */
.health-day.past-day { opacity: 0.55; }
.health-day.past-day:hover { opacity: 0.85; }

/* Séparateur "À venir" */
.upcoming-divider {
  display: flex; align-items: center; gap: 0.8rem;
  margin: 1.4rem 0 0.8rem;
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
.upcoming-divider::before, .upcoming-divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
}
.upcoming-divider [data-lang] { white-space: nowrap; }

/* Bloc Direction de la santé */
.dirsante-heading {
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem;
  color: var(--warm-dark); margin: 2.2rem 0 1.2rem;
  padding-bottom: 0.7rem; border-bottom: 1px solid var(--stone);
}
.dirsante-item {
  display: block; text-decoration: none; color: inherit;
  cursor: pointer;
}
.dirsante-item .news-title { transition: color 0.2s; }
.dirsante-item:hover .news-title { color: var(--accent); }
.dirsante-item::after {
  content: '→'; float: right; color: var(--accent);
  opacity: 0; transition: opacity 0.2s, transform 0.2s;
}
.dirsante-item:hover::after { opacity: 1; transform: translateX(3px); }
.dirsante-more {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 0.6rem; font-size: 0.8rem;
  color: var(--accent); text-decoration: none;
  letter-spacing: 0.05em; text-transform: uppercase; font-weight: 500;
  transition: gap 0.2s;
}
.dirsante-more:hover { gap: 0.7rem; }
