:root {
  --green: #0D5B45;
  --green-2: #2F6E59;
  --green-accent: #4B9C63;
  --ink: #24352F;
  --ivory: #F7F3EA;
  --white: #FFFFFF;
  --line: #D8E2DC;
  --muted: #53645D;
  --shadow: 0 18px 45px rgba(13, 91, 69, .10);
  --radius: 20px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 400 16px/1.6 Montserrat, Arial, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--green-2); outline-offset: 3px; }
.skip-link { position: absolute; top: -4rem; left: 1rem; z-index: 20; background: var(--white); padding: .7rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.container { width: min(calc(100% - 2.5rem), var(--max)); margin: 0 auto; }
.eyebrow { margin: 0 0 .8rem; color: var(--green-2); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; font-size: .78rem; }
h1, h2, h3 { color: var(--green); line-height: 1.13; letter-spacing: -.035em; }
h1 { font-size: clamp(2.45rem, 5vw, 4.75rem); max-width: 760px; margin: 0; }
h2 { font-size: clamp(1.8rem, 3.1vw, 3rem); margin: 0 0 1rem; }
h3 { font-size: 1.18rem; margin: 0 0 .5rem; }
.lead { max-width: 655px; font-size: clamp(1.06rem, 1.5vw, 1.25rem); }

.notice { background: var(--green); color: var(--white); padding: .5rem 0; font-size: .86rem; text-align: center; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-row { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand-logo { display: inline-flex; align-items: center; width: 146px; height: 62px; }
.brand-logo img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.nav-toggle { display: none; border: 0; background: transparent; color: var(--green); font: inherit; font-weight: 700; padding: .6rem; }
.primary-nav { display: flex; align-items: center; gap: 1.2rem; }
.primary-nav a { text-decoration: none; font-size: .89rem; font-weight: 600; }
.primary-nav a:hover { color: var(--green-2); }
.primary-nav a[aria-current="page"] { color: #174C3A; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.1rem; border-radius: 999px; border: 1px solid var(--green); background: var(--green); color: var(--white); text-decoration: none; font-weight: 700; font-size: .92rem; cursor: pointer; transition: transform .15s, background .15s; }
.button-icon { width: 1.05em; height: 1.05em; flex: 0 0 auto; }
.button:hover { background: var(--green-2); transform: translateY(-1px); }
.button--ghost { background: transparent; color: var(--green); }
.button--ghost:hover { background: var(--ivory); color: var(--green); }

.hero { overflow: hidden; background: linear-gradient(115deg, var(--ivory) 0%, var(--ivory) 58%, #EDF4EF 58%); }
.hero-grid { min-height: 610px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 2.5rem; padding: 4.8rem 0; }
.hero-copy { position: relative; z-index: 1; }
.hero-copy .lead { margin: 1.5rem 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.signature { display: block; margin-top: 2rem; color: var(--green-2); font-size: .94rem; font-weight: 700; }
.hero-visual { position: relative; padding: 0 22px 22px 0; }
.hero-visual::after { content: ''; position: absolute; z-index: 0; right: 0; bottom: 0; width: 77%; height: 82%; border-radius: 26px; background: var(--green); }
.hero-visual img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: .76; object-fit: cover; object-position: center top; border-radius: 24px; box-shadow: var(--shadow); }
.hero-note { position: absolute; z-index: 2; left: -16px; bottom: 52px; max-width: 190px; padding: .75rem .85rem; border-radius: 12px; background: var(--white); box-shadow: var(--shadow); font-size: .72rem; line-height: 1.45; }
.hero-note strong { display: block; color: var(--green); font-size: .84rem; }
.app-screen-caption { margin: .85rem 0 0; color: var(--green); font-size: .82rem; font-weight: 700; text-align: center; }
.slider-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #B7C9BF; cursor: pointer; }
.slider-dot.is-active { width: 28px; border-radius: 999px; background: var(--green); }

section { padding: 5.8rem 0; }
.section--ivory { background: var(--ivory); }
.section-intro { max-width: 660px; margin-bottom: 2.4rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 6px 17px rgba(36,53,47,.03); }
.card p { margin-bottom: 0; }
.number { width: 34px; height: 34px; margin-bottom: 1rem; display: grid; place-items: center; border-radius: 50%; background: var(--ivory); color: var(--green); font-weight: 800; }
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; }
.step { padding: 1.1rem; border-top: 3px solid var(--green-accent); background: var(--white); }
.step strong { color: var(--green); display: block; }
.status { display: inline-block; margin-bottom: .85rem; padding: .2rem .55rem; border-radius: 999px; color: var(--green); background: #E4F0E7; font-size: .75rem; font-weight: 700; }
.status--coming { color: #5B5222; background: #F5EFD4; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; }
.feature-grid .card { min-height: 180px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.checklist { padding: 0; list-style: none; }
.checklist li { position: relative; padding: .55rem 0 .55rem 2rem; border-bottom: 1px solid var(--line); }
.checklist li::before { content: '✓'; position: absolute; left: .3rem; color: var(--green-accent); font-weight: 800; }
.phone-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; align-items: end; }
.phone { display: block; width: 100%; padding: .42rem; border: 5px solid var(--ink); border-radius: 24px; background: var(--ink); box-shadow: var(--shadow); cursor: zoom-in; }
.phone:focus-visible { outline: 3px solid var(--green-2); outline-offset: 4px; }
.phone img { display: block; width: 100%; aspect-ratio: 720 / 1490; object-fit: contain; border-radius: 16px; }
.phone-label { display: block; margin-top: .6rem; color: var(--green); font-size: .78rem; font-weight: 700; text-align: center; }
.gallery-hint { display: none; }
.input-copy { max-width: 680px; }
.organiser-captures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; max-width: 760px; margin: 2rem auto 0; }
.organiser-captures figure { margin: 0; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); text-align: center; }
.organiser-captures .image-zoom-trigger img { display: block; width: auto; max-width: 100%; max-height: 560px; margin: 0 auto; border-radius: 14px; box-shadow: var(--shadow); }
.organiser-captures figcaption { margin-top: .75rem; color: var(--green); font-size: .9rem; font-weight: 700; }
.faq-list { max-width: 820px; }
details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
summary { cursor: pointer; color: var(--green); font-weight: 700; padding-right: 1rem; }
details p { max-width: 700px; margin-bottom: 0; }
.cta-band { background: var(--green); color: var(--white); text-align: center; }
.cta-band h2 { color: var(--white); max-width: 650px; margin-inline: auto; }
.cta-band p { max-width: 570px; margin: 0 auto 1.4rem; }
.cta-band .button { border-color: var(--white); background: var(--white); color: var(--green); }

.form-shell { max-width: 620px; margin: 2rem auto 0; padding: 1.5rem; border-radius: var(--radius); background: var(--white); color: var(--ink); text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
label { display: block; color: var(--green); font-weight: 700; font-size: .86rem; }
input, textarea { width: 100%; margin-top: .35rem; padding: .78rem .85rem; border: 1px solid #9FB5A9; border-radius: 9px; font: inherit; }
textarea { display: block; min-height: 140px; resize: vertical; }
.consent { color: var(--ink); font-size: .78rem; }
.form-message { min-height: 1.5rem; margin: .8rem 0 0; font-size: .9rem; }
.form-message[data-state="error"] { color: #A52323; }
.form-message[data-state="success"] { color: var(--green); }
.form-unavailable { margin: .9rem 0 0; padding: .75rem; border-left: 3px solid var(--green-accent); background: var(--ivory); font-size: .9rem; }
.form-unavailable[hidden] { display: none; }

/* Refonte publique — cahier des charges du 30 septembre 2026 */
.visual-panel { display: grid; place-items: center; min-height: 430px; padding: 1.5rem; border-radius: var(--radius); background: #E7F0E9; }
.visual-panel--green { background: linear-gradient(145deg, #174C3A, #286A52); }
.visual-panel img { display: block; max-height: 490px; border-radius: 26px; box-shadow: var(--shadow); cursor: zoom-in; }
.premium-card { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.waitlist-shell { max-width: 540px; }
.waitlist-shell h3 { margin-top: 0; }
.waitlist-shell .ml-block-form { display: grid; gap: .75rem; }
.image-zoom-trigger { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.image-zoom-trigger:focus-visible { outline: 3px solid var(--green-2); outline-offset: 4px; }
.visual-panel .image-zoom-trigger img { display: block; width: auto; max-width: 100%; margin: 0 auto; }
.waitlist-shell .button { width: 100%; margin-top: .25rem; }
.waitlist-shell .consent { margin: .8rem 0 0; }
.content-list { display: grid; gap: 1rem; }
.content-list article { padding: 1.45rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.page-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; max-width: 760px; }
.price-card { padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.price-card strong { display: block; margin: .6rem 0; color: var(--green); font-size: 1.65rem; }
.anchor-nav { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.2rem 0 2rem; }
.anchor-nav a { padding: .4rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--green); text-decoration: none; font-size: .85rem; font-weight: 700; }

/* Formulaire officiel MailerLite - adaptation à l’identité VAAKESYA */
#mlb2-45717429.ml-form-embedContainer { margin: 1.5rem auto 0 !important; }
#mlb2-45717429 .ml-form-embedWrapper { border-radius: var(--radius) !important; }
#mlb2-45717429 .ml-form-embedContent h4,
#mlb2-45717429 .ml-form-embedContent p,
#mlb2-45717429 .ml-form-successContent h4,
#mlb2-45717429 .ml-form-successContent p { font-family: Montserrat, Arial, sans-serif !important; }
#mlb2-45717429 .ml-form-embedContent h4,
#mlb2-45717429 .ml-form-successContent h4 { color: var(--green) !important; font-size: 1.55rem !important; font-weight: 700 !important; }
#mlb2-45717429 .ml-form-embedContent p,
#mlb2-45717429 .ml-form-successContent p { color: var(--ink) !important; }
#mlb2-45717429 .ml-form-embedBody .ml-form-embedSubmit button.primary { border-radius: 999px !important; background: var(--green) !important; font-family: Montserrat, Arial, sans-serif !important; font-weight: 700 !important; }
#mlb2-45717429 .ml-form-embedBody .ml-form-embedSubmit button.primary:hover { background: var(--green-2) !important; }

.page-hero { padding: 4.8rem 0 3rem; background: var(--ivory); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
.prose { max-width: 800px; }
.prose p { font-size: 1.06rem; }
.contact-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.2rem; max-width: 800px; }
.contact-card { padding: 1.4rem; border-radius: var(--radius); background: var(--ivory); }
.contact-form { max-width: 720px; margin: 0 auto; }
.contact-form > div { margin-bottom: 1rem; }
.contact-form .button { width: 100%; margin-top: .25rem; }
.legal-note { padding: 1rem; border-left: 4px solid var(--green-accent); background: var(--ivory); }
.legal-layout { max-width: 880px; padding-top: 3.75rem; padding-bottom: 5rem; }
.legal-layout h2 { margin-top: 2.8rem; }
.legal-layout h3 { margin-top: 1.65rem; }
.legal-layout p, .legal-layout li { max-width: 800px; }
.legal-layout ul { padding-left: 1.25rem; }
.legal-layout li { margin: .45rem 0; }
.legal-header { border-bottom: 1px solid var(--line); }
.legal-action { margin: 2rem 0; padding: 1.4rem; border-radius: var(--radius); background: var(--ivory); border-left: 4px solid var(--green-accent); }
.legal-action h2 { margin: 0 0 .6rem; font-size: 1.35rem; }
.legal-action p { margin-bottom: 1rem; }
.mediation-visual { margin: 2.25rem 0 0; padding: .75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); }
.mediation-image-button { display: block; width: 100%; padding: 0; border: 0; border-radius: calc(var(--radius) - 5px); background: transparent; cursor: zoom-in; }
.mediation-image-button img { display: block; width: 100%; height: auto; border-radius: inherit; }
.mediation-visual figcaption { padding: .8rem .25rem .15rem; color: var(--muted); font-size: .88rem; text-align: center; font-style: italic; }
.image-lightbox { position: fixed; z-index: 40; inset: 0; display: grid; place-items: center; padding: 1.25rem; background: rgba(9, 27, 21, .82); }
.image-lightbox[hidden] { display: none; }
.image-lightbox__dialog { position: relative; width: min(100%, 1100px); max-height: 100%; }
.image-lightbox__dialog img { display: block; max-width: 100%; max-height: calc(100vh - 2.5rem); margin: 0 auto; border-radius: 12px; }
.image-lightbox__close { position: absolute; top: .65rem; right: .65rem; width: 42px; height: 42px; border: 0; border-radius: 999px; color: var(--ink); background: var(--white); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.legal-status { margin: 1.5rem 0 2rem; padding: 1rem 1.2rem; border: 1px solid #E3BD62; border-radius: 12px; background: #FFF7E7; }
.legal-status strong { color: #5B5222; }
.legal-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 2.2rem; }
.legal-nav a { color: var(--green); font-size: .9rem; font-weight: 700; }

.site-footer { padding: 3rem 0 1.5rem; background: #183B2F; color: #ECF3EE; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { color: var(--white); font-size: 1.1rem; letter-spacing: 0; }
.site-footer a { color: inherit; }
.footer-links { padding: 0; list-style: none; }
.footer-links li { margin: .35rem 0; }
.social-link { display: inline-flex; align-items: center; gap: .55rem; }
.social-icon { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; color: var(--white); }
.store-badges { display: grid; gap: .55rem; margin-top: 1.15rem; }
.store-badge { display: inline-flex; align-items: center; gap: .55rem; width: min(100%, 190px); min-height: 48px; padding: .45rem .7rem; border: 1px solid rgba(255,255,255,.7); border-radius: 9px; color: var(--white); cursor: default; }
.store-badge small, .store-badge strong { display: block; line-height: 1.12; }
.store-badge small { font-size: .62rem; opacity: .85; }
.store-badge strong { font-size: .95rem; }
.store-icon { width: 1.35rem; height: 1.35rem; flex: 0 0 auto; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; padding-top: 2rem; margin-top: 2rem; border-top: 1px solid rgba(255,255,255,.2); font-size: .8rem; }
.legal-footer-links { display: flex; flex-wrap: wrap; gap: .45rem .75rem; align-items: center; }
.footer-cookie-button { padding: 0; border: 0; color: inherit; background: transparent; font: inherit; text-decoration: underline; cursor: pointer; }
.cookie-layer { position: fixed; z-index: 30; inset: 0; pointer-events: auto; }
.cookie-panel { position: absolute; right: 1rem; bottom: 1rem; width: min(100% - 2rem, 470px); padding: 1.35rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 18px 54px rgba(11, 42, 31, .2); }
.cookie-panel h2 { margin: 0 0 .5rem; font-size: 1.2rem; }
.cookie-panel p { margin: 0 0 1rem; font-size: .94rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.cookie-actions .button { min-height: 42px; padding: .65rem 1rem; }

@media (max-width: 1023px) {
  .primary-nav { gap: .7rem; }
  .primary-nav a { font-size: .78rem; }
  .cards, .feature-grid { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(3,1fr); }
}

/* Mise en page pensée en priorité pour les écrans de téléphone. */
@media (max-width: 767px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 2rem), var(--max)); }
  .notice { padding: .45rem 1rem; font-size: .76rem; line-height: 1.35; }
  .header-row { min-height: 68px; }
  .brand-logo { width: 132px; height: 56px; }
  .nav-toggle { display: inline-flex; align-items: center; min-height: 42px; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
  .primary-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; max-height: calc(100vh - 68px); overflow-y: auto; padding: .8rem 1rem 1.25rem; border-bottom: 1px solid var(--line); background: var(--white); box-shadow: 0 14px 24px rgba(36,53,47,.10); flex-direction: column; align-items: stretch; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { min-height: 44px; display: flex; align-items: center; padding: .45rem .25rem; font-size: .96rem; }
  .primary-nav .button { width: 100%; margin-top: .35rem; justify-content: center; padding-inline: 1rem; }

  h1 { font-size: clamp(2.2rem, 10.5vw, 3.25rem); line-height: 1.08; }
  h2 { font-size: clamp(1.8rem, 8vw, 2.35rem); }
  .lead { font-size: 1.04rem; line-height: 1.55; }
  .hero { background: var(--ivory); }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-grid { gap: 2.4rem; padding: 3.2rem 0 2.7rem; min-height: auto; }
  .hero-copy .lead { margin: 1.25rem 0 1.6rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: .65rem; }
  .hero-actions .button { width: 100%; }
  .signature { margin-top: 1.5rem; font-size: .86rem; }
  .hero-visual { max-width: 390px; margin: 0 auto; padding: 0 14px 14px 0; }

  .visual-panel { min-height: auto; padding: 1rem; }
  .visual-panel img { max-height: 440px; }
  .premium-card { display: block; padding: 1.5rem; }
  .premium-card .button { width: 100%; margin-top: .8rem; }
  .price-grid { grid-template-columns: 1fr; }
  .hero-visual::after { border-radius: 20px; }
  .hero-note { left: -7px; bottom: 34px; max-width: 175px; font-size: .7rem; }

  section { padding: 3.7rem 0; }
  .page-hero { padding: 3.2rem 0 2.3rem; }
  .section-intro { margin-bottom: 1.7rem; }
  .cards, .feature-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .card { padding: 1.3rem; }
  .steps { grid-template-columns: 1fr; gap: .65rem; }
  .step { min-height: 0; padding: 1rem; }

  .phone-gallery { display: flex; width: calc(100% + 1rem); max-width: none; margin: 0 -0.5rem; padding: .15rem .5rem .9rem; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .phone-gallery > div { flex: 0 0 min(68vw, 255px); scroll-snap-align: start; }
  .phone { border-width: 4px; border-radius: 22px; }
  .phone img, .phone-screen { border-radius: 14px; }
  .phone-label { margin-top: .45rem; font-size: .82rem; }
  .gallery-hint { display: block; margin: .45rem 0 0; color: var(--muted); font-size: .85rem; }
  .organiser-captures { grid-template-columns: 1fr; margin-top: 1.25rem; }

  .form-shell { padding: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  #mlb2-45717429 .ml-form-embedContent h4,
  #mlb2-45717429 .ml-form-successContent h4 { font-size: 1.35rem !important; }
  #mlb2-45717429 .ml-form-embedWrapper .ml-form-embedBody,
  #mlb2-45717429 .ml-form-embedWrapper .ml-form-successBody { padding: 18px 16px 0 !important; }
  #mlb2-45717429 .ml-form-embedSubmit button.primary { width: 100% !important; min-height: 48px; }

  .footer-bottom { display: grid; gap: .5rem; padding-top: 1.5rem; margin-top: 1.5rem; }
  .legal-layout { padding-top: 2.5rem; padding-bottom: 3.5rem; }
  .cookie-panel { right: .75rem; bottom: .75rem; width: calc(100% - 1.5rem); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* Navigation available even when JavaScript cannot load. */
@media (max-width: 767px) {
  html:not(.nav-enhanced) .header-row { flex-wrap: wrap; }
  html:not(.nav-enhanced) .nav-toggle { display: none; }
  html:not(.nav-enhanced) .primary-nav { display: flex; position: static; width: 100%; max-height: none; box-shadow: none; }
}
.d-none, [hidden] { display: none !important; }
.cookie-panel { max-height: calc(100dvh - 2rem); overflow-y: auto; }
.legal-layout, .contact-card, .split > *, .hero-grid > * { min-width: 0; overflow-wrap: anywhere; }
button:disabled { cursor: not-allowed; opacity: .65; }
[id] { scroll-margin-top: 90px; }
#mlb2-45717429 .ml-form-embedSubmit button.primary { color: var(--white); }
