/*
Theme Name: Voyance CB
Theme URI: https://voyance-par-telephone-avec-cb.fr
Description: Theme custom pour site d'affiliation voyance par telephone.
Version: 2.0.0
Author: Xavier
Text Domain: voyance-cb
*/

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  /* Violet voyance */
  --violet-hero: #582b7d;
  --violet-deep: #3b1a5c;
  --violet-dark: #4A235A;
  --violet: #7C3AED;
  --violet-mid: #6D28D9;
  --violet-light: #F3E8FF;
  --violet-muted: #A78BFA;
  /* CTA vert emeraude (standard voyance = disponible/appeler) */
  --cta: #10B981;
  --cta-hover: #059669;
  --cta-text: #FFFFFF;
  /* Neutrals */
  --white: #FFFFFF;
  --cream: #FAFAFA;
  --text: #1F1F1F;
  --text-body: #1F1F1F;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --success: #22C55E;
  --gold-stars: #F59E0B;
  /* Fonts */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  /* Radius */
  --r-sm: 6px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-full: 9999px;
  --max-w: 1200px;
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
  --shadow-xl: 0 16px 40px rgba(0,0,0,0.12);
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 56px;
}

:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; border-radius: 4px; }
a, button, [role="button"], select, .card-voyant { cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--violet-deep);
}
h1 { font-size: clamp(32px, 5vw, 42px); }
h2 { font-size: clamp(26px, 4vw, 32px); }
h3 { font-size: clamp(20px, 3vw, 24px); }

p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ============================================================
   HEADER — glass effect
   ============================================================ */
.site-header {
  background: var(--violet-deep);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(124,58,237,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
  letter-spacing: -0.02em;
}
.site-logo span { color: var(--gold); }

.nav-primary ul { display: flex; gap: 28px; align-items: center; }
.nav-primary a {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-primary a:hover { color: var(--white); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #10B981;
  color: #FFFFFF;
  padding: 8px 20px;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 13px;
  border: none;
  /* no text-shadow needed on green */
  transition: all 0.25s;
  box-shadow: 0 2px 12px rgba(16,185,129,0.25);
}
.header-cta:hover {
  background: #059669;
  box-shadow: 0 4px 20px rgba(16,185,129,0.35);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  padding: 8px;
}

/* ============================================================
   HERO — compact, layered, celestial
   ============================================================ */
.hero {
  background: linear-gradient(170deg, var(--violet-dark) 0%, var(--violet-hero) 100%);
  color: #FFFFFF;
  padding: 16px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Gradient layers */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,58,237,0.2) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 80% 100%, rgba(88,43,125,0.3) 0%, transparent 60%);
}

/* Stars field */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.2px 1.2px at 8% 15%, rgba(255,255,255,0.55) 0%, transparent 100%),
    radial-gradient(1px 1px at 22% 68%, rgba(255,255,255,0.35) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 35% 25%, rgba(212,168,67,0.5) 0%, transparent 100%),
    radial-gradient(0.8px 0.8px at 48% 82%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 62% 12%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1.3px 1.3px at 75% 55%, rgba(212,168,67,0.35) 0%, transparent 100%),
    radial-gradient(0.8px 0.8px at 88% 38%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 95% 75%, rgba(255,255,255,0.25) 0%, transparent 100%),
    radial-gradient(1.2px 1.2px at 15% 92%, rgba(212,168,67,0.3) 0%, transparent 100%),
    radial-gradient(0.8px 0.8px at 52% 45%, rgba(255,255,255,0.2) 0%, transparent 100%);
  animation: twinkle 5s ease-in-out infinite alternate;
}
@keyframes twinkle { 0% { opacity: 0.5; } 100% { opacity: 1; } }

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212,168,67,0.08);
  border: 1px solid rgba(212,168,67,0.25);
  padding: 5px 16px;
  border-radius: var(--r-full);
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(22px, 3.2vw, 34px);
  color: #FFFFFF;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  max-width: 440px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* CTA Block -- flex column */
.hero-cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  margin-bottom: 2rem;
}

