/* Act'in Campus · outils.fairepourapprendre.fr · styles communs */
:root {
  --bg: #FAF8F4;
  --ink: #17171C;
  --ink-2: #2B2B33;
  --text: #4B4F58;
  --muted: #6B6F76;
  --faint: #9A9EA6;
  --line: #ECE7DE;
  --line-2: #D6D0C4;
  --white: #FFFFFF;
  --blue: #1F4FD8;
  --blue-dark: #163A9E;
  --blue-soft: #6D8FF0;
  --sky: #E1EBF7;
  --butter: #F7EED0;
  --gold: #7A5F00;
  --gold-soft: #E2C25A;
  --sage: #E4EEE3;
  --green: #1D8A5E;
  --green-soft: #5DC896;
  --sand: #F3EADB;
  --grey: #EEEDE9;
  --grey-2: #F3EFE7;
  --radius-card: 24px;
  --radius-tile: 32px;
  --shadow-card: 0 1px 2px rgba(23,23,28,.04), 0 24px 48px -28px rgba(23,23,28,.18);
  --shadow-tile: 0 30px 60px -34px rgba(23,23,28,.28);
  --font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-disp: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }

.disp {
  font-family: var(--font-disp);
  font-weight: 700;
  letter-spacing: -.035em;
  font-variation-settings: "opsz" 96;
  line-height: 1;
}
.container { width: min(1312px, 100% - 32px); margin-inline: auto; }
@media (min-width: 900px) { .container { width: min(1312px, 100% - 128px); } }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.tag--sky { background: var(--sky); color: var(--blue); }
.tag--butter { background: var(--butter); color: var(--gold); }
.tag--sage { background: var(--sage); color: var(--green); }
.tag--white { background: var(--white); color: var(--text); border: 1px solid var(--line); }
.tag--grey { background: var(--grey-2); color: var(--text); }
.tag--ink { background: var(--ink-2); color: var(--white); }
.tag--onwhite { background: var(--white); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer;
  transition: transform .16s cubic-bezier(.2,.7,.3,1), background .16s, color .16s, box-shadow .16s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--hot { background: var(--blue); color: var(--white); box-shadow: 0 8px 24px -12px rgba(31,79,216,.5); }
.btn--hot:hover { background: var(--blue-dark); color: var(--white); transform: translateY(-1px); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-2); color: var(--white); transform: translateY(-1px); }
.btn--soft { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn--soft:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn--cream { background: var(--bg); color: var(--ink); }
.btn--cream:hover { background: var(--white); transform: translateY(-1px); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-card); box-shadow: var(--shadow-card);
}
.tile {
  border-radius: var(--radius-tile);
  transition: transform .26s var(--ease-out), box-shadow .26s;
}
@media (hover: hover) {
  .tile:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: var(--shadow-tile); }
}

