/* Home Nanny : couleurs tirées du logo (vert sarcelle + or) et des illustrations (rose poudré) */
:root {
  --green: #0b4f4c;
  --green-dark: #083b39;
  --mint: #42aa94;
  --mint-soft: #dcefea;
  --gold: #c9a15a;
  --gold-soft: #f6ecd9;
  --pink: #e9867f;
  --pink-soft: #fbe5e2;
  --blush: #fcf1ef;
  --white: #ffffff;
  --ink: #1f2d2c;
  --muted: #566664;
  --line: #ecdfdc;
  --radius: 20px;
  --shadow: 0 12px 32px rgba(11, 79, 76, 0.10);
  --font-title: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.15; margin: 0 0 0.6em; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 5.2vw, 3.8rem); font-weight: 700; letter-spacing: -0.02em; }
h1 em { font-style: italic; color: var(--green); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 600; letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--green); }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(800px, 100% - 2.5rem); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--green); color: var(--white); padding: 0.6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  display: inline-block; margin-bottom: 0.9rem;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mint);
}
.eyebrow-light { color: var(--gold); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.6rem; border-radius: 999px;
  border: 2px solid var(--green); background: var(--green); color: var(--white);
  font: 700 1rem var(--font-body); text-decoration: none; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--green); color: var(--white); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--green-dark); }
.btn-gold:hover { background: #d9b571; border-color: #d9b571; }
.btn-small { padding: 0.55rem 1.1rem; font-size: 0.95rem; }
.btn-full { width: 100%; }

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(11, 79, 76, 0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 52px; width: auto; }

.main-nav ul { display: flex; align-items: center; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.main-nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 700;
  padding: 0.3rem 0; border-bottom: 2px solid transparent;
}
.main-nav a:not(.btn):hover { border-color: var(--gold); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 10px; width: 24px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform 0.2s, background 0.2s; content: "";
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -7px; }
.nav-toggle-bar::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem);
  background: linear-gradient(180deg, var(--white) 0%, var(--blush) 100%);
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: center; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 2rem 0 1.8rem; }
.hero-points { display: grid; gap: 0.55rem; list-style: none; margin: 0; padding: 0; color: var(--muted); font-weight: 700; font-size: 0.98rem; }
.hero-points li, .check-list li { display: flex; align-items: flex-start; gap: 0.6rem; }
.hero-points li::before, .check-list li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 0.15em; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat;
}

.hero-visual { position: relative; max-width: 440px; justify-self: end; width: 100%; }
.hero-visual > img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%;
  border-radius: 200px 200px 28px 28px; box-shadow: var(--shadow);
}
.hero-badge {
  position: absolute; display: flex; align-items: center; gap: 0.8rem;
  background: var(--white); border-radius: 16px; padding: 0.8rem 1.1rem;
  box-shadow: var(--shadow); font-size: 0.9rem; line-height: 1.35; color: var(--muted);
}
.hero-badge strong { color: var(--ink); }
.hero-badge-1 { left: -2.5rem; bottom: 3rem; }
.hero-badge-2 { right: -1.5rem; top: 2.5rem; }
.badge-num { font: 700 1.6rem var(--font-title); color: var(--green); }
.badge-icon {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: var(--mint-soft); color: var(--green); font-weight: 800;
}

/* Sections */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-blush { background: var(--blush); }
.section-green { background: var(--green); color: rgba(255, 255, 255, 0.85); }
.section-green h2, .section-green h3 { color: var(--white); }
.section-head { text-align: center; max-width: 46rem; margin: 0 auto 3rem; }
.section-head p:last-child { color: var(--muted); font-size: 1.1rem; }

/* À propos */
.about-inner { text-align: center; }
.about-lead { font-size: 1.2rem; color: var(--ink); }
.about-inner p:last-child { color: var(--muted); }

/* Services */
.service-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin: -1rem 0 3rem; }
.service-tabs a {
  padding: 0.5rem 1.1rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  color: var(--ink); font-weight: 700; text-decoration: none; font-size: 0.95rem;
}
.service-tabs a:hover { border-color: var(--green); color: var(--green); }

