/* =============================================
   JAUGE — style.css
   Shared stylesheet for all pages
   ============================================= */

/* ---- 1. CSS VARIABLES ---- */
:root {
  --bg:           #0B0B0C;
  --page-ink:     #F5F3EE;
  --page-ink-70:  rgba(245, 243, 238, 0.72);
  --page-ink-45:  rgba(245, 243, 238, 0.45);
  --page-ink-15:  rgba(245, 243, 238, 0.14);
  --white:        #ffffff;
  --ink:          #1a1a18;
  --ink-70:       rgba(26, 26, 24, 0.70);
  --ink-45:       rgba(26, 26, 24, 0.45);
  --ink-15:       rgba(26, 26, 24, 0.10);
  --accent:       #F0684C;
  --accent-dark:  #C94A2F;
  --accent-light: #FFDED2;
  --accent-xlight:#FFF3EE;
  --accent-2:       #D6FF3F;
  --accent-2-dark:  #4A5B0A;
  --accent-2-light: #EEFAC7;
  --dark-bg:      #0f0f0e;
  --dark-card:    #1a1a18;

  /* Category tag colours */
  --green:        #4a5b0a;
  --green-light:  #EEFAC7;
  --violet:       #92640b;
  --violet-light: #FDF3D9;
  --amber:        #b45309;
  --amber-light:  #fef3c7;
  --blue:         #44453f;
  --blue-light:   #e7e5de;

  --nav-h:        72px;
  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --max-w:        1200px;

  --shadow-xs:    0 1px 2px rgba(26,26,24,.06);
  --shadow-sm:    0 1px 3px rgba(26,26,24,.10), 0 1px 2px rgba(26,26,24,.06);
  --shadow-md:    0 4px 12px rgba(26,26,24,.08), 0 2px 4px rgba(26,26,24,.05);
  --shadow-lg:    0 10px 30px rgba(26,26,24,.10), 0 4px 8px rgba(26,26,24,.06);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
}

/* ---- 2. RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; width: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--page-ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: var(--font-body); }

/* ---- 3. TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--page-ink);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { line-height: 1.7; color: var(--page-ink-70); }

/* ---- 4. LAYOUT ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section    { padding: 80px 0; }
.section--sm{ padding: 48px 0; }
.section--lg{ padding: 112px 0; }
.section--dark {
  background: var(--dark-bg);
  color: var(--white);
}
.section--dark p { color: rgba(255,255,255,.65); }
.section--grey { background: #f0ede6; color: var(--ink); }
.section--grey h2, .section--grey h3 { color: var(--ink); }
.section--grey p { color: var(--ink-70); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---- 5. ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .45; }
}

.anim-fade-up            { animation: fadeUp .55s cubic-bezier(.16,1,.3,1) both; opacity: 0; }
.anim-delay-1            { animation-delay: .1s; }
.anim-delay-2            { animation-delay: .2s; }
.anim-delay-3            { animation-delay: .3s; }
.anim-delay-4            { animation-delay: .4s; }
.anim-delay-5            { animation-delay: .5s; }

/* ---- 6. BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 600;
  transition: background .2s, color .2s, box-shadow .2s, transform .15s;
  white-space: nowrap;
  line-height: 1.4;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(255,92,57,.3);
}
.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 4px 14px rgba(255,92,57,.4);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--page-ink);
  border: 1.5px solid var(--page-ink-15);
}
.btn-outline:hover {
  border-color: var(--page-ink);
  background: var(--page-ink);
  color: var(--ink);
}
.section--grey .btn-outline {
  color: var(--ink);
  border-color: var(--ink-15);
}
.section--grey .btn-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.3);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
  color: var(--white);
}
.btn-sm  { padding: 8px 16px;  font-size: .875rem; }
.btn-lg  { padding: 15px 32px; font-size: 1.0625rem; }

/* ---- 7. TAGS / PILLS ---- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tag-ia          { background: #FFE0D6; color: #B8420F; }
.tag-n8n         { background: var(--violet-light); color: var(--violet); }
.tag-outils      { background: var(--amber-light);  color: var(--amber);  }
.tag-business    { background: var(--blue-light);   color: var(--blue);   }
.tag-acquisition { background: var(--accent-2-light); color: var(--accent-2-dark); }
.tag-finance     { background: var(--blue-light); color: var(--blue); }
.tag-jauge       { background: var(--violet-light); color: var(--violet); }

/* ---- 8. NAVBAR ---- */
#navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(11,11,12,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .3s;
  overflow: visible; /* ← FIX DROPDOWN */
}
#navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.35); }

#navbar .container {
  overflow: visible; /* ← FIX DROPDOWN */
}

.nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 8px;
  flex-wrap: nowrap;
  overflow: visible; /* ← FIX DROPDOWN */
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--white);
  flex-shrink: 0;
  text-decoration: none;
  white-space: nowrap;
  margin-right: 4px;
}
.nav-logo-icon {
  width: 34px; height: 34px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  font-family: var(--font-body);
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  overflow: visible; /* ← FIX DROPDOWN */
}
.nav-links--secondary { margin-left: auto; padding-left: 0; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  transition: color .2s, background .2s;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav-link.active { color: var(--white); font-weight: 700; background: transparent; }

.nav-link--highlight {
  background: var(--accent-2);
  color: var(--accent-2-dark);
  font-weight: 700;
}
.nav-link--highlight:hover {
  background: #e8ff70;
  color: var(--accent-2-dark);
}
.nav-link--highlight.active {
  background: var(--accent-2);
  color: var(--accent-2-dark);
}
.nav-mobile .nav-link--highlight {
  background: var(--accent-2);
  color: var(--accent-2-dark);
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
}
.nav-link-icon { font-size: .95em; line-height: 1; }
.nav-dot { color: rgba(255,255,255,.25); padding: 0; flex-shrink: 0; user-select: none; }
.nav-cta { margin-left: 12px; flex-shrink: 0; white-space: nowrap; }
.btn-primary.nav-cta { color: var(--ink); font-weight: 700; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  border-radius: var(--radius-sm);
  transition: background .2s;
}
.nav-burger:hover { background: rgba(255,255,255,.08); }
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 12px 16px 20px;
  border-top: 1px solid var(--ink-15);
  background: rgba(249,248,246,.97);
  backdrop-filter: blur(14px);
  gap: 2px;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { padding: 10px 12px; display: block; color: var(--ink-70); }
.nav-mobile .nav-link:hover, .nav-mobile .nav-link.active { color: var(--ink); background: var(--ink-15); }
.nav-mobile .btn { margin-top: 8px; justify-content: center; }

/* ---- DROPDOWN CATÉGORIES ---- */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 450;
  color: var(--ink-70);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.active {
  color: var(--ink);
  background: var(--ink-15);
}

.nav-menu-trigger {
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 6px 10px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-menu-trigger:hover,
.nav-menu-trigger.active {
  color: var(--accent);
  background: transparent;
}

.nav-dropdown-arrow {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.nav-dropdown-trigger[aria-expanded="true"] .nav-dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  transform: translateY(-6px);
  width: 520px;
  background: #ffffff;
  border: 1px solid var(--ink-15);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 9999;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 24px;
  transform: rotate(45deg);
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-left: 1px solid var(--ink-15);
  border-top: 1px solid var(--ink-15);
}

.nav-dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.nav-dropdown-item:hover { background: #f4f2ee; }

.nav-dropdown-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
  color: var(--ink);
}

.nav-dropdown-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-dropdown-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  white-space: nowrap;
}

.nav-dropdown-desc {
  font-size: 0.6875rem;
  color: var(--ink-45);
  line-height: 1.3;
  white-space: nowrap;
}

.nav-dropdown-footer {
  grid-column: 1 / -1;
  border-top: 1px solid var(--ink-15);
  margin-top: 4px;
  padding-top: 8px;
  text-align: center;
}

.nav-dropdown-all {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  padding: 6px 16px;
  border-radius: 8px;
  transition: background 0.15s;
}
.nav-dropdown-all:hover { background: var(--accent-xlight); }

/* ---- MOBILE ACCORDION ---- */
.nav-mobile-accordion { width: 100%; }

.nav-mobile-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 450;
  color: var(--ink-70);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-align: left;
  transition: color .2s, background .2s;
}
.nav-mobile-accordion-trigger:hover { color: var(--ink); background: var(--ink-15); }

.nav-mobile-submenu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 0 4px 12px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.nav-mobile-submenu.open { max-height: 400px; }

.nav-mobile-sublink {
  font-size: 0.875rem;
  color: var(--ink-70);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  display: block;
  transition: background 0.15s, color 0.15s;
}
.nav-mobile-sublink:hover { background: var(--ink-15); color: var(--ink); }

.nav-mobile-sublink--all {
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
}

