:root {
  --ink: #172c2b;
  --ink-soft: #48615d;
  --cream: #f5f1e6;
  --paper: #fffdf7;
  --white: #ffffff;
  --coral: #ff6b4a;
  --coral-dark: #e94f33;
  --yellow: #f8c84b;
  --mint: #a7d8c8;
  --blue: #255bff;
  --line: rgba(23, 44, 43, .14);
  --shadow: 0 24px 70px rgba(23, 44, 43, .12);
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, Avenir, "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::selection { color: var(--ink); background: var(--yellow); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
svg { display: block; }
em { font-family: var(--display); font-weight: 400; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: .7rem 1rem;
  color: white;
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.announcement {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .4rem 1rem;
  color: #fff;
  background: var(--ink);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.announcement__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 107, 74, .16);
}
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 4.5rem);
  background: rgba(245, 241, 230, .91);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -.04em;
}
.brand > span:last-child > span { color: var(--coral); }
.brand__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--cream);
  background: var(--coral);
  border-radius: 50% 50% 50% 14px;
  transform: rotate(-6deg);
}
.brand__mark svg { width: 28px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.2rem); font-size: .82rem; font-weight: 650; }
.main-nav > a:not(.button) { position: relative; }
.main-nav > a:not(.button)::after { content: ""; position: absolute; right: 0; bottom: -5px; left: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.main-nav > a:not(.button):hover::after { transform: scaleX(1); transform-origin: left; }
.menu-button { display: none; }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  padding: .8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.button:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.button--small { min-height: 40px; padding: .6rem 1rem; color: white; background: var(--ink); }
.button--primary { color: white; background: var(--coral); box-shadow: 0 10px 30px rgba(233, 79, 51, .22); }
.button--primary:hover { background: var(--coral-dark); box-shadow: 0 14px 34px rgba(233, 79, 51, .3); }
.button--dark { color: white; background: var(--ink); }
.button--ghost { border-color: var(--line); background: transparent; }
.button--light { color: var(--ink); background: var(--paper); }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 7.5rem) clamp(1.25rem, 7vw, 8rem) clamp(4rem, 7vw, 6.5rem);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, .85), transparent 32%),
    linear-gradient(135deg, #f6f2e8 0%, #ede9df 100%);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  right: -360px;
  top: -440px;
  border: 1px solid rgba(23, 44, 43, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 72px rgba(255,255,255,.12), 0 0 0 144px rgba(255,255,255,.08);
}
.hero__noise { position: absolute; inset: 0; pointer-events: none; opacity: .3; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E"); }
.hero__frame { position: relative; z-index: 2; min-width: 0; max-width: 1320px; margin: 0 auto; }
.hero__headline { min-width: 0; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); align-items: end; gap: clamp(2.5rem, 4vw, 4rem); }
.kicker { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.5rem; color: var(--coral); font-size: .7rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.kicker span { display: inline-grid; min-width: 24px; height: 24px; place-items: center; color: var(--cream); background: var(--coral); border-radius: 50%; font-size: .62rem; }
.kicker--dark { color: var(--ink); }
.kicker--dark span { color: white; background: var(--ink); }
.hero h1 { margin: 0; font-size: clamp(4.5rem, 7.8vw, 8.2rem); font-weight: 800; letter-spacing: -.082em; line-height: .82; animation: rise .7s ease both; }
.hero h1 em { display: inline-block; color: var(--coral); font-size: .88em; letter-spacing: -.055em; }
.hero__intro { max-width: 420px; padding-bottom: .35rem; animation: rise .7s .08s ease both; }
.hero__intro > p:first-child { margin: 0; color: var(--ink-soft); font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 1.7rem; }
.hero__text-link { flex: 0 0 auto; padding: .45rem 0; border-bottom: 1px solid var(--ink); font-size: .78rem; font-weight: 800; white-space: nowrap; transition: color .18s ease, border-color .18s ease; }
.hero__text-link:hover { color: var(--coral-dark); border-color: var(--coral-dark); }
.hero__reassurance { display: flex; align-items: center; gap: .45rem; margin: 1.2rem 0 0; color: var(--ink-soft); font-size: .72rem; font-weight: 700; }
.hero__reassurance > span { width: 19px; height: 19px; display: grid; flex: 0 0 19px; place-items: center; color: var(--ink); background: var(--mint); border-radius: 50%; font-size: .62rem; }

.hero-schedule {
  min-width: 0;
  margin-top: clamp(3.5rem, 6vw, 5.5rem);
  background: var(--paper);
  border: 1px solid rgba(23, 44, 43, .18);
  border-radius: 4px;
  box-shadow: 12px 14px 0 rgba(23, 44, 43, .055), var(--shadow);
  animation: rise .75s .14s ease both;
}
.hero-schedule__header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.35rem clamp(1.25rem, 3vw, 2.4rem); border-bottom: 1px solid var(--line); }
.hero-schedule__header > div { display: flex; align-items: baseline; gap: .8rem; }
.hero-schedule__context { color: var(--coral-dark); font-size: .65rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.hero-schedule__header h2 { margin: 0; font-family: var(--display); font-size: 1.65rem; line-height: 1; }
.hero-schedule__header > p { display: flex; gap: .9rem; margin: 0; color: var(--ink-soft); font-size: .72rem; }
.hero-schedule__header > p strong { color: var(--ink); }
.hero-schedule__header > p span { padding-left: .9rem; border-left: 1px solid var(--line); }
.hero-schedule__body { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .34fr); }
.hero-schedule__calendar { min-width: 0; padding: clamp(1.5rem, 3vw, 2.6rem); }
.hero-schedule__months { display: flex; margin-bottom: .6rem; color: var(--ink-soft); font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-schedule__months span + span { padding-left: 1rem; border-left: 1px solid var(--line); }
.week-strip { display: grid; grid-template-columns: repeat(10, minmax(48px, 1fr)); background: #f4f1e8; border: 1px solid var(--line); border-radius: 3px; }
.week-strip div { min-width: 0; display: grid; justify-items: center; padding: .9rem .2rem .75rem; }
.week-strip div + div { border-left: 1px solid rgba(23, 44, 43, .09); }
.week-strip span { margin-bottom: .55rem; color: var(--ink-soft); font-size: .6rem; font-weight: 800; text-transform: uppercase; }
.week-strip b { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; font-size: .72rem; }
.week-strip small { margin-top: .5rem; color: var(--ink-soft); font-size: .56rem; font-weight: 750; }
.week-strip .is-holiday { color: white; background: var(--coral); }
.week-strip .is-leave { color: white; background: var(--blue); }
.week-strip .is-weekend { background: var(--mint); }
.calendar-legend { display: flex; gap: 1.1rem; margin: .8rem 0 0; color: var(--ink-soft); font-size: .62rem; font-weight: 700; }
.calendar-legend i { display: inline-block; width: 7px; height: 7px; margin-right: .3rem; border-radius: 50%; }
.legend-leave { background: var(--blue); }
.legend-holiday { background: var(--coral); }
.legend-weekend { background: var(--mint); }
.hero-schedule__family { display: flex; align-items: center; gap: .75rem; margin: 1.5rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .67rem; line-height: 1.45; }
.hero-schedule__family > span:first-child { width: 29px; height: 29px; display: grid; flex: 0 0 auto; place-items: center; color: var(--ink); background: var(--mint); border-radius: 50%; font-size: .7rem; font-weight: 900; }
.hero-schedule__family strong { color: var(--ink); }
.hero-schedule__result { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.7rem, 3vw, 2.7rem); color: white; background: var(--ink); }
.hero-schedule__result .hero-schedule__context { color: var(--yellow); }
.hero-schedule__result > div { display: flex; align-items: center; gap: .65rem; margin-top: 1.2rem; }
.hero-schedule__result strong { font-family: var(--display); font-size: clamp(3.4rem, 5vw, 5.1rem); line-height: .75; }
.hero-schedule__result > div span { color: rgba(255,255,255,.62); font-size: .62rem; font-weight: 800; line-height: 1.25; text-transform: uppercase; }
.hero-schedule__result .hero-schedule__becomes { margin: 1rem 0 -.3rem; color: rgba(255,255,255,.46); font-family: var(--display); font-size: .82rem; font-style: italic; }
.hero-schedule__result .hero-schedule__total strong { color: var(--yellow); }
.hero-schedule__result > p { margin: 1.3rem 0 0; padding-top: 1.15rem; color: rgba(255,255,255,.57); border-top: 1px solid rgba(255,255,255,.14); font-size: .67rem; line-height: 1.55; }

@media (min-width: 821px) {
  .hero {
    min-height: 0;
    display: flex;
    align-items: center;
    padding-top: clamp(2rem, 4.5vh, 3.2rem);
    padding-bottom: 0;
  }
  .hero__frame { width: 100%; }
  .hero h1 { font-size: clamp(4rem, 6.4vw, 7.1rem); }
  .hero__intro > p:first-child { font-size: 1rem; line-height: 1.55; }
  .hero__actions { margin-top: 1.2rem; }
  .hero__actions .button { min-height: 48px; }
  .hero__reassurance { margin-top: .85rem; }
  .hero-schedule { margin-top: clamp(2.7rem, 4.8vh, 3.5rem); }
  .hero-schedule__header { padding: .9rem clamp(1.25rem, 2.5vw, 2rem); }
  .hero-schedule__calendar { padding: 1.2rem clamp(1.25rem, 2.5vw, 2rem); }
  .week-strip div { padding-top: .65rem; padding-bottom: .55rem; }
  .week-strip span { margin-bottom: .4rem; }
  .week-strip small { margin-top: .35rem; }
  .hero-schedule__family { margin-top: .9rem; padding-top: .8rem; }
  .hero-schedule__result { padding: 1.6rem clamp(1.5rem, 2.5vw, 2.2rem); }
  .hero-schedule__result > div { margin-top: .9rem; }
  .hero-schedule__result strong { font-size: clamp(3.2rem, 4vw, 4.4rem); }
  .hero-schedule__result .hero-schedule__becomes { margin-top: .7rem; }
  .hero-schedule__result > p { margin-top: .9rem; padding-top: .8rem; }
}

.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 1.5rem clamp(1.25rem, 7vw, 8rem); color: white; background: var(--ink); }
.trust-strip > div { display: flex; align-items: center; justify-content: center; gap: .8rem; }
.trust-strip > div + div { border-left: 1px solid rgba(255,255,255,.14); }
.trust-strip span { width: 31px; height: 31px; display: grid; flex: 0 0 31px; place-items: center; color: var(--ink); background: var(--yellow); border-radius: 50%; }
.trust-strip svg { width: 15px; height: 15px; display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trust-strip p { margin: 0; color: rgba(255,255,255,.58); font-size: .67rem; line-height: 1.35; }
.trust-strip strong { color: white; font-size: .75rem; }

.planner-section, .school-section, .faq-section { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 7vw, 8rem); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(280px, 440px); align-items: end; gap: 3rem; max-width: 1240px; margin: 0 auto 4rem; }
.section-heading h2, .results-heading h2, .calendar-copy h2, .method-intro h2, .faq-section h2, .final-cta h2 { margin: 0; font-size: clamp(2.9rem, 5vw, 5.8rem); letter-spacing: -.065em; line-height: .95; }
.section-heading h2 em, .results-heading h2 em, .calendar-copy h2 em, .method-intro h2 em, .faq-section h2 em, .final-cta h2 em { color: var(--coral); }
.section-heading > p { margin: 0 0 .5rem; color: var(--ink-soft); font-size: 1rem; line-height: 1.7; }
.planner-layout { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(500px, 1.28fr); max-width: 1240px; margin: 0 auto 7rem; border: 1px solid var(--line); box-shadow: 0 24px 70px rgba(23,44,43,.08); }
.planner-controls { padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--paper); }
.control-group + .control-group { margin-top: 2.3rem; padding-top: 2.3rem; border-top: 1px solid var(--line); }
.control-label { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.25rem; }
.control-label > span { width: 28px; height: 28px; display: grid; flex: 0 0 auto; place-items: center; color: white; background: var(--ink); border-radius: 50%; font-size: .67rem; font-weight: 800; }
.control-label div { display: grid; }
.control-label strong { font-size: .86rem; }
.control-label small { color: var(--ink-soft); font-size: .65rem; }
.control-label output { margin-left: auto; color: var(--coral); font-family: var(--display); font-size: 2.4rem; font-weight: 800; line-height: 1; }
.zone-switch { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.zone-switch button { min-height: 50px; border: 0; border-right: 1px solid var(--line); background: transparent; cursor: pointer; font-size: .82rem; font-weight: 900; transition: .18s ease; }
.zone-switch button:last-child { border: 0; }
.zone-switch button:hover { background: rgba(255,107,74,.08); }
.zone-switch button.is-active { color: white; background: var(--coral); }
.city-search { height: 45px; display: flex; align-items: center; gap: .65rem; margin-top: .8rem; padding: 0 .8rem; background: #f4f1e8; border: 1px solid transparent; border-radius: 4px; }
.city-search:focus-within { border-color: var(--blue); }
.city-search svg { width: 17px; fill: none; stroke: var(--ink-soft); stroke-width: 1.8; }
.city-search input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: .72rem; }
.field-feedback { min-height: 1.2em; margin: .4rem 0 0; color: var(--ink-soft); font-size: .62rem; }
.field-feedback.is-found { color: #167a5b; font-weight: 750; }
.rest-days-settings { margin-top: 2rem; overflow: hidden; background: #f4f1e8; border: 1px solid var(--line); border-radius: 4px; }
.rest-days-settings summary { display: grid; grid-template-columns: 34px minmax(0, 1fr) 22px; align-items: center; gap: .7rem; padding: .9rem; cursor: pointer; list-style: none; }
.rest-days-settings summary::-webkit-details-marker { display: none; }
.rest-days-settings__icon { width: 34px; height: 34px; display: grid; place-items: center; color: var(--ink); background: var(--mint); border-radius: 50%; font-size: 1rem; font-weight: 900; }
.rest-days-settings__summary { min-width: 0; display: grid; }
.rest-days-settings__summary strong { font-size: .74rem; }
.rest-days-settings__summary small { overflow: hidden; color: var(--ink-soft); font-size: .6rem; text-overflow: ellipsis; white-space: nowrap; }
.rest-days-settings__chevron { color: var(--coral); font-size: 1.25rem; line-height: 1; text-align: center; transition: transform .2s ease; }
.rest-days-settings[open] .rest-days-settings__chevron { transform: rotate(180deg); }
.rest-days-settings[open] summary { background: rgba(255,255,255,.55); border-bottom: 1px solid var(--line); }
.rest-days-settings__panel { padding: 1rem; animation: reveal-rest-days .22s ease both; }
.rest-days-settings__intro strong { font-size: .72rem; }
.rest-days-settings__intro p { margin: .25rem 0 .85rem; color: var(--ink-soft); font-size: .62rem; line-height: 1.45; }
.rest-day-picker { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .3rem; }
.rest-day-picker button { min-width: 0; min-height: 38px; padding: .35rem .1rem; color: var(--ink-soft); background: var(--paper); border: 1px solid var(--line); border-radius: 3px; cursor: pointer; font-size: .57rem; font-weight: 850; transition: .18s ease; }
.rest-day-picker button:hover { color: var(--coral-dark); border-color: var(--coral); }
.rest-day-picker button.is-active { color: white; background: var(--coral); border-color: var(--coral); }
.rest-days-feedback { min-height: 1.2em; margin: .7rem 0 0; color: #167a5b; font-size: .59rem; font-weight: 750; }
.rest-days-reset { padding: 0 0 .15rem; color: var(--ink-soft); background: transparent; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; font-size: .57rem; font-weight: 750; }
.rest-days-reset:disabled { display: none; }
input[type="range"] { width: 100%; height: 5px; appearance: none; background: linear-gradient(90deg, var(--coral) 0 31.5%, #ded9cc 31.5% 100%); border-radius: 4px; }
input[type="range"]::-webkit-slider-thumb { width: 22px; height: 22px; appearance: none; background: var(--paper); border: 6px solid var(--coral); border-radius: 50%; box-shadow: 0 2px 8px rgba(23,44,43,.18); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; background: var(--paper); border: 6px solid var(--coral); border-radius: 50%; cursor: grab; }
.range-labels { display: flex; justify-content: space-between; margin-top: .55rem; color: var(--ink-soft); font-size: .58rem; font-weight: 700; }
.smart-note { display: flex; gap: .7rem; margin-top: 2rem; padding: 1rem; background: #fff7de; border: 1px solid #f0d98b; border-radius: 4px; }
.smart-note > span { color: var(--coral); }
.smart-note p { margin: 0; color: var(--ink-soft); font-size: .66rem; line-height: 1.5; }
.smart-note strong { color: var(--ink); }
.plan-output { position: relative; overflow: hidden; padding: clamp(2rem, 4vw, 3.5rem); color: white; background: var(--ink); }
.plan-output::after { content: ""; position: absolute; width: 340px; height: 340px; right: -180px; bottom: -180px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.02); }
.plan-output__intro { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 2rem; }
.eyebrow { margin: 0 0 .5rem; color: var(--coral); font-size: .62rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.plan-output__intro h3 { margin: 0; font-family: var(--display); font-size: clamp(2.5rem, 4vw, 4.8rem); line-height: 1; }
.plan-output__intro > div > p:last-child { color: rgba(255,255,255,.58); font-size: .75rem; }
.plan-output__intro > div > p strong { color: white; }
.plan-score { min-width: 118px; display: grid; flex: 0 0 auto; gap: .35rem; align-self: flex-start; padding: .8rem 1rem .85rem; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.16); border-radius: 8px; text-align: left; }
.plan-score__label { color: rgba(255,255,255,.55); font-size: .52rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.plan-score strong { display: flex; align-items: baseline; gap: .18rem; color: var(--yellow); font-family: var(--sans); font-size: 1.65rem; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.plan-score strong > span:first-child { font-size: .8em; font-weight: 700; }
#plan-ratio { font-size: inherit; font-weight: inherit; letter-spacing: inherit; text-transform: none; }
.plan-meter { position: relative; height: 5px; margin: 2rem 0; overflow: hidden; background: rgba(255,255,255,.14); border-radius: 5px; }
.plan-meter__fill { display: block; width: 85%; height: 100%; background: var(--coral); transition: width .35s ease; }
.plan-metrics { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.plan-metrics div { display: grid; padding: 0 1.2rem; }
.plan-metrics div + div { border-left: 1px solid rgba(255,255,255,.12); }
.plan-metrics div:first-child { padding-left: 0; }
.plan-metrics span, .plan-metrics small { color: rgba(255,255,255,.5); font-size: .58rem; letter-spacing: .04em; text-transform: uppercase; }
.plan-metrics strong { margin: .2rem 0; font-family: var(--display); font-size: 2rem; }
.plan-actions { position: relative; z-index: 1; display: flex; gap: .75rem; margin-top: 2rem; }
.plan-actions .button--dark { color: var(--ink); background: var(--yellow); }
.plan-actions .button--ghost { color: white; border-color: rgba(255,255,255,.22); }

.results-heading { display: flex; align-items: end; justify-content: space-between; max-width: 1240px; margin: 0 auto 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.results-heading h2 { font-size: clamp(2.1rem, 4vw, 4rem); }
.results-heading > span { color: var(--ink-soft); font-size: .7rem; font-weight: 700; }
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; gap: 1rem; max-width: 1240px; margin: 0 auto; }
.results-empty { grid-column: 1 / -1; padding: 2rem; text-align: center; background: rgba(255,255,255,.45); border: 1px dashed var(--line); border-radius: 4px; }
.results-empty strong { font-family: var(--display); font-size: 1.35rem; }
.results-empty p { max-width: 560px; margin: .55rem auto 0; color: var(--ink-soft); font-size: .74rem; line-height: 1.65; }
.result-card { position: relative; display: flex; flex-direction: column; padding: 1.45rem; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; animation: rise .45s var(--delay) both; }
.result-card:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(23,44,43,.09); }
.result-card.is-selected { border-color: var(--coral); box-shadow: inset 0 0 0 1px var(--coral); }
.result-card.is-selected::after { content: "✓ Dans votre plan"; position: absolute; top: -11px; right: 12px; padding: .22rem .55rem; color: white; background: var(--coral); border-radius: 20px; font-size: .55rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.result-card__top { display: flex; justify-content: space-between; gap: 1rem; }
.result-card h3 { margin: 0; font-family: var(--display); font-size: 1.5rem; line-height: 1.08; }
.ratio-badge { width: 42px; height: 42px; display: grid; flex: 0 0 auto; place-items: center; color: var(--ink); background: var(--yellow); border-radius: 50%; font-family: var(--display); font-size: .85rem; font-weight: 800; }
.date-range { margin: .65rem 0 1rem; color: var(--ink-soft); font-size: .7rem; font-weight: 700; }
.result-math { display: flex; align-items: center; gap: .5rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.result-math strong { font-family: var(--display); font-size: 2.25rem; line-height: 1; }
.result-math span { color: var(--ink-soft); font-size: .52rem; font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.result-math i { margin: 0 auto; color: var(--coral); font-family: var(--display); font-size: .7rem; }
.family-tag { align-self: start; margin-top: 1rem; padding: .3rem .55rem; color: #266852; background: rgba(167,216,200,.3); border-radius: 2px; font-size: .57rem; font-weight: 800; }
.family-tag--warm { color: #8a451e; background: rgba(248,200,75,.24); }
.result-note { flex: 1; margin: .9rem 0; color: var(--ink-soft); font-size: .68rem; line-height: 1.55; }
.result-card details { margin-bottom: 1rem; }
.result-card summary { cursor: pointer; color: var(--ink); font-size: .63rem; font-weight: 800; }
.days-off-explanation summary { display: flex; align-items: center; gap: .4rem; list-style: none; }
.days-off-explanation summary::-webkit-details-marker { display: none; }
.days-off-explanation summary::before { content: "▸"; font-size: .62rem; transition: transform .2s ease; }
.days-off-explanation[open] summary::before { transform: rotate(90deg); }
.days-off-explanation__content { margin-top: .65rem; padding: .8rem; overflow: hidden; background: #f5f1e7; border-left: 2px solid var(--yellow); border-radius: 2px; will-change: height, opacity, transform; }
.days-off-explanation__equation { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: .35rem; margin: 0; }
.days-off-explanation__equation span { display: grid; gap: .12rem; color: var(--ink-soft); font-size: .45rem; font-weight: 800; line-height: 1.15; text-align: center; text-transform: uppercase; }
.days-off-explanation__equation strong { color: var(--ink); font-family: var(--display); font-size: 1.25rem; line-height: 1; }
.days-off-explanation__equation i, .days-off-explanation__equation b { color: var(--coral); font-family: var(--display); font-size: .8rem; font-style: normal; }
.days-off-explanation__equation b { display: none; }
.days-off-explanation__equation .days-off-explanation__total { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: center; gap: .3rem; margin-top: .25rem; padding-top: .45rem; color: var(--ink); border-top: 1px solid var(--line); }
.days-off-explanation__total::before { content: "="; color: var(--coral); font-family: var(--display); font-size: .8rem; }
.days-off-calendar { min-width: 0; margin-top: .75rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.days-off-calendar__scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-color: var(--line) transparent; scrollbar-width: thin; }
.days-off-calendar__scroll:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.days-off-calendar__track { width: max(100%, var(--calendar-width)); }
.days-off-calendar__months { display: grid; grid-template-columns: repeat(var(--day-count), minmax(0, 1fr)); margin-bottom: .35rem; color: var(--ink-soft); font-size: .46rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.days-off-calendar__months span { padding-left: .35rem; }
.days-off-calendar__months span + span { border-left: 1px solid var(--line); }
.week-strip.days-off-calendar__days { grid-template-columns: repeat(var(--day-count), minmax(0, 1fr)); }
.days-off-calendar__days div { padding: .55rem .1rem .48rem; }
.days-off-calendar__days span { margin-bottom: .35rem; font-size: .47rem; }
.days-off-calendar__days b { width: 26px; height: 26px; font-size: .57rem; }
.days-off-calendar__days small { margin-top: .32rem; font-size: .43rem; }
.days-off-calendar__legend { flex-wrap: wrap; gap: .35rem .7rem; margin-top: .55rem; font-size: .48rem; }
.plan-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; padding: .65rem .8rem; color: white; background: var(--ink); border: 0; border-radius: 3px; cursor: pointer; font-size: .68rem; font-weight: 800; }
.plan-toggle span:last-child { font-size: 1.15rem; font-weight: 400; }
.plan-toggle--remove { color: var(--ink); background: var(--yellow); }
.seo-table-wrap { display: grid; grid-template-columns: minmax(220px, .55fr) minmax(620px, 1.45fr); gap: 3rem; max-width: 1240px; margin: 4.5rem auto 0; padding-top: 2rem; border-top: 1px solid var(--line); }
.seo-table-intro h3 { margin: 0; font-family: var(--display); font-size: 1.8rem; }
.seo-table-intro > p:last-child { color: var(--ink-soft); font-size: .7rem; }
.table-scroll { overflow-x: auto; }
.seo-table-wrap table { width: 100%; border-collapse: collapse; background: rgba(255,255,255,.35); font-size: .68rem; }
.seo-table-wrap th, .seo-table-wrap td { padding: .85rem .9rem; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.seo-table-wrap th { color: var(--ink-soft); font-size: .55rem; letter-spacing: .07em; text-transform: uppercase; }
.seo-table-wrap td:first-child { color: var(--coral-dark); font-weight: 800; }

.calendar-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(520px, 1.2fr); gap: clamp(3rem, 6vw, 7rem); align-items: center; padding: clamp(3.25rem, 5vw, 5rem) clamp(1.25rem, 8vw, 9rem); color: white; background: var(--ink); }
.calendar-copy { max-width: 520px; }
.calendar-copy .kicker { margin-bottom: 1.15rem; }
.calendar-copy h2 { font-size: clamp(3.15rem, 4.5vw, 5rem); line-height: .92; }
.calendar-copy > p:not(.kicker), .method-intro > p:not(.kicker) { max-width: 520px; color: rgba(255,255,255,.6); font-size: .94rem; line-height: 1.75; }
.calendar-copy > p:not(.kicker) { margin: 1.1rem 0 0; font-size: .88rem; line-height: 1.65; }
.calendar-callout { display: grid; grid-template-columns: 90px 1fr; gap: .85rem; margin: 1.35rem 0; padding: .95rem 1rem; color: var(--ink); background: var(--yellow); transform: rotate(-.7deg); }
.calendar-callout strong { font-family: var(--display); font-size: .92rem; }
.calendar-callout p { margin: 0; font-size: .67rem; line-height: 1.45; }
.text-link { display: inline-flex; gap: .8rem; padding-bottom: .25rem; border-bottom: 1px solid rgba(255,255,255,.35); font-size: .72rem; font-weight: 800; }
.text-link span { color: var(--coral); }
.holiday-panel { min-width: 0; padding: .75rem clamp(1rem, 2.2vw, 1.75rem) .85rem; color: var(--ink); background: var(--paper); box-shadow: 14px 14px 0 rgba(255,255,255,.05); transform: rotate(.45deg); }
.holiday-panel__head { display: flex; justify-content: space-between; align-items: center; padding: .15rem 0 .65rem; border-bottom: 2px solid var(--ink); }
.holiday-panel__head span { font-size: .62rem; font-weight: 850; letter-spacing: .1em; }
.holiday-panel__head strong { font-family: var(--display); font-size: 1.7rem; line-height: 1; }
.holiday-list { margin: 0; padding: 0; list-style: none; }
.holiday-row { display: grid; grid-template-columns: 50px 31px 10px minmax(0, 1fr); gap: .62rem; align-items: center; min-height: 46px; border-bottom: 1px solid var(--line); }
.holiday-row__date { display: grid; align-content: center; gap: 0; line-height: .9; }
.holiday-row__date strong { font-family: var(--display); font-size: 1.3rem; font-weight: 700; }
.holiday-row__date span { color: var(--ink); font-family: var(--display); font-size: .96rem; line-height: 1; }
.holiday-row__date-mini { display: grid; align-content: center; gap: .14rem; color: var(--ink-soft); font-size: .53rem; font-weight: 850; line-height: 1; text-transform: uppercase; }
.holiday-row__date-mini strong { color: var(--ink-soft); font-size: .57rem; }
.holiday-row__date-mini span { overflow: hidden; text-overflow: clip; white-space: nowrap; }
.holiday-dot { width: 7px; height: 7px; justify-self: center; background: #d9d4c8; border-radius: 50%; }
.holiday-row--useful .holiday-dot { background: var(--coral); box-shadow: 0 0 0 3px rgba(255,107,74,.16); }
.holiday-row__content { min-width: 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.holiday-row__content strong { overflow: hidden; font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.holiday-row__content span { flex: 0 0 auto; color: var(--ink-soft); font-size: .57rem; white-space: nowrap; }
.holiday-row--useful .holiday-row__content span { color: var(--coral-dark); font-weight: 800; }
.holiday-disclaimer { margin: .65rem 0 0; color: var(--ink-soft); font-size: .56rem; line-height: 1.35; }

.school-section { background: #e9eee8; }
.section-heading--school { margin-bottom: 3rem; }
.school-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); max-width: 1240px; margin: 0 auto; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.school-card { min-height: 145px; display: flex; flex-direction: column; justify-content: space-between; padding: 1.3rem; background: rgba(255,255,255,.45); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.school-card > div { display: flex; align-items: start; justify-content: space-between; gap: .4rem; }
.school-card > div > span:first-child { color: var(--coral); font-size: .64rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.school-card strong { font-family: var(--display); font-size: 1.05rem; line-height: 1.25; }
.school-empty { grid-column: 1 / -1; padding: 2rem; background: rgba(255,255,255,.38); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.school-empty strong { font-family: var(--display); font-size: 1.2rem; }
.school-empty p { margin: .4rem 0 0; color: var(--ink-soft); font-size: .68rem; }
.countdown { padding: .18rem .35rem; color: #28745a; background: rgba(167,216,200,.45); border-radius: 2px; font-size: .48rem; font-weight: 800; white-space: nowrap; }
.school-source { display: flex; align-items: center; justify-content: center; gap: .7rem; max-width: 1240px; margin: 1.25rem auto 0; color: var(--ink-soft); font-size: .62rem; }
.school-source span { width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid var(--ink-soft); border-radius: 50%; font-family: var(--display); font-weight: 700; }
.school-source p { margin: 0; }

.method-section { display: grid; grid-template-columns: minmax(0, .85fr) minmax(450px, 1.15fr); gap: clamp(4rem, 9vw, 10rem); padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 8vw, 9rem); color: white; background: var(--coral); }
.method-intro h2 em, .method-intro .kicker { color: var(--ink); }
.method-intro .kicker span { background: var(--ink); }
.method-intro > p:not(.kicker) { color: rgba(23,44,43,.72); }
.method-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(23,44,43,.25); }
.method-steps li { display: grid; grid-template-columns: 60px 1fr; gap: 1rem; align-items: center; padding: 1.7rem 0; border-bottom: 1px solid rgba(23,44,43,.25); }
.method-steps li > span { color: var(--ink); font-family: var(--display); font-size: .86rem; font-weight: 800; }
.method-steps strong { color: var(--ink); font-family: var(--display); font-size: 1.45rem; }
.method-steps p { margin: .2rem 0 0; color: rgba(23,44,43,.72); font-size: .74rem; }

.faq-section { display: grid; grid-template-columns: minmax(280px, .65fr) minmax(500px, 1.35fr); align-items: start; gap: clamp(3rem, 8vw, 8rem); background: var(--paper); }
.faq-section__intro { position: sticky; top: 110px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: grid; grid-template-columns: minmax(0, 1fr) 42px; align-items: center; gap: 1.25rem; min-height: 82px; padding: 1.15rem 0; cursor: pointer; list-style: none; outline: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-question { color: var(--ink); font-family: var(--display); font-size: clamp(1.08rem, 1.35vw, 1.28rem); font-weight: 700; line-height: 1.3; transition: color .22s ease, transform .22s ease; }
.faq-icon { position: relative; width: 36px; height: 36px; justify-self: end; border: 1px solid rgba(255,107,74,.38); border-radius: 50%; transition: background-color .25s ease, border-color .25s ease, transform .35s cubic-bezier(.2,.8,.2,1); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 13px; height: 1.5px; background: var(--coral); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .3s cubic-bezier(.2,.8,.2,1), background-color .25s ease; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item summary:hover .faq-question { color: var(--coral-dark); transform: translateX(3px); }
.faq-item summary:hover .faq-icon { background: rgba(255,107,74,.08); border-color: var(--coral); }
.faq-item summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 7px; border-radius: 2px; }
.faq-item[open] .faq-question { color: var(--ink); }
.faq-item[open] .faq-icon { background: var(--coral); border-color: var(--coral); transform: rotate(180deg); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: white; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { overflow: hidden; animation: faq-reveal .35s cubic-bezier(.2,.8,.2,1) both; }
.faq-answer p { max-width: 720px; margin: -.15rem 58px 1.65rem 0; color: var(--ink-soft); font-size: .8rem; line-height: 1.75; }

.final-cta { position: relative; overflow: hidden; padding: clamp(5rem, 10vw, 10rem) 1.5rem; color: white; background: var(--blue); text-align: center; }
.final-cta::before, .final-cta::after { content: ""; position: absolute; width: 440px; height: 440px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.final-cta::before { left: -230px; top: -220px; box-shadow: 0 0 0 55px rgba(255,255,255,.03); }
.final-cta::after { right: -260px; bottom: -260px; box-shadow: 0 0 0 70px rgba(255,255,255,.03); }
.final-cta .kicker { justify-content: center; color: white; }
.final-cta .kicker span { color: var(--blue); background: var(--paper); }
.final-cta h2 { position: relative; font-size: clamp(3.5rem, 7vw, 7.2rem); }
.final-cta h2 em { color: var(--yellow); }
.final-cta > p:not(.kicker) { max-width: 540px; margin: 1.5rem auto 2rem; color: rgba(255,255,255,.72); }
.final-cta__sun { position: absolute; left: 12%; top: 25%; font-size: 3rem; transform: rotate(-12deg); }

.site-footer { padding: 3rem clamp(1.25rem, 7vw, 8rem) 1.5rem; color: rgba(255,255,255,.65); background: #102322; }
.brand--footer { color: white; }
.brand--footer .brand__mark { background: var(--coral); }
.site-footer > p { max-width: 340px; margin: 1rem 0 2rem; font-size: .72rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1.3rem 0; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); font-size: .65rem; font-weight: 700; }
.site-footer nav a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 1.2rem; font-size: .58rem; }
.toast { position: fixed; z-index: 300; right: 1.2rem; bottom: 1.2rem; padding: .8rem 1rem; color: white; background: var(--ink); border-left: 4px solid var(--yellow); box-shadow: var(--shadow); font-size: .72rem; font-weight: 750; transform: translateY(150%); opacity: 0; transition: .25s ease; }
.toast.is-visible { transform: translateY(0); opacity: 1; }
.mobile-plan { display: none; }
[hidden] { display: none !important; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes reveal-rest-days {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes faq-reveal {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 1050px) {
  .main-nav { gap: 1rem; }
  .main-nav a:not(.button) { display: none; }
  .hero { padding-right: 3rem; padding-left: 3rem; }
  .hero__headline { grid-template-columns: minmax(0, 1.25fr) minmax(290px, .75fr); gap: 3rem; }
  .hero h1 { font-size: clamp(4.2rem, 8.5vw, 6.8rem); }
  .hero-schedule__body { grid-template-columns: minmax(0, 1fr) 250px; }
  .week-strip { grid-template-columns: repeat(10, minmax(42px, 1fr)); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .school-grid { grid-template-columns: repeat(3, 1fr); }
  .calendar-section { grid-template-columns: minmax(0, .72fr) minmax(500px, 1.28fr); gap: 3rem; padding-right: 3rem; padding-left: 3rem; }
  .calendar-copy h2 { font-size: clamp(3rem, 5vw, 4.2rem); }
}

@media (max-width: 820px) {
  .announcement { font-size: .57rem; }
  .site-header { height: 66px; padding: 0 1.2rem; }
  .menu-button { width: 42px; height: 42px; display: grid; align-content: center; gap: 5px; padding: 10px; background: transparent; border: 1px solid var(--line); border-radius: 3px; }
  .menu-button > span:not(.sr-only) { height: 2px; background: var(--ink); }
  .main-nav { position: absolute; top: 66px; right: 0; left: 0; display: none; padding: 1.2rem; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(23,44,43,.1); }
  .main-nav.is-open { display: grid; }
  .main-nav a:not(.button) { display: block; padding: .6rem 0; }
  .main-nav .button { margin-top: .5rem; }
  .hero { padding: 4rem 1.25rem 5rem; }
  .hero__headline { grid-template-columns: 1fr; align-items: start; gap: 2.2rem; }
  .hero h1 { max-width: 720px; font-size: clamp(4rem, 14.5vw, 7rem); }
  .hero__intro { max-width: 610px; }
  .hero-schedule { margin-top: 3.5rem; }
  .hero-schedule__body { grid-template-columns: 1fr; }
  .hero-schedule__result { display: grid; grid-template-columns: auto 1fr auto 1fr; align-items: center; column-gap: 1rem; }
  .hero-schedule__result .hero-schedule__context, .hero-schedule__result > p { grid-column: 1 / -1; }
  .hero-schedule__result > div { margin-top: 1rem; }
  .hero-schedule__result .hero-schedule__becomes { margin: 1rem 0 0; }
  .trust-strip { grid-template-columns: 1fr; gap: 1rem; }
  .trust-strip > div { justify-content: start; }
  .trust-strip > div + div { padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.14); border-left: 0; }
  .section-heading, .calendar-section, .method-section, .faq-section { grid-template-columns: 1fr; }
  .seo-table-wrap { grid-template-columns: 1fr; gap: 1.2rem; }
  .planner-layout { grid-template-columns: 1fr; }
  .calendar-section, .method-section { gap: 4rem; }
  .calendar-section { padding: 4.5rem 3rem; }
  .calendar-copy { max-width: 610px; }
  .faq-section { gap: 3rem; }
  .faq-section__intro { position: static; }
  .mobile-plan { position: fixed; z-index: 150; right: 1rem; bottom: 1rem; left: 1rem; display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem; color: white; background: var(--ink); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 14px 40px rgba(0,0,0,.25); font-size: .7rem; font-weight: 750; }
  .mobile-plan a { padding: .45rem .7rem; color: var(--ink); background: var(--yellow); border-radius: 2px; }
  .toast { bottom: 5.4rem; }
}

@media (max-width: 580px) {
  .announcement__separator, .announcement__update { display: none; }
  .hero { padding-top: 3rem; padding-bottom: 3.5rem; }
  .hero__frame, .hero__headline, .hero__intro, .hero-schedule { width: 100%; min-width: 0; max-width: 100%; }
  .hero__headline > * { min-width: 0; }
  .hero h1 { font-size: clamp(3.1rem, 15vw, 5.8rem); line-height: .86; }
  .hero h1 em { font-size: .82em; }
  .hero__headline { gap: 1.8rem; }
  .hero__actions { align-items: stretch; flex-direction: column; }
  .hero__actions .button { width: 100%; }
  .hero__text-link { align-self: center; }
  .hero__reassurance { align-items: flex-start; }
  .hero-schedule { margin-top: 2.7rem; overflow: hidden; box-shadow: 7px 8px 0 rgba(23, 44, 43, .055), 0 18px 45px rgba(23, 44, 43, .1); }
  .hero-schedule__header { align-items: flex-start; flex-direction: column; gap: .8rem; }
  .hero-schedule__header > div { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .hero-schedule__header > p { width: 100%; justify-content: space-between; }
  .hero-schedule__calendar { padding: 1rem; overflow: hidden; }
  .hero-schedule__months { display: none; }
  .week-strip { width: 100%; max-width: 100%; grid-template-columns: repeat(10, 58px); overflow-x: auto; }
  .week-strip div { padding-top: .8rem; }
  .calendar-legend { flex-wrap: wrap; gap: .45rem .8rem; }
  .hero-schedule__family { align-items: flex-start; }
  .hero-schedule__result { display: flex; align-items: flex-start; flex-direction: column; }
  .hero-schedule__result .hero-schedule__becomes { margin-top: .85rem; }
  .hero-schedule__result > p { width: 100%; }
  .planner-section, .school-section, .faq-section { padding: 4.5rem 1rem; }
  .section-heading { gap: 1.4rem; margin-bottom: 2.5rem; }
  .section-heading h2, .calendar-copy h2, .method-intro h2, .faq-section h2 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .faq-item summary { grid-template-columns: minmax(0, 1fr) 36px; min-height: 72px; gap: .8rem; padding: 1rem 0; }
  .faq-icon { width: 32px; height: 32px; }
  .faq-answer p { margin-right: 0; font-size: .76rem; }
  .planner-layout { margin-bottom: 5rem; }
  .planner-controls, .plan-output { padding: 1.25rem; }
  .plan-output__intro { gap: 1rem; }
  .plan-score { min-width: 102px; padding: .7rem .8rem .75rem; }
  .plan-score strong { font-size: 1.4rem; }
  .plan-metrics div { padding: 0 .6rem; }
  .plan-metrics strong { font-size: 1.5rem; }
  .plan-metrics span, .plan-metrics small { font-size: .48rem; }
  .plan-actions { flex-direction: column; }
  .results-heading { align-items: start; flex-direction: column; gap: .8rem; }
  .results-grid { grid-template-columns: 1fr; }
  .calendar-section, .method-section { grid-template-columns: 1fr; padding: 4.5rem 1rem; }
  .holiday-panel { padding: .8rem 1rem 1rem; }
  .holiday-row { grid-template-columns: 42px 9px minmax(0, 1fr); gap: .55rem; }
  .holiday-row__date-mini { display: none; }
  .holiday-row__content { display: grid; gap: 0; }
  .holiday-row__content span { font-size: .48rem; }
  .school-grid { grid-template-columns: 1fr; }
  .school-card { min-height: 110px; }
  .school-source { align-items: start; }
  .school-source span { flex: 0 0 auto; }
  .method-steps li { grid-template-columns: 42px 1fr; }
  .final-cta h2 { font-size: 3.3rem; }
  .final-cta__sun { display: none; }
  .site-footer { padding-bottom: 5.5rem; }
  .footer-bottom { align-items: start; flex-direction: column; gap: .4rem; }
}

/* Barre d'avantages collée au bas de l'écran sur desktop */
@media (min-width: 821px) {
  body { padding-bottom: 84px; }

  .trust-strip {
    position: fixed;
    z-index: 140;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 -10px 30px rgba(23, 44, 43, .10);
  }
}

/* Premier écran desktop : la barre d'avantages termine naturellement le viewport.
   Le hero occupe exactement l'espace restant sous le header et son contenu est centré,
   sans espace artificiel au-dessus ou au-dessous de la barre. */
@media (min-width: 821px) {
  body {
    padding-bottom: 0;
  }

  .hero {
    min-height: calc(100svh - 76px - 79px);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding-top: clamp(2rem, 5vh, 4.25rem);
    padding-bottom: clamp(2rem, 5vh, 4.25rem);
  }

  .hero__frame {
    width: 100%;
  }

  .trust-strip {
    position: relative;
    z-index: 2;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    box-shadow: none;
  }
}

/* Pages d'information */
.simple-page { min-height: 100vh; background: var(--cream); }
.simple-page main { width: min(880px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 0; }
.simple-page h1 { margin: 0 0 1.5rem; font-family: var(--display); font-size: clamp(2.5rem, 7vw, 5rem); line-height: .95; letter-spacing: -.045em; }
.simple-page h2 { margin: 2.5rem 0 .65rem; font-family: var(--display); font-size: clamp(1.45rem, 3vw, 2rem); }
.simple-page p, .simple-page li { color: var(--ink-soft); line-height: 1.8; }
.simple-page a:not(.brand):not(.button) { text-decoration: underline; text-underline-offset: .2em; }
.simple-page .info-card { margin: 1.5rem 0; padding: 1.25rem 1.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.simple-page .back-link { display: inline-flex; margin-top: 2rem; font-weight: 800; }
.publication-warning { border-left: 4px solid var(--yellow); }