.service {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center;
  background: var(--white); border-radius: 28px; padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 2px 0 var(--line);
}
.service + .service { margin-top: 2rem; }
.service-reverse .service-text { order: 2; }
.service-reverse .service-gallery { order: 1; }
.service-text > p { color: var(--muted); }
.service-tag {
  display: inline-block; padding: 0.3rem 0.85rem; border-radius: 999px;
  font-size: 0.82rem; font-weight: 800; margin-bottom: 1rem;
}
.tag-pink { background: var(--pink-soft); color: #b5524b; }
.tag-green { background: var(--mint-soft); color: var(--green); }
.tag-gold { background: var(--gold-soft); color: #8a6624; }

.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.6rem; margin: 1.6rem 0 0; }
.feature-list dt { font-weight: 800; color: var(--green); margin-bottom: 0.2rem; }
.feature-list dd { margin: 0; color: var(--muted); font-size: 0.97rem; }
.note {
  margin: 1.6rem 0 0; padding: 0.9rem 1.1rem; border-radius: 12px;
  background: var(--gold-soft); color: #6f5420 !important; font-size: 0.93rem;
}

.service-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.service-gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.service-gallery img:nth-child(even) { transform: translateY(1.5rem); }
.gallery-wide { grid-template-columns: 1fr; }
.gallery-wide img { aspect-ratio: 318 / 196; }
.gallery-wide img:nth-child(even) { transform: translateX(1.5rem); }

/* Piliers */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.pillar { background: var(--blush); border-radius: var(--radius); padding: 1.8rem; }
.pillar p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.pillar h3 { font-size: 1.15rem; }
.pillar-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: var(--green); margin-bottom: 1.1rem;
}
.pillar-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Processus */
.process { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: center; }
.process-text p { margin-bottom: 1.8rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.steps li {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px; padding: 1.3rem 1.5rem;
}
.steps h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.steps p { margin: 0; font-size: 0.97rem; }
.step-num {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); color: var(--green-dark); font: 700 1.05rem var(--font-title);
}

/* Planification */
.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: center; }
.split-media img { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.split-text > p { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.9rem; }

/* Tarifs */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.price-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; display: flex; flex-direction: column;
}
.price-card > p:not(.price):not(.price-meta) { color: var(--muted); font-size: 0.96rem; flex: 1; }
.price { font-weight: 700; color: var(--muted); margin-bottom: 1rem; }
.price span { display: block; font: 700 1.75rem var(--font-title); color: var(--green); white-space: nowrap; }
.price small { display: block; font-size: 0.85rem; }
.price-meta { margin: 0; padding-top: 0.9rem; border-top: 1px dashed var(--line); font-size: 0.85rem; font-weight: 700; color: var(--mint); }
.price-card-featured { background: var(--green); border-color: var(--green); }
.price-card-featured h3, .price-card-featured .price span { color: var(--white); }
.price-card-featured .price, .price-card-featured > p:not(.price):not(.price-meta) { color: rgba(255, 255, 255, 0.8); }
.price-card-featured .price-meta { color: var(--gold); border-color: rgba(255, 255, 255, 0.2); }

.bundle {
  display: flex; align-items: center; gap: 2rem; margin-top: 2rem;
  background: var(--white); border-radius: var(--radius); padding: 1.5rem 2rem 1.5rem 1.5rem;
}
.bundle img { width: 120px; height: 120px; border-radius: 16px; object-fit: cover; flex: none; }
.bundle p { margin: 0; color: var(--muted); }
.bundle h3 { margin-bottom: 0.4rem; }

.policies { margin-top: 1.5rem; background: var(--white); border-radius: var(--radius); padding: 0 2rem; }
.policies summary {
  cursor: pointer; list-style: none; padding: 1.3rem 2rem 1.3rem 0; position: relative;
  font-weight: 800; color: var(--green);
}
.policies summary::-webkit-details-marker { display: none; }
.policies summary::after, .faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400; color: var(--gold); transition: transform 0.2s;
}
.policies[open] summary::after, .faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.policies-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.policies-grid > div { background: var(--blush); border-radius: 14px; padding: 1rem 1.2rem; }
.policies-grid h4 { font-family: var(--font-body); font-weight: 800; font-size: 0.95rem; margin-bottom: 0.3rem; }
.policies-grid p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.policies-note { margin: 1.2rem 0 1.6rem; font-size: 0.93rem; color: var(--muted); }

/* Zones */
.zones-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.zone-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.zone-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.zone-body { padding: 1.5rem 1.6rem 1.7rem; }
.zone-body p { color: var(--muted); margin: 0; }
.zone-card-note { background: var(--green); border-color: var(--green); justify-content: center; }
.zone-card-note h3 { color: var(--white); }
.zone-card-note p { color: rgba(255, 255, 255, 0.82); margin-bottom: 1.2rem; }
.link-arrow { color: var(--gold); font-weight: 800; text-decoration: none; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { text-decoration: underline; }

/* FAQ */
.faq { display: grid; gap: 0.9rem; }
.faq details { background: var(--white); border-radius: 16px; padding: 0 1.5rem; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.2rem 2rem 1.2rem 0; position: relative;
  font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); padding-bottom: 1.3rem; margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: start; }
.contact-info > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.3rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; line-height: 1.45; }
.contact-list a { font-weight: 700; word-break: break-word; }
.contact-list svg {
  flex: none; width: 46px; height: 46px; padding: 11px; border-radius: 14px;
  background: var(--mint-soft); fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.contact-form {
  background: var(--white); border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--blush);
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: var(--white); }
.field textarea { resize: vertical; min-height: 130px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c0392b; }
.form-hint { margin: 0.8rem 0 0; font-size: 0.88rem; color: var(--muted); text-align: center; }
.form-status { margin: 0.6rem 0 0; font-weight: 700; text-align: center; min-height: 1.5em; }
.form-status.is-error { color: #c0392b; }
.form-status.is-success { color: var(--green); }

/* Pied de page */
.site-footer { background: var(--green-dark); color: rgba(255, 255, 255, 0.75); padding: 3.5rem 0 1.5rem; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; }
.footer-logo { height: 56px; width: auto; background: var(--white); border-radius: 12px; padding: 6px 10px; box-sizing: content-box; }
.footer-brand p { max-width: 24rem; margin-top: 1rem; }
.site-footer h4 { color: var(--gold); font-family: var(--font-body); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer a { color: rgba(255, 255, 255, 0.88); text-decoration: none; word-break: break-word; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 2.5rem; padding-top: 1.5rem; font-size: 0.9rem; }
.footer-bottom p { margin: 0; }

/* Responsive */
@media (max-width: 1080px) {
  .pillars, .prices { grid-template-columns: repeat(2, 1fr); }
  .policies-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .hero-inner, .process, .contact, .split, .service { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { justify-self: center; max-width: 380px; }
  .service-reverse .service-text { order: 1; }
  .service-reverse .service-gallery { order: 2; }
  .service-gallery { grid-template-columns: repeat(4, 1fr); }
  .service-gallery img:nth-child(even) { transform: none; }
  .gallery-wide { grid-template-columns: repeat(3, 1fr); }
  .gallery-wide img:nth-child(even) { transform: none; }
  .split-media img { max-width: 360px; margin-inline: auto; }
  .zones-grid { grid-template-columns: 1fr 1fr; }
  .zone-card-note { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1140px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(11, 79, 76, 0.08);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 1.25rem 1.25rem; }
  .main-nav li a:not(.btn) { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .main-nav li a.btn { margin-top: 1rem; width: 100%; }
}

@media (max-width: 640px) {
  .pillars, .prices, .zones-grid, .field-row, .feature-list, .policies-grid, .footer-inner { grid-template-columns: 1fr; }
  .service-gallery { grid-template-columns: 1fr 1fr; }
  .gallery-wide { grid-template-columns: 1fr; }
  .gallery-wide img:nth-child(n+2) { display: none; }
  .hero-badge { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .bundle { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
  .policies { padding: 0 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
