/* ═══════════════════════════════════════
   TOUS SOLOPRENEURS — Design System
   Couleurs : #0a1543 · #5371FF
═══════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --navy: #0a1543;
  --navy-mid: #0f1d5a;
  --navy-light: #152068;
  --blue: #5371FF;
  --blue-light: #7B91FF;
  --blue-glow: rgba(83,113,255,0.15);
  --blue-dim: rgba(83,113,255,0.08);
  --cream: #F7F8FF;
  --gray: #8896B8;
  --light: #EEF1FF;
  --white: #ffffff;
  --text: #1A2045;
  --border: rgba(83,113,255,0.15);
}

/* CURSOR */
#cursor {
  position: fixed; width: 16px; height: 16px;
  background: var(--white); border-radius: 50%;
  pointer-events: none; z-index: 99999;
  mix-blend-mode: difference;
  transform: translate(-50%,-50%);
  transition: width .2s, height .2s, opacity .2s;
  display: none;
}
@media (pointer:fine){ #cursor { display: block; } }
#cursor.hover { width: 44px; height: 44px; opacity: .5; }

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}
@media(pointer:coarse){ body { cursor: auto; } }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ═══ NAV ═══ */
nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(10,21,67,0.97);
  backdrop-filter: blur(16px);
  padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
  height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo img { height: 32px; width: auto; }
.nav-logo-text {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 16px;
  color: var(--white); letter-spacing: -0.3px;
}
.nav-logo-text span { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links > li > a {
  color: rgba(255,255,255,0.6); font-size: 13px; font-weight: 400;
  letter-spacing: 0.3px; transition: color .2s; white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--blue-light); }
.dropdown { position: relative; }
.dropdown > a::after { content: ' ↓'; font-size: 10px; opacity: .6; }
.dropdown-menu {
  display: none; position: absolute;
  top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%);
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 10px; min-width: 220px;
  list-style: none; z-index: 999;
  box-shadow: 0 20px 60px rgba(10,21,67,0.4);
}
.dropdown-menu::after {
  content: ''; position: absolute;
  top: -16px; left: 0; right: 0; height: 16px; background: transparent;
}
.dropdown-menu::before {
  content: ''; position: absolute; top: -5px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px; background: var(--navy-mid);
  border-left: 1px solid var(--border); border-top: 1px solid var(--border);
}
.dropdown-menu li a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; color: rgba(255,255,255,0.7);
  font-size: 13px; transition: all .2s;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu li a:hover { background: rgba(83,113,255,0.1); color: var(--white); padding-left: 24px; }
.dropdown:hover .dropdown-menu { display: block; animation: dropIn .2s ease; }
@keyframes dropIn {
  from { opacity:0; transform: translateX(-50%) translateY(-8px); }
  to   { opacity:1; transform: translateX(-50%) translateY(0); }
}
.nav-cta {
  background: var(--blue); color: var(--white);
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 13px;
  padding: 10px 24px; border-radius: 6px;
  letter-spacing: 0.3px; transition: all .2s; flex-shrink: 0;
  border: 1px solid var(--blue);
}
.nav-cta:hover { background: var(--blue-light); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 22px; height: 2px; background: white; border-radius: 2px; }
.mobile-nav {
  display: none; position: fixed; top: 64px; left: 0; right: 0;
  background: rgba(10,21,67,0.98); z-index: 999;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 14px 24px; color: rgba(255,255,255,0.7);
  font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color .2s;
}
.mobile-nav a:hover { color: var(--blue-light); }

/* ═══ PAGE HERO (pages internes) ═══ */
.page-hero {
  background: var(--navy); padding: 120px 48px 80px;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 55% at 72% 46%, rgba(83,113,255,0.12) 0%, transparent 65%);
}
.page-hero-grid {
  position: absolute; inset: 0; opacity: 0.025;
  background-image:
    linear-gradient(rgba(255,255,255,0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.6) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; width: 100%; }
.page-breadcrumb { font-size: 12px; color: rgba(255,255,255,0.3); margin-bottom: 16px; letter-spacing: 0.5px; }
.page-breadcrumb a { color: rgba(255,255,255,0.4); transition: color .2s; }
.page-breadcrumb a:hover { color: var(--blue-light); }
.page-hero h1 {
  font-family: 'Syne', sans-serif; font-size: clamp(28px,4vw,52px); font-weight: 800;
  color: var(--white); letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 16px;
}
.page-hero h1 em { color: var(--blue); font-style: normal; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.5); max-width: 560px; line-height: 1.7; }

