/* ============ Bloom Buddies Babysitting — landing page ============ */

:root {
  --coral: #E75A6F;
  --coral-dark: #D43E55;
  --coral-soft: #FDEDEF;
  --mint: #A8DCCF;
  --teal: #3E9B86;
  --ink: #23252B;
  --muted: #6B6F76;
  --cream: #FFF8F4;
  --card: #FFFFFF;
  --border: #EFE3DA;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(35, 37, 43, 0.10);
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; }

.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 6px 18px rgba(231, 90, 111, 0.35);
}
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-2px); }
.btn-light {
  background: #fff;
  color: var(--coral-dark);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
.btn-light:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.92rem; }
.btn-block { display: block; width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 244, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: 56px; width: auto; display: block; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  background: var(--mint);
  color: #1e5547;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 18px; }
.hero h1 .hl { color: var(--coral); font-style: italic; }
.lead { font-size: 1.15rem; color: var(--muted); margin-bottom: 22px; max-width: 34em; }
.hero-bullets { list-style: none; display: grid; gap: 10px; }
.hero-bullets li { padding-left: 32px; position: relative; font-weight: 600; }
.hero-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mint);
  color: #1e5547;
  font-weight: 800;
  font-size: 0.8rem;
  display: grid;
  place-items: center;
  margin-top: 3px;
}
.hero-strip { display: flex; gap: 14px; margin-top: 28px; }
.hero-strip img {
  width: 118px;
  height: 118px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 3px solid #fff;
}
.hero-strip img:nth-child(1) { transform: rotate(-2.5deg); }
.hero-strip img:nth-child(3) { transform: rotate(2.5deg); }

/* ---------- Form card ---------- */
.form-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 28px;
  border-top: 5px solid var(--coral);
  scroll-margin-top: 90px;
}
.form-head h2 { font-size: 1.45rem; margin-bottom: 4px; }
.form-head p { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; }
.steps { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.2s ease;
}
.step-dot.active { background: var(--coral); }
.step-bar { flex: 0 0 36px; height: 2px; background: var(--border); }

.form-step { border: none; display: grid; gap: 14px; }
[hidden] { display: none !important; }
.field { display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { font-weight: 700; font-size: 0.92rem; margin-bottom: 5px; }
.field input,
.field select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field .iti { width: 100%; }
.iti__search-input { padding: 8px 10px; }
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(231, 90, 111, 0.15);
}
.field.invalid input,
.field.invalid select { border-color: var(--coral-dark); }
.error { color: var(--coral-dark); font-size: 0.82rem; font-weight: 700; min-height: 0; margin-top: 4px; display: none; }
.field.invalid .error { display: block; }

.btn-back {
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  justify-self: center;
}
.btn-back:hover { color: var(--ink); }
.form-footnote { font-size: 0.8rem; color: var(--muted); margin-top: 14px; text-align: center; }

/* Honeypot : caché des humains, visible des bots */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------- Devis (étape 3) ---------- */
.quote-head h3 { font-size: 1.3rem; margin-bottom: 2px; }
.quote-meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 16px; }
.quote-lines { display: grid; gap: 0; margin-bottom: 14px; }
.quote-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.95rem;
}
.quote-line dt { color: var(--muted); font-weight: 600; }
.quote-line dd { font-weight: 800; white-space: nowrap; }
.quote-line.offer dt, .quote-line.offer dd { color: var(--teal); }
.quote-line.caf dt, .quote-line.caf dd { color: var(--teal); }
.quote-line.caf.inactive dt, .quote-line.caf.inactive dd { color: var(--muted); }
.quote-line.credit dt, .quote-line.credit dd { color: var(--teal); }
.quote-total {
  background: var(--coral-soft);
  border-radius: 12px;
  padding: 14px 18px;
  display: grid;
  gap: 2px;
  margin-bottom: 12px;
}
.quote-total span { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--coral-dark); }
.quote-total strong { font-family: var(--font-head); font-size: 1.9rem; color: var(--ink); line-height: 1.1; }
.quote-total em { font-style: normal; font-size: 0.88rem; color: var(--muted); }
.quote-actions { display: grid; gap: 10px; margin-top: 4px; }
.btn-outline {
  background: #fff;
  color: var(--coral-dark);
  border: 2px solid var(--coral);
  box-shadow: none;
}
.btn-outline:hover { background: var(--coral-soft); transform: translateY(-2px); }