/* Bouton principal vert */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cta);
  color: #FFFFFF;
  padding: 14px 40px;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 17px;
  border: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(16,185,129,0.3);
}
.hero-cta:hover {
  transform: translateY(-2px);
  background: var(--cta-hover);
  box-shadow: 0 8px 32px rgba(16,185,129,0.4);
}

/* Ligne offre sous le bouton */
.hero-offer-line {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}
.hero-offer-icon {
  font-size: 16px;
}
.hero-offer-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--cta);
}
.hero-offer-sep {
  color: rgba(255,255,255,0.3);
  font-size: 12px;
}
.hero-offer-tarif {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
}

.hero-trust-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  font-weight: 500;
  color: #FFFFFF;
  opacity: 0.85;
}

/* ============================================================
   FILTER BAR — floating glass
   ============================================================ */
.filter-bar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 12px 20px;
  margin-top: -24px;
  position: relative;
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}

.filter-bar select {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text);
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--cream);
  flex: 1;
  min-width: 130px;
  cursor: pointer;
  transition: all 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.filter-bar select:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px var(--violet-glow);
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 20px 0;
  margin: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.trust-item { display: flex; align-items: center; gap: 8px; }

.trust-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--violet-dark), var(--violet));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  box-shadow: 0 2px 8px var(--violet-glow);
}
.trust-icon svg { width: 16px; height: 16px; }

.trust-text { font-size: 12px; font-weight: 700; color: var(--text); }
.trust-sub { font-size: 10px; color: var(--text-muted); }

/* ============================================================
   SECTION
   ============================================================ */
.section-title {
  font-size: clamp(24px, 3.5vw, 30px);
  margin: 40px 0 6px;
}
.section-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ============================================================
   VOYANT CARDS — premium with glow
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.card-voyant {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}
.card-voyant:hover {
  border-color: var(--violet);
  box-shadow: var(--shadow-xl);
  transform: translateY(-3px);
}
.card-voyant[data-hidden="true"] { display: none; }

.card-image {
  height: 240px;
  background: linear-gradient(145deg, var(--violet-deep), #3b1a7a, #4c1d95);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Subtle pattern on card image */
.card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.25) 0%, transparent 100%),
    radial-gradient(0.8px 0.8px at 65% 18%, rgba(212,168,67,0.3) 0%, transparent 100%),
    radial-gradient(0.8px 0.8px at 82% 65%, rgba(255,255,255,0.15) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 75%, rgba(255,255,255,0.12) 0%, transparent 100%);
  z-index: 1;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  position: relative;
  z-index: 2;
}

.card-image .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,11,46,0.1) 0%, rgba(26,11,46,0.45) 100%);
  z-index: 3;
}

.card-avatar-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: rgba(124,58,237,0.2);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 28px;
  position: relative;
  z-index: 4;
}

.card-status-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-full);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.02em;
}
.card-status-badge.online {
  background: rgba(22,163,74,0.9);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(22,163,74,0.3);
}
.card-status-badge.offline {
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  color: rgba(255,255,255,0.7);
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--white);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.card-specialty-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--violet-hero);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: var(--r-full);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 5px;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.card-body { padding: 16px 18px 18px; }

.card-name {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--violet-dark);
  margin-bottom: 3px;
}
.card-name a { transition: color 0.2s; }
.card-name a:hover { color: var(--violet); }

.card-rating { display: flex; align-items: center; gap: 5px; margin-bottom: 8px; }
.card-stars { color: var(--gold-stars); font-size: 12px; letter-spacing: 0.5px; }
.card-rating-text { font-size: 11px; color: var(--text-muted); }

.card-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.card-price { display: flex; flex-direction: column; gap: 1px; }
.card-price-offer {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  background: var(--success);
  padding: 2px 10px;
  border-radius: var(--r-full);
  line-height: 1.4;
}
.card-price-tarif {
  font-size: 9px;
  color: #b0b0b0;
  font-weight: 400;
  padding-left: 2px;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #10B981;
  color: #FFFFFF;
  border: none;
  padding: 9px 20px;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 13px;
  /* no text-shadow needed on green */
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 2px 8px rgba(16,185,129,0.25);
}
.card-cta:hover {
  background: #059669;
  box-shadow: 0 4px 16px rgba(16,185,129,0.35);
  transform: translateY(-1px);
}

