/* ============================================================
   CHAT-GPT-FRANCE — Design premium 2025
   Fonts: Outfit (headings) + Inter (body) via Google Fonts
   ============================================================ */

/* ── Custom properties ── */
:root {
  --bg:          #ffffff;
  --bg-subtle:   #f8f7ff;
  --surface:     #ffffff;
  --border:      #e8e4f0;
  --text:        #0c0a1e;
  --text-muted:  #6b7280;
  --text-light:  #9ca3af;

  --primary:     #4f46e5;
  --primary-dk:  #3730a3;
  --accent:      #06b6d4;
  --gold:        #f59e0b;
  --success:     #10b981;
  --danger:      #ef4444;

  --grad-hero:   linear-gradient(135deg, #0a0e27 0%, #1a1040 50%, #0d1a3a 100%);
  --grad-primary: linear-gradient(135deg, #4f46e5, #06b6d4);
  --grad-gold:    linear-gradient(135deg, #f59e0b, #ef4444);
  --grad-green:   linear-gradient(135deg, #10b981, #06b6d4);
  --grad-card:    linear-gradient(145deg, rgba(79,70,229,.04), rgba(6,182,212,.04));

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;

  --shadow-sm:  0 2px 8px rgba(79,70,229,.08);
  --shadow-md:  0 8px 32px rgba(79,70,229,.12);
  --shadow-lg:  0 20px 60px rgba(79,70,229,.16);
  --shadow-glow:0 0 40px rgba(79,70,229,.25);

  --transition: 0.28s cubic-bezier(.4,0,.2,1);
  --font-head:  'Outfit', system-ui, sans-serif;
  --font-body:  'Inter', system-ui, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.7; }
img  { max-width: 100%; display: block; }
a    { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dk); }

/* ── Typography scale ── */
h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin: 3rem 0 1rem; }
h3 { font-size: 1.15rem; margin: 1.5rem 0 .6rem; }
p  { margin-bottom: 1.1rem; color: #374151; }

/* ── NAVIGATION ── */
header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(10, 14, 39, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background var(--transition);
}
.header-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 800;
  background: var(--grad-primary); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: -.02em;
}
nav { display: flex; gap: 2rem; }
nav a {
  color: rgba(255,255,255,.65); font-size: .875rem; font-weight: 500;
  position: relative; padding: .25rem 0;
  transition: color var(--transition);
}
nav a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--grad-primary);
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--transition);
}
nav a:hover, nav a.active { color: #fff; }
nav a:hover::after, nav a.active::after { transform: scaleX(1); transform-origin: left; }

/* ── HERO ── */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-hero);
  padding: 6rem 1.5rem 5rem;
  text-align: center;
}
/* Orbes décoratifs animés */
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .45; animation: orb 8s ease-in-out infinite alternate;
}
.hero::before {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #4f46e5, transparent 70%);
  top: -150px; left: -100px;
}
.hero::after {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #06b6d4, transparent 70%);
  bottom: -120px; right: -80px;
  animation-delay: -4s;
}
@keyframes orb {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.1); }
}
.hero-inner { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; }
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(79,70,229,.2); border: 1px solid rgba(79,70,229,.4);
  color: #a5b4fc; font-size: .75rem; font-weight: 600;
  padding: .3rem 1rem; border-radius: 999px;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.5rem;
}
.badge::before { content: '●'; font-size: .5rem; color: #06b6d4; }
.hero h1 { color: #ffffff; margin-bottom: 1.25rem; }
.hero h1 span { background: var(--grad-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { color: rgba(255,255,255,.65); font-size: 1.15rem; max-width: 560px; margin: 0 auto 2.5rem; }
.hero-cta { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── BOUTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.75rem; border-radius: 999px;
  font-family: var(--font-body); font-size: .9rem; font-weight: 600;
  cursor: pointer; border: none; transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-primary); color: #fff;
  box-shadow: 0 4px 20px rgba(79,70,229,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(79,70,229,.5); color: #fff; text-decoration: none; }
.btn-outline {
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
}
.btn-outline:hover { background: rgba(255,255,255,.15); color: #fff; transform: translateY(-2px); text-decoration: none; }
.btn-sm { padding: .5rem 1.25rem; font-size: .8rem; }
.btn-green { background: var(--grad-green); color: #fff; box-shadow: 0 4px 20px rgba(16,185,129,.3); }
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(16,185,129,.45); color: #fff; text-decoration: none; }

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--bg-subtle); border-bottom: 1px solid var(--border);
  padding: 1.5rem;
}
.stats-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-number {
  font-family: var(--font-head); font-size: 1.75rem; font-weight: 800;
  background: var(--grad-primary); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  display: block; line-height: 1;
}
.stat-label { font-size: .75rem; color: var(--text-muted); font-weight: 500; margin-top: .25rem; text-transform: uppercase; letter-spacing: .05em; }

/* ── LAYOUT ── */
main { max-width: 960px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
section { margin-bottom: 4rem; }

/* ── TABLE OF CONTENTS ── */
.toc {
  background: var(--bg-subtle); border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem 2rem; margin-bottom: 3rem;
}
.toc-title { font-family: var(--font-head); font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); margin-bottom: .75rem; }
.toc ol { padding-left: 1.25rem; }
.toc li { margin-bottom: .35rem; }
.toc a { color: var(--text-muted); font-size: .9rem; transition: color var(--transition); }
.toc a:hover { color: var(--primary); }

/* ── SECTION HEADING ── */
.section-eyebrow {
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--grad-primary); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  display: block; margin-bottom: .5rem;
}
h2.decorated { position: relative; display: inline-block; }
h2.decorated::after {
  content: ''; position: absolute; bottom: -6px; left: 0;
  width: 48px; height: 3px; background: var(--grad-primary); border-radius: 999px;
}

/* ── CARDS ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: var(--grad-card); transition: opacity var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(79,70,229,.2); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem;
}
.icon-blue   { background: rgba(79,70,229,.1); }
.icon-green  { background: rgba(16,185,129,.1); }
.icon-gold   { background: rgba(245,158,11,.1); }
.icon-cyan   { background: rgba(6,182,212,.1); }
.card h3 { margin-top: 0; color: var(--text); }
.card p  { font-size: .9rem; color: var(--text-muted); margin-bottom: 1.25rem; }

/* ── TAG PILLS ── */
.tag {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .7rem; font-weight: 700; padding: .25rem .75rem;
  border-radius: 999px; margin-bottom: .75rem;
  text-transform: uppercase; letter-spacing: .05em;
}
.tag-free   { background: rgba(16,185,129,.12); color: #059669; }
.tag-paid   { background: rgba(79,70,229,.12);  color: #4f46e5; }
.tag-top    { background: rgba(245,158,11,.12); color: #d97706; }
.tag-france { background: rgba(6,182,212,.12);  color: #0891b2; }

/* ── AFFILIATE BOXES ── */
.affiliate-box {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(79,70,229,.05), rgba(6,182,212,.05));
  border: 1px solid rgba(79,70,229,.18);
  border-radius: var(--radius-lg); padding: 2rem 2.5rem;
  margin: 2rem 0; display: flex; align-items: center;
  justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.affiliate-box::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--grad-primary);
}
.affiliate-box.green { background: linear-gradient(135deg, rgba(16,185,129,.05), rgba(6,182,212,.05)); border-color: rgba(16,185,129,.2); }
.affiliate-box.green::before { background: var(--grad-green); }
.affiliate-box.yellow { background: linear-gradient(135deg, rgba(245,158,11,.06), rgba(239,68,68,.04)); border-color: rgba(245,158,11,.2); }
.affiliate-box.yellow::before { background: var(--grad-gold); }
.affiliate-box.purple { background: linear-gradient(135deg, rgba(139,92,246,.06), rgba(79,70,229,.04)); border-color: rgba(139,92,246,.2); }
.affiliate-box.purple::before { background: linear-gradient(135deg, #8b5cf6, #4f46e5); }
.affiliate-box .box-content { flex: 1; min-width: 200px; }
.affiliate-box strong { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; display: block; margin-bottom: .4rem; color: var(--text); }
.affiliate-box p { margin: 0; font-size: .9rem; color: var(--text-muted); }

/* ── ADSENSE SLOTS ── */
.ad-slot {
  background: var(--bg-subtle); border: 1.5px dashed var(--border);
  border-radius: var(--radius-md); min-height: 90px;
  display: flex; align-items: center; justify-content: center;
  margin: 2.5rem 0; color: var(--text-light); font-size: .75rem;
}

/* ── COMPARISON TABLE ── */
.compare-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9rem; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare-table thead { background: linear-gradient(135deg, #0a0e27, #1e1b4b); }
.compare-table th { padding: .9rem 1.25rem; text-align: left; color: rgba(255,255,255,.85); font-family: var(--font-head); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.compare-table td { padding: .9rem 1.25rem; border-bottom: 1px solid var(--border); color: var(--text); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: var(--bg-subtle); }
.check { color: var(--success); font-weight: 700; }
.cross { color: var(--danger); }

/* ── FAQ ── */
.faq { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border); padding: 1.5rem 0;
  cursor: pointer;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item h3 { margin: 0 0 .6rem; color: var(--text); font-size: 1rem; display: flex; align-items: flex-start; gap: .75rem; }
.faq-item h3::before { content: 'Q'; background: var(--grad-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-family: var(--font-head); font-weight: 800; font-size: 1rem; flex-shrink: 0; }
.faq-item p { margin: 0; color: var(--text-muted); font-size: .9rem; padding-left: 1.75rem; }

/* ── BREADCRUMB ── */
.breadcrumb { font-size: .8rem; color: var(--text-muted); margin-bottom: 2rem; display: flex; align-items: center; gap: .4rem; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text-light); }

/* ── HIGHLIGHT BOX ── */
.highlight {
  background: linear-gradient(135deg, rgba(79,70,229,.06), rgba(6,182,212,.04));
  border-radius: var(--radius-md); padding: 1.5rem 2rem; margin: 1.5rem 0;
  border-left: 3px solid var(--primary); font-style: italic; color: var(--text);
}

/* ── STEPS ── */
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  counter-increment: step; position: relative;
  padding: 1.25rem 1.25rem 1.25rem 4rem; margin-bottom: .75rem;
  background: var(--bg-subtle); border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.steps li::before {
  content: counter(step); position: absolute; left: 1rem; top: 50%;
  transform: translateY(-50%); width: 32px; height: 32px;
  background: var(--grad-primary); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: .875rem;
}

/* ── FOOTER ── */
footer {
  background: #0a0e27; color: rgba(255,255,255,.4);
  padding: 3rem 1.5rem 2rem; text-align: center;
}
.footer-inner { max-width: 960px; margin: 0 auto; }
.footer-logo { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; margin-bottom: 1.5rem; background: var(--grad-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: inline-block; }
.footer-links { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.footer-links a { color: rgba(255,255,255,.45); font-size: .875rem; transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-divider { height: 1px; background: rgba(255,255,255,.06); margin: 1.5rem 0; }
.footer-legal { font-size: .75rem; line-height: 1.8; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { display: none; }
  .hero { padding: 4rem 1rem 3rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .affiliate-box { padding: 1.5rem; }
  .stats-inner { gap: 1.5rem; }
  main { padding: 2rem 1rem 3rem; }
  h2 { font-size: 1.5rem; }
  .compare-table { font-size: .8rem; }
  .compare-table th, .compare-table td { padding: .6rem .75rem; }
}

/* ── UTILITY ── */
.text-gradient { background: var(--grad-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
ul.list-check { list-style: none; padding: 0; }
ul.list-check li { padding-left: 1.75rem; position: relative; margin-bottom: .5rem; font-size: .95rem; color: var(--text); }
ul.list-check li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }
