/* ================================================================
   ASTRO BELGIQUE - Stylesheet principal
   Design : mystique moderne, feminine, premium
   ================================================================ */

:root {
  /* Palette */
  --c-primary: #6B46C1;
  --c-primary-dark: #553C9A;
  --c-secondary: #F59E0B;
  --c-secondary-dark: #D97706;
  --c-accent: #1E1B4B;

  --c-text: #374151;
  --c-text-strong: #1E1B4B;
  --c-text-muted: #6B7280;

  --c-bg: #FAF5FF;
  --c-bg-card: #FFFFFF;
  --c-bg-soft: #F5F3FF;

  --c-border: #E9D5FF;
  --c-border-light: #F3E8FF;

  --c-success: #10B981;
  --c-warn: #F59E0B;
  --c-error: #EF4444;

  /* Typo */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --maxw: 1200px;
  --maxw-narrow: 760px;
  --gap: 1.5rem;
  --radius: 12px;
  --radius-lg: 20px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(30,27,75,0.06);
  --shadow: 0 4px 20px rgba(107,70,193,0.08);
  --shadow-lg: 0 12px 40px rgba(107,70,193,0.15);

  --transition: 200ms ease;
}

/* === RESET === */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  background-image:
    radial-gradient(circle at 10% 5%, rgba(107,70,193,0.04), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(245,158,11,0.04), transparent 40%);
  min-height: 100vh;
}
img,svg { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-primary-dark); }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

/* === ACCESSIBILITY === */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -100%; top: 0; padding: 0.75rem 1rem;
  background: var(--c-primary); color: white; z-index: 9999;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--c-secondary); outline-offset: 2px; border-radius: 4px; }

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section { padding: 3rem 0; }
.section-narrow { max-width: var(--maxw-narrow); margin: 0 auto; }

.layout-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 992px) {
  .layout-2col { grid-template-columns: 1fr 320px; }
}

/* === TYPOGRAPHIE === */
h1,h2,h3,h4,h5 { font-family: var(--font-serif); color: var(--c-text-strong); line-height: 1.25; font-weight: 600; }
h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin: 2.5rem 0 1rem; }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); margin: 1.75rem 0 0.75rem; }
h4 { font-size: 1.1rem; margin: 1.25rem 0 0.5rem; }

p, li { margin-bottom: 0.85rem; }
.lead { font-size: 1.1rem; color: var(--c-text-muted); }

article ul,
article ol { margin: 0 0 1.25rem 1.5rem; }
article ul li { list-style: disc; }
article ol li { list-style: decimal; }
strong { color: var(--c-text-strong); font-weight: 600; }

/* === HEADER === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border-light);
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 70px;
}
.logo { display: inline-flex; align-items: center; }
.logo-svg { height: 38px; width: auto; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--c-text-strong);
  transition: var(--transition);
}

.main-nav { flex: 1; }
.main-nav > ul {
  display: flex; gap: 1.25rem; align-items: center;
  justify-content: center;
}
.main-nav a {
  color: var(--c-text-strong);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
}
.main-nav a:hover { color: var(--c-primary); }
.main-nav .has-submenu { position: relative; }
.main-nav .submenu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: white; box-shadow: var(--shadow-lg); border-radius: var(--radius);
  padding: 0.5rem; min-width: 220px;
  opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(8px);
  transition: var(--transition);
  z-index: 50; max-height: 360px; overflow-y: auto;
}
.main-nav .has-submenu:hover .submenu,
.main-nav .has-submenu:focus-within .submenu {
  opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.main-nav .submenu a {
  display: block; padding: 0.5rem 0.75rem; border-radius: 6px;
  font-size: 0.9rem;
}
.main-nav .submenu a:hover { background: var(--c-bg-soft); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.search-mini {
  display: flex; align-items: center;
  background: var(--c-bg-soft); border-radius: 999px;
  padding: 0.35rem 0.75rem;
}
.search-mini input {
  border: 0; background: transparent; padding: 0.25rem 0.5rem;
  width: 140px; outline: none; font-size: 0.9rem;
}
.search-mini button { color: var(--c-primary); padding: 0.25rem; }

@media (max-width: 991px) {
  .nav-toggle { display: flex; order: 99; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: white; padding: 1rem;
    border-top: 1px solid var(--c-border-light);
    display: none;
    max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; }
  .main-nav .submenu {
    position: static; transform: none; opacity: 1; pointer-events: auto;
    box-shadow: none; padding: 0 0 0 1rem; max-height: none;
    display: none;
  }
  .has-submenu.open .submenu { display: block; }
  .header-actions { order: 98; margin-left: auto; }
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, #1E1B4B 0%, #6B46C1 60%, #A78BFA 100%);
  color: white;
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(2px 2px at 10% 20%, white 1px, transparent 1px),
              radial-gradient(1px 1px at 30% 60%, rgba(245,158,11,0.7) 1px, transparent 1px),
              radial-gradient(2px 2px at 70% 30%, white 1px, transparent 1px),
              radial-gradient(1px 1px at 85% 75%, rgba(245,158,11,0.5) 1px, transparent 1px),
              radial-gradient(2px 2px at 50% 90%, white 1px, transparent 1px),
              radial-gradient(1px 1px at 25% 85%, white 1px, transparent 1px);
  background-size: 200px 200px, 100px 100px, 250px 250px, 150px 150px, 180px 180px, 220px 220px;
  opacity: 0.5;
  animation: twinkle 8s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: 0.3; } to { opacity: 0.7; } }
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero h1 { color: white; font-size: clamp(2rem, 5vw, 3.25rem); }
.hero-subtitle { font-size: 1.15rem; color: rgba(255,255,255,0.9); max-width: 700px; margin: 0 auto 1.5rem; }
.hero .date-pill {
  display: inline-block; padding: 0.5rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  font-size: 0.9rem; margin-bottom: 1rem;
}

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: all var(--transition); border: 0;
  min-height: 48px;
  text-decoration: none;
}
.btn-primary {
  background: var(--c-primary); color: white;
  box-shadow: 0 4px 14px rgba(107,70,193,0.3);
}
.btn-primary:hover { background: var(--c-primary-dark); color: white; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(107,70,193,0.4); }
.btn-secondary { background: var(--c-secondary); color: white; box-shadow: 0 4px 14px rgba(245,158,11,0.3); }
.btn-secondary:hover { background: var(--c-secondary-dark); color: white; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--c-primary); border: 2px solid var(--c-primary); }
.btn-ghost:hover { background: var(--c-primary); color: white; }
.btn-block { width: 100%; }
.btn-sm { padding: 0.5rem 1rem; min-height: 36px; font-size: 0.85rem; }

/* === CARDS === */
.card {
  display: block;
  background: var(--c-bg-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--c-border-light);
  color: var(--c-text);
  text-decoration: none;
}
a.card, a.card:hover, a.card:visited { color: var(--c-text); text-decoration: none; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card h3 { margin-top: 0; }

.grid {
  display: grid;
  gap: var(--gap);
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid-6 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }

/* Grilles strictes (nombre de colonnes fixe sur desktop) */
.grid-strict-4 { grid-template-columns: repeat(4, 1fr); }
.grid-strict-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) {
  .grid-strict-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .grid-strict-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-strict-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .grid-strict-4, .grid-strict-3 { grid-template-columns: 1fr; }
}

/* === SIGN CARDS === */
.sign-card {
  background: var(--c-bg-card);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  border: 1px solid var(--c-border-light);
  transition: all var(--transition);
  display: flex; flex-direction: column; gap: 0.5rem;
  text-decoration: none; color: var(--c-text);
}
.sign-card:hover {
  border-color: var(--c-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  color: var(--c-text);
}
.sign-card-icon {
  width: 60px; height: 60px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--c-bg-soft), white);
  border-radius: 50%;
  border: 2px solid var(--c-border);
}
.sign-card-icon svg { width: 36px; height: 36px; color: var(--c-primary); }
.sign-card h3 { font-size: 1.1rem; margin: 0.5rem 0 0.25rem; }
.sign-card .dates { font-size: 0.8rem; color: var(--c-text-muted); }
.sign-card .extract {
  font-size: 0.85rem; color: var(--c-text-muted);
  border-top: 1px solid var(--c-border-light); padding-top: 0.5rem;
}