/* ============================================================
   CTA SECTION — dramatic
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--violet-dark), var(--violet-hero));
  border-radius: var(--r-xl);
  padding: 40px 32px;
  text-align: center;
  color: var(--white);
  margin: 40px 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(124,58,237,0.15);
}

/* Layered gradient */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(124,58,237,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 100%, rgba(109,40,217,0.15) 0%, transparent 50%);
}

/* Stars */
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 20%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1.2px 1.2px at 40% 70%, rgba(212,168,67,0.35) 0%, transparent 100%),
    radial-gradient(0.8px 0.8px at 70% 30%, rgba(255,255,255,0.25) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 60%, rgba(212,168,67,0.2) 0%, transparent 100%);
}

.cta-offer-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--cta);
  padding: 5px 20px;
  border-radius: var(--r-full);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 12px var(--gold-glow);
}
.cta-section h2 {
  font-size: clamp(20px, 2.8vw, 26px);
  color: var(--white);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.cta-section p {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.cta-tarif-small {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--violet-dark);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 20px;
  position: relative;
}

/* ============================================================
   EDITORIAL SECTION
   ============================================================ */
.editorial-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px;
  margin: 40px 0;
}
.editorial-section h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 16px;
}
.editorial-section h3 {
  font-size: 18px;
  margin: 28px 0 10px;
  color: var(--violet-hero);
}
.editorial-section p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}
.editorial-section ul {
  padding-left: 20px;
  margin-bottom: 16px;
}
.editorial-section li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 8px;
  list-style: disc;
}
.editorial-section a {
  color: var(--cta);
  font-weight: 600;
}
.editorial-section a:hover {
  text-decoration: underline;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0 8px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.breadcrumbs a {
  color: var(--violet-hero);
  text-decoration: none;
}
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span[aria-current] {
  color: var(--text);
  font-weight: 600;
}
.breadcrumbs span[aria-hidden] {
  color: var(--border);
  font-size: 14px;
}
@media (max-width: 640px) {
  .breadcrumbs { font-size: 12px; gap: 6px; }
}

/* Author card (E-E-A-T signal) */
.author-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #F9F5FF 0%, #FFFFFF 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--violet-hero);
  border-radius: var(--r-md);
}
.author-avatar {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet-hero), var(--violet-deep));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}
.author-info { flex: 1; min-width: 0; }
.author-name {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 2px;
}
.author-name strong { color: var(--violet-hero); font-weight: 700; }
.author-role {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 8px;
  font-style: italic;
}
.author-bio {
  font-size: 13px;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 10px;
}
.author-card .editorial-meta {
  font-size: 11px;
  color: var(--text-muted);
}
@media (max-width: 640px) {
  .author-card { flex-direction: column; gap: 12px; padding: 14px; }
  .author-avatar { width: 48px; height: 48px; min-width: 48px; font-size: 17px; }
  .author-name { font-size: 13px; }
  .author-bio { font-size: 12px; }
}

/* Steps list */
.steps-list { margin: 20px 0 32px; }
.step-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.step-number {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--cta);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}
.step-item p { margin-top: 4px; }

/* Comparison table */
.comparison-table-wrapper { overflow-x: auto; margin: 20px 0 32px; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.comparison-table th, .comparison-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.comparison-table thead th {
  background: var(--violet-deep);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}
.comparison-table thead th.highlight-col {
  background: var(--cta);
}
.comparison-table td.highlight-col {
  background: rgba(16,185,129,0.06);
  color: var(--text);
}
.comparison-table tbody tr:hover { background: rgba(0,0,0,0.02); }

/* Guarantees grid */
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 20px 0 32px;
}
.guarantee-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  background: var(--cream);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}
.guarantee-icon { font-size: 28px; min-width: 36px; }
.guarantee-item p { margin-top: 4px; font-size: 14px; }

/* Checklist */
.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0 32px;
}
.checklist-bad, .checklist-good {
  padding: 20px;
  border-radius: var(--r-lg);
}
.checklist-bad {
  background: #FEF2F2;
  border: 1px solid #FECACA;
}
.checklist-good {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
}
.checklist-bad ul, .checklist-good ul {
  padding-left: 0;
  margin: 0;
}
.checklist-bad li, .checklist-good li {
  font-size: 14px;
  margin-bottom: 8px;
  list-style: none;
  padding-left: 24px;
  position: relative;
}
.checklist-bad li::before {
  content: '\2716';
  position: absolute;
  left: 0;
  color: #DC2626;
  font-weight: 700;
}
.checklist-good li::before {
  content: '\2714';
  position: absolute;
  left: 0;
  color: #16A34A;
  font-weight: 700;
}