/* ---- 9. FOOTER ---- */
#footer {
  background: var(--ink);
  color: rgba(255,255,255,.8);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  text-decoration: none;
}
.footer-logo-icon {
  width: 34px; height: 34px;
  background: var(--accent);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .75rem;
  color: var(--white);
  flex-shrink: 0;
}
.footer-desc { font-size: .9375rem; color: rgba(255,255,255,.45); line-height: 1.65; }
.footer-col-title {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .9375rem; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-col-nowrap a {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: .875rem; color: rgba(255,255,255,.3); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: .875rem; color: rgba(255,255,255,.35); transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ---- 10. HERO ---- */
.hero { padding: 64px 0 0; overflow: hidden; position: relative; }
.hero-scanline {
  position: absolute;
  left: 0; right: 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, rgba(240,104,76,.06), transparent);
  animation: heroScan 5s linear infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes heroScan {
  from { top: -140px; }
  to   { top: 100%; }
}
.hero .container { position: relative; z-index: 1; }

.hero-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: .75rem;
  color: var(--accent);
  letter-spacing: .1em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.hero-tag-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px 2px rgba(240,104,76,.7);
  animation: heroTagPulse 1.4s ease-in-out infinite;
}
@keyframes heroTagPulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.hero-cursor { animation: heroBlink 1s step-end infinite; }
@keyframes heroBlink { 50% { opacity: 0; } }
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 48px;
}
.hero-main { min-width: 0; }
.hero-dateline {
  font-family: var(--font-mono, var(--font-body));
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--accent);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--page-ink-15);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-xlight);
  border: 1px solid var(--accent-light);
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 24px;
  letter-spacing: .02em;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
.hero-title    { margin-bottom: 20px; }
.hero-title em { font-style: normal; color: var(--accent); }
.hero-desc {
  font-size: 1.125rem;
  max-width: 520px;
  margin-bottom: 32px;
  color: var(--page-ink-70);
}
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--page-ink-15);
}
.hero-stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--page-ink);
  line-height: 1;
  margin-bottom: 4px;
}

/* ---- Hero gauge (jauge du mois, cadran SVG interactif) ---- */
.hero-gauge {
  position: relative;
  display: block;
  background: #141312;
  border: 1px solid rgba(240,104,76,.3);
  border-radius: var(--radius-lg);
  padding: 26px 20px 22px;
  text-align: center;
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s, transform .2s, background .2s;
  overflow: visible;
  box-shadow: 0 0 0 1px rgba(240,104,76,.08), inset 0 0 40px rgba(240,104,76,.08);
}
.hero-gauge:hover {
  border-color: rgba(255,92,57,.6);
  background: #1a1917;
  transform: translateY(-2px);
}
.hero-gauge-sys {
  font-family: 'JetBrains Mono', monospace;
  font-size: .625rem;
  letter-spacing: .1em;
  color: rgba(240,104,76,.6);
  margin-bottom: 8px;
}

.hero-bigfall-wrap {
  text-align: center;
  overflow: visible;
  padding: 4px 0 32px;
  min-height: 90px;
}
.hero-bigfall {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 3.2vw, 1.9rem);
  letter-spacing: .04em;
  color: var(--accent);
  text-shadow: 0 0 18px rgba(240,104,76,.55), 0 0 40px rgba(240,104,76,.25);
  margin: 0;
}
@media (max-width: 900px) {
  .hero-bigfall-wrap { padding: 0 0 20px; }
}

.hero-gauge-svg { display: block; width: 100%; max-width: 260px; height: auto; margin: 0 auto; }
#gaugeArc {
  animation: gaugeFill 1.6s cubic-bezier(.16,1,.3,1) .4s both;
  filter: drop-shadow(0 0 6px rgba(240,104,76,.7));
}
@keyframes gaugeFill {
  from { stroke-dashoffset: 314; }
  to   { stroke-dashoffset: 91; }
}
.hero-gauge-value {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--white);
  margin-top: -8px;
}
.hero-gauge-value span { font-size: 1.1rem; color: rgba(255,255,255,.4); font-weight: 500; }
.hero-gauge-face {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  opacity: 0;
  transform: scale(.3) rotate(-15deg);
  animation: faceAppear .55s cubic-bezier(.34,1.56,.64,1) 2.05s both;
}
@keyframes faceAppear {
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}
.hero-gauge-label {
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-gauge { max-width: 280px; margin: 0 auto; }
}
.hero-stat-label { font-size: .875rem; color: var(--page-ink-45); }

/* ---- 11. CATEGORY CARDS ---- */
.category-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  transition: box-shadow .25s, transform .25s, border-color .25s;
  text-decoration: none;
  color: var(--white);
}
.category-card:hover { box-shadow: 0 10px 32px rgba(0,0,0,.35); transform: translateY(-3px); border-color: rgba(255,92,57,.35); }
.category-card h3 { color: var(--white); }
.category-card > p { color: rgba(255,255,255,.55); }
.category-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.category-card h3 { font-size: 1.25rem; }
.category-card > p { font-size: .9375rem; flex: 1; }
.category-card-arrow {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  font-weight: 600;
  transition: gap .2s;
}
.category-card:hover .category-card-arrow { gap: 10px; }

