/* ===== Base ===== */
:root {
  --bg: #FBF7EF;
  --ink: #4A5346;
  --heading: #35402F;
  --muted: #5D6656;
  --soft: #8A8574;
  --line: #EAE2D2;
  --line-soft: #E3D9C4;
  --card: #FFFFFF;
  --green: #7E9977;
  --green-dark: #6A855F;
  --green-deep: #55704F;
  --green-border: #A9BCA2;
  --sage: #EEF1E6;
  --sand: #F3EEE1;
  --terra: #C4704F;
  --terra-dark: #B06344;
  --gold: #F4E3B2;
  --gold-text: #5C5233;
  --dark: #35402F;
  --dark-line: #4A5645;
  --dark-text: #CBD3C2;
  --heading-font: 'Quicksand', sans-serif;
  --body-font: 'Nunito Sans', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

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

a { color: var(--terra-dark); }
a:hover { color: #8F4E33; }

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

h1, h2, h3 { font-family: var(--heading-font); font-weight: 700; color: var(--heading); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--heading);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 0 0 12px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; color: var(--bg); }

.container { max-width: 1160px; margin: 0 auto; }
.container-narrow { max-width: 900px; }
.container-faq { max-width: 820px; }
.container-contact { max-width: 720px; }

.section { padding: clamp(56px, 8vw, 96px) 24px; scroll-margin-top: 90px; }
.hero-section { padding-bottom: 0; padding-top: clamp(40px, 7vw, 80px); }
.sage-bg { background: var(--sage); }
.sand-bg { background: var(--sand); }

.eyebrow {
  margin: 0 0 10px;
  color: var(--terra);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-title {
  margin: 0 0 18px;
  font-size: clamp(26px, 3.5vw, 38px);
  text-wrap: balance;
}
.section-intro {
  margin: 0 0 36px;
  max-width: 70ch;
  font-size: 17px;
  color: var(--muted);
  text-wrap: pretty;
}
.muted { margin: 0 0 4px; font-size: 15px; color: var(--muted); }
.strong { margin: 0 0 4px; font-size: 15px; color: var(--heading); font-weight: 700; }
.small-note { margin: 12px 0 0; font-size: 13px; color: var(--soft); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 16px;
  padding: 13px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--terra); color: var(--bg); }
.btn-primary:hover { background: var(--terra-dark); color: var(--bg); }
.btn-outline {
  background: transparent;
  color: var(--green-deep);
  border: 2px solid var(--green-border);
  padding: 11px 24px;
}
.btn-outline:hover { background: var(--sage); color: #3F5A3A; }
.btn-green { background: var(--green); color: var(--bg); }
.btn-green:hover { background: var(--green-dark); color: var(--bg); }
.btn-small { font-size: 14.5px; padding: 9px 18px; }
.btn:disabled { opacity: 0.6; cursor: wait; }

/* ===== Header / nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 239, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
}
.brand-badge.small { width: 38px; height: 38px; font-size: 15px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--heading-font); font-weight: 700; font-size: 18px; color: var(--heading); }
.brand-sub { font-size: 12.5px; color: var(--soft); letter-spacing: 0.04em; }

.nav-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav-link {
  text-decoration: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav-link:hover { background: #F1EADB; color: var(--heading); }
.nav-cta {
  text-decoration: none;
  color: var(--bg);
  background: var(--terra);
  font-size: 15px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  margin-left: 6px;
}
.nav-cta:hover { background: var(--terra-dark); color: var(--bg); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1.5px solid var(--line-soft);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--heading);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 920px) {
  .nav { flex-wrap: wrap; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 10px 0 6px;
    border-top: 1px solid var(--line);
    margin-top: 10px;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 14px; }
  .nav-cta { margin: 8px 0 4px; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ===== Banner ===== */
.banner {
  background: var(--gold);
  color: var(--gold-text);
  text-align: center;
  padding: 9px 20px;
  font-size: 14.5px;
  font-weight: 600;
}
.banner a { color: var(--gold-text); font-weight: 700; }

/* ===== Hero ===== */
.hero {
  display: flex;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  flex-wrap: wrap;
}
.hero-copy { flex: 1 1 380px; min-width: 300px; }
.eyebrow-pill {
  margin: 0 0 14px;
  display: inline-block;
  background: var(--sage);
  color: var(--green-deep);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.12;
  text-wrap: balance;
}
.hero-lead {
  margin: 0 0 26px;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
  max-width: 48ch;
  text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-cards { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
  flex: 1 1 260px;
}
.hero-card-label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-card-label.green { color: var(--green-deep); }
.hero-card-label.terra { color: var(--terra); }
.hero-card-hours { margin: 4px 0 0; font-weight: 700; color: var(--heading); font-size: 15px; }
.hero-card-line { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.hero-card-line a { color: var(--heading); text-decoration: none; font-weight: 700; white-space: nowrap; }

.hero-visual { flex: 1 1 400px; min-width: 300px; position: relative; }
.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  overflow: hidden;
  background: var(--sage);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.deco { position: absolute; border-radius: 50%; z-index: -1; }
.deco-gold { right: -12px; bottom: -12px; width: 96px; height: 96px; background: var(--gold); }
.deco-blue { left: -16px; top: -16px; width: 64px; height: 64px; background: #D8E4E8; }

.values {
  margin-top: clamp(48px, 7vw, 80px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.value-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 24px;
}
.value-card .dot { display: block; width: 14px; height: 14px; border-radius: 50%; margin-bottom: 14px; }
.value-card h2 { margin: 0 0 8px; font-size: 19px; }
.value-card p { margin: 0; font-size: 15px; color: var(--muted); }

/* ===== Grids / cards ===== */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.creche-cards { margin-bottom: 36px; }
.infos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.addr-cols { display: flex; gap: 20px; flex-wrap: wrap; }
.addr-col { flex: 1 1 200px; }
.addr-col .btn { margin-top: 4px; }
@media (max-width: 720px) { .infos-grid { grid-template-columns: 1fr; } }

.creche-card { background: var(--sage); border-radius: 22px; padding: clamp(24px, 4vw, 32px); }
.creche-card h3 { margin: 10px 0 6px; font-size: 21px; }
.creche-card .muted:first-of-type { margin-bottom: 14px; }
.tag {
  margin: 0 0 6px;
  display: inline-block;
  color: var(--bg);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.terra-bg { background: var(--terra); }
.green-bg { background: var(--green); }

.photo-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.photo-frame { width: 100%; aspect-ratio: 16 / 10; background: var(--sage); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-card-body { padding: 20px 22px; }
.photo-card-body h3 { margin: 0 0 6px; font-size: 18px; }
.photo-card-body p { margin: 0; font-size: 15px; color: var(--muted); }

.team-band {
  margin-top: 16px;
  background: var(--sage);
  border-radius: 22px;
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}
.team-copy { flex: 1 1 320px; }
.team-copy h3 { margin: 0 0 8px; font-size: 22px; }
.team-copy p { margin: 0; font-size: 15.5px; color: var(--muted); text-wrap: pretty; }
.team-photo { flex: 0 1 420px; width: 100%; max-width: 420px; aspect-ratio: 3 / 2; border-radius: 24px; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }

.simple-card { background: var(--card); border-radius: 22px; padding: 26px; }
.simple-card h3 { margin: 0 0 10px; font-size: 18px; }
.simple-card p { margin: 0 0 6px; }
.simple-card p:last-child { margin-bottom: 0; }
.section:not(.sage-bg):not(.sand-bg) .simple-card { border: 1px solid var(--line); }

/* ===== Timeline ===== */
.timeline { display: flex; flex-direction: column; }
.step { display: flex; gap: 20px; }
.step-rail { display: flex; flex-direction: column; align-items: center; width: 20px; flex-shrink: 0; }
.step-dot { width: 16px; height: 16px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.step-line { width: 2px; flex: 1; background: var(--line-soft); }
.step-body { padding-bottom: 28px; flex: 1; }
.step:last-child .step-body { padding-bottom: 0; }
.step-time { margin: 0; font-weight: 700; font-size: 14px; letter-spacing: 0.04em; }
.step-body h3 { margin: 2px 0 4px; font-size: 19px; }
.step-body p { margin: 0; font-size: 15px; color: var(--muted); }

.note {
  margin: 32px 0 0;
  font-style: italic;
  font-size: 15px;
  color: var(--soft);
  background: var(--sand);
  border-radius: 16px;
  padding: 16px 20px;
}

/* ===== CTA band ===== */
.cta-band {
  margin-top: 16px;
  background: var(--dark);
  border-radius: 22px;
  padding: clamp(24px, 4vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-band h3 { margin: 0 0 4px; font-size: 20px; color: var(--bg); }
.cta-band p { margin: 0; font-size: 15px; color: var(--dark-text); }
.cta-band p a { color: var(--gold); font-weight: 700; text-decoration: none; }
.cta-band .btn { flex-shrink: 0; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-list details { background: var(--card); border-radius: 18px; overflow: hidden; }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 48px 18px 22px;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--heading);
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { background: var(--bg); }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 500;
  color: var(--green);
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 22px 18px; font-size: 15px; color: var(--muted); }

/* ===== Contact form ===== */
.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 14.5px; color: var(--heading); }
.req { color: var(--terra); }
.field input,
.field select,
.field textarea {
  border: 1.5px solid #DDD3BF;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--body-font);
  color: var(--heading);
  background: var(--bg);
  width: 100%;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }
.field textarea { resize: vertical; min-height: 120px; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; margin: 0; }

.consent { display: flex; gap: 10px; align-items: flex-start; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--green); flex-shrink: 0; }
.consent label { font-size: 14px; color: var(--muted); }
.link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--terra-dark);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
.contact-form .btn { align-self: flex-start; }

.form-error {
  margin: 0;
  background: #F9E8E0;
  border: 1.5px solid #DFA88F;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 14.5px;
  color: #7C3A21;
}

.contact-success {
  background: var(--sage);
  border: 1.5px solid var(--green-border);
  border-radius: 24px;
  padding: clamp(28px, 5vw, 40px);
  text-align: center;
}
.success-check {
  display: inline-flex;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green);
  color: var(--bg);
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
}
.contact-success h3 { margin: 0 0 8px; font-size: 21px; }
.contact-success p { margin: 0 0 20px; font-size: 16px; color: var(--muted); }

/* ===== Footer ===== */
.site-footer { background: var(--dark); color: var(--dark-text); padding: clamp(40px, 6vw, 64px) 24px 28px; }
.footer-cols {
  display: flex;
  gap: clamp(28px, 5vw, 64px);
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--dark-line);
}
.footer-col { flex: 1 1 220px; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 18px;
  color: var(--bg);
}
.footer-col > p { margin: 0 0 6px; font-size: 14.5px; }
.footer-col h3 {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--bg);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-col a { color: var(--gold); text-decoration: none; }
.footer-col a:hover { color: var(--bg); }
.footer-legal-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-link {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--body-font);
  font-size: 14.5px;
  color: var(--dark-text);
  text-decoration: underline;
  cursor: pointer;
}
.footer-link:hover { color: var(--bg); }
.copyright { margin: 24px 0 0; font-size: 13.5px; color: #8E9A87; text-align: center; }

/* ===== Modal ===== */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(53, 64, 47, 0.55); }
.modal-box {
  position: relative;
  background: var(--bg);
  border-radius: 24px;
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  overflow: auto;
  padding: clamp(24px, 4vw, 40px);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--sage);
  color: var(--heading);
  font-size: 18px;
  cursor: pointer;
}
.modal-close:hover { background: var(--line-soft); }
.legal-content h2 { margin: 0 0 16px; font-size: 24px; }
.legal-content p { margin: 0 0 12px; font-size: 15px; color: var(--muted); }
.legal-content p:last-child { margin-bottom: 0; }