/* ═══ CONTENT WRAPPER ═══ */
.page-content { padding: 80px 48px; max-width: 1200px; margin: 0 auto; }

/* ═══ TYPOGRAPHY ═══ */
.section-label {
  font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px; display: block;
}
.section-title {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(26px, 3vw, 44px);
  letter-spacing: -1.5px; line-height: 1.1;
  color: var(--navy); margin-bottom: 20px;
}
.section-title.light { color: var(--white); }
.section-sub {
  font-size: 17px; color: var(--gray); font-weight: 300; line-height: 1.8;
}

/* ═══ BUTTONS ═══ */
.btn-primary {
  background: var(--blue); color: var(--white);
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15px;
  padding: 16px 36px; border-radius: 6px; cursor: pointer;
  transition: all .25s; display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 32px rgba(83,113,255,0.3); border: none; text-decoration: none;
}
.btn-primary:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 16px 48px rgba(83,113,255,0.4); }
.btn-white {
  background: var(--white); color: var(--navy);
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15px;
  padding: 16px 44px; border-radius: 6px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all .25s; cursor: pointer;
  box-shadow: 0 12px 40px rgba(10,21,67,0.2); border: none; text-decoration: none;
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(10,21,67,0.3); }
.btn-outline {
  background: transparent; color: var(--blue); border: 1px solid var(--blue);
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 14px;
  padding: 12px 28px; border-radius: 6px; cursor: pointer;
  transition: all .2s; display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
}
.btn-outline:hover { background: var(--blue-dim); }

/* ═══ CARDS ═══ */
.card {
  background: var(--white); border: 1px solid rgba(83,113,255,0.1);
  border-radius: 14px; transition: all .3s;
}
.card:hover { border-color: rgba(83,113,255,0.3); box-shadow: 0 12px 40px rgba(10,21,67,0.1); }