/* Cookie banner */
.vcb-cookie-banner {
  position: fixed;
  bottom: 60px;
  left: 16px;
  right: 16px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-xl);
  z-index: 9998;
  font-size: 13px;
  line-height: 1.5;
}
.vcb-cookie-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.vcb-cookie-inner p {
  margin: 0;
  flex: 1;
  min-width: 200px;
  color: var(--text-muted);
}
.vcb-cookie-inner a {
  color: var(--violet-hero);
  font-weight: 600;
  text-decoration: underline;
}
.vcb-cookie-accept {
  background: var(--cta);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.vcb-cookie-accept:hover {
  background: var(--cta-hover);
}

/* Checklist tips */
.checklist-tips {
  padding-left: 0;
  margin: 20px 0 32px;
}
.checklist-tips li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  list-style: none;
  padding-left: 28px;
  position: relative;
}
.checklist-tips li::before {
  content: '\2705';
  position: absolute;
  left: 0;
  top: 1px;
}

/* Specialties guide */
.specialties-guide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 0 32px;
}
.specialty-block {
  padding: 20px;
  background: var(--cream);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}
.specialty-block h3 {
  font-size: 17px;
  color: var(--violet-hero);
  margin-bottom: 10px;
}
.specialty-block p {
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .specialties-guide { grid-template-columns: 1fr; }
}

/* FAQ items */
.faq-item {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 16px;
}
.faq-item h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.faq-item p {
  font-size: 14px;
}

@media (max-width: 768px) {
  .guarantees-grid { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .comparison-table { font-size: 12px; }
  .comparison-table th, .comparison-table td { padding: 8px 10px; }
}

/* Decorative top line */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,67,0.3), var(--gold), rgba(212,168,67,0.3), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-about p { font-size: 13px; line-height: 1.7; max-width: 340px; }

.footer-title {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-links li { margin-bottom: 6px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255,255,255,0.35);
}

.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-legal a:hover { color: var(--gold); }

/* ============================================================
   STICKY CTA — glass bar
   ============================================================ */
.sticky-cta {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
  background: linear-gradient(135deg, #4A235A, #582b7d) !important;
  border-top: 1px solid rgba(16,185,129,0.5) !important;
  box-shadow: 0 -4px 24px rgba(74,35,90,0.6) !important;
}

.sticky-cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 8px 24px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px;
}