/* === HOROSCOPE PAGE === */
.horoscope-hero {
  background: linear-gradient(135deg, #1E1B4B 0%, #6B46C1 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
}
.horoscope-hero h1 { color: white; }
.horoscope-hero .subtitle { color: rgba(255,255,255,0.85); margin-top: 0.5rem; }

.info-pills {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  justify-content: center;
  margin: 1.5rem 0;
}
.info-pill {
  background: var(--c-bg-soft);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid var(--c-border-light);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.info-pill strong { color: var(--c-primary); }

.horoscope-section {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  border-left: 4px solid var(--c-primary);
}
.horoscope-section.section-love { border-color: #EC4899; }
.horoscope-section.section-work { border-color: #3B82F6; }
.horoscope-section.section-health { border-color: var(--c-success); }
.horoscope-section h2 { margin-top: 0; display: flex; align-items: center; gap: 0.5rem; }

/* === BREADCRUMB === */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  margin: 1rem 0;
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 0.5rem; color: var(--c-border); opacity: 0.6; }
.breadcrumb a {
  color: var(--c-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.breadcrumb a:hover { color: var(--c-secondary-dark); border-bottom-color: currentColor; }

/* Breadcrumb sur fond sombre (hero, horoscope-hero) */
.hero .breadcrumb,
.horoscope-hero .breadcrumb { color: rgba(255,255,255,0.65); }
.hero .breadcrumb a,
.horoscope-hero .breadcrumb a { color: var(--c-secondary); }
.hero .breadcrumb a:hover,
.horoscope-hero .breadcrumb a:hover { color: #FCD34D; border-bottom-color: currentColor; }
.hero .breadcrumb li:not(:last-child)::after,
.horoscope-hero .breadcrumb li:not(:last-child)::after { color: rgba(255,255,255,0.35); }
.hero .breadcrumb li:last-child span,
.horoscope-hero .breadcrumb li:last-child span { color: rgba(255,255,255,0.92); font-weight: 500; }

/* === TAROT === */
.tarot-deck {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  justify-content: center;
  perspective: 800px;
}
.tarot-card {
  width: 110px; height: 180px;
  border-radius: 8px;
  position: relative;
  transition: transform 0.6s, box-shadow var(--transition);
  transform-style: preserve-3d;
  cursor: pointer;
  flex-shrink: 0;
}
.tarot-card.flipped { transform: rotateY(180deg); }
.tarot-card .face {
  position: absolute; inset: 0;
  border-radius: 8px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0.5rem;
}
.tarot-card .back {
  background: linear-gradient(135deg, #1E1B4B 0%, #6B46C1 100%);
  color: white;
  border: 3px solid var(--c-secondary);
  font-family: var(--font-serif);
  font-size: 1.5rem;
}
.tarot-card .front {
  background: white;
  color: var(--c-text-strong);
  border: 2px solid var(--c-border);
  transform: rotateY(180deg);
  text-align: center;
}
.tarot-card .front.reversed { transform: rotateY(180deg) rotate(180deg); }
.tarot-card.disabled { pointer-events: none; opacity: 0.6; }

.tarot-result-card {
  background: white; border-radius: var(--radius);
  padding: 1rem; margin-bottom: 1rem;
  border: 1px solid var(--c-border-light);
  display: grid; grid-template-columns: 80px 1fr; gap: 1rem;
  align-items: start;
}
.tarot-result-card .visual {
  width: 80px; height: 130px;
  background: linear-gradient(135deg, #1E1B4B, #6B46C1);
  color: white;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; padding: 0.5rem; text-align: center;
  font-family: var(--font-serif);
}

/* === FORMS === */
.form-control {
  display: block; width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  background: white;
  font-size: 0.95rem;
  transition: border-color var(--transition);
}
.form-control:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(107,70,193,0.15); }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-weight: 500; color: var(--c-text-strong); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* === SIDEBAR === */
.sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.sidebar-block {
  background: white; border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--c-border-light);
}
.sidebar-block h3 { font-size: 1.1rem; margin-top: 0; margin-bottom: 0.75rem; }
.sidebar-tools li { margin-bottom: 0.5rem; }
.sidebar-tools a {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  background: var(--c-bg-soft);
  color: var(--c-text-strong);
  font-size: 0.9rem;
}
.sidebar-tools a:hover { background: var(--c-primary); color: white; }
.sidebar-newsletter { background: linear-gradient(135deg, var(--c-bg-soft), white); }

/* === AD SLOTS === */
.ad-slot {
  margin: 2rem 0;
  text-align: center;
  min-height: 100px;
}
.ad-slot::before {
  content: 'Publicité';
  display: block;
  font-size: 0.7rem;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

/* === FOOTER === */
.site-footer {
  background: linear-gradient(180deg, var(--c-accent) 0%, #0F0E2E 100%);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  margin-bottom: 2rem;
}
.footer-col h3 { color: white; font-size: 1.05rem; margin-bottom: 0.75rem; }
.footer-col li { margin-bottom: 0.4rem; font-size: 0.9rem; }
.footer-col a { color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: var(--c-secondary); }
.footer-col a:visited { color: rgba(255,255,255,0.7); }
.footer-brand { grid-column: span 1; }
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
}
.footer-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-serif); font-size: 1.4rem;
  color: white;
  margin-bottom: 1rem;
}
.footer-mission { font-size: 0.95rem; max-width: 320px; }
.footer-disclaimer {
  background: rgba(245,158,11,0.1);
  border-left: 4px solid var(--c-secondary);
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.footer-disclaimer strong { color: var(--c-secondary); }
.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
}

@media (max-width: 768px) {
  .footer-brand { grid-column: span 1; }
}

/* === COOKIES BANNER === */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--c-accent); color: white;
  padding: 1rem 0;
  z-index: 9000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.cookie-banner .container {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.cookie-banner p { margin: 0; flex: 1; min-width: 250px; font-size: 0.9rem; }
.cookie-banner a { color: var(--c-secondary); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.5rem; }

/* === TOAST (notifications JS) === */
#toast-zone {
  position: fixed;
  top: 90px;
  right: 1rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
  max-width: 360px;
}
.toast {
  background: white;
  border-left: 4px solid var(--c-primary);
  padding: 0.85rem 1rem;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(30,27,75,0.18);
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--c-text-strong);
  pointer-events: auto;
  transform: translateX(120%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}
.toast-show { transform: translateX(0); opacity: 1; }
.toast-success { border-color: var(--c-success); background: #ECFDF5; color: #065F46; }
.toast-error   { border-color: var(--c-error);   background: #FEE2E2; color: #991B1B; }
.toast-info    { border-color: var(--c-primary); background: #EEF2FF; color: #312E81; }
@media (max-width: 600px) {
  #toast-zone { left: 1rem; right: 1rem; max-width: none; top: 80px; }
}

/* === FLASH MESSAGES (server-side) === */
.flash {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 4px solid;
}
.flash-success { background: #ECFDF5; color: #065F46; border-color: var(--c-success); }
.flash-error { background: #FEE2E2; color: #991B1B; border-color: var(--c-error); }
.flash-info { background: #EEF2FF; color: #312E81; border-color: var(--c-primary); }

/* === MISC === */
.text-center { text-align: center; }
.text-muted { color: var(--c-text-muted); }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

.compat-score {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  font-weight: 600;
  font-size: 0.9rem;
}
.compat-score-high { background: #DCFCE7; color: #166534; border-color: #86EFAC; }
.compat-score-mid { background: #FEF3C7; color: #92400E; border-color: #FDE68A; }
.compat-score-low { background: #FEE2E2; color: #991B1B; border-color: #FCA5A5; }

.faq details {
  background: white; padding: 1rem 1.25rem;
  border-radius: 8px; margin-bottom: 0.75rem;
  border: 1px solid var(--c-border-light);
}
.faq summary {
  cursor: pointer; font-weight: 600;
  font-family: var(--font-serif); font-size: 1.1rem;
  color: var(--c-text-strong);
}
.faq details[open] summary { margin-bottom: 0.75rem; }

.tag-list {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin: 0.5rem 0;
}
.tag {
  display: inline-block; padding: 0.25rem 0.7rem;
  background: var(--c-bg-soft); color: var(--c-primary);
  border-radius: 999px; font-size: 0.8rem;
  border: 1px solid var(--c-border-light);
  text-decoration: none;
}
.tag:hover { background: var(--c-primary); color: white; }

.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--c-border), transparent);
  margin: 2rem 0;
}

/* === LOADER === */
.loader {
  display: inline-block; width: 24px; height: 24px;
  border: 3px solid var(--c-border);
  border-top-color: var(--c-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === TABLE === */
.table {
  width: 100%; border-collapse: collapse;
  background: white; border-radius: var(--radius);
  overflow: hidden;
}
.table th, .table td {
  padding: 0.75rem 1rem; text-align: left;
  border-bottom: 1px solid var(--c-border-light);
}
.table th { background: var(--c-bg-soft); font-weight: 600; }

/* === RESPONSIVE === */
@media (max-width: 600px) {
  .section { padding: 2rem 0; }
  .hero { padding: 3rem 0 2rem; }
  .container { padding: 0 1rem; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.4rem; }
  .info-pills { gap: 0.4rem; }
  .info-pill { font-size: 0.8rem; padding: 0.35rem 0.8rem; }
}

/* === PRINT === */
@media print {
  .site-header, .site-footer, .ad-slot, .cookie-banner, .sidebar { display: none !important; }
  body { background: white; }
  a { color: black; text-decoration: underline; }
}
