@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #16233A;
  --dark: #0B1B33;
  --bg: #FAFAF8;
  --primary: #5FAE96;
  --primary-dark: #3E7C6B;
  --accent: #1B2A4A;
  --muted: #6E7686;
  --line: #E3E6EA;
  --white: #FFFFFF;
  --title-font: 'Sora', sans-serif;
  --body-font: 'Sora', sans-serif;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100vw; background: var(--bg); color: var(--ink); font-family: var(--body-font); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
h1,h2,h3 { font-family: var(--title-font); line-height: 1.12; }
em { font-style: normal; color: var(--primary-dark); }
img { display: block; max-width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: 80px; padding: 0 6vw;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(250,250,248,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--white); font-weight: 700; font-size: 16px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-size: 17px; }
.logo-text small { margin-top: 5px; color: var(--muted); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 500; }
.main-nav a:hover { color: var(--primary-dark); }
.nav-button { padding: 11px 20px; background: var(--accent); color: var(--white); font-size: 13px; font-weight: 600; }
.nav-button:hover { background: var(--primary-dark); }
.menu-toggle { display: none; border: none; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 6px 0; background: var(--ink); }

/* ===== Hero texte pur, sans photo, ancré à gauche, avec ticker de résultats ===== */
.hero-text-only {
  padding: 9vw 6vw 5vw; max-width: 980px;
}
.hero-text-only .eyebrow { color: var(--primary-dark); font-size: 13px; font-weight: 700; letter-spacing: 2px; }
.hero-text-only h1 { margin: 20px 0 24px; font-size: clamp(38px, 5.6vw, 72px); font-weight: 700; letter-spacing: -0.01em; }
.hero-text-only > p { max-width: 620px; color: var(--muted); font-size: 16px; margin-bottom: 34px; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.primary-button {
  padding: 15px 24px; display: inline-flex; align-items: center; gap: 16px;
  background: var(--accent); color: var(--white); font-size: 13px; font-weight: 600;
}
.primary-button:hover { background: var(--primary-dark); }
.secondary-link { font-size: 13px; font-weight: 600; color: var(--ink); }
.secondary-link span { color: var(--primary-dark); margin-left: 6px; }

.hero-results-ticker {
  display: flex; gap: 0; margin: 5vw 6vw 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.hero-results-ticker div { flex: 1; padding: 26px 20px; border-left: 1px solid var(--line); }
.hero-results-ticker div:first-child { border-left: none; }
.hero-results-ticker strong { display: block; font-size: clamp(24px, 2.6vw, 36px); font-weight: 700; color: var(--primary-dark); }
.hero-results-ticker span { font-size: 13px; color: var(--muted); }

/* ===== Bandeau photo large, plein cadre, pas en fond de hero ===== */
.wide-banner { width: 100%; height: 34vw; max-height: 460px; overflow: hidden; }
.wide-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }

/* ===== Méthode : frise verticale ===== */
.method-timeline { padding: 9vw 6vw; max-width: 880px; margin: 0 auto; }
.method-timeline-head { margin-bottom: 50px; }
.method-timeline-head p.section-label { color: var(--primary-dark); font-size: 13px; font-weight: 700; letter-spacing: 2px; }
.method-timeline-head h2 { margin-top: 14px; font-size: clamp(28px, 4vw, 44px); font-weight: 700; }
.timeline-item { display: grid; grid-template-columns: 60px 1fr; gap: 26px; position: relative; padding-bottom: 46px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker { display: flex; flex-direction: column; align-items: center; }
.timeline-marker .dot {
  width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex-shrink: 0;
}
.timeline-item:not(:last-child) .timeline-marker::after {
  content: ""; flex: 1; width: 1px; background: var(--line); margin-top: 8px;
}
.timeline-content h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.timeline-content p { color: var(--muted); font-size: 14.5px; max-width: 520px; }

/* ===== Cas clients : cartes chiffrées avant/après, pas de photos ===== */
.cases-section { background: var(--accent); color: var(--white); padding: 9vw 6vw; }
.cases-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.cases-head p.section-label { color: #9FD8C4; font-size: 13px; font-weight: 700; letter-spacing: 2px; }
.cases-head h2 { margin-top: 14px; font-size: clamp(28px, 4vw, 44px); font-weight: 700; }
.cases-head > p { max-width: 340px; color: rgba(255,255,255,.65); font-size: 13.5px; }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: 30px 26px; }
.case-card .case-tag { font-size: 13px; font-weight: 700; letter-spacing: 1px; color: #9FD8C4; text-transform: uppercase; }
.case-card h3 { margin: 14px 0 18px; font-size: 18px; font-weight: 700; }
.case-metric { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.case-metric .before { color: rgba(255,255,255,.45); font-size: 15px; text-decoration: line-through; }
.case-metric .after { color: var(--white); font-size: 22px; font-weight: 700; }
.case-metric .arrow { color: #9FD8C4; }
.case-card p.detail { color: rgba(255,255,255,.7); font-size: 13px; margin-top: 14px; }

/* ===== Services : liste accordéon, pas des cartes égales ===== */
.services-list { padding: 9vw 6vw; max-width: 880px; margin: 0 auto; }
.services-list-head { margin-bottom: 40px; }
.services-list-head p.section-label { color: var(--primary-dark); font-size: 13px; font-weight: 700; letter-spacing: 2px; }
.services-list-head h2 { margin-top: 14px; font-size: clamp(28px, 4vw, 44px); font-weight: 700; }
.service-row { border-top: 1px solid var(--line); padding: 30px 0; display: grid; grid-template-columns: 50px 1fr auto; gap: 24px; align-items: start; }
.services-list .service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row .service-index { font-size: 13px; font-weight: 700; color: var(--muted); }
.service-row h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.service-row p { color: var(--muted); font-size: 14px; max-width: 480px; }
.service-row .service-price { font-size: 13px; font-weight: 600; color: var(--primary-dark); white-space: nowrap; }

/* ===== Témoignage simple, centré, sans photo ===== */
.quote-section { padding: 8vw 6vw; text-align: center; max-width: 760px; margin: 0 auto; }
.quote-mark { font-size: 50px; color: var(--primary-dark); line-height: .5; font-weight: 700; }
.quote-section blockquote { margin: 20px auto; font-size: clamp(20px, 2.6vw, 28px); font-weight: 600; line-height: 1.4; }
.quote-section span { color: var(--muted); font-size: 13px; }

/* ===== Contact centré, simple ===== */
.contact-centered { background: var(--bg); border-top: 1px solid var(--line); padding: 9vw 6vw; }
.contact-centered-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.contact-centered-inner p.eyebrow { color: var(--primary-dark); font-size: 13px; font-weight: 700; letter-spacing: 2px; }
.contact-centered-inner h2 { margin: 16px 0 14px; font-size: clamp(28px, 4vw, 44px); font-weight: 700; }
.contact-centered-inner > p { color: var(--muted); font-size: 14.5px; margin-bottom: 34px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
input, textarea { padding: 13px 14px; border: 1px solid var(--line); background: var(--white); font-size: 14px; outline: none; color: var(--ink); }
input:focus, textarea:focus { border-color: var(--primary-dark); }
textarea { resize: vertical; }
.rgpd { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 13px; color: var(--muted); }
.rgpd input { width: auto; }
.submit-button { padding: 15px 22px; border: none; background: var(--accent); color: var(--white); font-size: 13px; font-weight: 600; cursor: pointer; }
.submit-button:hover { background: var(--primary-dark); }
.form-message { color: var(--primary-dark); font-size: 13px; font-weight: 600; }
.contact-meta { display: flex; justify-content: center; gap: 30px; margin-top: 28px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.contact-meta strong { color: var(--ink); display: block; font-size: 13px; letter-spacing: .5px; }

/* ===== Footer ===== */
.site-footer { padding: 46px 6vw 24px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; background: var(--accent); color: rgba(255,255,255,.8); }
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-brand strong { color: var(--white); font-size: 17px; }
.footer-brand span { font-size: 13px; color: rgba(255,255,255,.5); }
.footer-links, .footer-legal { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.footer-links a:hover, .footer-legal a:hover { color: #9FD8C4; }

/* ===== Apparitions douces ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-results-ticker { flex-direction: column; }
  .hero-results-ticker div { border-left: none; border-top: 1px solid var(--line); }
  .hero-results-ticker div:first-child { border-top: none; }
  .cases-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 40px 1fr; }
  .service-row .service-price { grid-column: 2; }
  .form-row { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .main-nav { display: none; position: absolute; top: 80px; left: 0; right: 0; padding: 20px 6vw; flex-direction: column; align-items: flex-start; background: var(--bg); border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .nav-button { display: none; }
  .menu-toggle { display: block; }
}

/* V19 — lisibilite mobile: tailles uniquement, aucun changement de performance */
@media (max-width: 767px) {
  body { font-size: 18px; }
  p, li, dd, dt, label, input, textarea, select { font-size: max(16px, 1em); }
  small, figcaption, .caption, .microcopy, .eyebrow, .tag, .badge, .meta, .kicker { font-size: 14px !important; line-height: 1.45; }
  a, button { font-size: max(16px, 1em); }
}

/* ===== Taille de texte minimum garantie à 17px, partout, en priorité absolue ===== */
body, p, li, a, span, label, small, strong, em, td, th, button, input, textarea, select {
  font-size: max(17px, 1em) !important;
}
h1 { font-size: clamp(34px, 6vw, 64px) !important; }
h2 { font-size: clamp(28px, 5vw, 48px) !important; }
h3 { font-size: clamp(20px, 3.5vw, 28px) !important; }

/* ===== Lisibilité mobile renforcée — priorité maximale ===== */
@media (max-width: 900px) {
  body, p, li, a, span, label, small, strong, em, td, th, button, input, textarea, select {
    font-size: max(18px, 1em) !important;
    line-height: 1.55 !important;
  }
  h1 { font-size: clamp(32px, 9vw, 44px) !important; line-height: 1.15 !important; }
  h2 { font-size: clamp(26px, 7vw, 34px) !important; line-height: 1.2 !important; }
  h3 { font-size: clamp(21px, 5.5vw, 26px) !important; line-height: 1.25 !important; }
}