.logo { display: inline-flex; flex-shrink: 0; }
.logo svg { width: 100%; height: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 16px 0 0; }
.site-header__bar {
  height: 64px; padding: 0 10px 0 20px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 999px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: 0 10px 30px -20px rgba(23,23,28,.25);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { width: 32px; height: 32px; border-radius: 9px; background: var(--blue); display: grid; place-items: center; }
.brand__name { font-family: var(--font-disp); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.nav { display: none; align-items: center; gap: 2px; }
.nav a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text); padding: 10px 14px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--grey-2); }
@media (min-width: 1100px) { .nav { display: flex; } }
.site-header .btn { display: none; }
@media (min-width: 640px) { .site-header .btn { display: inline-flex; } }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 0; text-align: center; position: relative; overflow: hidden; }
.hero__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 980px; margin-inline: auto; }
.hero h1 { font-size: clamp(40px, 7vw, 92px); line-height: .98; }
.hero p { font-size: clamp(16px, 1.6vw, 20px); color: var(--text); max-width: 700px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero__note { font-size: 13px; color: var(--muted); }
.squig-wrap { position: relative; display: inline-block; }
.squig-wrap svg { position: absolute; left: 0; bottom: -.06em; width: 100%; height: .2em; }

.hero__stage { position: relative; height: 420px; max-width: 1200px; margin: 24px auto 0; }
.hero__stage .card { position: absolute; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.hero__stage .card--fpa { left: 3%; top: 60px; width: 380px; height: 300px; }
.hero__stage .card--ap { left: 36%; top: 10px; width: 340px; height: 380px; z-index: 2; padding: 24px; }
.hero__stage .card--lms { left: 65%; top: 70px; width: 380px; height: 290px; flex-direction: row; gap: 18px; }
.hero__plane { position: absolute; left: 84%; top: -30px; z-index: 3; width: 230px; }
@media (max-width: 1100px) {
  .hero__stage { height: auto; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .hero__stage .card { position: static !important; width: auto !important; height: auto !important; animation: none !important; }
  .hero__plane { display: none; }
}

.choice-static { padding: 11px 14px; border-radius: 14px; border: 1.5px solid var(--line); font-size: 13px; }
.choice-static--on { border: 2px solid var(--gold); background: var(--butter); font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mini-note { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--bg); font-size: 12px; color: var(--text); }
.mini-icon { width: 32px; height: 32px; border-radius: 10px; display: inline-grid; place-items: center; flex-shrink: 0; }
.kv { display: flex; justify-content: space-between; font-size: 12px; }
.kv strong { font-weight: 600; }
.ok { color: var(--green); font-weight: 700; }
.todo { color: var(--muted); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 36px; }
.section__head h2 { font-size: clamp(36px, 4.5vw, 60px); max-width: 760px; }
.section__head p { max-width: 400px; font-size: 16px; color: var(--text); }

/* Bento */
.bento { display: grid; gap: 20px; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(260px, auto); }
.bento > * { padding: 36px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.bento__title { font-size: clamp(26px, 2.8vw, 40px); }
.bento__text { font-size: 15px; color: var(--text); }
.bento__more { font-size: 14px; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }
.b-fpa { grid-column: span 7; background: var(--sky); display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 24px; }
.b-ap { grid-column: span 5; background: var(--butter); }
.b-lms { grid-column: span 5; background: var(--sage); flex-direction: row; justify-content: space-between; gap: 20px; }
.b-psst { grid-column: span 4; background: var(--grey); }
.b-link { grid-column: span 3; background: var(--ink); color: var(--white); }
.b-link .bento__text { color: #C5C8CE; }
.b-ap__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.phone-mini {
  background: var(--ink); border-radius: 28px; padding: 18px; color: var(--white);
  display: flex; flex-direction: column; gap: 10px; transform: rotate(3deg);
  box-shadow: 0 30px 50px -30px rgba(23,23,28,.6); font-size: 11px;
}
.phone-mini__row { padding: 9px 10px; border-radius: 12px; background: var(--ink-2); display: flex; gap: 6px; align-items: center; }
.phone-mini__row--cta { background: var(--blue-soft); color: var(--ink); font-weight: 700; }
@media (max-width: 1000px) {
  .b-fpa, .b-ap, .b-lms, .b-psst, .b-link { grid-column: span 12; }
  .b-fpa { grid-template-columns: 1fr; }
  .b-fpa .phone-mini { display: none; }
}
@media (min-width: 640px) and (max-width: 1000px) {
  .b-ap, .b-lms, .b-psst, .b-link { grid-column: span 6; }
}

/* Product sections */
.product { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1000px) {
  .product { grid-template-columns: 5fr 7fr; gap: 48px; }
  .product--flip > .product__copy { order: 2; }
  .product--flip > .product__stage { order: 1; }
}
.product__copy { display: flex; flex-direction: column; gap: 22px; }
.product__copy h2 { font-size: clamp(34px, 4vw, 54px); }
.product__copy > p { font-size: 16px; color: var(--text); }
.features { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.features li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); font-size: 13px; line-height: 1.35; }
.features li strong { font-weight: 700; display: block; }
.features li span.sub { color: var(--muted); }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.checks .dot { width: 26px; height: 26px; border-radius: 999px; background: var(--gold); color: var(--white); display: inline-grid; place-items: center; flex-shrink: 0; }
.cycle { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cycle .tag { height: 28px; font-size: 11px; }
.cycle .arrow { color: var(--faint); }
.label { font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

.product__stage { position: relative; border-radius: 40px; overflow: hidden; min-height: 560px; }
.stage--sky { background: var(--sky); }
.stage--butter { background: var(--butter); }
.stage--sage { background: var(--sage); }
.stage-card { position: absolute; }
@media (max-width: 1000px) {
  .product__stage { min-height: 0; padding: 24px; display: grid; gap: 16px; }
  .stage-card { position: static !important; width: auto !important; transform: none !important; animation: none !important; }
  .stage-card--phone { justify-self: center; }
}

/* Admin mock */
.admin { background: #F8FAFC; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.admin__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin__title { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 800; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpi { padding: 12px; border-radius: 14px; background: var(--white); border: 1px solid #E2E8F0; display: flex; flex-direction: column; gap: 2px; }
.kpi small { font-size: 9px; font-weight: 800; color: #94A3B8; text-transform: uppercase; letter-spacing: .1em; }
.kpi b { font-family: var(--font-disp); font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.kpi--blue { background: #003399; color: var(--white); border-color: #003399; }
.kpi--blue small { color: #BFDBFE; }
.admin__grid { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 12px; }
.panel { padding: 14px; border-radius: 14px; background: var(--white); border: 1px solid #E2E8F0; display: flex; flex-direction: column; gap: 10px; font-size: 11px; }
.panel h4 { margin: 0; font-size: 11px; font-weight: 800; }
.bar { height: 6px; border-radius: 999px; background: #E2E8F0; overflow: hidden; }
.bar > i { display: block; height: 100%; background: #003399; transform-origin: left center; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips .tag { background: var(--white); border: 1px solid #E2E8F0; height: 26px; font-size: 10px; color: #475569; }
@media (max-width: 560px) { .kpis { grid-template-columns: repeat(2, 1fr); } .admin__grid { grid-template-columns: 1fr; } }

/* Phone */
.phone { width: 250px; height: 500px; border-radius: 36px; background: #1E293B; padding: 10px; display: flex; box-shadow: 0 40px 60px -30px rgba(23,23,28,.5); }
.phone__screen { flex: 1; border-radius: 28px; background: #F8FAFC; padding: 18px 14px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; position: relative; color: #1E293B; font-size: 10.5px; }
.phone__notch { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); width: 70px; height: 6px; border-radius: 999px; background: #1E293B; }
.phone__row { padding: 9px 10px; border-radius: 12px; background: var(--white); border: 1px solid #E2E8F0; }
.phone__cta { margin-top: auto; height: 40px; border-radius: 12px; background: #003399; color: var(--white); display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 800; }
.steps { display: flex; gap: 4px; }
.steps i { flex: 1; height: 4px; border-radius: 999px; background: #E2E8F0; }
.steps i.on { background: #003399; }

/* PDF mock */
.pdf { background: var(--white); padding: 34px 30px; display: flex; flex-direction: column; }
.pdf--cover { width: 380px; height: 640px; z-index: 2; }
.pdf--page { width: 380px; height: 660px; transform: rotate(3deg); padding: 30px 28px; gap: 12px; font-size: 11px; color: var(--text); }
.pdf .label { color: var(--gold); letter-spacing: .12em; font-size: 9px; }
.pdf__box { padding: 16px; border-radius: 16px; background: var(--butter); display: flex; flex-direction: column; gap: 10px; }
.pdf__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 10px; border-top: 1px solid rgba(122,95,0,.2); }
.solid { display: grid; grid-template-columns: 110px minmax(0, 1fr) 42px; gap: 8px; align-items: center; font-size: 10px; }
.solid .bar { background: var(--grey-2); }

/* LMS stage */
.lesson-list { display: flex; flex-direction: column; gap: 8px; }
.lesson-list div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; background: var(--bg); font-size: 13px; font-weight: 600; }
.lesson-list span:last-child { font-size: 12px; font-weight: 700; }
.attest { display: flex; gap: 16px; align-items: center; background: var(--ink); color: var(--white); border-color: var(--ink); padding: 20px; }

/* Footer */
.cta-band { border-radius: 40px; background: var(--ink); color: var(--white); padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(32px, 4vw, 52px); max-width: 620px; }
.cta-band p { color: #C5C8CE; font-size: 16px; margin-top: 14px; }
.cta-band__links { display: flex; flex-direction: column; gap: 10px; position: relative; width: min(320px, 100%); }
.cta-band__links .btn { justify-content: space-between; }
.cta-band__links .btn span { display: inline-flex; align-items: center; gap: 10px; }
.cta-band__deco { position: absolute; right: -40px; top: -60px; opacity: .9; pointer-events: none; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); padding: 24px 0 32px; }
.site-footer .brand__name { font-size: 15px; }

/* ---------- Motion ---------- */
.float { animation: float 7s ease-in-out infinite; }
.float2 { animation: float2 8s ease-in-out infinite; }
.flow { animation: flow 3.2s linear infinite; }
.spin { animation: rot 24s linear infinite; transform-origin: 50% 50%; }
.twinkle { transform-box: fill-box; transform-origin: center; animation: twinkle 2.8s ease-in-out infinite; }
.blink { animation: blink 2.4s ease-in-out infinite; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.in .squig { stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 1.4s .4s var(--ease-out) forwards; }
.in .draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.4s var(--ease-out) forwards; }
.in .pop { transform-box: fill-box; transform-origin: center; animation: pop .7s var(--ease-pop) both; }
.in .radar { animation: radar 1.4s var(--ease-pop) both; }
.in .ring { animation: ringin 1.8s var(--ease-out) both; }
.in .grow > i { animation: grow 1.2s var(--ease-out) both; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(-2deg); } }
@keyframes float2 { 0%,100% { transform: translateY(0) rotate(2.5deg); } 50% { transform: translateY(-16px) rotate(2.5deg); } }
@keyframes rot { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes flow { to { stroke-dashoffset: -56; } }
@keyframes pop { from { transform: scale(.2); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes radar { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes ringin { from { stroke-dashoffset: 339; } }
@keyframes twinkle { 0%,100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.6) rotate(20deg); opacity: .5; } }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .squig, .draw { stroke-dashoffset: 0 !important; }
}
