:root {
  --green-950: #071d17;
  --green-900: #0b2b22;
  --green-800: #124232;
  --green-700: #1f5b49;
  --gold: #e2c85d;
  --gold-soft: #f8f1cc;
  --ink: #10201a;
  --muted: #60716a;
  --soft: #f3f7f5;
  --white: #ffffff;
  --line: #dce7e2;
  --shadow: 0 24px 60px rgba(11,43,34,.14);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--ink); background: var(--white); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.container { width: min(100% - 40px, 1120px); margin: 0 auto; }
.skip-link { position: fixed; top: -60px; left: 14px; z-index: 999; background: var(--white); padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { top: 14px; }
.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; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(220,231,226,.85); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; }
.brand img { width: 42px; height: 42px; border-radius: 12px; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { text-decoration: none; font-weight: 700; font-size: .92rem; }
.main-nav a:hover { color: var(--green-700); }
.nav-cta { padding: 11px 18px; border-radius: 999px; background: var(--green-900); color: var(--white) !important; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle > span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px 0; background: var(--ink); }
.hero { padding: 86px 0 74px; background: radial-gradient(circle at 82% 18%, #fff4b8 0, rgba(255,244,184,0) 31%), linear-gradient(135deg, #f7fbf9, #eef7f3); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 72px; align-items: center; }
.eyebrow { display: inline-flex; padding: 8px 12px; border-radius: 999px; background: #e3f0ea; color: var(--green-700); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.08; }
h1 { margin: 22px 0; font-size: clamp(3.4rem, 7vw, 6.2rem); letter-spacing: -.06em; }
h1 span { color: var(--green-700); }
.hero-lead { max-width: 690px; color: var(--muted); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 0; border-radius: 14px; padding: 0 20px; text-decoration: none; font-weight: 800; cursor: pointer; }
.button-primary { background: var(--green-900); color: var(--white); box-shadow: 0 12px 24px rgba(11,43,34,.18); }
.button-secondary { background: var(--white); border: 1px solid var(--line); }
.button:hover { transform: translateY(-1px); }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-points li { padding: 9px 13px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .85rem; font-weight: 700; }
.hero-card { padding: 22px; border-radius: 28px; background: var(--green-900); color: var(--white); box-shadow: var(--shadow); transform: rotate(1.5deg); }
.hero-card-top { display: flex; gap: 13px; align-items: center; }
.hero-card-top img { width: 52px; height: 52px; border-radius: 14px; }
.hero-card-top strong, .hero-card-top span { display: block; }
.hero-card-top span { color: #aad1c3; font-size: .85rem; }
.lesson-preview { margin: 26px 0 20px; padding: 22px; border: 1px solid rgba(255,255,255,.12); background: #173e32; border-radius: 22px; }
.lesson-badge { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: var(--gold); color: var(--green-950); font-size: .75rem; font-weight: 800; }
.formula { min-height: 250px; display: grid; place-items: center; font-family: "Patrick Hand", cursive; font-size: clamp(2.8rem, 6vw, 4.8rem); }
.lesson-lines span { display: block; height: 7px; border-radius: 8px; background: rgba(255,255,255,.2); margin-top: 9px; }
.lesson-lines span:nth-child(2) { width: 72%; }
.lesson-lines span:nth-child(3) { width: 46%; }
.trust-strip { background: var(--green-950); color: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid > div { padding: 24px 28px; border-right: 1px solid rgba(255,255,255,.1); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { color: var(--gold); font-size: 1.1rem; }
.trust-grid span { color: #b7c9c2; font-size: .88rem; margin-top: 3px; }
.banner-section { padding: 58px 0 0; background: var(--white); }
.banner-section img { width: 100%; border-radius: 26px; box-shadow: var(--shadow); }
.section { padding: 100px 0; }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading h2, .pricing-copy h2, .contact-copy h2 { font-size: clamp(2.3rem, 5vw, 4rem); letter-spacing: -.04em; margin: 18px 0 14px; }
.section-heading p, .pricing-copy p { color: var(--muted); }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 14px 35px rgba(11,43,34,.06); }
.feature-card .icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--gold-soft); font-size: 1.5rem; }
.feature-card h3 { margin: 22px 0 10px; }
.feature-card p { color: var(--muted); margin: 0; }
.levels-panel { margin-top: 28px; padding: 28px 30px; border-radius: var(--radius); background: var(--green-900); color: var(--white); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.levels-panel h3 { margin: 14px 0 0; }
.level-chips { display: flex; flex-wrap: wrap; gap: 9px; justify-content: flex-end; }
.level-chips span { padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); font-size: .83rem; }
.section-about { background: #fff; }
.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: center; }
.about-photo { position: relative; }
.about-photo > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 30px; box-shadow: var(--shadow); }
.about-badge { position: absolute; left: 24px; right: 24px; bottom: 24px; padding: 16px 18px; border-radius: 18px; background: rgba(7,22,18,.88); color: var(--white); backdrop-filter: blur(12px); }
.about-badge strong, .about-badge span { display: block; }
.about-badge span { color: #c6d6d0; font-size: .88rem; margin-top: 3px; }
.about-copy h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.035em; margin: 18px 0 20px; }
.about-copy p { color: var(--muted); font-size: 1.02rem; }
.about-values { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 30px; }
.about-values span { padding: 9px 13px; border-radius: 999px; background: var(--gold-soft); color: var(--green-950); font-weight: 700; font-size: .9rem; }
.section-soft { background: var(--soft); }
.pricing-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.pricing-list { padding-left: 20px; color: var(--muted); margin: 22px 0 28px; }
.payment-card { padding: 34px; border-radius: 26px; background: var(--white); box-shadow: var(--shadow); }
.paypal-mark { width: 54px; height: 54px; border-radius: 15px; background: #003087; color: var(--white); display: grid; place-items: center; font-size: 1.7rem; font-weight: 900; float: left; margin-right: 14px; }
.payment-label { display: block; color: var(--muted); font-size: .85rem; }
.payment-card h3 { margin: 3px 0 26px; }
.payment-card p { clear: both; padding-top: 10px; color: var(--muted); }
.payment-email { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; margin: 18px 0; }
.payment-email code { overflow-wrap: anywhere; }
.payment-email button { border: 0; background: var(--white); border-radius: 10px; padding: 8px 12px; font-weight: 700; cursor: pointer; }
.button-paypal { width: 100%; background: #0070ba; color: var(--white); margin-bottom: 12px; }
.payment-card small { display: block; color: var(--muted); }
.reviews-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 42px; }
.reviews-heading h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.035em; margin: 18px 0 12px; }
.reviews-heading p { margin: 0; color: var(--muted); }
.reviews-score { flex: 0 0 auto; min-width: 150px; text-align: center; padding: 20px; border-radius: 20px; background: var(--green-900); color: var(--white); box-shadow: 0 18px 38px rgba(16,42,36,.14); }
.reviews-score strong, .reviews-score small { display: block; }
.reviews-score strong { font-size: 2rem; line-height: 1; }
.stars { color: #d3b74e; letter-spacing: .18em; }
.reviews-score .stars { margin: 8px 0 4px; letter-spacing: .08em; }
.reviews-score small { color: #c3d2cc; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { display: flex; flex-direction: column; min-height: 250px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 14px 32px rgba(16,42,36,.06); }
.review-card blockquote { margin: 18px 0 24px; color: #35423e; font-size: .98rem; flex: 1; }
.review-card p { margin: 0; font-weight: 800; color: var(--green-800); }
.section-contact { background: var(--green-950); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.contact-copy .eyebrow { color: var(--gold); background: rgba(228,199,93,.12); }
.contact-copy p { color: #bdcec7; }
.contact-promise { margin-top: 26px; padding: 20px; border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.11); }
.contact-promise strong, .contact-promise span { display: block; }
.contact-promise strong { color: var(--gold); margin-bottom: 6px; }
.contact-promise span { color: #c8d7d1; }
.contact-form { background: var(--white); color: var(--ink); border-radius: 24px; padding: 30px; }
.contact-form label { display: block; font-weight: 700; margin: 14px 0 7px; }
.contact-form label:first-child { margin-top: 0; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #cfdad5; background: #fbfdfc; border-radius: 12px; padding: 12px 14px; outline: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(31,91,73,.12); }
.contact-form .button { width: 100%; margin-top: 20px; }
.form-note { color: var(--muted); font-size: .82rem; text-align: center; margin-bottom: 0; }
.site-footer { background: #071612; color: #dbe7e2; padding: 42px 0 22px; }
.footer-grid-pro { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr; gap: 30px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 48px; height: 48px; border-radius: 13px; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand span { color: #8fa69d; font-size: .85rem; }
.footer-contact { display: grid; gap: 9px; color: #c7d6d0; }
.footer-contact a { color: #dbe7e2; text-decoration: none; }
.footer-contact a:hover, .footer-links a:hover { color: var(--gold); }
.footer-contact span { color: #98aca4; }
.footer-links { display: flex; justify-content: flex-end; gap: 16px; flex-wrap: wrap; row-gap: 10px; }
.footer-links a { text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); margin-top: 28px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; color: #83978f; font-size: .85rem; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 18px; border-radius: 999px; background: #25d366; color: #062f18; text-decoration: none; font-weight: 900; box-shadow: 0 16px 36px rgba(0,0,0,.22); transition: transform .2s ease, box-shadow .2s ease; }
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 20px 42px rgba(0,0,0,.28); }
.toast { position: fixed; right: 20px; bottom: 88px; background: var(--green-900); color: var(--white); padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .25s ease; z-index: 70; }
.toast.show { opacity: 1; transform: translateY(0); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.legal-page { background: var(--soft); min-height: 100vh; }
.legal-shell { width: min(100% - 32px, 900px); margin: 0 auto; padding: 64px 0 90px; }
.legal-shell h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: 20px; }
.legal-shell h2 { margin-top: 34px; }
.legal-shell p, .legal-shell li { color: var(--muted); }
.legal-back { display: inline-flex; margin-bottom: 24px; font-weight: 800; text-decoration: none; color: var(--green-800); }
.legal-note { padding: 18px; border-radius: 16px; background: var(--gold-soft); border: 1px solid #e7d88d; }
@media (max-width: 900px) {
  .hero-grid, .pricing-grid, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
  .hero-card { max-width: 620px; transform: none; }
  .cards-grid { grid-template-columns: 1fr; }
  .levels-panel { align-items: flex-start; flex-direction: column; }
  .level-chips { justify-content: flex-start; }
  .main-nav { position: fixed; inset: 76px 20px auto; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; }
  .nav-cta { text-align: center; margin-top: 4px; }
  .menu-toggle { display: block; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .trust-grid > div:last-child { border-bottom: 0; }
  .about-photo { max-width: 620px; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid-pro { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 650px) {
  .reviews-heading { align-items: stretch; flex-direction: column; }
  .reviews-score { width: 100%; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-card { min-height: auto; }
  .about-badge { left: 14px; right: 14px; bottom: 14px; }
}
@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1120px); }
  .brand span { font-size: .9rem; }
  .hero { padding: 50px 0 54px; }
  h1 { font-size: 3rem; }
  .hero-actions .button { width: 100%; }
  .banner-section { padding-top: 26px; }
  .banner-section img { min-height: 210px; object-fit: cover; }
  .section { padding: 72px 0; }
  .payment-email { align-items: stretch; flex-direction: column; }
  .payment-email button { width: 100%; }
  .footer-bottom { flex-direction: column; }
  .whatsapp-float { right: 14px; bottom: 14px; min-height: 50px; padding: 0 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}


/* V4.1 — bannière compacte, avis horizontaux et consentement Analytics */
.top-banner { padding: 22px 0 8px; background: var(--white); }
.top-banner .container { display: flex; justify-content: center; }
.top-banner img { display: block; width: min(100%, 920px); max-height: 270px; object-fit: cover; object-position: center; border-radius: 22px; box-shadow: 0 18px 42px rgba(7, 22, 18, .13); }
.reviews-section { overflow: hidden; }
.reviews-marquee { display: grid; gap: 14px; margin-top: 30px; }
.reviews-row { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--green-700) var(--soft); }
.review-chip { flex: 0 0 190px; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 16px; background: var(--white); padding: 16px; box-shadow: 0 10px 24px rgba(13, 49, 39, .07); }
.review-name { display: block; min-height: 1.5em; font-weight: 800; color: var(--green-900); margin-bottom: 7px; }
.review-chip .stars { letter-spacing: 2px; color: #d8a900; white-space: nowrap; }
.scroll-hint { color: var(--muted); font-size: .85rem; margin-top: 8px; }
.footer-cookie-button { appearance: none; border: 0; padding: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.footer-cookie-button:hover { color: var(--gold); }
.cookie-banner[hidden] { display: none; }
.cookie-banner { position: fixed; inset: auto 16px 16px; z-index: 100; }
.cookie-banner-inner { width: min(100%, 920px); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 22px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 20px; background: #071612; color: #eaf2ef; box-shadow: 0 22px 56px rgba(0,0,0,.34); }
.cookie-banner strong { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.cookie-banner p { margin: 0; color: #bed0c9; font-size: .92rem; max-width: 650px; }
.cookie-banner a { color: var(--gold); font-size: .88rem; }
.cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-actions .button { min-width: 110px; }
@media (max-width: 700px) {
  .top-banner { padding-top: 14px; }
  .top-banner img { max-height: 190px; border-radius: 16px; }
  .review-chip { flex-basis: 165px; }
  .cookie-banner { inset: auto 10px 10px; }
  .cookie-banner-inner { align-items: stretch; flex-direction: column; gap: 16px; padding: 16px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .button { flex: 1; min-width: 0; }
}


/* Logos PayPal et WhatsApp */
.paypal-mark { display: flex; align-items: center; justify-content: flex-start; width: 100%; height: auto; background: transparent; border-radius: 0; margin-bottom: 4px; }
.paypal-mark img { display: block; width: 108px; max-width: 34%; height: auto; object-fit: contain; }
.whatsapp-float img { width: 30px; height: 30px; object-fit: contain; flex: 0 0 auto; }
@media (max-width: 600px) {
  .paypal-mark img { width: 92px; max-width: 38%; }
  .whatsapp-float strong { display: none; }
  .whatsapp-float { width: 54px; height: 54px; min-height: 54px; padding: 0; justify-content: center; border-radius: 50%; }
  .whatsapp-float img { width: 34px; height: 34px; }
}


/* Avis avec et sans commentaire */
.review-chip-comment {
  flex-basis: 330px;
  min-height: 148px;
}
.review-comment {
  margin: 10px 0 0;
  color: #4a5853;
  font-size: .92rem;
  line-height: 1.5;
}
@media (max-width: 640px) {
  .review-chip-comment { flex-basis: 285px; }
}

/* V6 — carrousel automatique des avis, sans barre de défilement */
.reviews-carousel { position: relative; margin-top: 32px; padding: 0 58px 44px; }
.carousel-viewport { overflow: hidden; border-radius: 22px; }
.carousel-track { display: flex; gap: 20px; transition: transform .55s ease; will-change: transform; }
.review-slide { flex: 0 0 calc((100% - 40px) / 3); min-height: 225px; display: flex; flex-direction: column; justify-content: flex-start; border: 1px solid var(--line); border-radius: 22px; background: var(--white); padding: 26px; box-shadow: 0 14px 34px rgba(13,49,39,.09); }
.review-slide .review-name { margin-bottom: 8px; font-size: 1.05rem; }
.review-slide .stars { color: #d8a900; letter-spacing: 2px; font-size: 1.08rem; }
.review-slide .review-comment { margin-top: 18px; color: #42534d; line-height: 1.65; }
.review-slide .review-comment-empty { color: #708079; font-style: italic; }
.carousel-button { position: absolute; top: 50%; transform: translateY(-68%); z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--green-900); color: var(--white); font-size: 2rem; line-height: 1; cursor: pointer; box-shadow: 0 12px 28px rgba(10,38,30,.22); }
.carousel-button:hover { background: var(--green-700); }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.carousel-dot { width: 9px; height: 9px; border: 0; border-radius: 50%; background: #c7d2ce; cursor: pointer; padding: 0; }
.carousel-dot.active { width: 26px; border-radius: 999px; background: var(--green-700); }
.review-invitation { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 28px; border-radius: 22px; background: var(--gold-soft); border: 1px solid #e3d17a; }
.review-invitation h3 { margin: 8px 0 8px; font-size: 1.5rem; }
.review-invitation p { margin: 0; color: var(--muted); }
.review-invitation .button { flex: 0 0 auto; }
@media (max-width: 900px) {
  .review-slide { flex-basis: calc((100% - 20px) / 2); }
  .review-invitation { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
  .reviews-carousel { padding: 0 0 42px; }
  .review-slide { flex-basis: 100%; min-height: 235px; }
  .carousel-button { top: auto; bottom: 0; transform: none; width: 42px; height: 42px; }
  .carousel-prev { left: calc(50% - 54px); }
  .carousel-next { right: calc(50% - 54px); }
  .carousel-dots { margin-top: 18px; padding-bottom: 42px; }
  .review-invitation .button { width: 100%; }
}
