/* ================================================================
   STYLES.CSS — Conferencier.fr
   ================================================================ */

/* 1. FONTS
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,900;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

/* 2. VARIABLES
   ================================================================ */
:root {
  /* Couleurs principales */
  --primary:        #A02EC9;
  --primary-dark:   #7A1FA2;
  --primary-light:  #C879E8;
  --primary-glow:   rgba(160, 46, 201, 0.12);

  /* Neutres */
  --dark:           #0A0A12;
  --text:           #1C1C2E;
  --muted:          #6B6B8A;
  --bg:             #F9F7FD;
  --bg-alt:         #F2EDF9;
  --white:          #FFFFFF;
  --border:         #E4D9F0;

  /* États */
  --error:          #E53E3E;
  --success:        #38A169;

  /* Ombres */
  --shadow-sm:      0 2px 8px rgba(10, 10, 18, 0.06);
  --shadow:         0 4px 20px rgba(10, 10, 18, 0.08);
  --shadow-md:      0 8px 32px rgba(10, 10, 18, 0.1);
  --shadow-purple:  0 8px 32px rgba(160, 46, 201, 0.2);

  /* Rayons */
  --radius-sm:      8px;
  --radius:         12px;
  --radius-lg:      20px;
  --radius-xl:      28px;
  --radius-full:    9999px;

  /* Transitions */
  --transition:     all 0.25s ease;
  --transition-slow: all 0.4s ease;

  /* Espacements */
  --section-py:     80px;
  --section-py-sm:  48px;

  /* Layout */
  --container:      1180px;
  --header-h:       72px;
}

/* 3. RESET & BASE
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* 4. TYPOGRAPHY
   ================================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--dark);
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--muted);
}

/* 5. CONTAINER & LAYOUT
   ================================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container--narrow {
  max-width: 780px;
}

.container--wide {
  max-width: 1340px;
}

.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; }

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

/* 6. HEADER
   ================================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(249, 247, 253, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(249, 247, 253, 0.97);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo__mark {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(160, 46, 201, 0.3);
}

.logo__name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.logo__name span {
  color: var(--primary);
}

/* Desktop nav */
.header__nav {
  display: flex;
  align-items: center;
}

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

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  border: none;
  background: none;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
}

.nav__link:hover,
.nav__link.active {
  color: var(--primary);
  background: var(--primary-glow);
}

/* Dropdown */
.nav__item--dropdown {
  position: relative;
}

.nav__dropdown-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.nav__item--dropdown:hover .nav__dropdown-btn svg,
.nav__item--dropdown.open .nav__dropdown-btn svg {
  transform: rotate(180deg);
}

.dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 230px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 100;
}

.nav__item--dropdown:hover .dropdown__menu,
.nav__item--dropdown.open .dropdown__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown__item {
  display: block;
  padding: 9px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.dropdown__item:hover,
.dropdown__item.active {
  color: var(--primary);
  background: var(--primary-glow);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--white);
  transition: var(--transition);
  flex-shrink: 0;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 16px 24px 32px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
}

.mobile-nav__link:hover,
.mobile-nav__link.active {
  color: var(--primary);
  background: var(--primary-glow);
}

.mobile-nav__link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.mobile-dropdown-btn.open svg {
  transform: rotate(180deg);
}

.mobile-dropdown__menu {
  padding: 4px 0 4px 16px;
  display: none;
}

.mobile-dropdown__menu.open {
  display: block;
}

.mobile-dropdown__item {
  display: block;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border-left: 2px solid var(--border);
  margin-bottom: 2px;
}

.mobile-dropdown__item:hover {
  color: var(--primary);
  border-left-color: var(--primary);
  background: var(--primary-glow);
}

.mobile-menu .btn {
  margin-top: 16px;
  width: 100%;
  justify-content: center;
}

body.menu-open {
  overflow: hidden;
}

/* Page offset — uniquement pour les pages internes (page-header).
   Sur la homepage, main doit avoir padding-top: 0 car le hero gère son propre offset. */
main {
  padding-top: var(--header-h);
}

/* 7. BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.01em;
  font-family: 'Inter', sans-serif;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(160, 46, 201, 0.25);
}

.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 6px 24px rgba(160, 46, 201, 0.38);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(160, 46, 201, 0.25);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn--ghost:hover {
  background: var(--bg-alt);
  border-color: var(--primary);
  color: var(--primary);
}

.btn--dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.btn--dark:hover {
  background: #1a1a2e;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  box-shadow: var(--shadow);
}

.btn--white:hover {
  background: var(--bg-alt);
  transform: translateY(-1px);
}

.btn--sm  { padding: 8px 18px; font-size: 0.85rem; }
.btn--lg  { padding: 16px 36px; font-size: 1rem; }
.btn--full { width: 100%; }

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* 8. SECTIONS
   ================================================================ */
