/* ColoriMoi — base reprise de Mon Héros Intérieur (formes douces, ombres portées nettes, papier crème),
   rendue plus ludique : fond blanc, cinq couleurs de crayon, traits dessinés à la main. Pensé d'abord pour le téléphone. */
:root {
  --blanc: #FFFFFF;
  --creme: #FFF8EC;
  --encre: #1F2A44;
  --encre-douce: #586179;
  --trait: #E8DDC8;
  --corail: #FF6B4A;
  --soleil: #FFC53D;
  --menthe: #23A77E;
  --ciel: #3F7FEA;
  --lilas: #A57BE8;
  --erreur: #B3261E;
  --titre: "Gloock", Georgia, "Times New Roman", serif;
  --texte: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --main: "Caveat", "Segoe Print", cursive;
  --ondule: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 Q12 1 22 7 T42 7 T62 6 T82 8 T102 6 T118 7' fill='none' stroke='%23FFC53D' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; }
body { margin: 0; background: var(--blanc); color: var(--encre); font: 400 1.0625rem/1.55 var(--texte); }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ciel); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.evitement { position: absolute; left: 12px; top: -70px; z-index: 30; background: var(--encre); color: #fff; padding: 12px 16px; border-radius: 8px; font-weight: 700; }
.evitement:focus { top: 12px; }
.cadre { max-width: 1120px; margin-inline: auto; padding-inline: max(18px, env(safe-area-inset-left, 0px)); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 { font: 400 clamp(2rem, 7.4vw, 3.6rem)/1.06 var(--titre); letter-spacing: -.01em; }
h2 { font: 400 clamp(1.6rem, 5.4vw, 2.5rem)/1.1 var(--titre); }
h3 { font: 700 1.15rem/1.25 var(--texte); }
p { margin: 0; }
.souligne { background: var(--ondule) no-repeat 0 100% / 100% .34em; padding-bottom: .12em; }
.surtitre { font: 600 1.35rem/1 var(--main); color: var(--corail); margin-bottom: 8px; }
.sous { color: var(--encre-douce); font-size: 1.1rem; margin-top: 12px; max-width: 36em; }
.centre { text-align: center; }
.centre .sous { margin-inline: auto; }
.note { font-size: .88rem; color: var(--encre-douce); }
.provisoire { color: var(--encre); background: #FFF1B8; border-radius: 4px; padding: 0 .3em; font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.avis-provisoire { border: 2px dashed var(--soleil); background: #FFFBEA; border-radius: 12px; padding: 14px 16px; font-size: .95rem; margin-bottom: 24px; }

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 13px 24px; border-radius: 14px; border: 2px solid var(--encre); background: var(--corail); color: #1A1410; font-weight: 700; font-size: 1.08rem; text-decoration: none; cursor: pointer; box-shadow: 4px 4px 0 var(--encre); transition: transform .08s, box-shadow .08s; }
.bouton:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--encre); }
.bouton:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--encre); }
.bouton--clair { background: var(--blanc); box-shadow: none; }
.bouton--clair:hover { background: var(--creme); transform: none; box-shadow: none; }
.bouton[aria-busy=true] { opacity: .7; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.actions .bouton { flex: 1 1 220px; }

/* Annonce et en-tête */
.annonce { background: var(--encre); color: #fff; text-align: center; font-weight: 600; font-size: .95rem; padding: 9px 14px; }
.annonce b { color: var(--soleil); }
.barre { position: sticky; top: 0; z-index: 20; background: var(--blanc); border-bottom: 2px solid var(--trait); }
.entete { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.marque { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 400 1.5rem/1 var(--titre); }
.marque svg { width: 36px; height: 36px; flex: none; }
.marque span span { color: var(--corail); }
.nav { display: none; align-items: center; gap: 22px; font-weight: 600; }
.nav a { text-decoration: none; }
.nav a:hover, .nav a[aria-current=page] { text-decoration: underline; text-decoration-color: var(--soleil); text-decoration-thickness: 3px; }
.entete .bouton { min-height: 44px; padding: 8px 14px; font-size: .95rem; box-shadow: 3px 3px 0 var(--encre); }
.menu { position: relative; }
.menu summary { list-style: none; width: 46px; height: 46px; display: grid; place-items: center; border: 2px solid var(--encre); border-radius: 12px; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 24px; height: 24px; }
.menu[open] nav { position: absolute; right: 0; top: 56px; background: var(--blanc); border: 2px solid var(--encre); border-radius: 14px; box-shadow: 5px 5px 0 var(--encre); padding: 8px; display: grid; min-width: 240px; }
.menu nav a { padding: 13px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.menu nav a:hover { background: var(--creme); }
.entete__droite { display: flex; align-items: center; gap: 10px; }

/* Bandes */
.bande { padding-block: 56px; }
.bande--creme { background: var(--creme); }
.bande--encre { background: var(--encre); color: #fff; }
.bande--encre .sous, .bande--encre .note { color: #C9D0E0; }
.bande--encre .surtitre { color: var(--soleil); }
.pointille { border: 0; height: 0; border-top: 3px dashed var(--trait); margin: 0; }

/* Héro */
.hero { padding-block: 30px 48px; background: var(--creme); overflow: hidden; }
.hero__grille { display: grid; gap: 30px; align-items: center; }
.hero .sous { font-size: 1.13rem; }
.garanties { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .92rem; font-weight: 600; color: var(--encre-douce); }
.garanties li::before { content: "✓ "; color: var(--menthe); font-weight: 800; }

/* Avant / après */
.avap { position: relative; border-radius: 20px; overflow: hidden; border: 3px solid var(--encre); background: #fff; box-shadow: 7px 7px 0 var(--soleil); touch-action: pan-y; }
.avap img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.avap__dessus { position: absolute; inset: 0; height: 100% !important; clip-path: inset(0 calc(100% - var(--p, 50%)) 0 0); }
.avap__barre { position: absolute; top: 0; bottom: 0; left: var(--p, 50%); width: 4px; margin-left: -2px; background: var(--encre); }
.avap__barre::after { content: "↔"; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #fff; border: 2px solid var(--encre); display: grid; place-items: center; font-weight: 700; }
.avap__etiq { position: absolute; bottom: 10px; background: #fff; border: 2px solid var(--encre); border-radius: 999px; padding: 3px 12px; font-weight: 700; font-size: .82rem; }
.avap__etiq--g { left: 10px; } .avap__etiq--d { right: 10px; }
.reglage { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-weight: 700; font-size: .9rem; }
.reglage input { flex: 1; accent-color: var(--corail); min-height: 32px; }
.mention { font-size: .84rem; color: var(--encre-douce); margin-top: 10px; }

/* Étapes */
.etapes { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: e; }
.etapes li { counter-increment: e; background: #fff; border: 2px solid var(--encre); border-radius: 18px; padding: 20px 18px 20px 76px; position: relative; }
.etapes li::before { content: counter(e); position: absolute; left: 16px; top: 16px; width: 46px; height: 46px; display: grid; place-items: center; font: 400 1.6rem/1 var(--titre); background: var(--c, var(--soleil)); border: 2px solid var(--encre); border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; }
.etapes p { color: var(--encre-douce); margin-top: 4px; }

/* Exemples */
.exemples { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 22px; }
.exemple { background: #fff; border: 2px solid var(--encre); border-radius: 18px; padding: 12px; }
.exemple__paire { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; }
.exemple__paire img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1.5px solid var(--trait); }
.exemple__paire span { font: 700 1.6rem/1 var(--main); color: var(--corail); }
.exemple h3 { margin-top: 12px; }
.exemple p { color: var(--encre-douce); font-size: .95rem; }

/* Produit */
.produit { display: grid; gap: 26px; align-items: center; }
.produit__visuel { position: relative; max-width: 360px; margin-inline: auto; width: 100%; }
.produit__visuel img { border-radius: 14px; border: 3px solid var(--encre); box-shadow: 8px 8px 0 var(--menthe); transform: rotate(-2.5deg); background: #fff; }
.prix { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.prix b { font: 400 2.8rem/1 var(--titre); }
.prix span { background: var(--soleil); border: 2px solid var(--encre); border-radius: 999px; padding: 2px 12px; font-weight: 700; font-size: .85rem; transform: rotate(-3deg); }
.liste-coche { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.liste-coche li { padding-left: 32px; position: relative; }
.liste-coche li::before { content: ""; position: absolute; left: 2px; top: .28em; width: 17px; height: 9px; border-left: 3.5px solid var(--menthe); border-bottom: 3.5px solid var(--menthe); transform: rotate(-45deg); }
.encart { margin-top: 20px; background: var(--creme); border: 2px dashed var(--encre-douce); border-radius: 14px; padding: 14px 16px; font-size: .95rem; }
.encart ul { margin: 6px 0 0; padding-left: 1.1em; display: grid; gap: 4px; }

/* Scène et phrases */
.deux { display: grid; gap: 28px; align-items: center; }
.scene img { border-radius: 20px; border: 3px solid var(--encre); box-shadow: 7px 7px 0 var(--ciel); width: 100%; }
.phrases { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.phrases li { font: 700 1.45rem/1.15 var(--main); padding: 10px 18px; border-radius: 999px; border: 2px dashed var(--encre); background: #fff; }
.phrases li:nth-child(5n+1) { color: #C2412A; } .phrases li:nth-child(5n+2) { color: #1C7F60; } .phrases li:nth-child(5n+3) { color: #2B5FC0; } .phrases li:nth-child(5n+4) { color: #7446C4; } .phrases li:nth-child(5n) { color: #8A6200; }

/* Confidentialité */
.confid { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.confid li { background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.25); border-radius: 14px; padding: 16px 18px; }
.confid b { display: block; color: var(--soleil); margin-bottom: 2px; }

/* FAQ */
.faq { max-width: 46rem; margin: 28px auto 0; display: grid; gap: 10px; }
.faq details { background: #fff; border: 2px solid var(--trait); border-radius: 14px; }
.faq details[open] { border-color: var(--encre); }
.faq summary { cursor: pointer; list-style: none; padding: 17px 50px 17px 18px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 10px; font: 400 1.8rem/1.2 var(--titre); color: var(--corail); }
.faq details[open] summary::after { content: "–"; }
.faq p { padding: 0 18px 18px; color: var(--encre-douce); }

/* Appel final et pied */
.final { text-align: center; }
.final .bouton { margin-top: 22px; }
.crayons { display: flex; justify-content: center; gap: 6px; margin-bottom: 14px; }
.crayons i { width: 14px; height: 54px; border-radius: 3px 3px 0 0; background: var(--c); position: relative; border: 2px solid var(--encre); border-bottom: 0; transform: rotate(var(--r, 0deg)); }
.crayons i::after { content: ""; position: absolute; left: -2px; right: -2px; top: 100%; border: 7px solid transparent; border-top: 12px solid var(--encre); }
.pied { background: var(--creme); border-top: 2px solid var(--trait); padding-block: 36px; font-size: .95rem; }
.pied__grille { display: grid; gap: 26px; }
.pied b { display: block; margin-bottom: 8px; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pied__bas { margin-top: 26px; padding-top: 18px; border-top: 2px dashed var(--trait); color: var(--encre-douce); font-size: .86rem; }

/* Pages intérieures */
.page-tete { background: var(--creme); padding-block: 34px 30px; }
.texte { max-width: 44rem; }
.texte h2 { font-size: clamp(1.3rem, 4.4vw, 1.7rem); margin: 30px 0 8px; }
.texte p, .texte ul { margin: 0 0 12px; color: #3A4460; }
.texte ul { padding-left: 1.2em; display: grid; gap: 6px; }

/* Formulaire */
.atelier { display: grid; gap: 22px; max-width: 40rem; }
.bloc { background: #fff; border: 2px solid var(--encre); border-radius: 18px; padding: 18px; display: grid; gap: 16px; }
.bloc > h2 { font: 400 1.4rem/1.15 var(--titre); display: flex; align-items: center; gap: 10px; }
.bloc > h2 i { font: 700 .95rem/1 var(--texte); width: 30px; height: 30px; display: grid; place-items: center; background: var(--c, var(--soleil)); border: 2px solid var(--encre); border-radius: 50%; flex: none; }
.champ { display: grid; gap: 6px; min-width: 0; }
.champ > label, fieldset legend { font-weight: 700; font-size: .98rem; padding: 0; }
.champ small, fieldset small { color: var(--encre-douce); font-size: .86rem; font-weight: 400; }
.champ input[type=text], .champ input[type=email], .champ select, .champ textarea { width: 100%; min-height: 52px; border: 2px solid var(--trait); border-radius: 12px; padding: 12px 14px; background: #fff; font-size: 1rem; }
.champ textarea { min-height: 90px; resize: vertical; }
.champ :is(input, select, textarea):hover { border-color: var(--encre-douce); }
.champ [aria-invalid=true] { border-color: var(--erreur); }
.erreur { color: var(--erreur); font-size: .9rem; font-weight: 600; }
.duo { display: grid; gap: 14px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 8px; }
.choix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.choix label { position: relative; }
.choix input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choix span { display: flex; align-items: center; min-height: 54px; height: 100%; padding: 10px 12px; border: 2px solid var(--trait); border-radius: 12px; font-weight: 600; line-height: 1.2; background: #fff; }
.choix input:checked + span { border-color: var(--encre); background: var(--creme); box-shadow: inset 0 0 0 1.5px var(--encre); }
.choix input:disabled { cursor: not-allowed; }
.choix input:disabled + span { opacity: .45; }
.compte { margin: 0; font-weight: 700; font-size: .92rem; }
.choix input:focus-visible + span { outline: 3px solid var(--ciel); outline-offset: 3px; }
.depot { border: 3px dashed var(--encre-douce); border-radius: 16px; background: var(--creme); padding: 22px 16px; text-align: center; display: grid; gap: 10px; justify-items: center; cursor: pointer; }
.depot:hover, .depot.survol { border-color: var(--corail); background: #FFF1E6; }
.depot svg { width: 44px; height: 44px; }
.depot b { font-size: 1.05rem; }
.photo-choisie { display: flex; align-items: center; gap: 14px; }
.photo-choisie img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; border: 2px solid var(--encre); flex: none; }
.lien-bouton { background: none; border: 0; padding: 10px 4px; text-decoration: underline; cursor: pointer; font-weight: 600; }
.conseils { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; font-size: .9rem; }
.conseils li { padding-left: 24px; position: relative; }
.conseils li::before { position: absolute; left: 0; font-weight: 800; }
.conseils .oui::before { content: "✓"; color: var(--menthe); }
.conseils .non::before { content: "✕"; color: var(--corail); }
.case { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; line-height: 1.4; cursor: pointer; padding: 6px 0; }
.case input { width: 24px; height: 24px; flex: none; margin: 0; accent-color: var(--encre); }
.recap { background: var(--creme); border-radius: 14px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 700; }
.recap b { font: 400 1.7rem/1 var(--titre); }
.demo { background: #FFF1B8; border: 2px solid var(--encre); border-radius: 12px; padding: 10px 14px; font-size: .92rem; font-weight: 600; }
.atelier .bouton { width: 100%; }

@media (min-width: 620px) {
  .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exemples { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .confid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choix--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pied__grille { grid-template-columns: 1.4fr 1fr 1fr; }
  .actions .bouton { flex: 0 1 auto; }
}
@media (min-width: 940px) {
  .nav { display: flex; }
  .menu { display: none; }
  .bande { padding-block: 84px; }
  .hero { padding-block: 56px 72px; }
  .hero__grille { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .etapes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .etapes li { padding: 74px 18px 20px; }
  .exemples { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .produit { grid-template-columns: .8fr 1.2fr; gap: 64px; }
  .deux { grid-template-columns: 1fr 1fr; gap: 64px; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { .bouton { transition: none; } }

/* Ajustements téléphone */
.entete .bouton { white-space: nowrap; }
.choix--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 479px) {
  .marque { font-size: 1.25rem; gap: 7px; }
  .marque svg { width: 30px; height: 30px; }
  .entete .bouton { font-size: .84rem; padding: 8px 10px; }
  .entete__droite { gap: 6px; }
}

/* Styles de dessin */
.styles { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.styles a { display: grid; gap: 4px; height: 100%; padding: 10px 10px 14px; background: #fff; border: 2px solid var(--encre); border-radius: 16px; text-decoration: none; text-align: center; }
.styles a:hover { box-shadow: 5px 5px 0 var(--soleil); transform: translate(-1px, -1px); }
.styles img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1.5px solid var(--trait); margin-bottom: 6px; }
.styles span { color: var(--encre-douce); font-size: .88rem; line-height: 1.3; }
.situations a { color: inherit; text-decoration: none; display: block; }
.situations a:hover, .situations a:focus-visible { text-decoration: underline; }
.choix-styles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.choix-styles label { position: relative; }
.choix-styles input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choix-styles span { display: grid; gap: 6px; height: 100%; padding: 6px 6px 9px; border: 2px solid var(--trait); border-radius: 12px; background: #fff; text-align: center; font-weight: 600; font-size: .86rem; line-height: 1.15; }
.choix-styles img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 7px; }
.choix-styles input:checked + span { border-color: var(--encre); background: var(--creme); box-shadow: inset 0 0 0 1.5px var(--encre); }
.choix-styles input:focus-visible + span { outline: 3px solid var(--ciel); outline-offset: 3px; }
@media (min-width: 620px) { .styles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 940px) { .styles { grid-template-columns: repeat(6, minmax(0, 1fr)); } .styles--cinq { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ==========================================================================
   Thème « monde d'enfant » : ciel pastel, formes rondes, ombres douces, mascottes crayons.
   Cette couche remplace l'ancien habillage à traits d'encre et ombres nettes.
   ========================================================================== */
:root {
  --encre: #2A2E5E;
  --encre-douce: #5D638A;
  --trait: #E4E8F7;
  --creme: #FFF6EA;
  --ciel-doux: #EAF5FF;
  --menthe-douce: #E8F8EF;
  --lilas-doux: #F3EEFF;
  --corail: #FF7A59;
  --corail-fonce: #C73E1D;
  --titre: "Fredoka", "Nunito", "Segoe UI", system-ui, sans-serif;
  --texte: "Nunito", "Segoe UI", system-ui, sans-serif;
  --ombre: 0 10px 30px rgba(62, 78, 150, .13);
  --ombre-forte: 0 16px 40px rgba(62, 78, 150, .2);
  --rond: 26px;
}
body { font-weight: 500; }
h1 { font: 600 clamp(2rem, 7.2vw, 3.5rem)/1.08 var(--titre); letter-spacing: 0; }
h2 { font: 600 clamp(1.6rem, 5.2vw, 2.4rem)/1.12 var(--titre); }
h3 { font: 600 1.2rem/1.25 var(--titre); }
.surtitre { display: inline-block; font: 700 1.3rem/1 var(--main); color: var(--corail-fonce); background: #fff; padding: 7px 16px 8px; border-radius: 999px; box-shadow: var(--ombre); margin-bottom: 14px; }
.sous { font-weight: 500; }

/* Boutons : pastilles rebondies */
.bouton { border: 0; border-radius: 999px; min-height: 56px; padding: 14px 28px; color: #2A1206; background: linear-gradient(180deg, #FFA07F, #FF7A59); box-shadow: 0 6px 0 #E2603F, 0 14px 24px rgba(255, 122, 89, .35); transition: transform .15s ease, box-shadow .15s ease; }
.bouton:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #E2603F, 0 18px 28px rgba(255, 122, 89, .4); }
.bouton:active { transform: translateY(4px); box-shadow: 0 2px 0 #E2603F, 0 6px 12px rgba(255, 122, 89, .3); }
.bouton--clair { background: #fff; color: var(--encre); box-shadow: 0 6px 0 #D9DEF2, var(--ombre); }
.bouton--clair:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 8px 0 #D9DEF2, var(--ombre-forte); }
.bouton--clair:active { transform: translateY(4px); box-shadow: 0 2px 0 #D9DEF2; }
.entete .bouton { box-shadow: 0 4px 0 #E2603F; min-height: 44px; }

/* Annonce et en-tête */
.annonce { background: #FFE69A; color: var(--encre); }
.annonce b { color: var(--corail-fonce); }
.barre { border-bottom: 0; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); box-shadow: 0 4px 20px rgba(62, 78, 150, .08); }
.marque { font: 600 1.55rem/1 var(--titre); }
.marque span span { color: var(--corail); }
.nav a:hover, .nav a[aria-current=page] { text-decoration-color: var(--corail); }
.menu summary { border: 0; background: var(--ciel-doux); border-radius: 16px; }
.menu[open] nav { border: 0; border-radius: 20px; box-shadow: var(--ombre-forte); }
.menu nav a:hover { background: var(--ciel-doux); }

/* Bandes pastel aux coins arrondis */
.bande--creme { background: var(--creme); }
.bande--ciel { background: var(--ciel-doux); }
.bande--menthe { background: var(--menthe-douce); }
.bande--lilas { background: var(--lilas-doux); }
.bande--encre { background: linear-gradient(160deg, #3A3F8F, #2A2E5E); border-radius: 40px; margin: 0 10px; }
.pointille { display: none; }

/* Héro plein écran : la scène illustrée derrière, le texte dans le ciel */
.hero { position: relative; padding: 0; background: #CFE6FB; overflow: hidden; isolation: isolate; }
.hero__fond { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; object-position: 50% 100%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 46% at 50% 30%, rgba(255, 255, 255, .78), rgba(255, 255, 255, 0) 72%); }
.hero__contenu { text-align: center; padding-block: 34px 104vw; max-width: 46rem; }
.hero__contenu .sous { margin-inline: auto; color: #3F4570; font-weight: 600; }
.hero .actions { justify-content: center; }
.garanties { justify-content: center; gap: 8px; margin-top: 22px; }
.garanties li { background: #fff; color: var(--encre); padding: 6px 14px; border-radius: 999px; box-shadow: var(--ombre); }
.souligne { background-size: 100% .3em; }

/* Cartes : blanches, rondes, ombre douce */
.avap { border: 6px solid #fff; border-radius: var(--rond); box-shadow: var(--ombre-forte); }
.avap__barre { background: #fff; width: 6px; margin-left: -3px; }
.avap__barre::after { border: 0; box-shadow: var(--ombre); color: var(--corail-fonce); }
.avap__etiq { border: 0; box-shadow: var(--ombre); }
.etapes li { border: 0; border-radius: var(--rond); box-shadow: var(--ombre); }
.etapes li::before { border: 0; font: 600 1.5rem/1 var(--titre); border-radius: 50%; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .08); }
.exemple { border: 0; border-radius: var(--rond); box-shadow: var(--ombre); padding: 14px; }
.exemple__paire img { border: 0; border-radius: 16px; }
.produit__visuel img { border: 6px solid #fff; border-radius: 20px; box-shadow: var(--ombre-forte); }
.prix b { font: 600 2.8rem/1 var(--titre); }
.prix span { border: 0; background: #FFE69A; }
.encart { background: #fff; border: 0; border-radius: 20px; box-shadow: var(--ombre); }
.scene img { border: 6px solid #fff; border-radius: var(--rond); box-shadow: var(--ombre-forte); }
.phrases li { border: 0; box-shadow: var(--ombre); padding: 12px 20px; }
.confid li { border: 0; background: rgba(255, 255, 255, .1); border-radius: 20px; }
.confid b { color: #FFD76A; }
.faq details { border: 0; border-radius: 20px; box-shadow: var(--ombre); }
.faq details[open] { box-shadow: var(--ombre-forte); }
.faq summary::after { font: 600 1.7rem/1.3 var(--titre); }
.styles a { border: 0; border-radius: var(--rond); box-shadow: var(--ombre); padding: 12px 12px 16px; transition: transform .15s ease, box-shadow .15s ease; }
.styles a:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: var(--ombre-forte); }
.styles img { border: 0; border-radius: 16px; }
.styles b { font-family: var(--titre); font-weight: 600; }

/* Mascottes */
.mascotte { width: 92px; margin: 0 auto 6px; filter: drop-shadow(0 8px 10px rgba(62, 78, 150, .18)); }
.mascottes { width: min(100%, 420px); margin: 0 auto 6px; }
.final { background: #fff; }
.pied { background: var(--ciel-doux); border-top: 0; border-radius: 40px 40px 0 0; }
.pied__bas { border-top-color: #CFDDF2; }
.page-tete { background: linear-gradient(180deg, var(--ciel-doux), #fff); }

/* Formulaire */
.bloc { border: 0; border-radius: var(--rond); box-shadow: var(--ombre); padding: 20px; }
.bloc > h2 { font: 600 1.4rem/1.15 var(--titre); }
.bloc > h2 i { border: 0; }
.champ input[type=text], .champ input[type=email], .champ select, .champ textarea { border-radius: 16px; border-color: var(--trait); }
.choix span { border-radius: 16px; border-color: var(--trait); }
.choix input:checked + span, .choix-styles input:checked + span { border-color: var(--corail); background: #FFF1EC; box-shadow: inset 0 0 0 1.5px var(--corail); }
.choix-styles span { border-radius: 16px; border-color: var(--trait); }
.choix-styles img { border-radius: 10px; }
.depot { border-radius: 22px; border-color: #B9C6EA; background: var(--ciel-doux); }
.depot:hover, .depot.survol { background: #FFF1EC; }
.photo-choisie img { border: 4px solid #fff; border-radius: 16px; box-shadow: var(--ombre); }
.case input { accent-color: var(--corail); }
.recap { background: var(--ciel-doux); border-radius: 18px; }
.recap b { font: 600 1.7rem/1 var(--titre); }
.demo { border: 0; border-radius: 16px; background: #FFE69A; }

@media (min-width: 620px) {
  .hero__contenu { padding-block: 48px 62vw; }
}
@media (min-width: 940px) {
  .hero { min-height: min(760px, 66vw); display: grid; }
  .hero__contenu { padding-block: 70px 300px; align-self: start; }
  .hero__fond { object-position: 50% 100%; }
  .bande--encre { margin: 0 24px; }
  .mascotte { width: 110px; }
}
@media (prefers-reduced-motion: reduce) { .bouton, .styles a { transition: none; } .styles a:hover { transform: none; } }

/* Clin d'œil du chaton de l'accueil, toutes les 5 secondes : un calque ne contenant que son regard est superposé à la scène.
   Sur téléphone le calque montre les yeux fermés (affiché un instant) ; sur grand écran il montre les yeux ouverts (masqué un instant). */
.hero__clin { opacity: 0; animation: clin-ferme 5s step-end infinite; }
@keyframes clin-ferme { 0%, 100% { opacity: 0; } 96% { opacity: 1; } 99.4% { opacity: 0; } }
@keyframes clin-ouvert { 0%, 100% { opacity: 1; } 96% { opacity: 0; } 99.4% { opacity: 1; } }
@media (min-width: 940px) { .hero__clin { opacity: 1; animation-name: clin-ouvert; } }
@media (prefers-reduced-motion: reduce) { .hero__clin { animation: none; } }

/* Formules */
.formules { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 20px; align-items: stretch; }
.formule { background: #fff; border-radius: var(--rond); box-shadow: var(--ombre); padding: 26px 22px 24px; display: grid; gap: 6px; align-content: start; text-align: center; position: relative; }
.formule--conseil { box-shadow: 0 0 0 3px var(--corail), var(--ombre-forte); }
.formule__accroche { font: 700 1.2rem/1 var(--main); color: var(--corail-fonce); }
.formule h3 { font-size: 1.6rem; }
.formule__prix { font: 600 2.5rem/1.1 var(--titre); }
.formule .liste-coche { text-align: left; margin: 12px 0 18px; font-size: .98rem; }
.formule .bouton { margin-top: auto; }
.choix--offres span { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 86px; }
.choix--offres b { font-family: var(--titre); font-weight: 600; font-size: 1.05rem; }
.choix--offres em { font-style: normal; font-weight: 800; color: var(--corail-fonce); }
.choix--offres small { font-size: .78rem; line-height: 1.2; color: var(--encre-douce); }
.champ input[type=file] { width: 100%; padding: 12px; border: 2px dashed #B9C6EA; border-radius: 16px; background: var(--ciel-doux); }
@media (min-width: 800px) { .formules { grid-template-columns: repeat(3, minmax(0, 1fr)); } .formule--conseil { transform: translateY(-10px); } }

/* Choix de la situation, coloriage par coloriage */
.pages-choix { display: grid; gap: 10px; }
.page-choix { display: grid; grid-template-columns: 6.6rem minmax(0, 1fr); gap: 8px 10px; align-items: center; }
.page-choix label { font-weight: 700; font-size: .95rem; }
.page-choix select, .page-choix input { width: 100%; min-height: 50px; border: 2px solid var(--trait); border-radius: 16px; padding: 10px 12px; background: #fff; font-size: 1rem; }
.page-choix input { grid-column: 2; }
.page-choix :is(select, input):hover { border-color: var(--encre-douce); }

/* Nom de marque long */
.marque { white-space: nowrap; }
@media (max-width: 479px) {
  .marque { font-size: 1.05rem; gap: 6px; }
  .marque svg { width: 28px; height: 28px; }
  .entete .bouton { font-size: .8rem; padding: 8px 10px; }
}
/* Sur téléphone, le bouton de l'en-tête laisse la place au nom : le même bouton est juste en dessous, dans l'accueil. */
@media (max-width: 439px) { .entete .bouton { display: none; } .marque { font-size: 1.2rem; } }