/* La Jauge card: light/cream contrast against the 3 dark category cards */
.category-card--jauge {
  background: #F4F1EC;
  border-color: #ECE6DA;
  color: var(--ink);
}
.category-card--jauge:hover { border-color: #D8D2C4; }
.category-card--jauge h3 { color: var(--ink); }
.category-card--jauge > p { color: var(--ink-70); }

/* ---- 12. ARTICLE CARDS ---- */
.article-card {
  background: var(--white);
  border: 1px solid var(--ink-15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.article-card-img { aspect-ratio: 16/9; overflow: hidden; }
.article-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.article-card:hover .article-card-img img { transform: scale(1.05); }
.article-card-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}
.article-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  color: var(--ink-45);
  flex-wrap: wrap;
}
.article-card-meta .sep { color: var(--ink-15); }
.article-card h3 { font-size: 1.1rem; line-height: 1.35; color: var(--ink); }
.article-card-excerpt {
  font-size: .9375rem;
  color: var(--ink-70);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--ink-15);
  font-size: .875rem;
  color: var(--accent-dark);
  font-weight: 600;
}
.article-card--featured { flex-direction: row; }
.article-card--featured .article-card-img { width: 45%; flex-shrink: 0; aspect-ratio: auto; min-height: 260px; }
.article-card--featured h3 { font-size: 1.35rem; }

/* ---- 13. TOOL CARDS ---- */
.tool-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.tool-card:hover {
  box-shadow: 0 0 0 1px rgba(255,92,57,.4), 0 10px 32px rgba(0,0,0,.3);
  transform: translateY(-3px);
  border-color: rgba(255,92,57,.3);
}
.tool-card-logo {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--ink);
}
.tool-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tool-card h3  { color: var(--white); font-size: 1.1rem; }
.tool-card > p { font-size: .9375rem; color: rgba(255,255,255,.5); flex: 1; }
.tool-card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tool-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: auto; flex-wrap: wrap;
}
.tool-price { font-size: .875rem; color: rgba(255,255,255,.4); }
.tool-price strong { color: rgba(255,255,255,.8); font-weight: 600; }
.tool-card--highlight {
  background: linear-gradient(135deg, #7A2A15, #401107);
  border-color: rgba(255,92,57,.3);
}
.tool-card--highlight h3, .tool-card--highlight > p { color: var(--white); }
.tool-card--highlight > p { color: rgba(255,255,255,.7); }
.tool-card--highlight .tool-price { color: rgba(255,255,255,.6); }
.tool-card--highlight .tool-price strong { color: var(--white); }

/* ---- 14. NEWSLETTER FORM ---- */
.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 11px 16px;
  border: 1.5px solid var(--ink-15);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: .9375rem;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.newsletter-form input[type="email"]::placeholder { color: var(--ink-45); }
.newsletter-form input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,92,57,.12);
}
.newsletter-form--dark input[type="email"] {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
  color: var(--white);
}
.newsletter-form--dark input[type="email"]::placeholder { color: rgba(255,255,255,.38); }
.newsletter-form--dark input[type="email"]:focus {
  border-color: rgba(255,255,255,.4);
  box-shadow: 0 0 0 3px rgba(255,255,255,.08);
}
.newsletter-disclaimer { margin-top: 10px; font-size: .8125rem; color: var(--ink-45); }

