/* ===================================================
   Cabinet de Suivi de Grossesse et d'Accouchement
   Palette : rose poudré, beige, blanc, touches lavande/bleu ciel
=================================================== */

:root{
  --rose: #f3d9dd;
  --rose-dark: #e8b9c3;
  --rose-deep: #c97f92;
  --beige: #f7f1e8;
  --beige-dark: #eee3d3;
  --lavande: #e7e3f5;
  --bleuciel: #dceefb;
  --blanc: #ffffff;
  --ink: #3d3436;
  --ink-soft: #6d6266;
  --gold: #b9964f;

  --font-title: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Quicksand', 'Segoe UI', sans-serif;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(184, 140, 150, 0.15);
  --container: 1180px;
}

*{ box-sizing:border-box; margin:0; padding:0; }

html{ scroll-behavior:smooth; }

body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--blanc);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }

a{ text-decoration:none; color:inherit; }

ul{ list-style:none; }

.container{
  max-width: var(--container);
  margin:0 auto;
  padding:0 24px;
}

h1,h2,h3{ font-family: var(--font-title); font-weight:600; color:var(--ink); }

.section{ padding: 96px 0; }
.section-alt{ background: var(--beige); }

.section-head{ text-align:center; max-width:640px; margin:0 auto 56px; }
.eyebrow, .hero-eyebrow{
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:0.8rem;
  font-weight:700;
  color: var(--rose-deep);
  margin-bottom:12px;
}
.hero-eyebrow{
  color:#fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.section-head h2{ font-size:2.1rem; margin-bottom:14px; }
.section-desc{ color: var(--ink-soft); font-size:1.02rem; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 28px;
  border-radius: 50px;
  font-weight:700;
  font-size:0.95rem;
  border:2px solid transparent;
  cursor:pointer;
  transition: all .25s ease;
  white-space:nowrap;
}
.btn-primary{ background: var(--rose-deep); color:#fff; box-shadow: var(--shadow); }
.btn-primary:hover{ background:#b56b7e; transform:translateY(-2px); }
.btn-ghost{ background: rgba(255,255,255,0.15); color:#fff; border-color: rgba(255,255,255,0.7); backdrop-filter: blur(4px); }
.btn-ghost:hover{ background: rgba(255,255,255,0.3); }
.btn-outline{ background:transparent; border-color: var(--rose-deep); color: var(--rose-deep); }
.btn-outline:hover{ background: var(--rose-deep); color:#fff; }
.btn-whatsapp{ background:#25D366; color:#fff; }
.btn-whatsapp:hover{ background:#1ebe5b; }
.btn-sm{ padding:10px 20px; font-size:0.88rem; }
.btn-full{ width:100%; }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 24px;
  gap: 16px;
}
.logo{ display:flex; align-items:center; gap:12px; flex-shrink:0; }
.logo img{ width:48px; height:48px; object-fit:cover; border-radius:50%; border:2px solid var(--rose-dark); }
.logo-text{ font-family: var(--font-title); font-weight:700; font-size:0.98rem; line-height:1.2; color: var(--ink); text-transform:uppercase; letter-spacing:0.3px; }
.logo-text small{ font-family: var(--font-body); font-weight:500; font-size:0.7rem; color: var(--ink-soft); }

.nav ul{ display:flex; gap:30px; }
.nav-link{
  font-weight:600; font-size:0.95rem; color: var(--ink); position:relative; padding:6px 0;
}
.nav-link::after{
  content:''; position:absolute; left:0; bottom:0; width:0; height:2px; background: var(--rose-deep);
  transition: width .25s ease;
}
.nav-link:hover::after, .nav-link.active::after{ width:100%; }
.nav-link.active{ color: var(--rose-deep); }

.header-actions{ display:flex; align-items:center; gap:16px; }
.phone-pill{
  display:flex; align-items:center; gap:8px;
  background: var(--rose);
  color: var(--rose-deep);
  padding:10px 18px;
  border-radius:50px;
  font-weight:700;
  font-size:0.92rem;
  white-space:nowrap;
}
.phone-pill:hover{ background: var(--rose-dark); }

.burger{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:36px; height:36px; background:none; border:none; cursor:pointer;
}
.burger span{ width:100%; height:2px; background: var(--ink); border-radius:2px; transition: all .25s ease; }

/* ---------- Hero ---------- */
.hero{ position:relative; min-height:88vh; display:flex; align-items:center; color:#fff; overflow:hidden; }
.hero-media{ position:absolute; inset:0; z-index:0; }
.hero-media img{ width:100%; height:100%; object-fit:cover; object-position:center 30%; }
.hero-overlay{
  position:absolute; inset:0;
  background: linear-gradient(135deg, rgba(201,127,146,0.75) 0%, rgba(120,90,110,0.55) 45%, rgba(60,50,60,0.55) 100%);
}
.hero-content{ position:relative; z-index:1; max-width:680px; padding-top:60px; padding-bottom:60px; }
.hero h1{ font-size:2.8rem; color:#fff; line-height:1.2; margin-bottom:20px; }
.hero-subtitle{ font-size:1.1rem; color: rgba(255,255,255,0.92); margin-bottom:22px; max-width:560px; }
.hero-specialty{
  display:inline-flex; align-items:flex-start; gap:10px;
  background: rgba(255,255,255,0.16);
  border:1px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(4px);
  padding:10px 20px;
  border-radius:50px;
  font-weight:700;
  font-size:0.88rem;
  color:#fff;
  margin-bottom:30px;
  max-width:560px;
}
.hero-specialty svg{ flex-shrink:0; margin-top:2px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }

/* ---------- About ---------- */
.about-grid{ display:grid; grid-template-columns: 1.1fr 1fr; gap:60px; align-items:flex-start; }
.about-text p{ color: var(--ink-soft); margin-bottom:20px; font-size:1.02rem; }
.about-values{ display:grid; gap:20px; }
.value-card{
  background: var(--blanc);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius);
  padding:26px;
  box-shadow: var(--shadow);
}
.value-icon{
  width:52px; height:52px; border-radius:50%;
  background: var(--lavande);
  color: var(--rose-deep);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:14px;
}
.value-card h3{ font-size:1.15rem; margin-bottom:8px; }
.value-card p{ color: var(--ink-soft); font-size:0.95rem; }

/* ---------- Services ---------- */
.services-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:26px;
}
.service-card{
  display:flex;
  flex-direction:column;
  background: var(--blanc);
  border-radius: var(--radius);
  padding:34px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--beige-dark);
  transition: transform .25s ease, box-shadow .25s ease;
  cursor:pointer;
}
.service-card:hover{ transform:translateY(-6px); box-shadow: 0 16px 36px rgba(184,140,150,0.22); }
.service-icon{
  width:58px; height:58px; border-radius:16px;
  background: var(--bleuciel);
  color: var(--rose-deep);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
}
.service-card h3{ font-size:1.2rem; margin-bottom:10px; }
.service-card p{ color: var(--ink-soft); font-size:0.95rem; }
.service-card--placeholder{ border-style:dashed; opacity:0.6; }
.service-cta{
  display:inline-flex; align-items:center; gap:6px;
  margin-top:auto; padding-top:18px;
  color: var(--rose-deep);
  font-weight:700; font-size:0.88rem;
}
.service-cta svg{ transition: transform .2s ease; }
.service-card:hover .service-cta svg{ transform: translateX(4px); }

/* ---------- Gallery ---------- */
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}
.gallery-item{
  display:block; overflow:hidden; border-radius: var(--radius);
  aspect-ratio: 4/3.2;
  box-shadow: var(--shadow);
}
.gallery-item img{
  width:100%; height:100%; object-fit:cover;
  transition: filter .3s ease;
}
.gallery-item:hover img{ filter: brightness(1.06) saturate(1.08); }

/* ---------- Rendez-vous ---------- */
.rdv-grid{ display:grid; grid-template-columns: 1.3fr 1fr; gap:44px; }
.rdv-form{
  background: var(--blanc);
  border-radius: var(--radius);
  padding:40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--beige-dark);
}
.form-row{ margin-bottom:20px; }
.form-row label{ display:block; font-weight:700; margin-bottom:8px; font-size:0.92rem; }
.form-row input, .form-row textarea, .form-row select{
  width:100%;
  padding:13px 16px;
  border-radius:12px;
  border: 1.5px solid var(--beige-dark);
  font-family: var(--font-body);
  font-size:0.98rem;
  background: var(--beige);
  transition: border-color .2s ease;
  resize: vertical;
  color: var(--ink);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus{ outline:none; border-color: var(--rose-deep); background:#fff; }

.motif-pills{ display:flex; flex-wrap:wrap; gap:10px; margin-top:14px; }
.motif-pill{
  background: var(--bleuciel);
  color: var(--rose-deep);
  border: 1.5px solid transparent;
  border-radius:50px;
  padding:9px 18px;
  font-family: var(--font-body);
  font-weight:700;
  font-size:0.85rem;
  cursor:pointer;
  transition: all .2s ease;
}
.motif-pill:hover{ background: var(--rose); }
.motif-pill.active{ background: var(--rose-deep); color:#fff; }

.form-hint{ margin-top:16px; font-size:0.86rem; color: var(--ink-soft); text-align:center; }
.form-note{ margin-top:10px; font-size:0.9rem; font-weight:600; min-height:1.2em; text-align:center; }
.form-note.success{ color:#3a8f5a; }
.form-note.error{ color:#c0475a; }

.rdv-contact{ display:flex; flex-direction:column; gap:20px; }
.rdv-contact-card{
  background: var(--rose);
  border-radius: var(--radius);
  padding:26px;
}
.rdv-contact-card--muted{ background: var(--lavande); }
.rdv-contact-card h3{ font-size:1.05rem; margin-bottom:8px; }
.rdv-number{ font-size:1.4rem; font-weight:700; color: var(--ink); margin-bottom:16px; }
.rdv-buttons{ display:flex; gap:12px; flex-wrap:wrap; }
.hours-list{ display:flex; flex-direction:column; gap:8px; margin-top:10px; }
.hours-list li{ display:flex; justify-content:space-between; font-size:0.92rem; color: var(--ink-soft); }
.hours-list li span:first-child{ font-weight:700; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer{ background: #3d3436; color: #e9e0e2; padding-top:70px; }
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap:40px;
  padding-bottom:50px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-col h4{ color:#fff; font-family: var(--font-title); margin-bottom:16px; font-size:1.05rem; }
.footer-col p{ color: #cbbfc2; margin-bottom:10px; font-size:0.92rem; }
.footer-col a:hover{ color: var(--rose-dark); }
.logo--footer .logo-text{ color:#fff; }
.logo--footer .logo-text small{ color:#cbbfc2; }
.footer-tagline{ margin-top:16px; color:#cbbfc2; font-size:0.9rem; }
.social-links{ display:flex; gap:12px; }
.social-links a{
  width:38px; height:38px; border-radius:50%;
  background: rgba(255,255,255,0.08);
  display:flex; align-items:center; justify-content:center;
  color:#fff;
  transition: background .2s ease;
}
.social-links a:hover{ background: var(--rose-deep); }
.footer-bottom{ text-align:center; padding:22px 0; font-size:0.85rem; color:#a89ba0; }

/* ---------- WhatsApp float button ---------- */
.whatsapp-float{
  position:fixed; bottom:24px; right:24px; z-index:900;
  width:58px; height:58px; border-radius:50%;
  background:#25D366; color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  transition: transform .2s ease;
}
.whatsapp-float:hover{ transform: scale(1.08); }

/* ===================================================
   Responsive
=================================================== */
@media (max-width: 960px){
  .about-grid, .rdv-grid{ grid-template-columns: 1fr; }
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px){
  .nav{
    position:fixed; top:73px; left:0; right:0;
    background:#fff;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    max-height:0; overflow:hidden;
    transition: max-height .3s ease;
  }
  .nav.open{ max-height:400px; }
  .nav ul{ flex-direction:column; padding:10px 24px 24px; gap:4px; }
  .nav-link{ display:block; padding:12px 0; border-bottom:1px solid var(--beige-dark); }
  .burger{ display:flex; }
  .phone-pill span{ display:none; }
  .phone-pill{ padding:10px; }

  .hero{ min-height:auto; }
  .hero-content{ padding-top:36px; padding-bottom:40px; }
  .hero-eyebrow{ font-size:0.7rem; letter-spacing:1.5px; }
  .hero h1{ font-size:1.8rem; margin-bottom:14px; }
  .hero-subtitle{ font-size:0.95rem; margin-bottom:16px; }
  .hero-specialty{ font-size:0.78rem; padding:8px 16px; margin-bottom:22px; }
  .section{ padding:64px 0; }

  .services-grid{ grid-template-columns: 1fr; gap:14px; }
  .service-card{ padding:20px 20px; }
  .service-icon{ width:44px; height:44px; border-radius:12px; margin-bottom:12px; }
  .service-icon svg{ width:22px; height:22px; }
  .service-card h3{ font-size:1.02rem; margin-bottom:6px; }
  .service-card p{ font-size:0.87rem; }
  .service-cta{ font-size:0.8rem; padding-top:12px; }

  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns: 1fr; text-align:left; }
}

@media (max-width: 480px){
  .gallery-grid{ grid-template-columns: 1fr 1fr; gap:10px; }
  .hero h1{ font-size:1.5rem; }
  .logo-text{ font-size:0.85rem; }
  .section{ padding:48px 0; }
  .section-head{ margin-bottom:36px; }
  .section-head h2{ font-size:1.6rem; }
  .service-card{ padding:18px; }
}

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

.doctor-photo{ margin-bottom:28px; border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); aspect-ratio: 3/4; max-width:360px; }
.doctor-photo img{ width:100%; height:100%; object-fit:cover; object-position:center 15%; }
.about-subtitle{ font-size:1.25rem; margin:8px 0 12px; color: var(--rose-deep); }

.map-wrap{ border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); border:1px solid var(--beige-dark); }
.map-wrap iframe{ display:block; width:100%; height:420px; border:0; }
.map-actions{ text-align:center; margin-top:24px; }

.rdv-contact-card--urgent{
  background: linear-gradient(135deg, var(--gold) 0%, #d6b25f 100%);
  color:#fff;
  display:flex;
  align-items:center;
  gap:16px;
}
.rdv-contact-card--urgent h3{ color:#fff; margin-bottom:4px; }
.rdv-contact-card--urgent .rdv-number{ color:#fff; margin-bottom:0; font-size:1.3rem; }
.urgent-icon{
  width:48px; height:48px; border-radius:50%;
  background: rgba(255,255,255,0.22);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