.section {
  padding: var(--section-py) 0;
}

.section--sm {
  padding: var(--section-py-sm) 0;
}

.section--dark {
  background: var(--dark);
  color: var(--white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--alt {
  background: var(--bg-alt);
}

.section--purple {
  background: linear-gradient(135deg, #1a0a2e 0%, #2d0f4e 50%, #1a0a2e 100%);
  color: var(--white);
}

.section--purple h1,
.section--purple h2,
.section--purple h3 {
  color: var(--white);
}

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 14px;
}

.section__label::before,
.section__label::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.section__title {
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.section__cta {
  text-align: center;
  margin-top: 48px;
}

/* 9. HERO
   ================================================================ */
.hero {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0A0A12 0%, #1a0730 40%, #2d0a50 70%, #1a0730 100%);
  position: relative;
  overflow: hidden;
  padding-top: 50px;
  padding-bottom: 60px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(160, 46, 201, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 30%, rgba(160, 46, 201, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  display: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: 40px 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(160, 46, 201, 0.2);
  border: 1px solid rgba(160, 46, 201, 0.35);
  color: var(--primary-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero__title {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero__title em {
  font-style: italic;
  color: var(--primary-light);
}

.hero__text {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.hero__stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  display: block;
}

.hero__stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* 10. CARDS
   ================================================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(160, 46, 201, 0.2);
}

/* Article card */
.card--article {
  display: flex;
  flex-direction: column;
}

.card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-alt) 0%, #e8d5f5 100%);
  position: relative;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card--article:hover .card__image img {
  transform: scale(1.05);
}

.card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--bg-alt), #e8d5f5);
  opacity: 0.6;
}

.card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__category {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 10px;
}

.card__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--dark);
  transition: color 0.2s;
}

.card--article:hover .card__title {
  color: var(--primary);
}

.card__excerpt {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}

.card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--muted);
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

/* Speaker card */
.card--speaker {
  text-align: center;
  padding: 32px 24px;
}

.speaker__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  border: 3px solid var(--white);
  box-shadow: 0 4px 16px rgba(160, 46, 201, 0.25);
}

.speaker__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.speaker__name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.speaker__role {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.speaker__bio {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* 11. ARTICLES GRID
   ================================================================ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* 12. STATS
   ================================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.stat-card__value {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--primary);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card__label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

/* 13. TESTIMONIALS
   ================================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}

.testimonial:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--primary-light);
  opacity: 0.2;
  line-height: 1;
  pointer-events: none;
}

.testimonial__text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.testimonial__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.testimonial__name {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.testimonial__role {
  font-size: 0.8rem;
  color: var(--muted);
}

/* 14. FAQ
   ================================================================ */
.faq {
  max-width: 780px;
  margin: 0 auto;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.2s;
}

.faq__item.active {
  box-shadow: var(--shadow);
  border-color: rgba(160, 46, 201, 0.25);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  gap: 16px;
  transition: color 0.2s;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
}

.faq__item.active .faq__question {
  color: var(--primary);
}

.faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.faq__item.active .faq__icon {
  background: var(--primary);
  transform: rotate(180deg);
}

.faq__icon svg {
  width: 12px;
  height: 12px;
  color: var(--muted);
  transition: color 0.2s;
}

.faq__item.active .faq__icon svg {
  color: var(--white);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq__answer-inner {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.75;
}

.faq__item.active .faq__answer {
  max-height: 600px;
}

/* 15. FORMS
   ================================================================ */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}

.form-label .required {
  color: var(--primary);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.93rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-input.error,
.form-textarea.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-error {
  display: block;
  font-size: 0.8rem;
  color: var(--error);
  margin-top: 5px;
  min-height: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-notice {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.5;
}

/* Alerts */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.alert--success {
  background: rgba(56, 161, 105, 0.1);
  border: 1px solid rgba(56, 161, 105, 0.3);
  color: #276749;
}

.alert--error {
  background: rgba(229, 62, 62, 0.08);
  border: 1px solid rgba(229, 62, 62, 0.3);
  color: #9B2C2C;
}

/* 16. FOOTER
   ================================================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
}

.footer__top {
  padding: 64px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}

.footer__col-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer__logo .logo__mark {
  box-shadow: none;
}

.footer__logo .logo__name {
  color: var(--white);
}

.footer__description {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
}

.footer__articles-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__article-link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
  line-height: 1.45;
}

.footer__article-link::before {
  content: '→';
  color: var(--primary-light);
  flex-shrink: 0;
  margin-top: 1px;
}

.footer__article-link:hover {
  color: var(--white);
}

.footer__links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer__link:hover {
  color: var(--primary-light);
}

.footer__bottom {
  padding: 22px 0;
}

.footer__copyright {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
}

/* 17. BREADCRUMB
   ================================================================ */
.breadcrumb {
  padding: 14px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  color: var(--muted);
}

.breadcrumb__item:not(:last-child)::after {
  content: '/';
  color: var(--border);
}

.breadcrumb__link {
  color: var(--muted);
  transition: color 0.2s;
}

.breadcrumb__link:hover {
  color: var(--primary);
}

.breadcrumb__item:last-child {
  color: var(--text);
  font-weight: 500;
}

/* 18. PAGE HEADER
   ================================================================ */
.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, #1a0730 100%);
  padding: 52px 0 44px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(160, 46, 201, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.page-header__inner {
  position: relative;
  z-index: 1;
}

.page-header__title {
  color: var(--white);
  margin-bottom: 12px;
}

.page-header__subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
}

/* 18b. ARTICLE HERO
   ================================================================ */
.article-hero {
  background: linear-gradient(160deg, #0A0A12 0%, #1a0730 50%, #0d0d1a 100%);
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 48px) 0 52px;
  text-align: center;
}

.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 20%, rgba(160, 46, 201, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(160, 46, 201, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

.article-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.article-hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.article-hero__category {
  display: inline-flex;
  align-items: center;
  background: rgba(160, 46, 201, 0.25);
  border: 1px solid rgba(160, 46, 201, 0.45);
  color: var(--primary-light);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.article-hero__date,
.article-hero__read-time {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.article-hero__date::before {
  content: '·';
  margin-right: 16px;
  color: rgba(255, 255, 255, 0.25);
}

.article-hero__title {
  color: var(--white);
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.article-hero__subtitle {
  display: none;
}

.article-hero__author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.article-hero__author-avatar {
  display: none;
}

.article-hero__author-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

.article-hero__author-role {
  display: none;
}

/* 19. ARTICLE LAYOUT
   ================================================================ */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
  padding: 48px 0 80px;
}

.article-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--border);
  min-width: 0;
}

.article-content h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-top: 36px;
  margin-bottom: 14px;
  color: var(--dark);
}

.article-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--dark);
}

.article-header {
  margin-bottom: 32px;
}

.article-category {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: var(--primary-glow);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.article-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--dark);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.83rem;
  color: var(--muted);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.article-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  font-style: italic;
  padding: 20px 24px;
  background: var(--bg-alt);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0 32px;
}

/* Article body typography */
.article-body h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
}

.article-body h3 {
  font-size: 1.2rem;
  margin-top: 28px;
  margin-bottom: 12px;
}

.article-body p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}

.article-body ul,
.article-body ol {
  padding-left: 24px;
  margin-bottom: 1.2rem;
}

.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }

.article-body li {
  margin-bottom: 8px;
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--text);
}

.article-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-body a:hover {
  color: var(--primary-dark);
}

.article-body blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  background: var(--bg-alt);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text);
}

.article-body strong {
  color: var(--dark);
  font-weight: 700;
}

/* Medical disclaimer */
.disclaimer-box {
  background: linear-gradient(135deg, rgba(160, 46, 201, 0.05), rgba(160, 46, 201, 0.1));
  border: 1px solid rgba(160, 46, 201, 0.25);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0;
}

.disclaimer-box__title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.disclaimer-box__text {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.65;
  margin: 0;
}

/* Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  background: var(--bg-alt);
  color: var(--muted);
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.tag:hover {
  background: var(--primary-glow);
  color: var(--primary);
  border-color: rgba(160, 46, 201, 0.3);
}

/* 19b. ARTICLE IMAGE (hero)
   ================================================================ */
.article-image {
  margin: 0 0 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--bg-alt) 0%, #e8d5f5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-image__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-image__placeholder {
  font-size: 4rem;
  opacity: 0.5;
}

/* 19b2. AUTHOR BLOCK & INLINE CTA
   ================================================================ */

/* Masquer le bloc CTA inline (gradient sombre en bas des articles) */
.article-content > div[style*="linear-gradient(135deg,var(--dark)"] {
  display: none;
}

.author-block {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  padding: 28px 32px;
  background: linear-gradient(135deg, #f7f2fd 0%, #ede1f9 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-lg);
}

.author-block__avatar {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 50%;
  background-image: url('img/user-avatar-2-96x96.png');
  background-size: cover;
  background-position: center;
  border: 3px solid var(--white);
  box-shadow: 0 4px 14px rgba(160, 46, 201, 0.25);
  font-size: 0;
  color: transparent;
}

.author-block__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.author-block__bio {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* 19c. ARTICLE CARD (related articles)
   ================================================================ */
.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.article-card:hover {
  box-shadow: 0 8px 32px rgba(160,46,201,0.1);
  transform: translateY(-3px);
}

.article-card__image-link {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-alt) 0%, #e8d5f5 100%);
  position: relative;
}

.article-card__image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.article-card:hover .article-card__image-link img {
  transform: scale(1.05);
}

.article-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: absolute;
  inset: 0;
}

.article-card__body {
  padding: 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-card__category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
}

.article-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--dark);
  margin: 0;
  transition: color 0.2s;
}

.article-card__title a {
  color: inherit;
  text-decoration: none;
}

.article-card:hover .article-card__title a {
  color: var(--primary);
}

.article-card__excerpt {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.article-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.article-card__author {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}

.article-card__date {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Related articles section */
.related-articles {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

/* 20. SIDEBAR
   ================================================================ */
.article-sidebar,
#article-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.sidebar__widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sidebar__widget-header {
  padding: 14px 20px;
  background: var(--dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
}

.sidebar__widget-body {
  padding: 16px 20px;
}

/* Sidebar search */
.sidebar__search {
  display: flex;
  gap: 8px;
}

.sidebar__search-input {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.88rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  min-width: 0;
}

.sidebar__search-input:focus {
  border-color: var(--primary);
}

.sidebar__search-btn {
  padding: 10px 14px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar__search-btn:hover {
  background: var(--primary-dark);
}

.sidebar__search-btn svg {
  width: 16px;
  height: 16px;
}

/* Sidebar recent article cards */
.sidebar__recent-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar__recent-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: var(--transition);
}

.sidebar__recent-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar__recent-card:first-child {
  padding-top: 0;
}

.sidebar__recent-card__thumb {
  width: 72px;
  min-width: 72px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.sidebar__recent-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sidebar__recent-card__thumb-fallback {
  font-size: 1.4rem;
}

.sidebar__recent-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.sidebar__recent-card__cat {
  display: none;
}

.sidebar__recent-card__title {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.sidebar__recent-card:hover .sidebar__recent-card__title {
  color: var(--primary);
}

.sidebar__recent-card__date {
  font-size: 0.73rem;
  color: var(--muted);
  margin-top: 2px;
}

/* Sidebar articles (legacy) */
.sidebar__articles-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar__article-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.sidebar__article-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  min-width: 24px;
}

.sidebar__article-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  transition: color 0.2s;
}

.sidebar__article-link:hover {
  color: var(--primary);
}

/* Sidebar categories */
.sidebar__categories-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar__category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}

.sidebar__category-link:hover {
  color: var(--primary);
  background: var(--primary-glow);
  border-color: rgba(160, 46, 201, 0.15);
}

.sidebar__category-count {
  font-size: 0.73rem;
  background: var(--bg-alt);
  color: var(--muted);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

/* Sidebar CTA */
.sidebar__cta {
  background: linear-gradient(135deg, var(--dark) 0%, #2d0a50 100%);
  border: none;
}

.sidebar__cta .sidebar__widget-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.sidebar__cta-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.sidebar__cta-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
}

.sidebar__cta-text {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* Sidebar newsletter */
.sidebar__newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar__newsletter-input {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  transition: border-color 0.2s;
  background: var(--bg);
}

.sidebar__newsletter-input:focus {
  border-color: var(--primary);
}

/* 21. LEGAL PAGES
   ================================================================ */
.legal-page {
  padding: 56px 0 80px;
}

.legal-page__header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-page__date {
  font-size: 0.83rem;
  color: var(--muted);
  margin-top: 8px;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 36px;
  margin-bottom: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.legal-content h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.05rem;
  margin-top: 20px;
  margin-bottom: 10px;
}

.legal-content p {
  font-size: 0.93rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }

.legal-content li {
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
}

/* 22. CONTACT PAGE
   ================================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  background: var(--primary-glow);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.contact-info__label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-info__value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow);
}

/* 23. CTA BANNER
   ================================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(255,255,255,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner__title {
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.cta-banner__text {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  line-height: 1.7;
}

.cta-banner .btn--white-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.cta-banner .btn--white-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

/* 24. ABOUT PAGE
   ================================================================ */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-alt), #e8d5f5);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  font-size: 5rem;
}

/* 25. EEAT PAGE
   ================================================================ */
.eeat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.eeat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.eeat-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(160, 46, 201, 0.25);
  transform: translateY(-2px);
}

.eeat-card__letter {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 4px;
}

.eeat-card__title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.eeat-card__text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* 26. UTILITIES
   ================================================================ */
.text-center  { text-align: center; }
.text-muted   { color: var(--muted); }
.text-primary { color: var(--primary); }
.text-white   { color: var(--white); }

.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-6  { margin-bottom: 24px; }
.mb-8  { margin-bottom: 32px; }

.hidden { display: none !important; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 40px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-full);
}

.badge--primary {
  background: var(--primary-glow);
  color: var(--primary);
}

/* Feature items */
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.feature-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

/* 27. ANIMATIONS
   ================================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 16px rgba(160, 46, 201, 0.25); }
  50%       { box-shadow: 0 4px 28px rgba(160, 46, 201, 0.45); }
}

.animate-fade-up {
  animation: fadeInUp 0.6s ease forwards;
}

.btn--primary {
  animation: pulseGlow 3s ease-in-out infinite;
}

.btn--primary:hover {
  animation: none;
}

/* 28. RESPONSIVE — Tablet ≤ 1024px
   ================================================================ */
@media (max-width: 1024px) {
  :root { --section-py: 64px; }

  .articles-grid     { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row         { grid-template-columns: repeat(2, 1fr); }
  .eeat-grid         { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__grid > *:first-child { grid-column: 1 / -1; }

  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-hero   { gap: 40px; }

  .article-layout { grid-template-columns: 1fr 300px; gap: 32px; }
  .cta-banner     { padding: 40px 32px; }
}

/* 29. RESPONSIVE — Mobile ≤ 768px
   ================================================================ */
@media (max-width: 768px) {
  :root {
    --section-py: 48px;
    --header-h:   64px;
  }

  .header__nav { display: none; }
  .burger      { display: flex; }

  .hero                   { min-height: 90vh; }
  .hero__inner            { padding: 56px 0; }
  .hero__stats            { gap: 24px; }
  .hero__cta              { flex-direction: column; align-items: flex-start; }
  .hero__cta .btn         { width: 100%; justify-content: center; }

  .articles-grid          { grid-template-columns: 1fr; }
  .testimonials-grid      { grid-template-columns: 1fr; }
  .stats-row              { grid-template-columns: repeat(2, 1fr); }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form-row               { grid-template-columns: 1fr; }
  .about-hero             { grid-template-columns: 1fr; }

  .footer__grid           { grid-template-columns: 1fr; gap: 28px; }
  .footer__top            { padding: 40px 0; }

  .article-layout         { grid-template-columns: 1fr; }
  .article-sidebar        { position: static; top: auto; }
  .article-content        { padding: 24px; }

  .section__header        { margin-bottom: 36px; }
  .cta-banner             { padding: 32px 24px; border-radius: var(--radius-lg); }
  .contact-form-card      { padding: 24px; }
  .page-header            { padding: 48px 0 36px; }
}

/* 30. RESPONSIVE — Small mobile ≤ 480px
   ================================================================ */
@media (max-width: 480px) {
  :root { --section-py: 40px; }

  h2 { font-size: 1.6rem; }
  .hero__title { font-size: 2.1rem; }
  .stats-row   { grid-template-columns: 1fr; }
  .article-title { font-size: 1.5rem; }
  .article-content { padding: 20px 16px; }
}

/* ── COOKIE BANNER ─────────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 9999;
  width: calc(100% - 32px);
  max-width: 700px;
  background: #0A0A12;
  border: 1px solid rgba(160, 46, 201, 0.35);
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(160, 46, 201, 0.1);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(.22,.68,0,1.2), opacity 0.4s ease;
  pointer-events: none;
}

#cookie-banner.cookie-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

#cookie-banner.cookie-hiding {
  transform: translateX(-50%) translateY(120px);
  opacity: 0;
  pointer-events: none;
}

.cookie-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  margin: 0;
  min-width: 200px;
}

.cookie-text a {
  color: #A02EC9;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}

.cookie-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.cookie-btn-refuse {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-btn-accept {
  background: #A02EC9;
  color: #fff;
}

/* Floating cookie button */
#cookie-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9998;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0A0A12;
  border: 1px solid rgba(160, 46, 201, 0.4);
  color: #A02EC9;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

#cookie-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(160, 46, 201, 0.3);
}

@media (max-width: 480px) {
  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
