/* ====================================================================== *
 * Mon Prof Perso, page vitrine. Charte : vert #0E5A43, orange #E8722A,
 * crème #ECE7DE. Polices Schibsted Grotesk (titres) + Hanken Grotesk (texte).
 * ====================================================================== */
:root {
  --green: #0E5A43;
  --green-dark: #0B4937;
  --green-soft: #E2EFE9;
  --orange: #E8722A;
  --orange-light: #F2A04D;
  --orange-soft: #FBE9DA;
  --cream: #ECE7DE;
  --canvas: #F7F4EE;
  --ink: #18241E;
  --muted: #5A675F;
  --faint: #94A29A;
  --white: #fff;
  --border: #E6E0D6;
  --shadow: 0 18px 50px rgba(14, 90, 67, .12);
  --shadow-sm: 0 8px 24px rgba(14, 90, 67, .08);
  --radius: 22px;
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.nav-open { overflow: hidden; }
h1, h2, h3, h4 { font-family: "Schibsted Grotesk", sans-serif; line-height: 1.12; color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px, 4vw, 22px); }

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Hanken Grotesk"; font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: 14px; cursor: pointer;
  border: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; color: var(--green); border: 1.5px solid var(--border); }
.btn-ghost:hover { background: var(--green-soft); }

/* ----------------------------- Header ------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 238, .82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.brand-name { font-family: "Schibsted Grotesk"; font-weight: 800; font-size: 18px; color: var(--green); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-weight: 600; font-size: 15px; color: var(--muted); transition: color .15s; }
.nav a:hover { color: var(--green); }
.nav a[aria-current="page"] { color: var(--green); }
.nav a.btn-primary { color: #fff; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 46; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav-backdrop {
  position: fixed; inset: 0; z-index: 44; background: rgba(24, 36, 30, .4);
  opacity: 0; visibility: hidden; transition: opacity .28s, visibility .28s;
}
.nav-backdrop.visible { opacity: 1; visibility: visible; }

/* ------------------------------ Hero ------------------------------- */
.hero { position: relative; overflow: hidden; padding: 70px 0 80px; }
.hero::before {
  content: ""; position: absolute; top: -180px; right: -160px; width: 540px; height: 540px;
  background: radial-gradient(circle, var(--green-soft), transparent 70%); z-index: 0;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; background: var(--green-soft); color: var(--green);
  font-weight: 700; font-size: 13.5px; padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(38px, 6vw, 60px); font-weight: 900; letter-spacing: -.02em; }
.hero h1 .hl { color: var(--green); }
.lead { font-size: 18px; color: var(--muted); margin: 20px 0 28px; max-width: 560px; }
.lead strong { color: var(--ink); }
.hero-note { margin-top: 14px; font-size: 13.5px; color: var(--faint); }

/* Store badges */
.store-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 14px;
  transition: transform .15s ease, box-shadow .15s ease; box-shadow: var(--shadow-sm);
}
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge small { font-size: 11px; opacity: .8; font-weight: 500; }
.store-badge strong { font-size: 16px; font-family: "Schibsted Grotesk"; font-weight: 700; }
.store-badge.light { background: #fff; color: var(--green); }
.store-badge.highlight { outline: 3px solid var(--orange-light); outline-offset: 2px; }

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 290px; border-radius: 38px; padding: 12px;
  background: #11271f; box-shadow: var(--shadow); border: 1px solid #1c3a2e;
}
.phone img { border-radius: 28px; width: 100%; }
.phone::after {
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.25);
}
.floaty {
  position: absolute; background: #fff; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); border-radius: 14px; padding: 10px 14px;
  font-weight: 600; font-size: 13px; color: var(--ink);
  display: flex; align-items: center; gap: 6px;
}
.floaty-1 { top: 56px; left: -22px; }
.floaty-2 { bottom: 70px; right: -30px; }

