/* Graine de papa : feuille de style unique du site (aucun framework).
   Couleurs du dossier Claude Design (thème « brut » de la landing), contrastes
   vérifiés AA pour le texte courant (voir tests/site.test.mjs). */

@font-face { font-family: 'Bricolage Grotesque'; src: url('/polices/BricolageGrotesque_800ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('/polices/InstrumentSans_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('/polices/InstrumentSans_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --encre: #161512;
  --creme: #efe8d8;
  --papier: #fffdf6;
  --sable: #e2d9c1;
  --gris: #5d574a;
  --vert: #3d5a2b;
  --vert-clair: #dfe8d6;
  --soleil: #f2c230;
  --ciel: #8fc0d8;
  --terre: #6b4a2e;
  --brique: #b5361c;      /* rouge lisible sur crème (4,9:1) */
  --rouge: #e0472b;       /* rouge de la marque : fonds et grands titres seulement */
  --rose: #f4b8b0;
  --saumon: #f29a85;
  --trait: 3px solid var(--encre);
  --titre: 'Bricolage Grotesque', 'Arial Black', system-ui, sans-serif;
  --texte: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--creme); color: var(--encre); font-family: var(--texte); font-size: 1.0625rem; line-height: 1.55; }
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--brique); }
:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; box-shadow: 0 0 0 6px var(--soleil); }
p { margin: 0; }
h1, h2, h3 { font-family: var(--titre); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 5.5vw, 2.9rem); }
ul, ol { margin: 0; }
mark.a-completer { background: var(--soleil); color: var(--encre); padding: 0 .2em; border-radius: 3px; }

.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--soleil); padding: 10px 14px; border: var(--trait); border-radius: 10px; font-weight: 700; }
.evitement:focus { top: 12px; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 20; background: var(--creme); border-bottom: var(--trait); }
.entete__inner { max-width: 1080px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { font-family: var(--titre); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; padding: 3px 10px; background: var(--encre); color: var(--soleil); transform: rotate(-2deg); text-decoration: none; display: inline-block; }
.logo:hover { color: var(--soleil); }
.entete__nav { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 15px; }
.entete__nav a:not(.bouton) { text-decoration: none; }
.bouton { display: inline-block; padding: 10px 16px; border: var(--trait); border-radius: 10px; box-shadow: 3px 3px 0 var(--encre); background: var(--soleil); color: var(--encre); font-weight: 700; text-decoration: none; }
.bouton:hover { color: var(--encre); transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--encre); }

/* Boutons des stores */
.stores { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; list-style: none; padding: 0; }
.store { display: flex; flex-direction: column; line-height: 1.15; text-align: left; padding: 12px 18px; border: var(--trait); border-radius: 12px; box-shadow: 4px 4px 0 var(--encre); background: var(--encre); color: var(--creme); text-decoration: none; min-width: 170px; }
.store:hover { color: var(--soleil); }
.store__petit { font-size: 12px; font-weight: 400; }
.store__grand { font-size: 17px; font-weight: 700; }
.store--bientot { background: var(--papier); color: var(--encre); box-shadow: none; border-style: dashed; }

