/* Équipe Maman & Moi — feuille de style */

:root {
  --cream:        #f6f1e9;
  --cream-2:      #f1eadd;
  --paper:        #fdfbf7;
  --white:        #ffffff;
  --ink:          #2b2620;
  --ink-soft:     #4a4339;
  --muted:        #6b6459;
  --muted-2:      #8c8477;
  --gold:         #a8863a;
  --gold-deep:    #7c6224;
  --gold-soft:    #cba85f;
  --line:         #e6ddcd;
  --line-2:       #ded3bf;
  --shadow-sm:    0 4px 16px rgba(58, 46, 28, 0.06);
  --shadow-md:    0 14px 40px rgba(58, 46, 28, 0.10);
  --shadow-lg:    0 28px 70px rgba(58, 46, 28, 0.16);
  --radius:       18px;
  --radius-sm:    12px;
  --radius-lg:    26px;
  --maxw:         1200px;
  --font-serif:   "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
}

/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; color: var(--ink); line-height: 1.14; margin: 0; letter-spacing: -0.01em; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 4px; }

/* Layout */
.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.section { padding: 96px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); display: inline-block; }
.section-head { max-width: 620px; }
.section-head--center { max-width: 720px; margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
h2.title { font-size: clamp(30px, 4vw, 46px); }
.lead { color: var(--muted); font-size: 17px; margin-top: 18px; max-width: 54ch; }
.section-head--center .lead { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--ink); color: var(--paper); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--gold-deep); box-shadow: var(--shadow-md); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(43,38,32,0.04); }
.btn--light { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246, 241, 233, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); background: rgba(246,241,233,0.95); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 88px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { height: 72px; width: auto; display: block; }
.brand__logo--footer { height: 84px; }
.brand__name { font-family: var(--font-serif); font-size: 22px; letter-spacing: 0.02em; }
.brand__name span { color: var(--gold-deep); }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a { font-size: 15px; color: var(--ink-soft); font-weight: 500; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1.5px; background: var(--gold); transition: width .3s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 16px; }
.nav__phone { font-weight: 600; font-size: 15px; line-height: 1; display: inline-flex; align-items: center; gap: 8px; }
.nav__phone svg { width: 16px; height: 16px; color: var(--gold-deep); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--paper); align-items: center; justify-content: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }
body.nav-open .nav__toggle span { background: transparent; }
body.nav-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--cream); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 80% center; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, var(--cream) 0%, var(--cream) 22%, rgba(246,241,233,0.85) 38%, rgba(246,241,233,0.32) 58%, rgba(246,241,233,0) 80%),
    linear-gradient(to top, var(--cream) 1%, rgba(246,241,233,0) 32%);
}
.hero .container {
  position: relative; z-index: 2;
  min-height: min(84vh, 800px);
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 76px; padding-bottom: 56px;
}
.hero__content { max-width: 620px; }
.hero .eyebrow { color: var(--gold-deep); }
.hero h1 { color: var(--ink); font-size: clamp(38px, 5.6vw, 74px); max-width: 13ch; }
.hero__sub { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 44ch; margin-top: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; }
.stat-card {
  background: rgba(253,251,247,0.85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.55); border-radius: var(--radius);
  padding: 24px 26px; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}
.stat-card__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--cream-2); color: var(--gold-deep); display: grid; place-items: center; flex: 0 0 auto; }
.stat-card__icon svg { width: 22px; height: 22px; }
.stat-card__num { display: block; font-family: var(--font-serif); font-size: clamp(21px, 2.2vw, 28px); line-height: 1.08; color: var(--ink); }
.stat-card__label { display: block; font-size: 13px; color: var(--muted); margin-top: 5px; }

/* About */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about__gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.about__gallery img { border-radius: var(--radius); box-shadow: var(--shadow-sm); width: 100%; height: 100%; object-fit: cover; }
.about__gallery .tall { grid-row: span 2; height: 100%; min-height: 340px; }
.about__gallery .short { height: 180px; }
.about__features { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 500;
}
.chip svg { width: 18px; height: 18px; color: var(--gold-deep); }

/* Why choose */
.why { background: var(--cream-2); }
.why__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.why__media { position: relative; }
.why__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.why__list { display: flex; flex-direction: column; }
.why__item { display: grid; grid-template-columns: 32px 1fr; gap: 22px; padding: 24px 0; border-top: 1px solid var(--line-2); }
.why__item:first-child { border-top: none; padding-top: 0; }
.why__num { font-family: var(--font-serif); font-size: 20px; color: var(--gold); }
.why__item h3 { font-size: 21px; margin-bottom: 6px; }
.why__item p { margin: 0; color: var(--muted); font-size: 15px; }
.why__cta { margin-top: 30px; margin-left: 54px; }

