:root {
  --peche: #ffe6d2;
  --creme: #fff9f3;
  --brun: #3a2418;
  --brun-doux: #7a5a48;
  --vert: #17694f;
  --vert-clair: #e4f3ec;
  --lilas: #8e7be0;
  --soleil: #ffc94d;
  --titre: Fredoka, Nunito, system-ui, sans-serif;
  color-scheme: light;
  font-family: Nunito, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--brun);
  background: var(--creme);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--vert); }
img { max-width: 100%; height: auto; display: block; }
.enveloppe { max-width: 1060px; margin: 0 auto; padding: 0 20px; }

/* En-tête */
.entete { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brun); font-family: var(--titre); font-weight: 700; font-size: 28px; letter-spacing: -.01em; }
.marque img { width: 44px; height: 44px; }
.bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px;
  font: inherit; font-weight: 800; text-decoration: none; border: none; cursor: pointer; }
.bouton.plein { background: var(--vert); color: #fff; box-shadow: 0 10px 24px rgba(23, 105, 79, .25); }
.bouton.doux { background: #fff; color: var(--vert); }
.bouton.petit { min-height: 44px; padding: 0 18px; font-size: 16px; }
.bouton:focus-visible, a:focus-visible { outline: 3px solid var(--lilas); outline-offset: 3px; }

/* Ouverture */
.ciel { background: var(--peche); position: relative; overflow: hidden; }
.ciel::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px;
  background: var(--creme); clip-path: ellipse(75% 100% at 50% 100%); }
.soleil { position: absolute; right: -50px; top: 70px; width: 150px; opacity: .9; z-index: 0; }
.entete { position: relative; z-index: 2; }
@media (min-width: 860px) { .soleil { top: -40px; width: 200px; } }
.ouverture { position: relative; z-index: 1; display: grid; gap: 28px; padding: 20px 0 90px; align-items: center; }
.ouverture h1 { font-family: var(--titre); font-weight: 700; font-size: clamp(40px, 9vw, 68px); line-height: 1.02; letter-spacing: -.02em; margin: 0; }
.ouverture h1 span { display: block; color: var(--vert); }
.ouverture p { font-size: 19px; color: var(--brun-doux); font-weight: 600; max-width: 34em; margin: 16px 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.mention { margin-top: 12px; font-size: 15px; color: var(--brun-doux); font-weight: 700; }
.telephone { justify-self: center; width: min(280px, 74vw); border-radius: 38px; padding: 10px; background: #2c2420;
  box-shadow: 0 30px 60px rgba(58, 36, 24, .28); transform: rotate(2deg); }
.telephone img { border-radius: 30px; }
@media (min-width: 860px) {
  .ouverture { grid-template-columns: 1.15fr .85fr; padding: 40px 0 120px; }
}

/* Ce que fait Nidou */
.bloc { padding: 40px 0; }
.bloc h2 { font-family: var(--titre); font-weight: 600; font-size: clamp(28px, 6vw, 40px); line-height: 1.1; margin: 0 0 8px; letter-spacing: -.01em; }
.etapes { display: grid; gap: 56px; margin-top: 32px; }
.etape { display: grid; gap: 22px; align-items: center; }
.etape .texte { max-width: 30em; }
.etape h3 { font-family: var(--titre); font-weight: 600; font-size: 26px; margin: 0 0 6px; }
.etape p { margin: 0; color: var(--brun-doux); font-weight: 600; }
.etape .ecran { justify-self: center; width: min(260px, 70vw); border-radius: 30px; padding: 8px; background: #2c2420;
  box-shadow: 0 20px 40px rgba(58, 36, 24, .2); }
.etape .ecran img { border-radius: 23px; }
.pastille { display: inline-block; background: var(--vert-clair); color: var(--vert); font-weight: 800; font-size: 15px;
  padding: 3px 12px; border-radius: 999px; margin-bottom: 10px; }
@media (min-width: 860px) {
  .etape { grid-template-columns: 1fr 1fr; }
  .etape:nth-child(even) .ecran { order: -1; }
}

/* Preuve */
.preuve { background: var(--vert); color: #fff; border-radius: 32px; padding: 32px 24px; display: grid; gap: 14px;
  background-image: radial-gradient(120% 90% at 100% 0%, #2e9c76 0%, transparent 60%); }
.preuve h2 { color: #fff; }
.preuve p { margin: 0; font-weight: 600; opacity: .92; max-width: 40em; }
.preuve ul { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 6px; font-weight: 700; }

/* iPhone */
.iphone ol { counter-reset: n; list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; max-width: 34em; }
.iphone li { counter-increment: n; display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 20px; padding: 14px 16px; font-weight: 700; }
.iphone li::before { content: counter(n); flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--peche); color: var(--brun); font-family: var(--titre); font-weight: 700; }

/* Test */
.test { background: #fff; border-radius: 32px; padding: 28px 24px; box-shadow: 0 14px 34px rgba(154, 85, 48, .1); display: grid; gap: 10px; }
.test p { margin: 0; color: var(--brun-doux); font-weight: 600; }

/* Pied */
.pied { padding: 40px 0 56px; color: var(--brun-doux); font-size: 15px; font-weight: 600; }
.pied nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 10px; }
.pied a { color: var(--brun-doux); }

/* Pages légales */
.legal { max-width: 46em; padding: 10px 0 40px; }
.legal h1 { font-family: var(--titre); font-weight: 700; font-size: 38px; margin: 10px 0 20px; }
.legal h2 { font-family: var(--titre); font-weight: 600; font-size: 24px; margin: 28px 0 8px; }
.legal p, .legal li { color: #4a3a30; }
@media (prefers-reduced-motion: no-preference) {
  .telephone { transition: transform .4s ease; }
  .telephone:hover { transform: rotate(0deg); }
}