/* Héros */
.hero { position: relative; background: linear-gradient(to bottom, var(--ciel) calc(100% - 246px), var(--terre) 0); border-bottom: var(--trait); overflow: hidden; }
.hero::before { content: ''; position: absolute; left: 0; right: 0; bottom: 243px; height: 3px; background: var(--encre); }
.hero__texte { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; padding: 40px 16px 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.hero h1 { font-size: clamp(2.6rem, 9vw, 4.75rem); line-height: .95; letter-spacing: -0.03em; }
.hero__chapo { font-size: 1.125rem; max-width: 470px; text-wrap: pretty; }
.hero__prix { font-size: 15px; font-weight: 700; }
.hero__scene { position: relative; max-width: 380px; height: 470px; margin: 10px auto 0; }
.hero__soleil { position: absolute; top: 10px; right: 0; }
.hero__soleil svg { width: 80px; height: 80px; display: block; }
.hero__mascotte { position: absolute; left: 50%; bottom: 205px; width: 220px; margin-left: -110px; z-index: 1; }
.hero__mascotte svg { width: 220px; height: auto; display: block; overflow: visible; }
.hero__sol { position: absolute; left: 0; right: 0; bottom: 0; height: 290px; z-index: 2; }
.hero__sol svg { width: 100%; height: 100%; display: block; overflow: visible; }
.hero__pancarte { position: absolute; z-index: 3; left: 0; right: 0; bottom: 122px; text-align: center; font-weight: 700; color: var(--creme); }

/* Blocs */
.bloc { padding: 64px 16px; }
.bloc__inner { max-width: 1080px; margin: 0 auto; }
.bloc--vert { background: var(--vert); color: var(--creme); border-top: var(--trait); border-bottom: var(--trait); }
.bloc--vert .gros { color: var(--vert-clair); }
.bloc--nuit { background: var(--encre); color: var(--creme); }
.bloc--soleil { background: var(--soleil); border-top: var(--trait); border-bottom: var(--trait); }
.bloc--sable { background: var(--sable); border-top: var(--trait); }
.etroit { max-width: 720px; }
.centre { text-align: center; align-items: center; }
.pile { display: flex; flex-direction: column; gap: 16px; }
.pile-large { display: flex; flex-direction: column; gap: 28px; }
.intro { max-width: 660px; }
.deux-colonnes { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; }
.deux-colonnes > * { flex: 1 1 320px; }
.gros { font-size: 1.0625rem; line-height: 1.55; text-wrap: pretty; }
.surtitre { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--soleil); }
.surtitre--brique { color: var(--brique); }
.surtitre--encre { color: var(--encre); }
.surtitre--gris { color: var(--gris); }
.grand-chiffre { font-family: var(--titre); font-weight: 800; font-size: 26px; display: flex; align-items: flex-end; gap: 12px; flex: 0 1 280px !important; }
.grand-chiffre span { font-size: clamp(7.5rem, 26vw, 12.5rem); line-height: .8; letter-spacing: -0.06em; color: var(--vert); }

/* Jardin */
.jardins { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.carte-scene { position: relative; height: 240px; border: var(--trait); border-radius: 16px; box-shadow: 5px 5px 0 var(--encre); overflow: hidden; }
.scene { position: absolute; inset: 0; }
.jardins__titre { font-family: var(--titre); font-weight: 800; font-size: 20px; margin-top: 10px; }
.habitudes { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.habitudes li { padding: 12px 14px; border: 2.5px solid var(--encre); border-radius: 12px; background: var(--creme); color: var(--encre); display: flex; flex-direction: column; gap: 2px; }
.habitudes span { font-size: 14px; color: var(--gris); font-weight: 700; }

/* Leçon */
.lecon { margin: 0; max-width: 420px; border: var(--trait); border-radius: 18px; box-shadow: 6px 6px 0 var(--encre); overflow: hidden; background: var(--papier); }
.lecon__entete { padding: 16px; background: var(--encre); color: var(--soleil); font-family: var(--titre); font-weight: 800; font-size: 20px; }
.lecon__corps { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.lecon__meta { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brique); }
.lecon__titre { font-family: var(--titre); font-weight: 800; font-size: 22px; line-height: 1.1; }
.lecon__defi { font-weight: 700; }
.lecon figcaption { padding: 0 16px 14px; font-size: 13px; color: var(--gris); }

/* Notifications */
.notifs { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; max-width: 440px; }
.notif { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 20px; background: var(--creme); color: var(--encre); transform: rotate(-1deg); }
.notif--penche { transform: rotate(1deg); }
.notif__icone { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--soleil); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.notif__icone svg { width: 32px; height: auto; display: block; }
.notif__texte { display: flex; flex-direction: column; font-weight: 700; line-height: 1.35; }
.notif__ton { font-size: 12px; font-weight: 400; color: var(--gris); }

/* Mode à deux */
.actions { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.action { padding: 16px; border: var(--trait); border-radius: 14px; box-shadow: 4px 4px 0 var(--encre); display: flex; flex-direction: column; gap: 6px; color: var(--encre); }
.action strong { font-family: var(--titre); font-weight: 800; font-size: 22px; }
.action span { font-size: 15px; line-height: 1.45; }
.action em { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.action--ciel { background: var(--ciel); }
.action--soleil { background: var(--soleil); }
.action--brique { background: var(--saumon); }
.action--rose { background: var(--rose); }

/* Sachet cadeau */
.sachet { flex: 0 0 250px !important; position: relative; width: 250px; padding: 0 0 18px; background: var(--papier); border: 3.5px solid var(--encre); border-radius: 4px; transform: rotate(-4deg); margin: 0 auto; }
.sachet__bandeau { margin-top: 22px; padding: 6px; background: var(--rouge); border-top: var(--trait); border-bottom: var(--trait); text-align: center; font-family: var(--titre); font-weight: 800; font-size: 21px; color: var(--papier); }
.sachet__hublot { position: relative; margin: 16px 20px 0; height: 180px; border: var(--trait); border-radius: 50%; background: var(--ciel); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.sachet__hublot::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: var(--terre); border-top: var(--trait); }
.sachet__hublot svg { width: 116px; height: auto; margin-bottom: 22px; position: relative; z-index: 0; overflow: visible; }
.sachet__variete { margin-top: 14px; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.sachet__nom { text-align: center; font-family: var(--titre); font-weight: 800; font-size: 20px; }
.sachet__pied { display: flex; justify-content: space-between; margin: 8px 18px 0; padding-top: 8px; border-top: 2px dashed var(--encre); font-size: 10px; font-weight: 700; text-transform: uppercase; }

/* Prix */
.prix { align-self: stretch; padding: 26px 22px; border: var(--trait); border-radius: 18px; box-shadow: 6px 6px 0 var(--encre); background: var(--papier); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.prix__nom { font-family: var(--titre); font-weight: 800; font-size: 22px; }
.prix__montant { font-family: var(--titre); font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -0.03em; color: var(--brique); }
.prix__sous { font-weight: 700; }
.prix__note { font-size: 15px; color: var(--gris); }
.coches { list-style: none; padding: 0; align-self: stretch; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.coches li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
.coches li::before { content: '✓'; flex: none; width: 22px; height: 22px; border-radius: 5px; background: var(--vert); border: 2px solid var(--encre); color: var(--soleil); font-size: 12px; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.accroche { font-family: var(--titre); font-weight: 800; font-size: clamp(1.4rem, 4.5vw, 2rem); line-height: 1.1; color: var(--brique); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 2.5px solid var(--encre); border-radius: 12px; background: var(--papier); }
.faq summary { padding: 16px 18px; font-weight: 700; cursor: pointer; }
.faq details p { padding: 0 18px 16px; }

/* Documents (pages légales, aide, suppression, liens) */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 16px 64px; display: flex; flex-direction: column; gap: 16px; }
.doc h1 { font-size: clamp(2.1rem, 7vw, 3.2rem); }
.doc h2 { font-size: clamp(1.35rem, 4vw, 1.75rem); margin-top: 20px; }
.doc ul, .doc ol { padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; }
.doc__chapo { font-size: 1.15rem; }
.doc__source { font-size: 14px; color: var(--gris); }
.doc__contact { margin-top: 12px; padding-top: 16px; border-top: 2px dashed var(--encre); font-weight: 700; }
.encart { padding: 14px 16px; border: 2.5px solid var(--encre); border-radius: 12px; background: var(--papier); }
.etapes { counter-reset: none; }
.doc--lien { align-items: flex-start; }
.doc .stores { padding-left: 0; flex-direction: row; justify-content: flex-start; }
.lien__mascotte svg { width: 120px; height: auto; display: block; overflow: visible; }
.lien__note { font-size: 15px; color: var(--gris); }

/* Pied de page */
.pied { background: var(--encre); color: #cfc8b6; padding: 40px 16px; }
.pied__inner { max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.pied__haut { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.pied .logo { background: var(--soleil); color: var(--encre); }
.pied nav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 700; font-size: 15px; }
.pied nav a { color: var(--creme); }
.pied nav a:hover { color: var(--soleil); }
.pied__mention { font-size: 14px; line-height: 1.55; max-width: 760px; color: var(--creme); }
.pied__editeur { font-size: 13px; }
.pied a { color: var(--creme); }

@media (max-width: 480px) {
  .entete__nav .lien-aide { display: none; }
  .bloc { padding: 48px 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .bouton, .store { transition: transform .12s ease, box-shadow .12s ease; }
}