/* Testimonials */
.testi { background: var(--cream-2); }
.testi-carousel { position: relative; margin-top: 44px; }
.testi-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 6px 2px 14px; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-card {
  flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px;
}
.testi-stars { color: var(--gold); letter-spacing: 3px; font-size: 15px; }
.testi-card .quote-mark { font-family: var(--font-serif); font-size: 44px; line-height: 0.5; color: var(--gold-soft); height: 20px; }
.testi-card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.testi-card .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-card .who strong { display: block; font-size: 15px; font-family: var(--font-serif); font-weight: 500; }
.testi-card .who span { font-size: 12.5px; color: var(--muted); }
.avatar-mono {
  width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto;
  background: #e8823a; color: #fff; display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 20px; line-height: 1;
}
.avatar-mono--empty { background: var(--line-2); }
.testi-card--placeholder { border-style: dashed; background: transparent; box-shadow: none; }
.testi-card--placeholder .testi-stars { color: var(--line-2); }
.testi-card--placeholder p, .testi-card--placeholder .who strong { color: var(--muted-2); }
.testi-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2);
  background: var(--paper); color: var(--ink); font-size: 24px; line-height: 1;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
  transition: background .25s var(--ease), color .25s var(--ease), opacity .25s;
}
.testi-nav:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.testi-nav--prev { left: -10px; }
.testi-nav--next { right: -10px; }
.testi-nav[disabled] { opacity: 0; pointer-events: none; }
.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.testi-dots button {
  width: 8px; height: 8px; padding: 0; border-radius: 50%; border: none;
  background: var(--line-2); transition: background .25s, width .25s, border-radius .25s;
}
.testi-dots button.is-active { background: var(--gold); width: 22px; border-radius: 4px; }
.testi-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }

/* FAQ */
.faq__list { max-width: 820px; margin: 44px auto 0; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-serif); font-size: 18px; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .plus { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: 0 0 auto; color: var(--gold-deep); transition: transform .3s var(--ease), background .3s var(--ease), color .3s; position: relative; }
.faq-item .plus::before, .faq-item .plus::after { content: ""; position: absolute; background: currentColor; }
.faq-item .plus::before { width: 12px; height: 2px; }
.faq-item .plus::after { width: 2px; height: 12px; transition: transform .3s var(--ease); }
.faq-item[open] .plus { background: var(--gold); color: #fff; border-color: var(--gold); }
.faq-item[open] .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }
.faq-item .faq-body p { margin: 0; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 48px; align-items: stretch; }
.contact__info { display: flex; flex-direction: column; justify-content: center; }
.contact__info h2 { font-size: clamp(28px, 3.4vw, 40px); }
.agents { display: flex; gap: 20px; margin-top: 36px; flex-wrap: wrap; }
.agent { flex: 1 1 260px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--shadow-sm); }
.agent img { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; object-position: center top; flex: 0 0 auto; border: 3px solid var(--cream-2); }
.agent__info { display: flex; flex-direction: column; align-items: center; min-width: 0; width: 100%; }
.agent__info strong { font-family: var(--font-serif); font-weight: 500; font-size: 19px; }
.agent__info .role { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.agent__info a { font-size: 14px; color: var(--gold-deep); font-weight: 600; overflow-wrap: anywhere; margin-top: 2px; }
.agent__info a:hover { text-decoration: underline; }
.contact__form-wrap {
  position: relative;
  background-image: linear-gradient(180deg, rgba(43,38,32,0.12), rgba(43,38,32,0.45)), url("../images/evaluation-gratuite-maison.webp");
  background-size: cover; background-position: center;
  border-radius: var(--radius-lg);
  padding: clamp(96px, 14vh, 168px) clamp(16px, 2vw, 30px) clamp(16px, 2vw, 30px);
  box-shadow: var(--shadow-lg);
}
.booking-card {
  background: rgba(253,251,247,0.95);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 34px);
  box-shadow: var(--shadow-md);
}
.booking-card h3 { color: var(--ink); font-size: 26px; }
.booking-card .sub { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.cal-embed { margin-top: 26px; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.cal-embed iframe { display: block; width: 100%; height: 600px; border: 0; }
.cal-note {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 20px;
  padding: 15px 16px; border-radius: 12px; background: var(--cream-2);
  border: 1px solid var(--line); color: var(--ink-soft); font-size: 13.5px; line-height: 1.55;
}
.cal-note svg { width: 20px; height: 20px; color: var(--gold-deep); flex: 0 0 auto; margin-top: 1px; }
.cal-note strong { color: var(--gold-deep); font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); padding: 46px 0 26px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; align-items: center; }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { margin-top: 18px; font-size: 14.5px; max-width: 34ch; }
.footer__social { display: flex; gap: 12px; margin-top: 20px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); display: grid; place-items: center; transition: background .25s, border-color .25s; }
.footer__social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer__social svg { width: 18px; height: 18px; }
.footer__col h4 { color: #fff; font-family: var(--font-sans); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a, .footer__col li { font-size: 14.5px; }
.footer__col a:hover { color: var(--gold-soft); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 32px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,0.5); }
.footer__bottom a:hover { color: #fff; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 980px) {
  .nav__links, .nav__phone { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.is-open {
    display: flex; position: fixed; inset: 88px 0 auto 0; flex-direction: column; gap: 4px;
    background: var(--paper); padding: 18px 24px 26px; box-shadow: var(--shadow-md); border-bottom: 1px solid var(--line);
  }
  .nav__links.is-open a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .about__grid, .why__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .testi-card { flex-basis: calc((100% - 20px) / 2); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .why__media img { min-height: 340px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .stats { grid-template-columns: 1fr; margin-top: 24px; }
  .testi-card { flex-basis: 100%; }
  .testi-nav { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .about__gallery { grid-template-columns: 1fr 1fr; }
  .brand__logo { height: 56px; }
  .brand__logo--footer { height: 92px; }
  .hero .container { min-height: 76vh; padding-top: 44px; padding-bottom: 44px; }
  .hero__media img { object-position: 72% center; }
  .hero__scrim { background: linear-gradient(to top, var(--cream) 6%, rgba(246,241,233,0.58) 46%, rgba(246,241,233,0.12) 78%); }
  .stat-card { padding: 20px 22px; }
  .agents { flex-direction: column; }
}
