/* =====================================================
   styles.css — styles partagés des pages skipyourcv.com
   Tokens, reset, nav, buttons, hero mockup, footer, CTA
   ===================================================== */

/* ═══════════════════════════════════════════════════
   Self-hosted fonts (sous-set latin uniquement)
   Conformité RGPD : pas de fuite IP utilisateur vers Google.
═══════════════════════════════════════════════════ */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/BebasNeue-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/DMSans.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url('/fonts/Syne.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/Inter.woff2') format('woff2-variations');
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #FAFAF7;
  color: #111827;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
svg { display: block; }
input, textarea, select, button { font-family: inherit; }

/* ===== Tokens ===== */
:root {
  --orange: #E85D1A;
  --success: #10A574;
  --orange-dark: #C44E15;
  --orange-dim: rgba(232,93,26,0.08);
  --orange-subtle: rgba(232,93,26,0.04);
  --dark: #0B0B0B;
  --text: #111827;
  --text-2: #4B5563;
  --text-3: #9CA3AF;
  --border: #E5E7EB;
  --border-strong: #D1D5DB;
  --surface-0: #FAFAF7;
  --surface-1: #FFFFFF;
  --surface-2: #F7F5F0;
  --surface-warm: #F5F0E8;
  --surface: #F9FAFB;
  --success: #059669;
  --success-bg: #D1FAE5;
  --r: 10px;
  --r-lg: 16px;
  --r-xl: 20px;
}

/* ===== Layout ===== */
.container { max-width: 1100px; width: 100%; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--alt { background: var(--surface-2); }
.section--warm { background: var(--surface-warm); }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* ===== Section headers ===== */
.section-eyebrow {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px; font-weight: 400; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 14px;
}
.section-eyebrow--brand { color: var(--orange); }
.section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 700; line-height: 1.18; color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.section-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px; color: var(--text-2); line-height: 1.6; max-width: 560px;
}
.section-head { margin-bottom: 56px; }
.center { text-align: center; }
.center .section-sub { margin: 0 auto; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  height: 72px;
  padding: 0 clamp(20px, 4vw, 48px);
  gap: 32px;
}
.logo {
  font-family: 'Syne', sans-serif;
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.02em;
}
.logo-skip { color: var(--text); }
.logo-yourcv { color: var(--orange); }

/* Nom de marque inline (réutilisable dans le contenu) */
.brand-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand-name-skip { color: currentColor; }
.brand-name-your { color: var(--orange); }

/* F-77 : flex: 1 sur .nav-links pour qu'elle prenne tout l'espace dispo
   entre le logo et le bord droit de .nav-inner. Combiné avec les 2 auto-
   margins ci-dessous (li:first-child et nav-cta-li), reproduit le rendu
   pré-F-28-polish "4 liens centrés, CTA à droite" malgré le fait que le
   CTA soit désormais à l'intérieur de l'<ul> au lieu d'être un sibling. */
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; flex: 1; }
.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 500;
  color: var(--text-2);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--orange); }
.nav-links a.active { color: var(--orange); font-weight: 600; }

.nav-cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 600;
  background: var(--orange); color: #fff;
  padding: 11px 22px; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.15s, transform 0.1s;
}
.nav-cta:hover { background: var(--orange-dark); transform: translateY(-1px); }

/* F-77 : override desktop des propriétés héritées de .nav-links a (color,
   font-size, font-weight) par le CTA. La règle .nav-links a (spec 0,1,1)
   battait .nav-cta (spec 0,1,0) depuis que le CTA est descendant de
   .nav-links (F-28-polish). Le sélecteur .nav-links .nav-cta (spec 0,2,0)
   bat .nav-links a et restaure le rendu pill blanc sur orange. */