/* ═══ BLOG CARDS ═══ */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.blog-card { background: var(--white); border: 1px solid rgba(83,113,255,0.1); border-radius: 14px; overflow: hidden; transition: all .3s; text-decoration: none; display: block; }
.blog-card:hover { border-color: rgba(83,113,255,0.3); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(10,21,67,0.1); }
.blog-thumb { height: 180px; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--navy-light)); display: flex; align-items: center; justify-content: center; }
.blog-thumb-emoji { font-size: 48px; opacity: 0.3; }
.blog-cat-badge { position: absolute; top: 12px; left: 12px; font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 100px; background: var(--blue); color: white; letter-spacing: 0.5px; text-transform: uppercase; }
.blog-body { padding: 20px; }
.blog-title { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.blog-excerpt { font-size: 13px; color: var(--gray); line-height: 1.7; margin-bottom: 16px; }
.blog-meta { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--gray); }
.blog-read { color: var(--blue); font-weight: 600; }
.blog-cats { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.cat-btn { font-size: 12px; font-weight: 600; padding: 7px 18px; border-radius: 100px; cursor: pointer; transition: all .2s; background: var(--white); color: var(--gray); border: 1px solid var(--border); }
.cat-btn.active, .cat-btn:hover { background: var(--blue); color: white; border-color: var(--blue); }

/* ═══ PODCAST ═══ */
.podcast-ep { background: var(--white); border: 1px solid rgba(83,113,255,0.1); border-radius: 14px; padding: 28px; display: flex; gap: 24px; align-items: center; transition: all .3s; }
.podcast-ep:hover { border-color: rgba(83,113,255,0.3); box-shadow: 0 8px 32px rgba(10,21,67,0.08); }
.podcast-ep-num { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 800; color: rgba(83,113,255,0.2); flex-shrink: 0; width: 60px; }
.podcast-ep-body { flex: 1; }
.podcast-ep-title { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.podcast-ep-desc { font-size: 13px; color: var(--gray); line-height: 1.6; }
.podcast-ep-meta { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.podcast-ep-dur { font-size: 12px; color: var(--gray); }
.podcast-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; padding: 6px 14px; border-radius: 100px; text-decoration: none; transition: all .2s; }
.podcast-btn.yt { background: rgba(255,0,0,0.1); color: #e03333; }
.podcast-btn.sp { background: rgba(30,215,96,0.1); color: #1DB954; }
.podcast-btn:hover { transform: scale(1.05); }

/* ═══ TOOLS ═══ */
.tools-search-wrap { display: flex; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.tools-search-input { flex: 1; min-width: 200px; padding: 12px 20px; border-radius: 8px; border: 1px solid rgba(83,113,255,0.2); background: white; font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text); outline: none; transition: border-color .2s; }
.tools-search-input:focus { border-color: var(--blue); }
.tools-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.tool-card { background: var(--white); border: 1px solid rgba(83,113,255,0.1); border-radius: 12px; padding: 20px; text-align: center; transition: all .3s; }
.tool-card:hover { border-color: rgba(83,113,255,0.35); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(10,21,67,0.1); }
.tool-logo-box { width: 56px; height: 56px; margin: 0 auto 12px; background: var(--blue-dim); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 20px; color: var(--blue); }
.tool-name-t { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.tool-desc-t { font-size: 12px; color: var(--gray); line-height: 1.5; margin-bottom: 14px; min-height: 36px; }
.tool-btn { display: inline-block; background: var(--blue); color: white; font-size: 11px; font-weight: 700; padding: 7px 16px; border-radius: 100px; transition: all .2s; text-decoration: none; }
.tool-btn:hover { background: var(--blue-light); transform: scale(1.05); }

/* ═══ PROGRAMMES ═══ */
.programmes-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.prog-card { background: var(--white); border: 1px solid rgba(83,113,255,0.12); border-radius: 20px; padding: 36px; transition: all .3s; position: relative; }
.prog-card.featured { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), 0 24px 64px rgba(83,113,255,0.15); }
.prog-badge { position: absolute; top: 20px; right: 20px; background: var(--blue); color: white; font-size: 10px; font-weight: 700; padding: 4px 12px; border-radius: 100px; }
.prog-name { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 8px; letter-spacing: -0.5px; }
.prog-tagline { font-size: 14px; color: var(--blue); font-weight: 500; margin-bottom: 20px; }
.prog-price { font-family: 'Syne', sans-serif; font-size: 32px; font-weight: 800; color: var(--navy); margin-bottom: 24px; }
.prog-price span { font-size: 14px; font-weight: 400; color: var(--gray); }
.prog-divider { border: none; border-top: 1px solid rgba(83,113,255,0.1); margin: 20px 0; }
.prog-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.prog-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); }
.prog-features li::before { content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0; }
.prog-cta { width: 100%; padding: 14px; border-radius: 8px; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 14px; cursor: pointer; transition: all .25s; text-align: center; display: block; text-decoration: none; }
.prog-cta.primary { background: var(--blue); color: white; border: 1px solid var(--blue); }
.prog-cta.primary:hover { background: var(--blue-light); transform: translateY(-2px); }
.prog-cta.outline { background: transparent; color: var(--blue); border: 1px solid var(--blue); }
.prog-cta.outline:hover { background: var(--blue-dim); }

/* ═══ RESSOURCES ═══ */
.ress-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.ress-card { background: var(--white); border: 1px solid rgba(83,113,255,0.12); border-radius: 14px; padding: 28px; display: flex; gap: 20px; align-items: flex-start; transition: all .3s; }
.ress-card:hover { border-color: rgba(83,113,255,0.3); box-shadow: 0 8px 32px rgba(10,21,67,0.08); }
.ress-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--blue-dim); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.ress-title { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.ress-text { font-size: 13px; color: var(--gray); line-height: 1.6; margin-bottom: 12px; }
.ress-dl-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--blue); cursor: pointer; background: none; border: none; padding: 0; transition: gap .2s; text-decoration: none; }
.ress-dl-btn:hover { gap: 10px; }

/* ═══ FOOTER ═══ */
footer { background: var(--navy); border-top: 1px solid var(--border); padding: 40px 48px 24px; }
.footer-main { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 16px; }
.footer-logo { font-family: 'Syne', sans-serif; font-weight: 800; color: var(--white); font-size: 16px; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.footer-logo span { color: var(--blue); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.35); font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: var(--blue-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 16px; text-align: center; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.15); line-height: 1.8; }

/* ═══ REVEAL ═══ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ═══ LEGAL ═══ */
.legal-content h2 { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 700; color: var(--navy); margin: 32px 0 12px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-size: 15px; color: var(--gray); line-height: 1.8; margin-bottom: 12px; }
.legal-content a { color: var(--blue); }

/* ═══ SECTION SPACING ═══ */
.section { padding: 100px 48px; }
.section-inner { max-width: 1200px; margin: 0 auto; }

/* ═══ UTILITY ═══ */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
.gap-page { margin-bottom: 56px; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .programmes-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 64px 20px; }
  .page-hero { padding: 100px 20px 60px; }
  .page-content { padding: 48px 20px; }
  footer { padding: 32px 20px; }
  .footer-main { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .blog-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2,1fr); }
  .programmes-grid { grid-template-columns: 1fr; }
  .ress-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .tools-grid { grid-template-columns: 1fr; }
}
