/* Démo fictive Collège Mont-Harfang : styles propres à la page. */
@font-face { font-family: "Schibsted Grotesk"; font-weight: 400 900; font-style: normal; font-display: swap; src: url("/fonts/schibsted-grotesk-var.woff2") format("woff2"); }
:root {
  --bg: #ffffff; --bg-alt: #f7f3f5; --text: #1f1420; --muted: #5f5560; --line: #e6dde1;
  --brand: #6b1e3c; --brand-ink: #501429; --tint: #f6e9ee; --ink: #24121b; --gold: #f1d48a;
  --display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.3rem); line-height: 1.07; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); line-height: 1.12; }
h3 { font-size: 1.12rem; letter-spacing: -0.01em; }
sup { font-size: .65em; line-height: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.notice :focus-visible, .cta-card :focus-visible { outline-color: #ffffff; }
.wrap { width: min(1100px, 100% - 44px); margin-inline: auto; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.notice { background: var(--ink); color: #e3d8dd; font-size: .9rem; text-align: center; padding: 10px 16px; }
.notice a { color: #ffffff; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.top { position: sticky; top: 0; z-index: 5; background: #ffffff; border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand > span { display: grid; gap: 3px; }
.crest { width: 34px; height: 34px; flex: none; color: var(--brand); stroke-width: 2; }
.name { font: 800 1.15rem/1 var(--display); letter-spacing: -0.03em; }
.tag { font-size: .8rem; font-weight: 600; color: var(--muted); }
.menu { display: flex; gap: 24px; font-size: .96rem; font-weight: 600; color: var(--muted); }
.menu a { padding: 10px 0; }
.menu a:hover { color: var(--brand); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 22px; border-radius: 10px; border: 1.5px solid transparent; font: 600 1rem/1.2 var(--font); text-align: center; }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: .94rem; white-space: nowrap; }
.btn--main { background: var(--brand); color: #ffffff; }
.btn--main:hover { background: var(--brand-ink); }
.btn--line { background: #ffffff; border-color: var(--line); }
.btn--line:hover { border-color: var(--brand); }

.hero { padding: clamp(40px, 7vw, 84px) 0; background: linear-gradient(180deg, var(--tint), #ffffff); }
.hero .wrap, .two { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.two { grid-template-columns: 1fr 1fr; align-items: start; }
.flag { display: inline-block; margin-bottom: 18px; padding: 7px 12px; border-radius: 8px; background: var(--brand); color: #ffffff; font-size: .9rem; font-weight: 600; }
.hero p.lead { margin-top: 18px; max-width: 33em; color: var(--muted); font-size: 1.12rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.facts li { padding: 20px; border-radius: 14px; background: #ffffff; border: 1px solid var(--line); box-shadow: 0 8px 24px -16px rgb(36 18 27 / 30%); }
.facts b { display: block; font: 700 1.9rem/1.1 var(--display); letter-spacing: -0.03em; color: var(--brand); }
.facts span { font-size: .9rem; color: var(--muted); }

section { padding: clamp(52px, 7vw, 88px) 0; }
.alt { background: var(--bg-alt); }
.sub { margin-top: 10px; max-width: 36em; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.card { padding: 24px; border-radius: 14px; background: #ffffff; border: 1px solid var(--line); }
.card p { margin-top: 8px; color: var(--muted); font-size: .97rem; }
.card .gap { margin-top: 24px; }
.icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 10px; background: var(--tint); color: var(--brand); }
.icon svg { width: 22px; height: 22px; }

.steps { display: grid; gap: 12px; margin-top: 26px; }
.steps li { display: flex; gap: 16px; padding: 18px 20px; border-radius: 14px; background: #ffffff; border: 1px solid var(--line); }
.steps span { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--tint); color: var(--brand); font: 700 1rem/1 var(--display); }
.steps p { margin-top: 2px; color: var(--muted); font-size: .97rem; }
.cta-card { padding: clamp(24px, 3vw, 34px); border-radius: 18px; background: var(--ink); color: #e3d8dd; }
.cta-card h2 { color: #ffffff; }
.cta-card p { margin: 14px 0 22px; }
.cta-card .btn { width: 100%; background: var(--gold); color: var(--ink); font-size: 1.08rem; }
.cta-card small { display: block; margin-top: 12px; text-align: center; font-size: .86rem; }

.dates { display: grid; margin-top: 22px; border-top: 1px solid var(--line); }
.dates li { display: flex; align-items: center; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.dates time { flex: none; width: 74px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.dates time b { font: 700 1.5rem/1 var(--display); letter-spacing: -0.03em; color: var(--brand); }
.links { display: grid; gap: 10px; margin-top: 22px; }
.links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 12px 18px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line); font-weight: 600; }
.links a::after { content: "›"; color: var(--brand); font-size: 1.3rem; line-height: 1; }
.links a:hover { border-color: var(--brand); }
.contact { display: grid; gap: 14px; margin-top: 22px; }
.contact li { display: flex; gap: 12px; align-items: flex-start; }
.contact svg { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--brand); }
.contact a { font-weight: 700; color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

footer { padding: 26px 0 30px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
footer a { text-decoration: underline; }

.callbar { display: none; }
@media (max-width: 900px) {
  .hero .wrap, .two { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .menu { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .grid { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .top .btn, .tag { display: none; }
  .callbar { position: fixed; inset: auto 0 0 0; z-index: 6; display: block; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #ffffff; border-top: 1px solid var(--line); }
  .callbar .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