.nav-links .nav-cta {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

/* F-28-polish : .nav-cta est désormais inclus dans <ul class="nav-links">
   en tant que <li class="nav-cta-li"> pour qu'il rejoigne le drawer mobile.
   Sur desktop, margin-left: auto pousse le CTA à droite du flex de l'ul.
   F-77 : ajout d'un margin-left: auto sur le premier li pour reproduire la
   distribution flex pré-F-28-polish (4 liens visuellement centrés entre
   le logo et le CTA, CTA à droite). En mobile drawer ouvert (column-flex
   avec items width 100%), ces auto-margins horizontaux n'ont aucun effet
   visible, donc safe sans @media. */
.nav-cta-li { list-style: none; margin-left: auto; }
.nav-links li:first-child { margin-left: auto; }

/* Burger mobile (F-28) : caché en desktop, visible uniquement <=1024px.
   Touch target 44x44 minimum (Apple HIG, WCAG 2.5.5). Les 2 SVG (burger
   et X) coexistent dans le bouton, leur visibilité est togglée par la
   classe .nav-mobile-open posée sur le <nav> par header-mobile.js. */
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  padding: 10px;
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text);
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.nav-burger:hover { color: var(--orange); background: var(--surface-2); }
.nav-burger:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.nav-burger svg { width: 24px; height: 24px; display: block; }
/* Toggle des 2 icônes via aria-expanded (source de vérité, posé par
   header-mobile.js). Spécificité 0,3,0 nécessaire pour battre la règle
   .nav-burger svg { display: block } qui s'appliquerait sinon aux 2
   SVG simultanément (F-28-fix). */
.nav-burger[aria-expanded="false"] .nav-burger-close,
.nav-burger:not([aria-expanded="true"]) .nav-burger-close { display: none; }
.nav-burger[aria-expanded="true"] .nav-burger-open { display: none; }

/* ===== Buttons ===== */
.btn-primary {
  font-family: 'DM Sans', sans-serif;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: #fff;
  font-size: 16px; font-weight: 600;
  padding: 16px 32px; border-radius: 12px;
  border: none; cursor: pointer;
  box-shadow: 0 4px 18px rgba(232,93,26,0.28);
  transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
}
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 6px 28px rgba(232,93,26,0.40); transform: translateY(-1px); }
.btn-primary:active { transform: none; }

.btn-ghost {
  font-family: 'DM Sans', sans-serif;
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  font-size: 16px; font-weight: 600;
  padding: 16px 28px; border-radius: 12px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.btn-ghost:hover { border-color: var(--orange); background: var(--orange-subtle); }

/* ===== Hero générique (page) ===== */
.hero {
  position: relative; background: var(--surface-0);
  padding: 80px 48px; overflow: visible;
}
.hero-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 48px; align-items: center;
  text-align: left;
}
.hero-inner--simple {
  grid-template-columns: 1fr;
  max-width: 900px;
  text-align: center;
}
.hero-inner--simple .hero-sub { margin-left: auto; margin-right: auto; }
.hero-inner--simple .hero-actions { justify-content: center; }

/* Badge pill */
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 500;
  padding: 10px 20px; border-radius: 100px; margin-bottom: 32px;
}
.badge-dot {
  width: 8px; height: 8px; background: #10B981;
  border-radius: 50%; animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.75); }
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 26px;
}
.hero h1.h1--xl {
  font-size: clamp(56px, 7vw, 104px);
  letter-spacing: 0.01em;
}
.hero h1 em { font-style: normal; color: var(--orange); }

.hero-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 19px; font-weight: 400;
  color: var(--text-2);
  max-width: 640px;
  margin: 0 0 32px;
  line-height: 1.6;
}
.hero-sub--sm { font-size: 17px; max-width: 500px; }

.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-trust {
  display: flex; gap: 24px; flex-wrap: wrap;
  align-items: center;
}
.hero-trust-item {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; color: var(--text-3);
}
.hero-trust-item svg { color: #10B981; flex-shrink: 0; }

/* ===== Hero mockup (home uniquement) ===== */
.hero-mockup-wrap {
  position: relative; padding: 20px;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes float-sm {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.hero-mockup {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03), 0 16px 48px rgba(0,0,0,0.06);
  position: relative;
}
.mockup-header {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.mockup-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--orange); color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px; letter-spacing: 0.04em;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mockup-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px; font-weight: 600; color: var(--text);
  line-height: 1.2;
}
.mockup-role {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; color: var(--text-3);
  margin-top: 2px;
}
.score-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.score-row {
  display: grid; grid-template-columns: 140px 1fr 40px;
  gap: 12px; align-items: center;
}
.score-label { font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text); }
.score-bar { height: 8px; background: var(--surface); border-radius: 100px; overflow: hidden; }
.score-fill { height: 100%; background: var(--orange); border-radius: 100px; }
.score-val {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 600; color: var(--text);
  text-align: right;
}
.mockup-footer {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: right;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; color: var(--text-3);
}

.floating-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  display: flex; align-items: center; gap: 12px;
  z-index: 2;
}
.floating-card.top-right {
  top: -20px; right: -24px;
  animation: float-sm 4s ease-in-out infinite;
  animation-delay: 0.5s;
}
.floating-card.bot-left {
  bottom: -20px; left: -24px;
  animation: float-sm 4s ease-in-out infinite;
  animation-delay: 1s;
}
@media (prefers-reduced-motion: reduce) {
  .hero-mockup-wrap,
  .floating-card.top-right,
  .floating-card.bot-left { animation: none; }
}
.fc-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fc-icon.warning { background: #FEF3E2; color: #D97706; }
.fc-icon.success { background: #D1FAE5; color: #059669; }
.fc-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 600; color: var(--text);
  line-height: 1.3;
}
.fc-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; color: var(--text-3);
  margin-top: 1px;
}

/* ===== Stats grid (home + pages pro) ===== */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
}
.stats-grid--3 { grid-template-columns: repeat(3, 1fr); }
.stat-card { background: #fff; padding: 36px 24px; text-align: center; display: flex; flex-direction: column; }
.stat-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 52px; font-weight: 800; color: var(--orange);
  line-height: 1; letter-spacing: -1.5px; margin-bottom: 8px;
}
.stat-num--range { font-size: 32px; letter-spacing: -0.5px; line-height: 1.2; }
.stat-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px;
}
.stat-source {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; color: var(--text-3);
  margin-top: auto;
}
.stat-source a { color: var(--text-3); text-decoration: none; }
.stat-source a:hover { color: var(--orange); }

/* ===== Cards génériques (features, solutions) ===== */
.cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  border-color: rgba(232,93,26,0.22);
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}
.card-icon {
  width: 44px; height: 44px; background: var(--orange-dim);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 18px; color: var(--orange);
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 10px;
}
.card p {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; color: var(--text-2); line-height: 1.65;
}