/* ---- 15. BREADCRUMB ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  color: var(--page-ink-45);
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--accent); transition: color .2s; }
.breadcrumb a:hover { color: var(--accent-dark); }
.breadcrumb-sep { color: var(--page-ink-15); user-select: none; }

/* ---- 16. SIDEBAR ---- */
.page-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--ink-15);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.sidebar-widget h4 { font-size: 1rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--ink-15); color: var(--ink); }
.sidebar-widget-sticky { position: sticky; top: calc(var(--nav-h) + 24px); }
.sidebar-list { display: flex; flex-direction: column; gap: 12px; }
.sidebar-list-item { display: flex; gap: 12px; align-items: flex-start; }
.sidebar-num {
  width: 22px; height: 22px;
  border-radius: 4px;
  background: var(--accent-xlight);
  color: var(--accent-dark);
  font-size: .75rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.sidebar-list-item a { font-size: .9rem; color: var(--ink-70); line-height: 1.4; transition: color .2s; }
.sidebar-list-item a:hover { color: var(--accent-dark); }

/* ---- 17. ARTICLE PAGE ---- */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--accent);
  z-index: 200;
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
  width: 0;
}
.article-header { margin-bottom: 40px; }
.article-header h1 { margin: 16px 0 20px; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.article-author { display: flex; align-items: center; gap: 10px; }
.article-author-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .875rem;
  color: var(--accent-dark);
}
.article-author-name  { font-weight: 600; font-size: .875rem; color: var(--ink); }
.article-author-role  { font-size: .8rem; color: var(--ink-45); }
.article-meta-sep     { width: 1px; height: 32px; background: var(--ink-15); }
.article-meta-item    { font-size: .875rem; color: var(--ink-45); display: flex; align-items: center; gap: 5px; }
.article-hero-img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
}
.toc {
  background: var(--accent-xlight);
  border: 1px solid var(--accent-light);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 32px 0;
}
.toc-title { font-size: 1rem; margin-bottom: 14px; color: var(--ink); }
.toc ol { list-style: decimal; padding-left: 20px; display: flex; flex-direction: column; gap: 7px; }
.toc a { font-size: .9375rem; color: var(--accent-dark); transition: color .2s; }
.toc a:hover { color: var(--accent); }
.article-content { max-width: 720px; }
.article-content h2 { font-size: 1.7rem; margin: 48px 0 18px; padding-top: 8px; }
.article-content h3 { font-size: 1.3rem; margin: 32px 0 12px; }
.article-content p  { margin-bottom: 20px; font-size: 1rem; color: var(--ink-70); }
.article-content ul, .article-content ol {
  margin: 0 0 20px 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li    { font-size: 1rem; color: var(--ink-70); }
.article-content strong{ color: var(--ink); font-weight: 600; }
.article-content a     { color: var(--accent-dark); text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color .2s; }
.article-content a:hover { text-decoration-color: var(--accent-dark); }
.callout { border-radius: var(--radius); padding: 18px 22px; margin: 28px 0; display: flex; gap: 14px; align-items: flex-start; }
.callout-icon { font-size: 1.2rem; flex-shrink: 0; line-height: 1.7; }
.callout p { margin: 0; font-size: .9375rem; }
.callout--tip     { background: #EEFAC7; border: 1px solid #D6FF3F; }
.callout--tip p   { color: #3C4A0B; }
.callout--warning { background: #fffbeb; border: 1px solid #fde68a; }
.callout--warning p { color: #92400e; }
.callout--info    { background: var(--accent-xlight); border: 1px solid var(--accent-light); }
.callout--info p  { color: var(--accent-dark); }
.affiliate-block {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 36px 0;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.affiliate-block-logo {
  width: 52px; height: 52px;
  background: var(--white);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.affiliate-block-body { flex: 1; min-width: 180px; }
.affiliate-block-body h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 4px; }
.affiliate-block-body p  { color: rgba(255,255,255,.6); font-size: .9375rem; margin: 0; }
.affiliate-badge {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  display: flex; align-items: center; gap: 4px;
  margin-bottom: 3px;
}
.related-articles { padding: 48px 0; border-top: 1px solid var(--ink-15); margin-top: 48px; }
.related-articles h2 { font-size: 1.5rem; margin-bottom: 24px; }

/* ---- 18. COMPARISON TABLE ---- */
.comparison-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: .9375rem;
}
.comparison-table th {
  background: var(--ink);
  color: var(--white);
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: .875rem;
  white-space: nowrap;
}
.comparison-table th:first-child { padding-left: 24px; }
.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--ink-15);
  color: var(--ink-70);
  vertical-align: middle;
}
.comparison-table td:first-child { padding-left: 24px; font-weight: 600; color: var(--ink); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: var(--bg); }
.check   { color: #16a34a; }
.cross   { color: #dc2626; }
.partial { color: var(--amber); }

/* ---- 19. FILTERS ---- */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn {
  padding: 8px 18px;
  border: 1.5px solid var(--ink-15);
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-70);
  background: var(--white);
  transition: all .2s;
  cursor: pointer;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent-dark); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: var(--white); }

/* ---- 20. PAGINATION ---- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; padding-top: 48px; }
.pagination-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--ink-15);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink-70);
  background: var(--white);
  transition: all .2s;
  cursor: pointer;
}
.pagination-btn:hover { border-color: var(--accent); color: var(--accent-dark); }
.pagination-btn.active { background: var(--accent); border-color: var(--accent); color: var(--white); }
.pagination-btn--wide { width: auto; padding: 0 16px; }

/* ---- 21. SECTION TITLES ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-label::before { content: ''; display: block; width: 24px; height: 2px; background: var(--accent); }
#faq-title, .faq-item h3 { color: var(--ink); }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-header > div { flex: 1; }

/* ---- 22. STATS BAR ---- */
.stats-bar {
  display: flex;
  background: var(--white);
  border: 1px solid var(--ink-15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.stats-bar-item {
  flex: 1;
  padding: 28px 24px;
  border-right: 1px solid var(--ink-15);
  text-align: center;
}
.stats-bar-item:last-child { border-right: none; }
.stats-bar-num { font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; color: var(--ink); line-height: 1; margin-bottom: 6px; }
.stats-bar-label { font-size: .875rem; color: var(--ink-45); }

/* ---- 23. VALUE CARDS ---- */
.value-card {
  background: var(--white);
  border: 1px solid var(--ink-15);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow .25s, transform .2s;
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.value-card-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 16px; }
.value-card h3 { font-size: 1.125rem; margin-bottom: 8px; color: var(--ink); }
.value-card p  { font-size: .9375rem; color: var(--ink-70); }

/* ---- 24. TESTIMONIALS ---- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--ink-15);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-quote { font-size: .9875rem; color: var(--ink-70); line-height: 1.7; font-style: italic; }
.testimonial-quote::before { content: '\201C'; font-family: var(--font-display); font-size: 2.5rem; color: var(--accent); line-height: .6; display: block; margin-bottom: 10px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem;
}
.testimonial-name { font-weight: 600; font-size: .9375rem; color: var(--ink); }
.testimonial-role { font-size: .8125rem; color: var(--ink-45); }
.stars { color: #f59e0b; font-size: .875rem; letter-spacing: 1px; margin-bottom: 4px; }

/* ---- 25. CONTACT FORM ---- */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .875rem; font-weight: 500; color: var(--ink-70); }
.form-input {
  padding: 11px 14px;
  border: 1.5px solid var(--ink-15);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,92,57,.1); }
.form-input::placeholder { color: var(--ink-45); }
textarea.form-input { resize: vertical; min-height: 120px; }

/* ---- 26. LEGAL / AFFILIATE BOXES ---- */
.legal-section h2 { font-size: 1.5rem; margin: 40px 0 16px; color: var(--page-ink); }
.legal-section h2:first-child { margin-top: 0; }
.legal-section p, .legal-section li { font-size: .9375rem; color: var(--page-ink-70); line-height: 1.75; }
.legal-section ul { list-style: disc; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; margin: 8px 0 20px; }
.affiliate-box {
  background: var(--accent-xlight);
  border: 1px solid var(--accent-light);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 24px 0;
}
.affiliate-box h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--accent-dark); }
.affiliate-box p  { color: var(--accent-dark); font-size: .9375rem; margin: 0; }

/* ---- 27. ARTICLE LIST ---- */
.article-list-item {
  display: flex;
  background: var(--white);
  border: 1px solid var(--ink-15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
  text-decoration: none;
  color: inherit;
}
.article-list-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.article-list-img { width: 220px; flex-shrink: 0; overflow: hidden; }
.article-list-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.article-list-item:hover .article-list-img img { transform: scale(1.05); }
.article-list-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-list-body h3 { font-size: 1.2rem; line-height: 1.35; color: var(--ink); }
.article-list-body p  { font-size: .9375rem; color: var(--ink-70); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-list-footer  { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.read-time { font-size: .8125rem; color: var(--ink-45); display: flex; align-items: center; gap: 4px; }
.read-more { font-size: .875rem; color: var(--accent-dark); font-weight: 500; display: flex; align-items: center; gap: 4px; }

/* ---- 28. PAGE HERO ---- */
.page-hero { padding: 64px 0 48px; text-align: center; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { font-size: 1.125rem; max-width: 560px; margin: 0 auto; color: var(--page-ink-70); }
.page-hero--dark { background: var(--dark-bg); }
.page-hero--dark h1 { color: var(--white); }
.page-hero--dark p  { color: rgba(255,255,255,.65); }

/* ---- 29. WHAT YOU GET ---- */
.what-you-get-card {
  background: var(--white);
  border: 1px solid var(--ink-15);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow .2s, transform .2s;
}
.what-you-get-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.what-you-get-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; background: var(--accent-xlight); flex-shrink: 0; }
.what-you-get-card h4 { font-size: 1rem; margin-bottom: 4px; color: var(--ink); }
.what-you-get-card p  { font-size: .875rem; color: var(--ink-70); }

/* ---- 30. EMAIL PREVIEW ---- */
.email-preview { background: var(--white); border: 1px solid var(--ink-15); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.email-preview-header { background: #2d2d2b; padding: 12px 16px; display: flex; align-items: center; gap: 8px; }
.email-preview-dots  { display: flex; gap: 6px; }
.email-preview-dot   { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.2); }
.email-preview-body  { padding: 32px; }
.email-preview-from  { font-size: .8125rem; color: var(--ink-45); margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--ink-15); }
.email-preview-subject { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin-bottom: 16px; color: var(--ink); }
.email-preview-content { font-size: .9375rem; color: var(--ink-70); line-height: 1.75; }

/* ---- 31. 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; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }

/* ---- 32. RESPONSIVE ---- */
@media (max-width: 1024px) {
  .grid-4   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .page-with-sidebar { grid-template-columns: 1fr; }
  .sidebar-widget-sticky { position: static; }
  .article-card--featured { flex-direction: column; }
  .article-card--featured .article-card-img { width: 100%; min-height: auto; aspect-ratio: 16/9; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .hero   { padding: 64px 0 56px; }
  .section { padding: 56px 0; }
  .section--lg { padding: 72px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero-stats { gap: 24px; }
  .stats-bar  { flex-direction: column; }
  .stats-bar-item { border-right: none; border-bottom: 1px solid var(--ink-15); }
  .stats-bar-item:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .article-list-item { flex-direction: column; }
  .article-list-img  { width: 100%; height: 200px; }
  .article-list-body { padding: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .affiliate-block { flex-direction: column; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .pagination { gap: 4px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input[type="email"] { min-width: unset; }
}

/* ---- 33. LEGACY LIGHT CONTENT BOXES (inline-styled, pre-dark-mode) ---- */
/* These are ad-hoc light-tinted boxes written directly in page HTML (background:#fff7ed etc.)
   from before the site went dark-first. They have no explicit text color, so they inherited
   the old dark-on-light default. Now that the global default is light-on-dark, force dark
   text back inside any element whose inline style still sets one of these light backgrounds. */
[style*="background:#fff7ed"], [style*="background:#f0fdfa"], [style*="background:#eef2ff"], [style*="background:#f5f3ff"], [style*="background:#f7f5f3"], [style*="background:white"], [style*="background:#ffffff"], [style*="background:#fff"] , [style*="background:#FDF3D9"] { color: var(--ink); }
[style*="background:#fff7ed"] h1, [style*="background:#f0fdfa"] h1, [style*="background:#eef2ff"] h1, [style*="background:#f5f3ff"] h1, [style*="background:#f7f5f3"] h1, [style*="background:white"] h1, [style*="background:#ffffff"] h1, [style*="background:#fff"] h1, [style*="background:#FDF3D9"] h1 { color: var(--ink); }
[style*="background:#fff7ed"] h2, [style*="background:#f0fdfa"] h2, [style*="background:#eef2ff"] h2, [style*="background:#f5f3ff"] h2, [style*="background:#f7f5f3"] h2, [style*="background:white"] h2, [style*="background:#ffffff"] h2, [style*="background:#fff"] h2, [style*="background:#FDF3D9"] h2 { color: var(--ink); }
[style*="background:#fff7ed"] h3, [style*="background:#f0fdfa"] h3, [style*="background:#eef2ff"] h3, [style*="background:#f5f3ff"] h3, [style*="background:#f7f5f3"] h3, [style*="background:white"] h3, [style*="background:#ffffff"] h3, [style*="background:#fff"] h3, [style*="background:#FDF3D9"] h3 { color: var(--ink); }
[style*="background:#fff7ed"] h4, [style*="background:#f0fdfa"] h4, [style*="background:#eef2ff"] h4, [style*="background:#f5f3ff"] h4, [style*="background:#f7f5f3"] h4, [style*="background:white"] h4, [style*="background:#ffffff"] h4, [style*="background:#fff"] h4, [style*="background:#FDF3D9"] h4 { color: var(--ink); }
[style*="background:#fff7ed"] p, [style*="background:#f0fdfa"] p, [style*="background:#eef2ff"] p, [style*="background:#f5f3ff"] p, [style*="background:#f7f5f3"] p, [style*="background:white"] p, [style*="background:#ffffff"] p, [style*="background:#fff"] p, [style*="background:#FDF3D9"] p { color: var(--ink); }

/* ---- 34. HERO CAROUSEL ---- */
.hero-carousel { padding: 0 0 8px; }
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 7;
  background: var(--dark-card);
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.carousel-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  display: block;
  text-decoration: none;
  color: inherit;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 32px 32px;
  background: linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.4) 55%, rgba(0,0,0,0) 100%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 640px;
}
.carousel-overlay h2 {
  color: var(--white);
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  line-height: 1.2;
  margin: 0;
}
.carousel-overlay p {
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.carousel-cta {
  color: var(--accent);
  font-weight: 700;
  font-size: .875rem;
  margin-top: 4px;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.15);
  cursor: pointer;
  transition: background .2s;
  z-index: 5;
}
.carousel-arrow:hover { background: rgba(0,0,0,.7); }
.carousel-arrow--prev { left: 16px; }
.carousel-arrow--next { right: 16px; }
.carousel-dots {
  position: absolute;
  bottom: 16px;
  right: 24px;
  display: flex;
  gap: 6px;
  z-index: 5;
}
.carousel-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.carousel-dots button.active {
  background: var(--accent-2);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .carousel { margin: 0; aspect-ratio: 4 / 5; }
  .carousel-overlay { padding: 20px; max-width: 100%; }
  .carousel-arrow { width: 36px; height: 36px; font-size: 1.25rem; }
}

/* ---- 35. ICON SYSTEM (remplace les emojis) ---- */
.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.15em;
  flex-shrink: 0;
  color: currentColor;
}
.icon-lg { width: 1.5em; height: 1.5em; }

/* ---- 36. BONS PLANS : ÉPINGLES + EMPLACEMENTS PUB ---- */
.pin-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 22px 18px 20px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, transform .2s;
}
.pin-card:hover { border-color: rgba(255,92,57,.5); transform: translateY(-3px); }
.pin-card-badge {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  color: var(--accent);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 10px;
  white-space: nowrap;
}
.pin-card-badge .icon { width: .8em; height: .8em; }
.pin-card-logo {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  background: var(--white);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  font-size: 1.4rem;
  flex-shrink: 0;
}
.pin-card-title { color: var(--white); font-size: 1.15rem; margin-bottom: 8px; }
.pin-card-desc {
  color: rgba(255,255,255,.55);
  font-size: .8125rem;
  line-height: 1.55;
  margin: 0 0 18px;
  flex: 1;
}
.pin-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  font-size: .8125rem;
  padding: 11px 16px;
  border-radius: 8px;
  transition: background .2s;
}
.pin-card:hover .pin-card-cta { background: var(--accent-dark); color: var(--white); }

.ad-slot {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--ink-15);
  line-height: 0;
}
.ad-slot img { width: 100%; height: auto; display: block; }
.ad-slot--300x250 { aspect-ratio: 300 / 250; }
.ad-slot--300x600 { aspect-ratio: 300 / 600; }
.ad-slot--300x250 img, .ad-slot--300x600 img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1024px) {
  #pins-title ~ .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---- MENU MOBILE (thème sombre, plein écran) ---- */
@media (max-width: 768px) {
  /* le bouton « menu » (liste déroulante desktop) fait doublon avec le burger */
  .nav-dropdown { display: none; }

  .nav-mobile {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    padding: 12px 20px 32px;
    gap: 0;
    background: #0B0B0C;
    border-top: 1px solid rgba(255,255,255,.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-mobile > .nav-link,
  .nav-mobile .nav-mobile-accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 56px;
    padding: 0 4px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: none;
    color: var(--page-ink, #F5F3EE);
    font-size: 1.125rem;
    font-weight: 600;
  }
  .nav-mobile > .nav-link:hover,
  .nav-mobile > .nav-link.active,
  .nav-mobile .nav-mobile-accordion-trigger:hover { background: none; color: var(--accent); }
  .nav-mobile .nav-link--highlight { color: var(--accent-2); }
  .nav-mobile .nav-mobile-accordion-trigger[aria-expanded="true"] .nav-dropdown-arrow { transform: rotate(180deg); }
  .nav-mobile .nav-dropdown-arrow { transition: transform .2s; }

  .nav-mobile-submenu { padding: 0; gap: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-mobile-submenu:not(.open) { border-bottom: none; }
  .nav-mobile-sublink {
    display: flex; align-items: center; gap: 12px;
    min-height: 48px; padding: 0 4px 0 16px;
    font-size: 1rem; color: rgba(245,243,238,.72); border-radius: 0;
  }
  .nav-mobile-sublink:hover { background: none; color: var(--page-ink, #F5F3EE); }
  .nav-mobile-sublink .icon { width: 18px; height: 18px; color: var(--accent); }
  .nav-mobile-sublink--all { color: var(--accent); font-weight: 600; margin: 0 0 8px; }

  .nav-mobile .btn { margin-top: 24px; min-height: 52px; font-size: 1rem; color: var(--ink); }

  /* burger → croix */
  .nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  body.nav-open { overflow: hidden; }
}

/* ---- Formulaire de contact : libellés lisibles sur fond sombre ---- */
.contact-form .form-group label { color: var(--page-ink-70); }

/* ---- AJUSTEMENTS MOBILE ---- */
@media (max-width: 768px) {
  /* FAQ : une seule colonne (la grille est en style inline) */
  .faq-grid { grid-template-columns: 1fr !important; }
  .faq-item h3 { align-items: flex-start !important; }
  .faq-item h3 .icon { margin-top: 3px; flex-shrink: 0; }
  /* en-têtes de section : titre puis bouton, l'un sous l'autre */
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
  .section-header > div { width: 100%; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
}