/* ------------------------------ Stats ------------------------------ */
.stats { padding: 6px 0 12px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.stat { text-align: center; }
.stat b { display: block; font-family: "Schibsted Grotesk"; font-weight: 800; color: var(--green); font-size: 18px; }
.stat span { font-size: 13px; color: var(--muted); }

/* ----------------------------- Sections ---------------------------- */
.section { padding: 84px 0; }
.section-soft { background: linear-gradient(180deg, var(--canvas), #F1EDE4); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.kicker { color: var(--orange); font-weight: 800; font-size: 13.5px; text-transform: uppercase; letter-spacing: .08em; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin: 10px 0 12px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon {
  width: 52px; height: 52px; border-radius: 15px; background: var(--green-soft);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card-icon .ui-icon { width: 28px; height: 28px; color: var(--green); }
.card.audience .card-icon { background: var(--orange-soft); }
.card.audience .card-icon .ui-icon { color: var(--orange); }
.card-link {
  display: inline-block; margin-top: 14px; font-weight: 700; font-size: 0.9rem;
  color: var(--orange); text-decoration: none;
}
.card-link:hover { text-decoration: underline; }
.ui-icon { display: block; fill: currentColor; }
.ui-icon-sm { width: 18px; height: 18px; flex-shrink: 0; }
.ui-icon-stat { width: 32px; height: 32px; margin: 0 auto 10px; color: var(--green); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  position: relative; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm);
}
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px;
  background: var(--green); color: #fff; font-family: "Schibsted Grotesk"; font-weight: 800;
  font-size: 19px; margin-bottom: 16px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* Gallery */
.gallery { display: flex; gap: 22px; overflow-x: auto; padding: 8px 4px 20px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.gallery .phone-sm { flex: 0 0 auto; width: min(215px, 72vw); scroll-snap-align: center; }
.phone-sm { border-radius: 30px; padding: 9px; }
.phone-sm img { border-radius: 22px; }
.phone-sm::after { display: none; }

/* ------------------------------- CTA ------------------------------- */
.cta {
  margin: 30px 0; padding: 70px 0;
  background: radial-gradient(120% 140% at 0% 0%, var(--green) 0%, var(--green-dark) 70%);
}
.cta-inner { text-align: center; color: #fff; }
.cta h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.cta p { color: var(--green-soft); font-size: 17px; margin: 14px auto 28px; max-width: 540px; }
.cta .store-badges { justify-content: center; }

/* ------------------------------ Footer ----------------------------- */
.footer { background: #0c1f18; color: #cfe0d8; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 34px; }
.footer .brand-name { color: #fff; }
.footer .brand-logo { background: #fff; }
.tagline { color: var(--orange-light); font-weight: 700; margin-top: 12px; font-family: "Schibsted Grotesk"; }
.footer-loc { color: #9fb4aa; font-size: 14px; margin-top: 6px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-col a { display: block; color: #aec3b9; font-size: 14.5px; margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-social-text { font-size: 14px; color: #9fb4aa; margin-bottom: 14px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.social {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.07); color: #cfe0d8; transition: background .15s, color .15s, transform .15s;
  flex-shrink: 0; line-height: 0;
}
.social-icon {
  width: 24px; height: 24px; display: block; fill: currentColor;
  flex-shrink: 0; pointer-events: none; overflow: visible;
  transform: translate(50%, 50%);
}
.social-icon use { fill: currentColor; }
.social:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }
.footer-contact { font-size: 13.5px; color: #9fb4aa; margin-top: 14px; }
.footer-contact a { color: #cfe0d8; text-decoration: none; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13.5px; color: #8ea69b;
}

/* --------------------------- Reveal anim --------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ----------------------------- Responsive -------------------------- */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .nav a:not(.btn) { font-size: 14px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; }
}

@media (max-width: 900px) {
  .hero { padding: 48px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .hero-text { order: 2; }
  .hero-visual { order: 1; }
  .lead { margin-left: auto; margin-right: auto; }
  .store-badges { justify-content: center; }
  .hero-visual { max-width: 320px; margin: 0 auto; width: 100%; }
  .floaty-1 { left: 0; } .floaty-2 { right: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cards, .cards-3, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 68px 0; }
}

@media (max-width: 640px) {
  .site-header { padding-top: env(safe-area-inset-top, 0); }
  .header-inner { height: 64px; }
  .brand-name { font-size: 16px; }
  .brand-logo { width: 34px; height: 34px; }
  .nav {
    position: fixed; inset: calc(64px + env(safe-area-inset-top, 0px)) 0 auto 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: var(--canvas); border-bottom: 1px solid var(--border);
    padding: 8px clamp(16px, 4vw, 22px) calc(18px + env(safe-area-inset-bottom, 0px));
    max-height: calc(100dvh - 64px - env(safe-area-inset-top, 0px));
    overflow-y: auto; transform: translateY(-130%);
    transition: transform .28s ease; box-shadow: var(--shadow-sm); z-index: 45;
  }
  .nav.open { transform: translateY(0); }
  .nav a { width: 100%; padding: 13px 0; border-bottom: 1px solid var(--border); }
  .nav a.btn-primary { margin-top: 10px; justify-content: center; border-bottom: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 28px 0 40px; }
  .hero::before { width: 360px; height: 360px; top: -120px; right: -100px; }
  .hero h1 { font-size: clamp(30px, 8.5vw, 42px); }
  .lead { font-size: 16px; margin: 16px 0 22px; }
  .eyebrow { font-size: 12px; padding: 6px 12px; max-width: 100%; }
  .hero-note { font-size: 12.5px; }
  .store-badges { gap: 10px; }
  .store-badge { flex: 1 1 calc(50% - 5px); min-width: 0; justify-content: center; padding: 10px 14px; }
  .store-badge strong { font-size: 14px; }
  .phone { width: min(250px, 78vw); }
  .floaty { display: none; }
  .stats { padding: 0 0 8px; }
  .stats-grid { padding: 18px 14px; gap: 14px 10px; }
  .stat b { font-size: 16px; }
  .stat span { font-size: 12px; }
  .ui-icon-stat { width: 28px; height: 28px; margin-bottom: 8px; }
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 32px; padding: 0 4px; }
  .section-head p { font-size: 15px; }
  .card { padding: 22px 20px; }
  .card-icon { width: 46px; height: 46px; margin-bottom: 14px; }
  .step { padding: 24px 20px; }
  .cta { margin: 12px 0; padding: 48px 0; }
  .cta p { font-size: 15px; margin-bottom: 22px; }
  .cta .store-badge.light { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); }
  .footer { padding: 44px 0 calc(20px + env(safe-area-inset-bottom, 0px)); }
  .footer-grid { gap: 28px; }
  .footer-brand { text-align: center; }
  .footer-brand .brand { justify-content: center; }
  .footer-col--social { text-align: center; }
  .footer-col--social .socials { justify-content: center; }
  .footer-bottom {
    flex-direction: column; text-align: center; gap: 6px;
    margin-top: 32px; padding-top: 18px;
  }
  .cards, .cards-3, .steps, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
  .gallery {
    margin-left: calc(-1 * clamp(16px, 4vw, 22px));
    margin-right: calc(-1 * clamp(16px, 4vw, 22px));
    padding-left: clamp(16px, 4vw, 22px);
    padding-right: clamp(16px, 4vw, 22px);
  }
}

@media (max-width: 400px) {
  .store-badge { flex: 1 1 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .btn { width: 100%; justify-content: center; }
  .nav a.btn-primary { width: 100%; }
}

@media (max-width: 340px) {
  .stats-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 15px; }
}

/* Public support and service status. */
[hidden] { display: none !important; }
.service-journey { max-width: 470px; padding: 32px; }
.service-journey h2 { margin: 12px 0 24px; font-size: 28px; }
.service-journey ol { padding-left: 22px; }
.service-journey li { padding: 12px 0 12px 8px; }
.service-journey li span { display: block; color: var(--muted); font-size: 15px; margin-top: 5px; }
.public-document { max-width: 800px; margin: 0 auto; padding: 48px 20px 72px; }
.public-document h1 { font-size: clamp(28px, 5vw, 42px); margin: 18px 0 22px; }
.public-document h2 { font-size: 22px; margin: 28px 0 12px; }
.public-document p, .public-document ul, .public-document ol { margin: 14px 0; }
.public-document ul, .public-document ol { padding-left: 24px; }
.public-document a:not(.btn) { color: var(--green); text-decoration: underline; }
.public-document .notice { padding: 16px 20px; background: var(--green-soft); border-radius: 14px; }
.public-document .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
