/*! sylviane-cours-particuliers.fr : feuille unique du site (07/10/26, v3 « salle de classe »).
    Charte tiree du portrait de Sylviane (bleu canard du foulard, creme, sable) et des objets de la classe :
    cahier a grands carreaux, encre rouge de correction, surligneur, fiches bristol, tableau vert.
    Boutons verts (regle du reseau). Une seule police telechargee : Caveat, manuscrite, auto-hebergee. */

/* 0. POLICE MANUSCRITE (sous-ensemble francais, 41 Ko) */
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/caveat-600.woff2") format("woff2"); }

/* 1. JETONS */
:root {
  --teal: #0F5C78; --teal-d: #0A3E52; --teal-l: #E3F0F4;
  --paper: #FDFBF5; --cream: #FBF7F1; --sand: #F1E8DC; --white: #FFFFFF;
  --ink: #16232B; --muted: #4A5A63; --line: #E4DCD0;
  --red: #C8372D; --margin: rgba(214,80,80,.5);
  --hl: #FFE070;
  --rule: rgba(64,120,180,.22); --rule-l: rgba(64,120,180,.09);
  --board: #263F36; --chalk: #F4F1E6; --chalk-y: #F2E3A0;
  --tape: rgba(250,226,140,.8);
  --go: #1E7F47; --go-l: #27A05A;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --r: 16px; --wrap: 1080px;
}

/* 2. BASE */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--cream); color: var(--muted); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--serif); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(32px, 4.4vw, 50px); }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: 19px; }
p { margin: 0; }
strong, b { color: var(--ink); font-weight: 650; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; padding: 10px 14px; background: #fff; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* 3. ECRITURE DE LA PROF : annotation a l'encre rouge, surligneur, ruban adhesif */
.hand { display: inline-block; margin-bottom: 12px; font: 600 28px/1.1 var(--hand); color: var(--red);
  text-decoration: underline wavy rgba(200,55,45,.45); text-decoration-thickness: 1.5px; text-underline-offset: 7px; }
.sec-dark .hand { color: var(--chalk-y); text-decoration-color: rgba(242,227,160,.45); }
.hl { color: inherit; padding: 0 .06em; white-space: nowrap; background: linear-gradient(transparent 56%, var(--hl) 56%, var(--hl) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.polaroid::before, .prof-card::before, .card::before { content: ""; position: absolute; top: -13px; left: 50%; width: 112px; height: 28px;
  margin-left: -56px; background: var(--tape); transform: rotate(-3deg); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.card::before { width: 64px; margin-left: -32px; transform: rotate(4deg); }
.card:nth-child(even)::before { transform: rotate(-4deg); }

/* 4. BOUTONS (verts sur tout le reseau) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px;
  font: 650 16px/1 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-go { background-color: var(--go); background-image: linear-gradient(135deg, var(--go), var(--go-l)); color: #fff; box-shadow: 0 10px 24px -12px rgba(39,160,90,.75); }
.btn-line { border-color: var(--teal); color: var(--teal); background: #fff; }
.btn-line:hover { background: var(--teal-l); }

/* 5. EN-TETE : papier, crayon et signature, double ligne de cahier (rouge puis bleue) */
.top { position: sticky; top: 0; z-index: 50; background: rgba(253,251,245,.97); border-bottom: 2px solid var(--margin); }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: rgba(64,120,180,.35); }
.top-in { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand-pencil { flex: none; width: 44px; height: 44px; transition: transform .3s; }
.brand:hover .brand-pencil { transform: rotate(-12deg) translateY(-2px); }
.brand-txt { display: flex; flex-direction: column; }
.brand-txt b { font: 600 33px/.85 var(--hand); color: var(--ink); }
.brand-txt em { margin-top: 3px; font: 700 10.5px/1 var(--sans); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { padding: 2px 1px; color: var(--ink); text-decoration: none; font: 500 15.5px/1.3 var(--sans);
  background: linear-gradient(transparent 58%, var(--hl) 58%, var(--hl) 92%, transparent 92%) no-repeat 0 0 / 0 100%; transition: background-size .25s ease-out; }
.nav a:hover, .nav a:focus-visible { background-size: 100% 100%; }
.top-cta { min-height: 44px; padding: 0 20px; font-size: 15px; }
.burger { display: none; width: 46px; height: 46px; margin-left: auto; border: 1.5px solid var(--ink); border-radius: 10px; background: #fff;
  padding: 0 11px; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; box-shadow: 2px 2px 0 var(--ink); }
.burger span { display: block; height: 2px; border-radius: 2px; background: var(--ink); }
.burger span:nth-child(2) { background: var(--red); }
.mnav { position: relative; display: flex; flex-direction: column; padding: 6px 20px 22px 58px; background-color: var(--paper);
  background-image: linear-gradient(var(--rule-l) 1px, transparent 1px); background-size: 100% 12px; border-top: 1px solid var(--line); }
.mnav::before { content: ""; position: absolute; top: 0; bottom: 0; left: 38px; width: 2px; background: var(--margin); }
.mnav[hidden] { display: none; }
.mnav a:not(.btn) { padding: 10px 0; color: var(--ink); text-decoration: none; font: 600 29px/1.1 var(--hand); border-bottom: 1px solid var(--rule); }
.mnav a i { font-style: normal; color: var(--red); margin-right: 4px; }
.mnav .btn { margin-top: 18px; }

/* 6. HERO : page de cahier a grands carreaux, marge rouge */
.hero { position: relative; padding: 64px 0 52px; background-color: var(--paper);
  background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(var(--rule-l) 1px, transparent 1px), linear-gradient(90deg, var(--rule-l) 1px, transparent 1px);
  background-size: 32px 32px, 8px 8px, 32px 32px; }
.hero::before { content: ""; position: absolute; top: 0; bottom: 0; left: max(10px, calc(50% - 566px)); width: 2px; background: var(--margin); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: center; }
.kicker { margin-bottom: 12px; font: 600 28px/1.15 var(--hand); color: var(--red); }
.lead { margin: 22px 0 30px; font-size: 18px; max-width: 600px; }
.lead a, .faq-i p a, .sh p a { color: inherit; text-decoration: underline; text-decoration-color: var(--margin); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.lead a:hover, .faq-i p a:hover, .sh p a:hover { color: var(--teal); }
.sec-dark .sh p a:hover { color: #fff; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.prix-note { margin-top: 14px; font: 600 25px/1.2 var(--hand); color: var(--red); }
.polaroid { position: relative; margin: 0; justify-self: end; width: 100%; max-width: 340px; padding: 14px 14px 0; background: #fff;
  box-shadow: 0 1px 3px rgba(22,35,43,.1), 0 30px 50px -28px rgba(22,35,43,.55); transform: rotate(-2deg); }
.polaroid img, .polaroid .mono { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.polaroid .mono { display: grid; place-items: center; background: linear-gradient(160deg, var(--teal), var(--teal-d)); color: #fff; font: 700 140px/1 var(--serif); }
.polaroid figcaption { padding: 10px 4px 14px; text-align: center; font: 600 30px/1.1 var(--hand); color: var(--ink); }

/* 7. POST-IT DU HERO */
.badges { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.badge { display: flex; align-items: center; gap: 12px; padding: 18px 16px; border-radius: 2px 2px 18px 2px; background: #FFF2A8; color: var(--ink);
  box-shadow: 0 12px 18px -14px rgba(22,35,43,.55); }
.badge:nth-child(2) { background: #FFDCE4; }
.badge:nth-child(3) { background: #D6EDF6; }
.badge:nth-child(4) { background: #DCF1D6; }
.badge span { display: flex; flex-direction: column; line-height: 1.3; }
.badge b { font-size: 15.5px; }
.badge em { font-style: normal; font-size: 13.5px; color: #3D4C55; }

/* 8. SOMMAIRE : page de garde avec marge rouge, parties en chiffres romains */
.toc { position: relative; margin-top: 32px; padding: 16px 22px 16px 54px; background: #fff; border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 12px 24px -22px rgba(22,35,43,.5); }
.toc::before { content: ""; position: absolute; top: 0; bottom: 0; left: 36px; width: 2px; background: var(--margin); }
.toc-t { margin-bottom: 6px; font: 600 26px/1 var(--hand); color: var(--red); }
.toc ol { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { color: var(--ink); text-decoration: none; font-size: 15px; }
.toc a::before { content: counter(toc, upper-roman) ". "; color: var(--red); font-weight: 700; }
.toc a:hover { color: var(--teal); text-decoration: underline; }

/* 9. SECTIONS : jamais deux fonds identiques a la suite */
.sec { position: relative; padding: 88px 0; }
.sec-white { background: var(--white); }
.sec-sand { background: var(--sand); }
.sec-dark { color: #D6E6EC; }
.sec-dark h2, .sec-dark h3, .sec-dark b, .sec-dark strong { color: #fff; }
.sec-teal { background: var(--teal-d); }
.sec-copy { background-color: var(--white); background-image: linear-gradient(var(--rule-l) 1px, transparent 1px); background-size: 100% 32px; }
.sec-copy .narrow { position: relative; }
.sec-copy .narrow::before { content: ""; position: absolute; top: -20px; bottom: -20px; left: -34px; width: 2px; background: var(--margin); }
.sh { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.sh p, .split-txt > p, .narrow > p { margin-top: 16px; }

/* 10. LA PROFESSEURE : fiche epinglee et tampon */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: center; }
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex: none; margin-top: 1px; width: 26px; height: 26px; color: var(--red); stroke-width: 2.6; }
.checks-2 { grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.prof-card { position: relative; padding: 36px 30px 30px; border-radius: 6px; background: #fff; border: 1px solid var(--line); text-align: center;
  box-shadow: 0 20px 36px -26px rgba(22,35,43,.55); }
.prof-av { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 8px 20px -10px rgba(10,62,82,.5); }
.prof-av-mono { display: grid; place-items: center; background: var(--teal); color: #fff; font: 700 36px/1 var(--serif); }
.prof-name { font: 600 34px/1 var(--hand); color: var(--ink); }
.prof-role { margin-top: 6px; font-size: 14.5px; }
.prof-facts { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 2px dashed var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.prof-facts b { display: block; font: 600 40px/1 var(--hand); color: var(--red); }
.prof-facts span { font-size: 13.5px; line-height: 1.35; }
.stamp { position: absolute; top: -26px; right: -22px; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%;
  border: 3px solid var(--red); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 6px var(--red); background: rgba(255,255,255,.85);
  color: var(--red); font: 800 10.5px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-align: center; transform: rotate(-14deg); }
.stamp b { display: block; margin: 2px 0; font-size: 19px; letter-spacing: .06em; color: inherit; }

/* 11. MATIERES : fiches bristol lignees */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.card { position: relative; display: flex; flex-direction: column; padding: 24px 20px 18px; border-radius: 4px; background: #fff; border: 1px solid #E6E0D4;
  box-shadow: 0 18px 30px -24px rgba(22,35,43,.6); }
.card-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 12px; background: var(--teal-l); color: var(--teal); }
.card h3 { padding-bottom: 10px; border-bottom: 2px solid var(--margin); }
.card p { flex: 1; margin-top: 4px; font-size: 15.5px; line-height: 27px; background: repeating-linear-gradient(transparent 0 26px, var(--rule) 26px 27px); }

/* 12. NIVEAUX : tableau vert, craie, rebord en bois */
.sec-board { background: radial-gradient(55% 45% at 18% 28%, rgba(255,255,255,.06), transparent 70%), radial-gradient(45% 40% at 82% 72%, rgba(255,255,255,.05), transparent 70%), var(--board);
  border-style: solid; border-width: 14px 0; border-image: linear-gradient(180deg, #AC7849, #7C4E2B) 1; box-shadow: inset 0 0 90px rgba(0,0,0,.35); }
.sec-board h2 { color: var(--chalk); text-shadow: 0 0 1px rgba(255,255,255,.55), 0 0 14px rgba(255,255,255,.08); }
.sec-board::after { content: ""; position: absolute; right: 16%; bottom: 0; width: 54px; height: 9px; border-radius: 5px; background: var(--chalk); box-shadow: 0 -1px 0 rgba(0,0,0,.15) inset; }
.sec-board::before { content: ""; position: absolute; right: calc(16% + 80px); bottom: 0; width: 76px; height: 18px; border-radius: 3px; background: linear-gradient(#8C5A33 0 55%, #3A3A3A 55%); }
.levels { width: 100%; border-collapse: collapse; }
.levels th, .levels td { padding: 18px 20px; text-align: left; border-bottom: 2px dashed rgba(244,241,230,.22); font-size: 16px; color: #DCE7E0; }
.levels thead th { padding-top: 0; font: 600 26px/1 var(--hand); color: var(--chalk-y); border-bottom: 2px solid rgba(244,241,230,.4); }
.levels tbody th { font: 600 36px/1 var(--hand); color: var(--chalk); white-space: nowrap; }
.levels tbody td:nth-of-type(1) { color: var(--chalk-y); font-weight: 600; white-space: nowrap; }
.levels tr:last-child > * { border-bottom: 0; }
.levels .prix { white-space: nowrap; color: #DCE7E0; }
.levels .prix b { font: 600 34px/1 var(--hand); color: var(--chalk-y); }

/* 13. DEROULEMENT : numeros entoures au stylo rouge */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.step { padding: 26px 22px; border-radius: 6px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 30px -26px rgba(22,35,43,.5); }
.step-n { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 14px; border: 2.5px solid var(--red);
  border-radius: 52% 46% 55% 44% / 47% 55% 45% 53%; color: var(--red); font: 600 34px/1 var(--hand); transform: rotate(-6deg); }
.step p { margin-top: 8px; font-size: 15.5px; }

/* 14. COMMUNES */
.towns { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.towns li { border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); transition: background .2s; }
.towns li:hover { background: rgba(255,255,255,.14); }
.towns a { display: flex; align-items: center; gap: 10px; height: 100%; padding: 16px 18px; color: #fff; font-weight: 600; text-decoration: none; }
.towns svg { flex: none; color: #F6C9A9; }
.towns span { display: flex; flex-direction: column; line-height: 1.25; }
.towns em { font-style: normal; font-weight: 400; font-size: 13px; color: #B9D0D9; }
.note { margin-top: 30px; text-align: center; font: 600 27px/1.25 var(--hand); color: var(--chalk-y); }

/* 15. QUESTIONS FREQUENTES */
.faq { display: grid; gap: 12px; }
.faq-i { border-radius: 6px 14px 14px 6px; background: var(--cream); border: 1px solid var(--line); border-left: 3px solid var(--margin); }
.faq-i summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i h3 { font: 650 17px/1.4 var(--sans); }
.faq-pm { position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--teal); }
.faq-pm::before, .faq-pm::after { content: ""; position: absolute; left: 7px; right: 7px; top: 12px; height: 2px; background: #fff; }
.faq-pm::after { transform: rotate(90deg); transition: transform .2s; }
.faq-i[open] .faq-pm::after { transform: rotate(0); }
.faq-i p { padding: 0 22px 20px; font-size: 16px; }

/* 16. CONTACT : SMS direct, puis feuille de classeur perforee */
.sms-box { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 26px; text-align: center; }
.sms-box p { font-size: 15.5px; }
.sms-box b { font-size: 17px; letter-spacing: .02em; }
.form { position: relative; display: grid; gap: 16px; padding: 32px 32px 32px 76px; border-radius: 6px; background-color: #fff;
  background-image: linear-gradient(90deg, transparent 52px, var(--margin) 52px, var(--margin) 54px, transparent 54px);
  box-shadow: 0 22px 40px -30px rgba(22,35,43,.55); }
.form::before { content: ""; position: absolute; top: 40px; bottom: 40px; left: 17px; width: 16px;
  background: radial-gradient(circle at 8px 8px, var(--sand) 6.5px, #D9CDBB 7px, transparent 7.5px) 0 0 / 16px 72px repeat-y; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea { width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid #CFC4B4; background: var(--paper); color: var(--ink); font: 400 16px var(--sans); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.f-note { font-size: 13.5px; }
.form-ok, .form-ko { margin-bottom: 16px; padding: 14px 18px; border-radius: 12px; font-weight: 600; }
.form-ok { background: #E3F4EA; color: #14592F; }
.form-ko { background: #FBE6E6; color: #8A1F1F; }

/* 17. PAGES COMMUNES : etablissements, carte Google Maps, communes voisines */
.hl-free { white-space: normal; }
.hero .crumbs { margin-bottom: 14px; color: var(--muted); }
.schools { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.schools li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 8px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 14px 26px -24px rgba(22,35,43,.55); }
.sc-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal-l); color: var(--teal); }
.schools span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.schools em { font-style: normal; font-size: 14px; }
.map { border: 6px solid #fff; border-radius: 14px; overflow: hidden; background: #DCE6EA; box-shadow: 0 30px 50px -30px rgba(0,0,0,.6); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }
.near-t { margin-top: 30px; text-align: center; font: 600 26px/1.2 var(--hand); color: var(--chalk-y); }
.near { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.near a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; }
.near a:hover { background: rgba(255,255,255,.16); }
.near svg { color: #F6C9A9; }

/* 17 ter. PAGES MATIERES : tickets de tarif, pastilles, liens de suite */
.tickets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 270px)); justify-content: center; gap: 24px; }
.ticket { display: flex; flex-direction: column; align-items: center; padding: 26px 18px 22px; border-radius: 10px; background: #fff;
  border: 2px dashed var(--margin); box-shadow: 0 18px 30px -26px rgba(22,35,43,.6); text-align: center; }
.ticket span { font-weight: 650; color: var(--ink); }
.ticket b { margin: 8px 0 2px; font: 600 58px/1 var(--hand); color: var(--red); }
.ticket em { font-style: normal; font-size: 14px; }
.pills { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pills a { display: inline-block; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
  color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.pills a:hover { background: var(--hl); }
.card h3 a, .checks b a { color: inherit; text-decoration: underline; text-decoration-color: var(--margin); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.card h3 a:hover, .checks b a:hover { color: var(--teal); }
.more { margin-top: 26px; }
.more a { font: 600 26px/1.2 var(--hand); color: var(--red); text-decoration: none; }
.more a:hover { text-decoration: underline wavy; }
.more svg { vertical-align: -2px; }

/* 17 bis. MENTIONS LEGALES */
.legal h1 { margin: 14px 0 26px; }
.legal h2 { margin: 30px 0 10px; font-size: 24px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; }
.crumbs a { color: var(--teal); }

/* 18. PIED DE PAGE : couverture toilee de cahier et etiquette remplie a la main */
.foot { padding: 64px 0 28px; color: #C9DAE1;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.028) 0 2px, transparent 2px 7px), repeating-linear-gradient(-45deg, rgba(0,0,0,.05) 0 2px, transparent 2px 7px), var(--teal-d); }
.foot-in { display: grid; grid-template-columns: 1.15fr 1fr .7fr .8fr; gap: 40px; align-items: start; }
.etiquette { display: block; max-width: 370px; padding: 18px 24px 16px; border-radius: 20px; background: #FFFDF6; color: var(--ink); text-decoration: none;
  box-shadow: inset 0 0 0 4px #FFFDF6, inset 0 0 0 6px var(--teal), inset 0 0 0 7px #FFFDF6, 0 22px 34px -22px rgba(0,0,0,.7); transform: rotate(-1.5deg); }
.eti-nom { display: block; padding-bottom: 6px; margin-bottom: 6px; text-align: center; font: 600 42px/1 var(--hand); color: var(--teal-d); border-bottom: 2px solid var(--margin); }
.eti-l { display: flex; align-items: baseline; gap: 10px; padding: 5px 0 3px; border-bottom: 1px dotted #9DB0BA; }
.eti-l:last-child { border-bottom: 0; }
.eti-l span { flex: none; width: 66px; font: 700 10.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.eti-l b { font: 600 21px/1.15 var(--hand); color: var(--ink); }
.foot-t { margin-bottom: 12px; font: 600 30px/1 var(--hand); color: var(--chalk-y); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 15px; }
.foot-2 { grid-template-columns: 1fr; }
.foot a:not(.etiquette) { color: #E4EEF2; text-decoration: none; }
.foot a:not(.etiquette):hover { color: #fff; text-decoration: underline wavy rgba(242,227,160,.7); text-underline-offset: 5px; }
.foot-base { margin-top: 44px; padding-top: 20px; border-top: 1px dashed rgba(255,255,255,.22); font-size: 13.5px; text-align: center; }
.foot-base a { color: #fff !important; text-decoration: underline !important; text-underline-offset: 3px; }

/* 19. TABLETTE */
@media (max-width: 980px) {
  .nav, .top-cta { display: none; }
  .burger { display: flex; }
  .steps, .towns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .etiquette { margin: 0 auto; }
}

/* 20. MOBILE */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .top-in { height: 66px; }
  .brand-pencil { width: 38px; height: 38px; }
  .brand-txt b { font-size: 29px; }
  .hero { padding: 36px 0 32px; }
  .hero::before { left: 9px; }
  .hero-in, .split { grid-template-columns: 1fr; gap: 30px; }
  .polaroid { justify-self: center; max-width: 200px; padding: 10px 10px 0; order: -1; }
  .polaroid .mono { font-size: 90px; }
  .polaroid figcaption { padding: 6px 4px 10px; font-size: 24px; }
  .kicker { font-size: 25px; }
  .lead { font-size: 16.5px; margin: 16px 0 22px; }
  .ctas .btn { flex: 1 1 100%; }
  .badges { gap: 12px; margin-top: 30px; }
  .badge { padding: 13px 12px; gap: 10px; }
  .toc { padding-left: 42px; }
  .toc::before { left: 26px; }
  .sec { padding: 64px 0; }
  .sec-copy .narrow::before { left: -11px; }
  .hand { font-size: 25px; }
  .stamp { top: -22px; right: -6px; width: 84px; height: 84px; font-size: 9.5px; }
  .stamp b { font-size: 16px; }
  .checks-2, .f-row, .f-row-3 { grid-template-columns: 1fr; }
  .cards, .steps { grid-template-columns: 1fr; gap: 26px; }
  .towns { grid-template-columns: 1fr 1fr; }
  .towns a { padding: 12px; font-size: 14.5px; }
  .levels, .levels tbody, .levels tr, .levels th, .levels td { display: block; }
  .levels thead { display: none; }
  .levels tr { padding: 16px 4px; border-bottom: 2px dashed rgba(244,241,230,.22); }
  .levels tr:last-child { border-bottom: 0; }
  .levels th, .levels td { padding: 0; border: 0; font-size: 15px; }
  .levels tbody th { display: inline; font-size: 32px; }
  .levels tbody td:nth-of-type(1) { display: inline; margin-left: 10px; font-size: 14px; }
  .levels tbody td:nth-of-type(2) { margin-top: 6px; }
  .levels .prix { margin-top: 8px; }
  .prix-note { font-size: 22px; text-align: center; }
  .sec-board::before { right: calc(10% + 70px); }
  .sec-board::after { right: 10%; }
  .form { padding: 22px 18px 22px 50px; background-image: linear-gradient(90deg, transparent 36px, var(--margin) 36px, var(--margin) 38px, transparent 38px); }
  .form::before { left: 10px; width: 14px; background-size: 14px 64px; background-image: radial-gradient(circle at 7px 7px, var(--sand) 5.5px, #D9CDBB 6px, transparent 6.5px); }
  .form .btn { justify-self: stretch; }
  .schools { grid-template-columns: 1fr; }
  .tickets { gap: 12px; }
  .ticket b { font-size: 46px; }
  .map iframe { height: 340px; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-2 { grid-template-columns: 1fr 1fr; column-gap: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
