/* =============================================
   CodePiège — styles.css  v2
   Site statique officiel
   ============================================= */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* =============================================
   TOKENS
   ============================================= */
:root {
  --bg-main:       #071B33;
  --bg-deep:       #061426;
  --bg-card:       #0B2A4A;
  --bg-card-soft:  #102B4C;
  --bg-card-hover: #0F3259;

  --cyan:    #38BDF8;
  --cyan-dk: #0EA5E9;
  --orange:  #F97316;
  --yellow:  #FACC15;
  --green:   #22C55E;
  --purple:  #A78BFA;
  --red:     #EF4444;

  --text-white:  #F8FAFC;
  --text-sub:    #CBD5E1;
  --text-muted:  #64748B;

  --border:       rgba(56,189,248,0.14);
  --border-hover: rgba(56,189,248,0.35);
  --border-glow:  rgba(56,189,248,0.5);

  --grad-cyan:    linear-gradient(135deg, #38BDF8, #0EA5E9);
  --grad-orange:  linear-gradient(135deg, #F97316, #EA580C);
  --grad-premium: linear-gradient(135deg, #7C3AED, #4F46E5, #0EA5E9);
  --grad-hero:    linear-gradient(135deg, #F8FAFC 20%, #38BDF8 55%, #F97316 100%);

  --glow-cyan:   0 0 32px rgba(56,189,248,0.22);
  --glow-orange: 0 0 32px rgba(249,115,22,0.2);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.35);

  --r-sm: 10px;
  --r:    18px;
  --r-lg: 26px;
  --r-xl: 32px;
}

/* =============================================
   BASE
   ============================================= */
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(56,189,248,0.18) 0%, transparent 30%),
    radial-gradient(circle at 90% 0%, rgba(249,115,22,0.12) 0%, transparent 28%),
    linear-gradient(180deg, #071B33 0%, #061426 100%);
  background-attachment: scroll;
  min-height: 100vh;
  color: var(--text-white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -0.025em; }

a { color: var(--cyan); text-decoration: none; transition: all 0.2s; }
a:hover { opacity: 0.82; }

/* =============================================
   LAYOUT
   ============================================= */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* =============================================
   HEADER
   ============================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(6, 20, 38, 0.82);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo — image seule, pas de texte doublon */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.88; }

.logo-img {
  width: 160px;
  height: auto;
  display: block;
  object-fit: contain;
}

.nav { display: flex; align-items: center; gap: 4px; }

.nav a {
  color: var(--text-sub);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--r-sm);
  transition: all 0.2s;
  border: 1px solid transparent;
}

.nav a:hover {
  color: var(--text-white);
  background: rgba(11,42,74,0.8);
  border-color: var(--border);
  opacity: 1;
}

.nav a.active {
  color: var(--cyan);
  background: rgba(56,189,248,0.08);
  border-color: rgba(56,189,248,0.2);
  opacity: 1;
}

.nav-toggle {
  display: none;
  background: rgba(11,42,74,0.7);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 7px 12px;
  color: var(--text-white);
  font-size: 1.15rem;
  line-height: 1;
  transition: all 0.2s;
}
.nav-toggle:hover { border-color: var(--border-hover); background: var(--bg-card); }

/* =============================================
   HERO — 2-column layout
   ============================================= */
.hero {
  padding: 88px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Ambient glow orbs */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(56,189,248,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  right: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56,189,248,0.08);
  border: 1px solid rgba(56,189,248,0.28);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.18;
  padding-bottom: 8px;
  margin-bottom: 22px;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--text-sub);
  line-height: 1.78;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* =============================================
   BADGES
   ============================================= */
.badges { display: flex; flex-wrap: wrap; gap: 9px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.badge-cyan   { background: rgba(56,189,248,0.1);  border-color: rgba(56,189,248,0.28); color: var(--cyan);   }
.badge-orange { background: rgba(249,115,22,0.1);  border-color: rgba(249,115,22,0.28); color: var(--orange); }
.badge-yellow { background: rgba(250,204,21,0.1);  border-color: rgba(250,204,21,0.28); color: var(--yellow); }
.badge-green  { background: rgba(34,197,94,0.1);   border-color: rgba(34,197,94,0.28);  color: var(--green);  }
.badge-purple { background: rgba(167,139,250,0.1); border-color: rgba(167,139,250,0.28);color: var(--purple); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 30px;
  border-radius: 100px;
  font-size: 0.97rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.22s ease;
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
  position: relative;
}

.btn-primary {
  background: var(--grad-cyan);
  color: #061426;
  box-shadow: 0 4px 18px rgba(56,189,248,0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(56,189,248,0.45);
  opacity: 1;
}

.btn-secondary {
  background: rgba(11,42,74,0.6);
  color: var(--text-white);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: var(--bg-card);
  border-color: rgba(56,189,248,0.3);
  transform: translateY(-2px);
  opacity: 1;
}

.btn-outline-cyan {
  background: transparent;
  color: var(--cyan);
  border: 1px solid rgba(56,189,248,0.35);
}
.btn-outline-cyan:hover {
  background: rgba(56,189,248,0.08);
  border-color: var(--border-glow);
  transform: translateY(-2px);
  opacity: 1;
}

/* =============================================
   HERO PHONE IMAGE
   ============================================= */
.hero-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-phone::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(56,189,248,0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-phone-img {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter:
    drop-shadow(0 28px 60px rgba(56,189,248,0.28))
    drop-shadow(0 8px 24px rgba(0,0,0,0.55));
}

/* =============================================
   SECTIONS
   ============================================= */
.section { padding: 88px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--cyan);
  margin-bottom: 18px;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--grad-cyan);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.section-desc {
  color: var(--text-sub);
  font-size: 1.03rem;
  max-width: 560px;
  line-height: 1.78;
  margin-bottom: 56px;
}

.section-alt {
  background:
    radial-gradient(circle at 80% 50%, rgba(56,189,248,0.06) 0%, transparent 40%),
    linear-gradient(180deg, rgba(11,42,74,0.4) 0%, rgba(6,20,38,0.6) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* =============================================
   FEATURE CARDS
   ============================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.card {
  background: linear-gradient(145deg, var(--bg-card-soft), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 34px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56,189,248,0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card), var(--glow-cyan);
}
.card:hover::after { opacity: 1; }

.card-icon  { font-size: 2.4rem; margin-bottom: 20px; display: block; line-height: 1; }
.card-title { font-size: 1.08rem; font-weight: 800; margin-bottom: 10px; color: var(--text-white); }
.card-desc  { color: var(--text-sub); font-size: 0.92rem; line-height: 1.68; }

/* =============================================
   STEPS
   ============================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  counter-reset: steps;
}

.step {
  text-align: center;
  padding: 40px 26px 34px;
  background: linear-gradient(145deg, var(--bg-card-soft), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  counter-increment: steps;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step::before {
  content: counter(steps);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  background: var(--grad-cyan);
  color: #061426;
  font-weight: 900;
  font-size: 1.15rem;
  border-radius: 50%;
  margin: 0 auto 22px;
  box-shadow: 0 4px 18px rgba(56,189,248,0.35);
}

.step:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--glow-cyan);
}

.step-title { font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; }
.step-desc  { color: var(--text-sub); font-size: 0.9rem; line-height: 1.68; }

/* =============================================
   PREMIUM SECTION
   ============================================= */
.premium-section {
  background:
    radial-gradient(circle at 20% 50%, rgba(124,58,237,0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(14,165,233,0.08) 0%, transparent 40%),
    linear-gradient(180deg, #0B1829 0%, #0D0E25 50%, #0B1829 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.premium-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--grad-premium);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
  box-shadow: 0 4px 16px rgba(124,58,237,0.3);
}

.premium-title {
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.premium-desc {
  color: var(--text-sub);
  line-height: 1.78;
  margin-bottom: 38px;
  font-size: 1rem;
}

.premium-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.premium-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-sub);
  font-size: 0.93rem;
  font-weight: 500;
  padding: 13px 18px;
  background: rgba(56,189,248,0.04);
  border: 1px solid rgba(56,189,248,0.1);
  border-radius: var(--r-sm);
  transition: all 0.22s;
}

.premium-features li:hover {
  border-color: rgba(56,189,248,0.28);
  background: rgba(56,189,248,0.07);
  color: var(--text-white);
  transform: translateX(4px);
}

.premium-features li::before {
  content: '✦';
  color: var(--cyan);
  flex-shrink: 0;
  font-size: 0.72rem;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  padding: 52px 0 36px;
  border-top: 1px solid var(--border);
  background: rgba(6,20,38,0.6);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo-img {
  width: 120px;
  height: auto;
  display: block;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.footer-logo-img:hover { opacity: 1; }

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-white); opacity: 1; }

.footer-copy {
  color: var(--text-muted);
  font-size: 0.82rem;
  width: 100%;
  text-align: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* =============================================
   INNER PAGES — PAGE HEADER
   ============================================= */
.page-header {
  padding: 60px 0 48px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -40%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(56,189,248,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-sub);
  font-size: 0.86rem;
  font-weight: 500;
  margin-bottom: 32px;
  padding: 9px 18px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  transition: all 0.2s;
  position: relative;
}
.back-btn:hover {
  color: var(--text-white);
  border-color: var(--border-hover);
  background: var(--bg-card);
  opacity: 1;
}

.page-header-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #F8FAFC 40%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header-desc {
  color: var(--text-sub);
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 1.03rem;
  line-height: 1.78;
}

/* =============================================
   SUPPORT
   ============================================= */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.support-card {
  background: linear-gradient(145deg, var(--bg-card-soft), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.support-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56,189,248,0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.support-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--glow-cyan);
}
.support-card:hover::after { opacity: 1; }

.support-card-icon  { font-size: 2rem; margin-bottom: 16px; display: block; line-height: 1; }
.support-card-title { font-size: 0.98rem; font-weight: 800; margin-bottom: 8px; color: var(--text-white); }
.support-card-desc  { color: var(--text-sub); font-size: 0.88rem; line-height: 1.68; }

/* =============================================
   CONTACT BOX
   ============================================= */
.contact-box {
  background: linear-gradient(135deg, rgba(56,189,248,0.07), rgba(249,115,22,0.04));
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: var(--r-xl);
  padding: 52px 44px;
  text-align: center;
  margin-top: 48px;
  position: relative;
  overflow: hidden;
}

.contact-box::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(56,189,248,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.contact-box h2 {
  font-size: 1.65rem;
  font-weight: 900;
  margin-bottom: 12px;
  position: relative;
}

.contact-box p {
  color: var(--text-sub);
  margin-bottom: 28px;
  font-size: 1rem;
  position: relative;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(56,189,248,0.1);
  padding: 13px 30px;
  border-radius: 100px;
  border: 1px solid rgba(56,189,248,0.25);
  transition: all 0.22s;
  position: relative;
}
.contact-email:hover {
  background: rgba(56,189,248,0.18);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(56,189,248,0.22);
  opacity: 1;
}

/* =============================================
   DISCOVER PAGE — alternating blocks
   ============================================= */
.discover-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.discover-block--reverse {
  direction: rtl;
}
.discover-block--reverse > * {
  direction: ltr;
}

.discover-text {}

.discover-desc {
  color: var(--text-sub);
  font-size: 1rem;
  line-height: 1.78;
  margin-bottom: 14px;
}
.discover-desc:last-child { margin-bottom: 0; }

.discover-card {
  background: linear-gradient(145deg, var(--bg-card-soft), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.discover-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56,189,248,0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.discover-card:hover::after { opacity: 1; }

.discover-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--glow-cyan);
}

.discover-card--accent  { border-color: rgba(56,189,248,0.2); }
.discover-card--green   { border-color: rgba(34,197,94,0.2); }
.discover-card--green::after { background: linear-gradient(90deg, transparent, rgba(34,197,94,0.5), transparent); }
.discover-card--cyan    { border-color: rgba(56,189,248,0.2); }
.discover-card--orange  { border-color: rgba(249,115,22,0.2); }
.discover-card--orange::after { background: linear-gradient(90deg, transparent, rgba(249,115,22,0.5), transparent); }
.discover-card--purple  { border-color: rgba(167,139,250,0.2); }
.discover-card--purple::after { background: linear-gradient(90deg, transparent, rgba(167,139,250,0.5), transparent); }

.discover-card-icon  { font-size: 2.6rem; display: block; margin-bottom: 18px; line-height: 1; }
.discover-card-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; color: var(--text-white); }
.discover-card-desc  { color: var(--text-sub); font-size: 0.92rem; line-height: 1.68; }

@media (max-width: 768px) {
  .discover-block,
  .discover-block--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    direction: ltr;
  }
}

/* =============================================
   LEGAL PAGES
   ============================================= */
.legal-content { max-width: 800px; margin: 0 auto; }

.legal-section {
  background: linear-gradient(145deg, var(--bg-card-soft), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 34px;
  margin-bottom: 18px;
  transition: border-color 0.2s;
}
.legal-section:hover { border-color: rgba(56,189,248,0.22); }

.legal-section h2 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-section h2::before {
  content: '';
  display: block;
  width: 3px; height: 16px;
  background: var(--grad-cyan);
  border-radius: 2px;
  flex-shrink: 0;
}

.legal-section p {
  color: var(--text-sub);
  font-size: 0.94rem;
  line-height: 1.78;
  margin-bottom: 12px;
}
.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 14px;
}

.legal-section li {
  color: var(--text-sub);
  font-size: 0.94rem;
  line-height: 1.65;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
}

.legal-section li::before {
  content: '✦';
  color: var(--cyan);
  font-size: 0.65rem;
  flex-shrink: 0;
  margin-top: 4px;
}

.legal-link { color: var(--cyan); font-weight: 600; }

/* =============================================
   RESPONSIVE — Tablet
   ============================================= */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero { padding: 70px 0 64px; }
  .hero-content { text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .badges { justify-content: center; }
  .hero-phone-img { max-width: 300px; }

  .premium-inner { grid-template-columns: 1fr; gap: 44px; }
}

/* =============================================
   RESPONSIVE — Mobile
   ============================================= */
@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(6,20,38,0.97);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    gap: 4px;
    backdrop-filter: blur(20px);
  }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .header-inner { position: relative; }

  .logo-img { width: 130px; }

  .section { padding: 64px 0; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-logo-img { width: 110px; }

  .contact-box { padding: 36px 22px; }
  .legal-section { padding: 24px 20px; }

  .hero-title { font-size: 2rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero-title { font-size: 1.85rem; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .btn { justify-content: center; padding: 13px 22px; font-size: 0.93rem; }

  .cards-grid { grid-template-columns: 1fr; }
  .steps      { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }

  .footer-links { gap: 14px; flex-direction: column; }

  .contact-box h2 { font-size: 1.3rem; }
  .logo-img { width: 120px; }
}

/* =============================================
   FAQ
   ============================================= */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
}

.faq-item {
  background: linear-gradient(145deg, var(--bg-card-soft), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.25s;
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-item[open] {
  border-color: rgba(56,189,248,0.28);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.2s;
}

.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; }

.faq-question:hover {
  background: rgba(56,189,248,0.04);
}

.faq-question-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.45;
  flex: 1;
}

.faq-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(56,189,248,0.08);
  border: 1px solid rgba(56,189,248,0.22);
  color: var(--cyan);
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1;
  transition: all 0.25s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: rgba(56,189,248,0.18);
  border-color: rgba(56,189,248,0.45);
}

.faq-answer {
  padding: 18px 28px 26px;
  border-top: 1px solid var(--border);
}

.faq-answer p {
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.78;
}

@media (max-width: 768px) {
  .faq-question {
    padding: 18px 20px;
    gap: 12px;
  }
  .faq-answer {
    padding: 16px 20px 22px;
  }
  .faq-question-text {
    font-size: 0.93rem;
  }
}

@media (max-width: 480px) {
  .faq-question {
    padding: 16px;
    gap: 10px;
  }
  .faq-answer {
    padding: 14px 16px 20px;
  }
  .faq-icon {
    width: 26px;
    height: 26px;
    font-size: 1.1rem;
  }
}

/* =============================================
   CARD META — badge row at bottom of cards
   ============================================= */
.card-meta {
  margin-top: 18px;
}

/* =============================================
   BLOG GRID & CARDS
   ============================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.blog-card {
  background: linear-gradient(145deg, var(--bg-card-soft), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px 34px 34px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blog-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.blog-card:hover {
  border-color: rgba(167,139,250,0.3);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card), 0 0 32px rgba(167,139,250,0.15);
}
.blog-card:hover::after { opacity: 1; }

.blog-card-header {
  display: flex;
  align-items: center;
}

.blog-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.blog-card-desc {
  color: var(--text-sub);
  font-size: 0.91rem;
  line-height: 1.7;
  flex: 1;
}

/* =============================================
   REDIRECT NOTICE BAR
   ============================================= */
.redirect-notice-bar {
  background: rgba(56,189,248,0.07);
  border: 1px solid rgba(56,189,248,0.22);
  border-radius: var(--r-sm);
  padding: 12px 20px;
  margin: 24px auto 0;
  max-width: 560px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-sub);
}

.redirect-notice-bar a {
  color: var(--cyan);
  font-weight: 600;
}

@media (max-width: 480px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* =============================================
   ARTICLE PAGE
   ============================================= */
.article-body {
  max-width: 780px;
  margin: 0 auto;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.article-meta-item { color: var(--text-muted); }

.article-meta-sep {
  color: var(--text-muted);
  opacity: 0.4;
}

/* =============================================
   ARTICLE SOMMAIRE
   ============================================= */
.article-toc {
  background: linear-gradient(145deg, var(--bg-card-soft), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  margin-bottom: 52px;
}

.article-toc-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-toc-title::before {
  content: '';
  display: block;
  width: 18px; height: 2px;
  background: var(--grad-cyan);
  border-radius: 2px;
  flex-shrink: 0;
}

.article-toc ol {
  list-style: decimal;
  padding-left: 20px;
}

.article-toc ol li {
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.article-toc ol li:last-child { margin-bottom: 0; }

.article-toc a {
  color: var(--text-sub);
  text-decoration: none;
  transition: color 0.2s;
}
.article-toc a:hover { color: var(--cyan); opacity: 1; }

/* =============================================
   ARTICLE SECTIONS
   ============================================= */
.article-section {
  margin-bottom: 52px;
}

.article-section h2 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--text-white);
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.article-section p {
  color: var(--text-sub);
  font-size: 0.97rem;
  line-height: 1.82;
  margin-bottom: 16px;
}
.article-section p:last-child { margin-bottom: 0; }

.article-section ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0 16px;
}

.article-section ul li {
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.65;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 5px 0;
}

.article-section ul li::before {
  content: '→';
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 3px;
}

.article-section ol {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0 16px;
  counter-reset: art-ol;
}

.article-section ol li {
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.65;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  counter-increment: art-ol;
  padding: 12px 16px;
  background: rgba(56,189,248,0.04);
  border: 1px solid rgba(56,189,248,0.1);
  border-radius: var(--r-sm);
  transition: border-color 0.2s;
}

.article-section ol li:hover { border-color: rgba(56,189,248,0.22); }

.article-section ol li::before {
  content: counter(art-ol);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px; height: 28px;
  background: var(--grad-cyan);
  color: #061426;
  font-weight: 900;
  font-size: 0.78rem;
  border-radius: 50%;
  flex-shrink: 0;
}

/* =============================================
   ARTICLE CTA
   ============================================= */
.article-cta {
  background: linear-gradient(135deg, rgba(56,189,248,0.07), rgba(249,115,22,0.04));
  border: 1px solid rgba(56,189,248,0.22);
  border-radius: var(--r-xl);
  padding: 44px 40px;
  text-align: center;
  margin: 52px 0;
  position: relative;
  overflow: hidden;
}

.article-cta::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(56,189,248,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.article-cta h2 {
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  position: relative;
  border: none;
  padding: 0;
}

.article-cta p {
  color: var(--text-sub);
  font-size: 0.97rem;
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 28px;
  position: relative;
}

/* =============================================
   BLOG CARD — published variant
   ============================================= */
.blog-card--published { border-color: rgba(56,189,248,0.2); }

.blog-card--published::after {
  background: linear-gradient(90deg, transparent, rgba(56,189,248,0.4), transparent);
}

.blog-card--published:hover {
  border-color: rgba(56,189,248,0.4);
  box-shadow: var(--shadow-card), var(--glow-cyan);
}

.blog-card-title a {
  color: var(--text-white);
  text-decoration: none;
}
.blog-card-title a:hover { color: var(--cyan); opacity: 1; }

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: auto;
  padding-top: 6px;
  transition: gap 0.2s;
}
.blog-card-link:hover { gap: 10px; opacity: 1; }

@media (max-width: 768px) {
  .article-toc { padding: 22px 24px; }
  .article-section h2 { font-size: 1.25rem; }
  .article-cta { padding: 36px 24px; }
}

@media (max-width: 480px) {
  .article-toc { padding: 18px 18px; }
  .article-section h2 { font-size: 1.15rem; }
  .article-cta { padding: 28px 18px; }
}

/* =============================================
   4-COL CARDS GRID
   ============================================= */
.cards-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 960px) {
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .cards-grid-4 { grid-template-columns: 1fr; }
}

/* =============================================
   WHY-POINTS (approche section)
   ============================================= */
.why-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 720px;
}

.why-point {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: linear-gradient(145deg, var(--bg-card-soft), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  transition: all 0.3s ease;
}

.why-point:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.why-point-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-point-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.why-point-desc {
  color: var(--text-sub);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* =============================================
   GO-FURTHER GRID (pour aller plus loin)
   ============================================= */
.go-further-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.go-further-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(145deg, var(--bg-card-soft), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.go-further-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  opacity: 1;
}

.go-further-icon {
  font-size: 1.7rem;
}

.go-further-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.go-further-desc {
  color: var(--text-sub);
  font-size: 0.91rem;
  line-height: 1.65;
  flex: 1;
}

.go-further-link {
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 4px;
}