/* ===== Footer ===== */
.footer { background: var(--dark); padding: 60px 0 40px; border-top: 1px solid rgba(255,255,255,0.04); }
.footer > .container {
  max-width: 100%;
  padding: 0 clamp(20px, 4vw, 48px);
}
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-logo { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.footer-skip { color: #fff; }
.footer-yourcv { color: var(--orange); }
.footer-tagline { font-family: 'DM Sans', sans-serif; font-size: 14px; color: rgba(255,255,255,0.38); font-style: italic; margin-bottom: 18px; line-height: 1.5; }
.footer-flag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,0.22); }
.footer-flag svg { width: 18px; height: 12px; border-radius: 2px; }
.footer-col-label { font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.7px; text-transform: uppercase; color: rgba(255,255,255,0.22); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-family: 'DM Sans', sans-serif; font-size: 14px; color: rgba(255,255,255,0.46); transition: color 0.15s; }
.footer-links a:hover { color: rgba(255,255,255,0.88); }
.footer-bottom {
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copy { font-family: 'DM Sans', sans-serif; font-size: 13px; color: rgba(255,255,255,0.22); }
.footer-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--success);
  background: transparent;
  border: 1px solid var(--success);
  padding: 6px 14px; border-radius: 100px;
}
.footer-pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 165, 116, 0.5); }
  50%      { box-shadow: 0 0 0 5px rgba(16, 165, 116, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-pill::before { animation: none; }
}

/* ===== CTA block orange (réutilisé sur toutes les pages) ===== */
.cta-block {
  background: var(--orange);
  border-radius: var(--r-lg);
  padding: 56px 44px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}
.cta-block-kicker {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px; font-weight: 400; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.82);
  margin-bottom: 16px;
}
.cta-block-hero {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 88px; font-weight: 400;
  color: #fff; line-height: 1; letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.cta-block-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px; font-weight: 500; color: rgba(255,255,255,0.95);
  line-height: 1.4; margin-bottom: 20px;
}
.cta-block-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; color: rgba(255,255,255,0.82);
  margin-bottom: 10px; line-height: 1.55;
}
.cta-block-note {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; color: rgba(255,255,255,0.72);
  font-style: italic; margin-bottom: 36px;
}
.cta-block-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; color: var(--orange);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 700; padding: 14px 32px;
  border-radius: var(--r); border: none; cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 14px rgba(0,0,0,0.14);
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}
.cta-block-btn:hover { background: #fef3ec; transform: translateY(-1px); box-shadow: 0 4px 22px rgba(0,0,0,0.20); }
.cta-block-btn:active { transform: none; }

/* ===== Responsive commun ===== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
/* F-28-polish-2 : breakpoint nav/header monté de 900px à 1024px pour
   gérer la zone 901-1023px (laptops 13", iPad horizontal) où le nav
   desktop wrappait sur 2 lignes. Bloc nav isolé du bloc hero qui reste
   à 900px (voir @media (max-width: 900px) plus bas). */
@media (max-width: 1024px) {
  .nav-inner { gap: 16px; }
  /* F-28 : burger visible, nav-cta caché du header inline (déplacé dans
     le drawer pour libérer de la place). Liens cachés par défaut, drawer
     plein largeur s'ouvre via .nav-mobile-open. */
  .nav-burger { display: flex; }
  .nav-cta    { display: none; }
  .nav-links  { display: none; }

  .nav.nav-mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    position: fixed;
    top: 72px;                        /* hauteur du nav */
    left: 0; right: 0;
    /* F-28-fix : --white et --shadow-md n'existent pas dans les tokens
       du landing, ce qui rendait le drawer transparent. Tokens réels :
       --surface-1 (#FFFFFF) pour le fond opaque, box-shadow inline. */
    background: var(--surface-1);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px 24px;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(15, 15, 14, 0.08);
    animation: nav-mobile-slide 200ms ease-out;
  }
  .nav.nav-mobile-open .nav-links li { width: 100%; list-style: none; }
  .nav.nav-mobile-open .nav-links a {
    display: block;
    padding: 14px 12px;               /* touch target ~48px */
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: var(--text);
    border-radius: 8px;
  }
  .nav.nav-mobile-open .nav-links a:hover,
  .nav.nav-mobile-open .nav-links a.active { background: var(--surface-2); color: var(--orange); }

  /* F-28-polish : le CTA "Se connecter" devient un bouton normal (plus
     un pill géant) en bas du drawer, sous un séparateur visuel entre
     les 4 liens nav et l'action de connexion. */
  .nav.nav-mobile-open .nav-cta-li {
    margin-left: 0;                   /* annule le push à droite du desktop */
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }
  .nav.nav-mobile-open .nav-links .nav-cta {
    display: inline-flex;
    align-self: flex-start;
    width: auto;
    padding: 10px 18px;
    border-radius: var(--r);
    font-size: 14px;
    font-weight: 600;
    background: var(--orange);
    color: var(--surface-1);          /* #FFFFFF via le token sémantique */
  }
  .nav.nav-mobile-open .nav-links .nav-cta:hover { background: var(--orange-dark); }
  @keyframes nav-mobile-slide {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 900px) {
  .hero { padding: 48px 24px 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-mockup-wrap { max-width: 440px; margin: 0 auto; }
  .floating-card.top-right { right: 0; }
  .floating-card.bot-left  { left: 0; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero-sub { font-size: 17px; }
  .section-title { font-size: 28px; }
  .cards-grid, .cards-grid--2 { grid-template-columns: 1fr; }
  .stats-grid, .stats-grid--3 { grid-template-columns: 1fr; }
  .stat-num { font-size: 44px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .cta-block { padding: 40px 24px; }
  .cta-block-hero { font-size: 64px; letter-spacing: 0.01em; }
  .cta-block-title { font-size: 17px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { justify-content: center; }
}

/* ═══════════════════════════════════════════════════
   Pages légales (mentions-legales, confidentialite, cgu)
═══════════════════════════════════════════════════ */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}
.legal-content .legal-intro {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.legal-content h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-top: 48px;
  margin-bottom: 16px;
  line-height: 1.15;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-top: 24px;
  margin-bottom: 8px;
}
.legal-content p {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 16px;
}
.legal-content ul {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 16px;
  padding-left: 20px;
}
.legal-content ul li { margin-bottom: 6px; }
.legal-content a {
  color: var(--orange-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover { color: var(--orange); }
.legal-content strong { color: var(--text); font-weight: 600; }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
}
.legal-table th,
.legal-table td {
  border: 1px solid var(--border);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.legal-table th {
  background: var(--surface-2);
  color: var(--text);
  font-weight: 600;
}
.legal-table tbody tr:nth-child(even) td { background: var(--surface-2); }
.legal-version {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text-3);
  text-align: center;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
@media (max-width: 640px) {
  .legal-content { padding: 32px 20px 48px; }
  .legal-content h2 { font-size: 24px; }
  .legal-content h3 { font-size: 16px; }
  .legal-content p, .legal-content ul { font-size: 15px; }
}