.sticky-cta-offer {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.sticky-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px;
  background: #10B981 !important;
  color: #FFFFFF !important;
  padding: 8px 20px !important;
  border-radius: var(--r-full) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  font-family: var(--font-body) !important;
  white-space: nowrap;
  text-decoration: none !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.25s;
  box-shadow: 0 2px 12px rgba(16,185,129,0.3);
}
.sticky-cta-btn:hover { background: #059669 !important; box-shadow: 0 4px 20px rgba(16,185,129,0.4) !important; }

.sticky-cta-tarif {
  font-size: 9px;
  color: #FFFFFF;
  opacity: 0.5;
  white-space: nowrap;
}

/* ============================================================
   PAGE CONTENT
   ============================================================ */
.page-content {
  background: var(--white);
  padding: 40px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  margin: 40px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.page-content h1 { margin-bottom: 24px; }
.page-content h2 { font-size: 24px; margin: 32px 0 16px; }
.page-content p { color: var(--text-muted); }
.page-content ul { padding-left: 24px; margin-bottom: 16px; }
.page-content li { color: var(--text-muted); margin-bottom: 8px; list-style: disc; }

/* ============================================================
   SINGLE VOYANT
   ============================================================ */
.voyant-single {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 40px 0;
}

.voyant-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 400px;
  background: linear-gradient(145deg, var(--violet-deep), #3b1a7a);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.voyant-photo img { width: 100%; height: 100%; object-fit: cover; }

.voyant-info h1 { margin-bottom: 16px; }

.voyant-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.voyant-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.voyant-cta-box {
  background: var(--violet-light);
  border-radius: var(--r-lg);
  padding: 24px;
  text-align: center;
  margin-top: 20px;
  border: 1px solid rgba(124,58,237,0.08);
}

.voyant-cta-price {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #10B981;
  color: #FFFFFF;
  padding: 14px 36px;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 15px;
  border: none;
  /* no text-shadow needed on green */
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 4px 16px rgba(16,185,129,0.3);
}
.btn-call:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16,185,129,0.4);
}

/* ============================================================
   404
   ============================================================ */
.page-404 { text-align: center; padding: 80px 0; }
.page-404 h1 { font-size: 72px; color: var(--violet); margin-bottom: 12px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .voyant-single { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .filter-bar { flex-direction: column; }
  .filter-bar select { min-width: 100%; }
  .hero-stats { gap: 20px; }
  .hero-stats { flex-wrap: wrap; justify-content: center; }
  .trust-bar { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 20px; }
  .nav-primary { display: none; }
  .menu-toggle { display: block; }
  .nav-primary.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26,11,46,0.98);
    backdrop-filter: blur(16px);
    padding: 20px;
    border-bottom: 1px solid rgba(124,58,237,0.15);
  }
  .nav-primary.open ul { flex-direction: column; gap: 14px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { flex-direction: column; gap: 6px; }
  .sticky-cta-offer { font-size: 11px; }
  .sticky-cta-tarif { display: none; }
  .sticky-cta-btn { font-size: 12px !important; padding: 7px 14px !important; }
  .sticky-cta-inner { padding: 6px 12px; gap: 10px; }
  .cta-section { padding: 28px 20px; }
  .hero { padding: 16px 0 32px; }
  .hero h1 { font-size: 22px; }
  .hero p { font-size: 13px; padding: 0 8px; }
  .hero-cta { padding: 12px 20px; font-size: 14px; white-space: nowrap; }
  .hero-trust-line { gap: 8px 12px; font-size: 11px; }
  .hero-trust-item { font-size: 11px; }
  .hero-trust-item svg { width: 12px; height: 12px; }
  .header-cta { padding: 6px 12px; font-size: 11px; }
  .header-cta svg { width: 12px; height: 12px; }
  .site-logo { font-size: 18px; }
  .editorial-section { padding: 24px 16px; }
  .editorial-section h2 { font-size: 22px; }
  .step-item { flex-direction: row; gap: 12px; }
  .step-number { width: 28px; height: 28px; min-width: 28px; font-size: 14px; }
  .comparison-table th, .comparison-table td { padding: 8px 10px; font-size: 12px; }
  .section-title { font-size: 22px; margin: 32px 0 4px; }
  .cta-section h2 { font-size: 22px; }
  .card-image { height: 200px; }
  .card-body { padding: 14px 16px; }
  .card-footer { flex-direction: column; gap: 12px; align-items: flex-start; }
  .card-cta { width: 100%; justify-content: center; }
  .vcb-cookie-banner { bottom: 54px; left: 8px; right: 8px; padding: 12px 16px; }
  .vcb-cookie-inner { flex-direction: column; align-items: stretch; gap: 10px; }
  .vcb-cookie-accept { width: 100%; }
  body { padding-bottom: 58px; }
}

/* Tablet range (641-1024) -- fill the gap */
@media (min-width: 641px) and (max-width: 1024px) {
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 14px; }
  .editorial-section { padding: 32px 24px; }
  .editorial-section h2 { font-size: 24px; }
  .specialties-guide { grid-template-columns: 1fr 1fr; }
  .specialties-guide .specialty-block:nth-child(3) { grid-column: 1 / -1; }
  .guarantees-grid { grid-template-columns: 1fr 1fr; }
  .checklist { grid-template-columns: 1fr 1fr; }
}

/* Global overflow fix -- prevents horizontal scroll from any edge case */
html, body { overflow-x: hidden; max-width: 100%; }
img, video, iframe { max-width: 100%; height: auto; }
.comparison-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
pre, code, blockquote { overflow-wrap: break-word; word-wrap: break-word; }
