/* ---------- Base ---------- */
:root {
  --bg:        #faf7f2;   /* warm off-white background */
  --card:      #ffffff;   /* white cards */
  --text:      #1a1a1a;   /* near-black text (high contrast) */
  --muted:     #555555;   /* softer text */
  --accent:    #2563eb;   /* one calm, trustworthy blue */
  --accent-dk: #1d4ed8;   /* darker blue for hover */
  --good:      #16a34a;   /* green for "après" / positives */
  --bad:       #b91c1c;   /* muted red for "avant" / negatives */
  --border:    #e5e0d8;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 18px;            /* large, readable for all ages */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease;
  text-align: center;
}
.btn:hover { background: var(--accent-dk); }

.btn-small { padding: 10px 18px; font-size: 16px; }
.btn-big   { padding: 18px 40px; font-size: 20px; }
.btn-full  { width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
}
.logo { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.logo-suffix { color: var(--accent); font-weight: 700; }

/* ---------- Hero ---------- */
.hero {
  max-width: 700px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  text-align: center;
}
.hero-photo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}
.hero-photo {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  background: #dfe7f5;
}
.hero-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.accent { color: var(--accent); }
.hero-sub {
  font-size: 20px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 36px;
}

.hero-alt {
  margin-top: 18px;
  font-size: 16px;
  color: var(--muted);
}
.hero-alt a { color: var(--accent); }

/* ---------- Offers ---------- */
.offers {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 24px 40px;
  text-align: center;
}
.offers-title {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 36px;
  letter-spacing: -0.5px;
}
.offers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.offer-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
.offer-icon {
  font-size: 44px;
  line-height: 1;
  margin-bottom: 16px;
}
.offer-card h3 {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 10px;
}
.offer-card p {
  font-size: 17px;
  color: var(--muted);
}

/* ---------- Proof (Avant / Après) ---------- */
.proof {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px;
  text-align: center;
}
.proof-title {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.proof-sub {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 36px;
}
.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
}
.proof-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
.proof-badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.badge-before { background: #fbeaea; color: var(--bad); }
.badge-after  { background: #e6f6ec; color: var(--good); }

.proof-list { list-style: none; }
.proof-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 17px;
}
.proof-list li:last-child { margin-bottom: 0; }
.list-before li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--bad);
  font-weight: 700;
}
.list-after li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--good);
  font-weight: 700;
}
.proof-arrow {
  font-size: 32px;
  color: var(--muted);
  transform: rotate(90deg);   /* points down when stacked on mobile */
}
.proof-result {
  margin-top: 28px;
  font-size: 20px;
  font-weight: 700;
}
.proof-result strong { color: var(--accent); }

/* ---------- Trust (Pourquoi me faire confiance) ---------- */
.trust {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 24px;
  text-align: center;
}
.trust-title {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.trust-intro {
  font-size: 19px;
  color: var(--muted);
  margin-bottom: 32px;
}
.trust-list {
  list-style: none;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
.trust-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 18px;
  font-size: 18px;
}
.trust-list li:last-child { margin-bottom: 0; }
.trust-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--good);
  font-weight: 700;
  font-size: 20px;
}

/* ---------- Contact ---------- */
.contact {
  max-width: 560px;
  margin: 0 auto;
  padding: 56px 24px 72px;
  text-align: center;
}
.contact-title { font-size: 30px; font-weight: 800; margin-bottom: 10px; }
.contact-sub { font-size: 18px; color: var(--muted); margin-bottom: 36px; }

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
.contact-form label {
  display: block;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 20px;
}
.optional { font-weight: 400; color: var(--muted); }

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  font-size: 17px;
  font-family: inherit;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form button { margin-top: 8px; }

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  padding: 32px 24px;
  color: var(--muted);
  font-size: 15px;
  border-top: 1px solid var(--border);
}
.footer-contact {
  font-size: 17px;
  margin-bottom: 10px;
}
.footer-contact a { color: var(--accent); font-weight: 700; }

/* ---------- Bigger screens ---------- */
@media (min-width: 700px) {
  .hero-title { font-size: 44px; }
  .hero-photo { width: 320px; height: 320px; }
  .offers-grid { grid-template-columns: repeat(3, 1fr); }
  .proof-grid { grid-template-columns: 1fr auto 1fr; }
  .proof-arrow { transform: rotate(0deg); }   /* points right when side by side */
}
