/* Marmotoons — site vitrine. Aucune dépendance ; polices servies par ce site (aucun appel à Google). */
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("fonts/fredoka-latin.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url("fonts/nunito-latin.woff2") format("woff2"); }
:root {
  --nuit: #1d2440;
  --nuit-2: #2b3561;
  --neige: #f8f5ef;
  --papier: #ffffff;
  --encre: #22263a;
  --gris: #5d6178;
  --brun: #8a5a3b;
  --soleil: #f2a03d;
  --soleil-fonce: #b86a0c;
  --ligne: #e6e0d4;
  --rayon: 18px;
  --ombre: 0 6px 24px rgba(29, 36, 64, .08);
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--neige);
  color: var(--encre);
  font: 17px/1.6 "Nunito", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Fredoka", "Nunito", system-ui, sans-serif; line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--soleil-fonce); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid var(--soleil); outline-offset: 3px; border-radius: 6px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 5; background: rgba(248, 245, 239, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ligne); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--nuit); font: 600 1.35rem "Fredoka", sans-serif; }
.brand img { width: 38px; height: 38px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--encre); text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav a:hover { color: var(--soleil-fonce); }
.lang { border: 1.5px solid var(--ligne); border-radius: 999px; padding: 4px 12px; }
@media (max-width: 720px) { .nav a:not(.lang) { display: none; } }

/* Héros */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--nuit) 0%, var(--nuit-2) 70%, #4a5a8f 100%); color: #fff; padding: 88px 0 0; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: #dfe3f5; max-width: 34em; }
.hero .mascotte { width: min(300px, 70%); justify-self: center; filter: drop-shadow(0 12px 28px rgba(0,0,0,.35)); animation: flotte 5s ease-in-out infinite; }
@keyframes flotte { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero .mascotte { animation: none; } html { scroll-behavior: auto; } }
.montagnes { display: block; width: 100%; height: 140px; margin-top: 40px; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } .hero .mascotte { width: 180px; order: -1; } }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-plein { background: var(--soleil); color: var(--nuit); }
.btn-plein:hover { background: #f6b25f; }
.btn-ligne { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ligne:hover { background: rgba(255,255,255,.1); }

/* Sections */
section { padding: 84px 0; }
.intro { max-width: 46em; color: var(--gris); font-size: 1.08rem; }
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.chiffres div { background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 20px; }
.chiffres strong { display: block; font: 600 2rem "Fredoka", sans-serif; color: var(--nuit); }
.chiffres span { color: var(--gris); font-size: .95rem; }
@media (max-width: 720px) { .chiffres { grid-template-columns: repeat(2, 1fr); } }

/* Univers */
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 36px; }
.carte { position: relative; background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 26px 24px 22px; box-shadow: var(--ombre); display: flex; flex-direction: column; }
.carte::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; border-radius: var(--rayon) var(--rayon) 0 0; background: var(--c, var(--soleil)); }
.carte .lettre { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font: 600 1.3rem "Fredoka", sans-serif; color: #fff; background: var(--c, var(--soleil)); margin-bottom: 14px; }
.carte p { color: var(--gris); font-size: .98rem; flex: 1; }
.etiquettes { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.etiquettes span { font-size: .78rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--neige); color: var(--nuit); border: 1px solid var(--ligne); }
.carte a.lien { font-weight: 800; text-decoration: none; }
.carte a.lien:hover { text-decoration: underline; }
.bientot { font-weight: 800; color: var(--gris); font-size: .92rem; }

/* Services */
.sombre { background: var(--nuit); color: #fff; }
.sombre .intro { color: #c9cfe8; }
.offres { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 36px; }
.offre { border: 1px solid rgba(255,255,255,.14); border-radius: var(--rayon); padding: 22px; background: rgba(255,255,255,.04); }
.offre h3 { font-size: 1.1rem; }
.offre .prix { font: 600 1.25rem "Fredoka", sans-serif; color: var(--soleil); margin: 0; }
.offre p { color: #c9cfe8; font-size: .95rem; }

/* Méthode */
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; counter-reset: e; }
.etape { background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 24px; }
.etape::before { counter-increment: e; content: counter(e); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--soleil); color: var(--nuit); font: 600 1.1rem "Fredoka", sans-serif; margin-bottom: 12px; }
.etape p { color: var(--gris); margin: 0; }
@media (max-width: 820px) { .etapes { grid-template-columns: 1fr; } }

/* Contact */
.contact { text-align: center; }
.contact .intro { margin: 0 auto 24px; }
.contact .btn-plein { font-size: 1.05rem; }

footer { border-top: 1px solid var(--ligne); padding: 32px 0; color: var(--gris); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---------- Ajouts : héros, devises, offres, IA, FAQ, pages légales ---------- */
.eyebrow { display: inline-block; font-weight: 800; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--soleil); margin-bottom: 14px; }
.preuves { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; color: #c9cfe8; font-size: .95rem; }
.preuves li::before { content: "✓ "; color: var(--soleil); font-weight: 800; }

.devises { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); margin-top: 8px; }
.devises button { font: 800 .9rem "Nunito", sans-serif; color: #c9cfe8; background: transparent; border: 0; padding: 7px 16px; border-radius: 999px; cursor: pointer; }
.devises button[aria-pressed="true"] { background: var(--soleil); color: var(--nuit); }
.entete-offres { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; }
.offre { display: flex; flex-direction: column; }
.offre .prix { font-size: 1.6rem; line-height: 1.2; margin: 2px 0 2px; }
.offre .prix small { font: 700 .85rem "Nunito", sans-serif; color: #c9cfe8; }
.offre .delai { font-size: .85rem; font-weight: 800; color: #9fe0b9; margin: 0 0 10px; }
.offre ul { margin: 0 0 4px; padding-left: 18px; color: #c9cfe8; font-size: .92rem; }
.offre ul li { margin: 2px 0; }
.offre.vedette { border-color: var(--soleil); background: rgba(242,160,61,.08); position: relative; }
.offre.vedette::after { content: attr(data-badge); position: absolute; top: -11px; right: 16px; background: var(--soleil); color: var(--nuit); font: 800 .75rem "Nunito", sans-serif; padding: 3px 10px; border-radius: 999px; }
.note-prix { color: #9aa2c4; font-size: .88rem; margin-top: 20px; }

.ia { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.ia ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ia li { background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 16px 18px; }
.ia li strong { display: block; color: var(--nuit); margin-bottom: 2px; }
.ia li span { color: var(--gris); font-size: .96rem; }
@media (max-width: 820px) { .ia { grid-template-columns: 1fr; } }

.faq { max-width: 820px; }
.faq details { background: var(--papier); border: 1px solid var(--ligne); border-radius: 14px; padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 1.3rem "Fredoka", sans-serif; color: var(--soleil-fonce); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--gris); margin: 0 0 16px; }

footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: var(--gris); }
footer a:hover { color: var(--soleil-fonce); }

.legal { max-width: 760px; padding: 56px 20px 80px; margin: 0 auto; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal p, .legal li { color: #3b4058; }
.legal .maj { color: var(--gris); font-size: .9rem; margin-top: 2.5em; }
.retour { display: inline-block; margin-bottom: 20px; font-weight: 800; text-decoration: none; }
.erreur404 { text-align: center; padding: 100px 20px; }
.erreur404 img { width: 160px; margin: 0 auto 20px; }
