/* Site d'Alder — mêmes couleurs et polices que l'app (version 0.12). */

@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url(fonts/fredoka-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url(fonts/fredoka-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/nunitosans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/nunitosans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --cream: #F8F3EA;     /* fond */
  --card: #FFFDF8;      /* cartes */
  --forest: #173E2D;    /* texte, boutons, bandeau */
  --forest2: #2E5643;
  --night: #0E2A1E;
  --ink2: #3A4F44;      /* texte courant */
  --mute: #4F5D55;      /* texte secondaire */
  --sage: #CAD5BA;
  --soft: #E3EBD8;
  --amber: #EA950B;
  --coral: #F47C4D;     /* jamais pour du texte */
  --peach: #F49A74;
  --line: #E8E0D0;
  --alt: #F1EADD;
  --round: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cream); color: var(--forest); font-family: var(--text);
  font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--round); font-weight: 600; margin: 0; }
h2 { font-size: clamp(28px, 3.6vw, 38px); line-height: 1.15; margin-bottom: 28px; }
h3 { font-size: 21px; line-height: 1.2; }
p { margin: 0; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 14px;
  background: var(--cream); color: var(--forest); font-weight: 800; border-radius: 10px; }
.skip:focus { top: 12px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 0 22px; border-radius: 14px; font-size: 17px; font-weight: 800; text-decoration: none;
  border: 2px solid transparent; transition: background-color .15s, border-color .15s; }
.btn-cream { background: var(--cream); color: var(--forest); }
.btn-cream:hover { background: #fff; }
.btn-ghost { border-color: #5E8270; color: var(--cream); }
.btn-ghost:hover { background: var(--forest2); }

/* Bandeau vert forêt, avec le cordon et la vague */
.band { position: relative; overflow: hidden; background: var(--forest); color: var(--cream);
  padding: 18px 0 170px; }
.band :focus-visible, .cta :focus-visible { outline-color: var(--cream); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand img { height: 42px; width: auto; }
.top-link { color: var(--cream); font-weight: 800; text-decoration: none; padding: 8px 4px; }
.top-link:hover { text-decoration: underline; }

.hero { display: grid; gap: 28px; align-items: center; margin-top: 44px; }
.eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--forest2);
  color: var(--sage); font-size: 15px; font-weight: 800; }
.hero h1 { font-size: clamp(36px, 5.4vw, 58px); line-height: 1.06; margin-top: 18px; max-width: 13ch; }
.lead { font-size: clamp(18px, 1.9vw, 20px); color: var(--soft); margin-top: 18px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-art { justify-self: center; }
.hero-art img { width: clamp(130px, 22vw, 250px); transform: rotate(-5deg);
  filter: drop-shadow(0 22px 30px rgba(6, 20, 13, .45)); }

.cord { position: absolute; left: 0; bottom: 26px; width: 100%; height: 140px; overflow: visible;
  fill: none; stroke: var(--coral); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 34px; display: block; fill: var(--cream); }

@media (min-width: 820px) {
  .hero { grid-template-columns: 1.35fr .65fr; margin-top: 56px; }
  .band { padding-bottom: 190px; }
}

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--alt); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.step, .card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px; }
.step h3, .card h3 { margin: 16px 0 8px; }
.step p, .card p { color: var(--ink2); }
.num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border-radius: 16px; font-family: var(--round); font-weight: 700; font-size: 24px; color: var(--forest); }
.num-amber { background: var(--amber); }
.num-sage { background: var(--sage); }
.num-peach { background: var(--peach); }

.cards { display: grid; gap: 18px; }
.ico { width: 48px; height: 48px; padding: 11px; border-radius: 16px; background: var(--soft);
  fill: none; stroke: var(--forest); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(3, 1fr); }
}

/* Questions */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-weight: 800; font-size: 18px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--round); font-size: 28px; line-height: 1;
  font-weight: 500; color: var(--forest); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 22px 20px; color: var(--ink2); }

/* Appel à l'action */
.cta { position: relative; background: var(--forest); color: var(--cream); padding: 96px 0 76px; }
.cta .wave-top { top: -1px; bottom: auto; }
.cta h2 { margin-bottom: 0; }
.cta .lead { margin: 14px auto 28px; }
.cta .mail { margin-top: 18px; }
.cta .mail a { color: var(--sage); font-weight: 700; }

/* Pied de page */
.foot { padding: 40px 0 52px; }
.foot-in { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  color: var(--mute); font-size: 15px; }
.foot-logo { height: 46px; width: auto; margin-bottom: 6px; }

/* Page 404 */
.lost-logo { margin: 0 auto 28px; }
.lost-text { color: var(--ink2); margin: -12px 0 28px; }
.btn-forest { background: var(--forest); color: var(--cream); }
.btn-forest:hover { background: var(--night); }