.form-success { text-align: center; padding: 30px 10px; }
.form-success .btn { margin-top: 18px; }
.success-alt { font-size: 0.85rem; color: var(--muted); margin-top: 14px; }
.success-alt a { color: var(--coral-dark); font-weight: 800; text-decoration: none; }
.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--mint);
  color: #1e5547;
  font-size: 2rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}
.form-success h3 { font-size: 1.6rem; margin-bottom: 8px; }
.form-success p { color: var(--muted); }

/* ---------- Trust bar ---------- */
.trust { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 26px 0;
}
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon { font-size: 1.7rem; }
.trust-item p { font-size: 0.88rem; line-height: 1.4; color: var(--muted); }
.trust-item strong { color: var(--ink); }

/* ---------- Sections ---------- */
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  text-align: center;
  margin-bottom: 40px;
}
.section-title.left { text-align: left; }

.how { padding: 72px 0; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 44px;
}
.how-step {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.how-img {
  display: block;
  width: 100%;
  height: 175px;
  object-fit: cover;
  object-position: center 25%;
}
.how-body { padding: 0 26px 28px; }
.how-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  margin: -22px 0 14px;
  position: relative;
  border: 3px solid #fff;
}
.how-step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.how-step p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Why English ---------- */
.why { padding: 72px 0; background: #fff; }
.why-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}
.why-copy > p { color: var(--muted); margin-bottom: 22px; }
.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li { padding-left: 32px; position: relative; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--coral-soft);
  color: var(--coral-dark);
  font-weight: 800;
  font-size: 0.8rem;
  display: grid;
  place-items: center;
}
.why-media img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}
.why-card {
  background: linear-gradient(150deg, var(--coral) 0%, var(--coral-dark) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  margin: -70px 22px 0;
  position: relative;
}
.why-quote { font-family: var(--font-head); font-size: 1.5rem; line-height: 1.4; margin-bottom: 16px; }
.why-sub { opacity: 0.92; font-size: 0.95rem; }

/* ---------- Sitters ---------- */
.sitters { padding: 72px 0; }
.section-intro {
  max-width: 700px;
  margin: -22px auto 44px;
  text-align: center;
  color: var(--muted);
}
.sitter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.sitter-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.sitter-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.sitter-body { padding: 22px 24px 26px; }
.sitter-body h3 { font-size: 1.25rem; margin-bottom: 6px; }
.sitter-tag {
  display: inline-block;
  background: var(--mint);
  color: #1e5547;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.sitter-body p:last-child { color: var(--muted); font-size: 0.95rem; }

/* ---------- Testimonials ---------- */
.testimonials { padding: 72px 0; background: #fff; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testi-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
}
.testi-card blockquote { font-size: 0.98rem; margin-bottom: 14px; color: var(--ink); }
.testi-card figcaption {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--coral-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--coral-soft);
}

/* ---------- FAQ ---------- */
.faq { padding: 72px 0; }
.faq-inner { max-width: 760px; }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 18px 4px;
}
.faq summary {
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--coral);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 10px; font-size: 0.97rem; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(150deg, var(--coral) 0%, var(--coral-dark) 100%);
  color: #fff;
  padding: 80px 0;
}
.final-cta h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 14px; }
.final-cta p { opacity: 0.92; margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer { padding: 32px 0; }
.footer-inner { text-align: center; font-size: 0.88rem; color: var(--muted); }
.footer-note { margin-top: 6px; font-size: 0.8rem; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  z-index: 60;
}
@media (min-width: 861px) {
  .sticky-cta { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero { padding: 36px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-strip { justify-content: center; }
  .hero-strip img { width: 96px; height: 96px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid, .testi-grid, .sitter-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .why-card { margin: -50px 14px 0; }
  .field-row { grid-template-columns: 1fr; }
}
