/* PrepaGagnante — vitrine. Couleurs du logo : #292826 et #F9D342. */
:root {
  --ink: #292826;
  --ink-2: #3b3a37;
  --yellow: #f9d342;
  --yellow-soft: #fdf3c7;
  --yellow-deep: #e9bd1c;
  --cream: #f6f4ec;
  --paper: #ffffff;
  --muted: #6b6a66;
  --line: #e7e4da;
  --ok: #2e7d4f;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(41, 40, 38, 0.06), 0 6px 24px rgba(41, 40, 38, 0.06);
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3.4vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.center { text-align: center; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.section { padding: 48px 0; }
.section.cream { background: var(--cream); }
.section-head { display: grid; gap: 12px; margin-bottom: 28px; }
.section-head p { color: var(--muted); max-width: 60ch; margin: 0; }
.eyebrow { display: inline-block; width: 44px; height: 4px; background: var(--yellow); border-radius: 4px; margin-bottom: 10px; }
@media (min-width: 860px) {
  .section { padding: 80px 0; }
  .section-head.split { grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; }
}

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 2px solid var(--ink); background: var(--ink); color: #fff; font: inherit; font-weight: 700; font-size: 0.95rem; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--ink-2); }
.btn.yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn.yellow:hover { background: var(--yellow-deep); border-color: var(--yellow-deep); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--cream); }
.btn.small { min-height: 36px; padding: 6px 14px; font-size: 0.85rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand .accent { color: var(--yellow-deep); }
.nav-toggle { display: inline-flex; }
.main-nav { display: none; }
.main-nav.open { display: block; position: absolute; left: -16px; right: -16px; top: 64px; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 18px; box-shadow: var(--shadow); }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 10px 4px; text-decoration: none; font-weight: 600; white-space: nowrap; }
.main-nav a:hover { color: var(--yellow-deep); }
.main-nav .btn { display: inline-flex; margin-top: 10px; padding: 10px 18px; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .main-nav, .main-nav.open { display: flex; position: static; box-shadow: none; border: 0; padding: 0; align-items: center; gap: 24px; }
  .main-nav ul { display: flex; gap: 22px; }
  .main-nav a { padding: 6px 0; font-size: 0.95rem; }
  .main-nav .btn { margin: 0; padding: 6px 18px; }
}

/* Héros */
.hero { background: var(--cream); overflow: hidden; }
.hero-grid { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 48px; align-items: center; }
.hero h1 mark { background: linear-gradient(transparent 60%, var(--yellow) 60%); color: inherit; padding: 0 2px; }
.hero .lead { font-size: 1.08rem; color: var(--ink-2); max-width: 56ch; }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual .logo-disc { width: min(78vw, 400px); aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: var(--shadow); padding: 10px; }
.hero-badge { position: absolute; background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: 10px 14px; font-size: 0.8rem; line-height: 1.3; max-width: 170px; }
.hero-badge strong { display: block; font-size: 1.1rem; }
.hero-badge.b1 { top: 4%; left: 4px; background: var(--yellow-soft); }
.hero-badge.b2 { bottom: 4%; right: 4px; background: var(--yellow); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: 0.9rem; color: var(--muted); }
.trust-row span::before { content: "✓ "; color: var(--ok); font-weight: 800; }
@media (min-width: 860px) { .hero-grid { grid-template-columns: 1.15fr 1fr; padding-top: 72px; padding-bottom: 80px; } }

/* Cartes */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid.g2, .grid.g3, .grid.g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid.g3 { grid-template-columns: repeat(3, 1fr); } .grid.g4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.card.link { text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.card.link:hover { border-color: var(--ink); transform: translateY(-2px); }
.card h3 { margin: 0; }
.card p { margin: 0; }
.card .more { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 0.9rem; }
.card.soft { background: var(--yellow-soft); border-color: #f4e39a; }
.card.cream { background: var(--cream); }
.icon-tile { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: var(--yellow-soft); font-size: 1.3rem; flex: none; }
.feature { flex-direction: row; gap: 14px; align-items: flex-start; }
.feature h3 { font-size: 1rem; margin-bottom: 4px; }
.feature p { font-size: 0.9rem; color: var(--muted); }
.cat-icon { font-size: 1.6rem; }
.tag { display: inline-block; align-self: flex-start; font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--cream); color: var(--ink-2); border: 1px solid var(--line); }
.quote-card { border-radius: var(--radius); padding: 22px; }
.quote-card.c1 { background: var(--yellow); }
.quote-card.c2 { background: var(--yellow-soft); }
.quote-card.c3 { background: var(--cream); border: 1px solid var(--line); }
.quote-card h3 { font-size: 1.05rem; }
.quote-card p { font-size: 0.93rem; margin: 0; }

.steps { counter-reset: step; display: grid; gap: 14px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); font-weight: 800; margin-bottom: 10px; }
.step h3 { font-size: 1rem; margin-bottom: 4px; }
.step p { font-size: 0.9rem; color: var(--muted); margin: 0; }

.cta-band { background: var(--cream); border-radius: 20px; padding: 32px 20px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.cta-band p { color: var(--muted); max-width: 60ch; margin: 0; }

/* Pages intérieures */
.page-head { background: var(--cream); padding: 32px 0 28px; }
.page-head h1 { font-size: clamp(1.6rem, 4.2vw, 2.4rem); margin-bottom: 10px; }
.page-head p { color: var(--ink-2); max-width: 70ch; margin: 0; }
.crumbs { font-size: 0.82rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.3em; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.check-list li { padding-left: 28px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-size: 0.72rem; font-weight: 800; }
.two-col { display: grid; gap: 28px; align-items: start; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1.3fr 1fr; } }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.toolbar h2 { margin: 0; }

/* Pied de page */
.site-footer { background: var(--ink); color: #e9e7e1; padding: 48px 0 24px; }
.site-footer a { color: #e9e7e1; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.footer-grid .footer-brand { grid-column: 1 / -1; }
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin: 0 0 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.9rem; }
.footer-logo { width: 84px; height: 84px; border-radius: 50%; background: #fff; padding: 2px; }
.footer-bottom { border-top: 1px solid #45433f; margin-top: 32px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.82rem; color: #aaa79f; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; } .footer-grid .footer-brand { grid-column: auto; } }

.whatsapp-float { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: 54px; height: 54px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }
