:root {
  --primary: #0f5c63;
  --primary-dark: #0a4247;
  --accent: #b8336a;
  --accent-soft: #fbe9f0;
  --bg: #ffffff;
  --bg-alt: #f3f8f8;
  --text: #1d2b2d;
  --muted: #5b6b6d;
  --border: #dde7e8;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(15, 92, 99, .10);
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; color: var(--primary-dark); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; color: var(--primary-dark); }
h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--accent); border-radius: 2px; margin-top: .4em; }
h3 { font-size: 1.2rem; font-weight: 700; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.mt { margin-top: 1.4em; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Buttons */
.btn {
  display: inline-block; padding: .75em 1.4em; border-radius: 999px;
  font-weight: 700; text-decoration: none; transition: transform .15s, background .15s;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #9e2a5a; }
.btn-ghost { border-color: var(--primary); color: var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--primary-dark); }
.btn-call { background: var(--primary); color: #fff; padding: .55em 1.1em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px); border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--primary-dark); }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand small { color: var(--accent); font-weight: 700; font-size: .95rem; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { text-decoration: none; color: var(--text); font-weight: 600; }
.nav a:not(.btn):hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--primary-dark); margin: 5px 0; transition: .2s; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--bg-alt) 0%, #fff 60%); padding: 56px 0 72px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--accent); margin: 0 0 .6em; }
.lead { font-size: 1.2rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: var(--muted); }
.hero-facts li::before { content: "✓ "; color: var(--primary); font-weight: 800; }
.hero-photo { margin: 0; }
.hero-photo img { border-radius: 24px; box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-accent { background: var(--primary); color: #fff; }
.section-accent h2 { color: #fff; }
.intro { max-width: 680px; color: var(--muted); margin-bottom: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card-highlight { border-top: 6px solid var(--accent); }
.card h3 { color: var(--primary-dark); }
.big { font-size: 1.25rem; }
.hours { font-size: 1.15rem; }
.hours strong { font-size: 2rem; color: var(--accent); }

.bring { margin-top: 32px; background: var(--accent-soft); border-radius: var(--radius); padding: 24px 28px; }
.bring h3 { color: var(--accent); }
.bring-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 32px; font-weight: 600; }

.service .icon { font-size: 2rem; margin-bottom: 8px; }
.service ul { padding-left: 1.1em; margin: 0; color: var(--muted); }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; }
.gallery figcaption { color: var(--muted); font-size: .95rem; margin-top: 8px; }

/* Team */
.member { text-align: center; }
.avatar {
  width: 140px; height: 140px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center; font-size: 2.2rem; font-weight: 800;
  color: var(--primary); background: var(--bg-alt); border: 4px solid var(--accent-soft);
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { margin-bottom: .2em; }
.member p { margin: 0; color: var(--muted); }

/* Vaccination */
.vax { align-items: center; }
.lead-sm { font-size: 1.25rem; }
.checks { list-style: none; padding: 0; }
.checks li { padding-left: 1.6em; position: relative; margin: 6px 0; }
.checks li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: #ffd1e3; }
.vax-photo { margin: 0; }
.vax-photo img { border-radius: 24px; aspect-ratio: 4 / 3; object-fit: cover; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { border: 1px solid var(--border); border-radius: 12px; padding: 0 20px; background: #fff; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; list-style: none; position: relative; padding-right: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* Contact */
address { font-style: normal; font-size: 1.1rem; margin-bottom: 12px; }
.phone a { font-size: 1.8rem; font-weight: 800; text-decoration: none; color: var(--accent); }
.map { border-radius: var(--radius); overflow: hidden; min-height: 340px; background: #e5eeef; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.map-load {
  width: 100%; height: 100%; min-height: 340px; border: 0; cursor: pointer;
  background: url("images/facade.jpg") center / cover; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  font: 700 1.1rem "Nunito Sans", sans-serif; position: relative;
}
.map-load::before { content: ""; position: absolute; inset: 0; background: rgba(10, 66, 71, .65); }
.map-load span, .map-load strong, .map-load small { position: relative; }
.map-load { isolation: isolate; }
.map-load small { font-weight: 400; font-size: .85rem; opacity: .85; }

/* Footer */
.site-footer { background: var(--primary-dark); color: #d6e6e7; padding: 24px 0; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-inner p { margin: 0; }

/* Legal page */
.legal { padding: 48px 0 72px; max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin-top: 1.6em; }

/* Responsive */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px;
    border-bottom: 1px solid var(--border); display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav .btn-call { margin-top: 14px; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .grid-2, .gallery { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; gap: 16px; }
  .grid-4.team { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 0; }
  .card { padding: 22px; }
  .avatar { width: 110px; height: 110px; font-size: 1.8rem; }
  .vax-photo { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Vaccins par âge */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.vaccine { transition: transform .2s, box-shadow .2s; }
.vaccine:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(15, 92, 99, .16); }
.vaccine .icon { font-size: 2rem; margin-bottom: 8px; }
.vaccine p { margin: 0; color: var(--muted); }
.source { margin-top: 28px; color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-3 { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .vaccine { transition: none; } .vaccine:hover { transform: none; } }

/* Bouton Appeler flottant (mobile et tablette ; sur ordinateur le numéro est dans l'en-tête) */
.call-fab { display: none; }
@media (max-width: 960px) {
  .call-fab {
    position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 20px; border-radius: 999px;
    background: var(--accent); color: #fff; font-weight: 800; text-decoration: none;
    box-shadow: 0 8px 24px rgba(184, 51, 106, .40);
  }
  .call-fab:active { transform: scale(.96); }
  .site-footer { padding-bottom: 88px; }
}

/* Logo */
.brand img { border-radius: 50%; }
.hero-logo { width: 140px; height: 140px; margin: 0 0 16px; filter: drop-shadow(0 6px 16px rgba(15, 92, 99, .18)); }
@media (max-width: 640px) { .hero-logo { width: 104px; height: 104px; } }
.vax-photo img { aspect-ratio: 1 / 1; }
