/* ============================================================
   GUIDE SITES ADULTERES — Velours Minuit Design System
   ============================================================ */

/* 1. RESET ANTI-DISTORSION IMAGES */
img { max-width: 100%; height: auto; display: block; }

/* Task list (GitHub Markdown checkboxes) */
.task-list-item { list-style: none; padding-left: 0.25em; }
.task-list-item input[type="checkbox"] { margin-right: 0.5em; accent-color: var(--bordeaux, #6B1A2B); }

.img-hero     { aspect-ratio: 16/9; overflow: hidden; }
.img-card     { aspect-ratio: 3/2;  overflow: hidden; }
.img-body     { aspect-ratio: 3/2;  overflow: hidden; }
.img-portrait { aspect-ratio: 1/1;  overflow: hidden; border-radius: 50%; }

.img-hero img,
.img-card img,
.img-body img,
.img-portrait img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}

/* 2. DESIGN TOKENS */
:root {
  --ivoire:         #FAF7F2;
  --ivoire-alt:     #F0EBE1;
  --ivoire-95:      rgba(250,247,242,0.95);
  --bordeaux:       #6B1A2B;
  --bordeaux-d:     #4A1020;
  --bordeaux-l:     rgba(107,26,43,0.12);
  --bordeaux-06:    rgba(107,26,43,0.06);
  --or:             #C9A455;
  --or-dark:        #8A6E35;
  --or-faint:       rgba(201,164,85,0.15);
  --encre:          #1A1008;
  --encre-60:       #5A4A3F;
  --encre-30:       #B8AA9D;
  --ardoise:        #2C3E50;
  --ardoise-l:      rgba(44,62,80,0.08);
  --ff-display:     'Cormorant Garamond', 'Georgia', serif;
  --ff-body:        'Source Sans 3', 'Helvetica Neue', sans-serif;
  --ff-mono:        'DM Mono', 'Courier New', monospace;
  --measure-article: 680px;
  --measure-wide:    1280px;
  --measure-hero:    1440px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 250ms;
  --dur:      450ms;
  --dur-slow: 650ms;
}

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

html {
  font-size: 17px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-body);
  font-weight: 400;
  line-height: 1.75;
  color: var(--encre);
  background-color: var(--ivoire);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--bordeaux);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
a:hover { text-decoration-color: var(--bordeaux); }

/* 4. TYPOGRAPHIE */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--encre);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-top: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); margin-top: 2rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1.25rem; }
ul, ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
li { margin-bottom: 0.5rem; }

/* Filet bordeaux animé sous les H2 */
.article-body h2 {
  position: relative;
  padding-bottom: 0.5rem;
}
.article-body h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--bordeaux);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.article-body h2:hover::after { transform: scaleX(1); }

/* Kicker */
.kicker {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--or);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

/* Lettrine */
.article-body > p:first-of-type::first-letter {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 3.5rem;
  color: var(--bordeaux);
  float: left;
  line-height: 0.8;
  margin-right: 0.1em;
  margin-top: 0.05em;
}

/* Pull quote */
.pull-quote {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.5;
  border-left: 4px solid var(--bordeaux);
  padding-left: 1.5rem;
  margin: 2rem 0;
  color: var(--bordeaux-d);
}

blockquote {
  border-left: 4px solid var(--bordeaux);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--encre-60);
}

/* 5. HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ivoire-95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bordeaux-l);
  padding: 0 var(--gutter);
}

.header-inner {
  max-width: var(--measure-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 2rem;
}

.site-logo {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--bordeaux);
  text-decoration: none;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.site-logo:hover { color: var(--bordeaux-d); text-decoration: none; }

.site-logo .logo-dot { color: var(--or); }

.nav-main {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  padding: 0; margin: 0;
}

.nav-main a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--encre-60);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color var(--dur-fast) var(--ease);
}
.nav-main a:hover, .nav-main a[aria-current="page"] {
  color: var(--bordeaux);
}

.nav-cta {
  background: var(--bordeaux);
  color: var(--ivoire) !important;
  padding: 0.4rem 1.1rem;
  border-radius: 3px;
  transition: background var(--dur-fast) var(--ease) !important;
}
.nav-cta:hover { background: var(--bordeaux-d) !important; color: var(--ivoire) !important; }

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--encre);
}

/* 6. HERO */
.hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  background: var(--bordeaux-d);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bordeaux-d) 0%, var(--bordeaux) 50%, #8B2238 100%);
}

.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(107,26,43,0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 4rem var(--gutter);
  color: var(--ivoire);
}

.hero-content .kicker { color: var(--or); }

.hero-content h1 {
  color: var(--ivoire);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  max-width: 820px;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(250,247,242,0.85);
  max-width: 600px;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.btn-primary {
  display: inline-block;
  background: var(--bordeaux);
  color: var(--ivoire);
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 3px;
  text-decoration: none;
  border: 2px solid var(--bordeaux);
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.btn-primary:hover {
  background: var(--bordeaux-d);
  border-color: var(--bordeaux-d);
  text-decoration: none;
  color: var(--ivoire);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--ivoire);
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 3px;
  text-decoration: none;
  border: 2px solid rgba(250,247,242,0.5);
  transition: border-color var(--dur-fast) var(--ease);
}
.btn-secondary:hover {
  border-color: var(--ivoire);
  text-decoration: none;
  color: var(--ivoire);
}

/* 7. LAYOUT CONTAINERS */
.container {
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container-article {
  max-width: var(--measure-article);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* 8. SECTIONS HOMEPAGE */
section { padding: 4rem 0; }

.section-alt { background: var(--ivoire-alt); }
.section-dark { background: var(--bordeaux-d); color: var(--ivoire); }
.section-dark h2, .section-dark h3 { color: var(--ivoire); }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--encre-60);
  max-width: 560px;
  margin: 0 auto;
}
.section-dark .section-header p { color: rgba(250,247,242,0.75); }

/* 9. GRILLES DE CARDS */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* 10. CARDS ARTICLES / GUIDES */
.card {
  background: white;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--bordeaux-l);
  border-left: 3px solid transparent;
  transition: border-left-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover {
  border-left-color: var(--bordeaux);
  box-shadow: 0 8px 32px rgba(107,26,43,0.12);
  transform: translateY(-2px);
}

.card-image { position: relative; }

.card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-category {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--or-dark);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.card-title {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.6rem;
  color: var(--encre);
}

.card-excerpt {
  font-size: 0.9rem;
  color: var(--encre-60);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}

.card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bordeaux);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
}
.card-link:hover { text-decoration: underline; text-decoration-color: var(--bordeaux); }

/* Card feature large */
.card-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: white;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--bordeaux-l);
  transition: box-shadow var(--dur-fast) var(--ease);
}
.card-feature:hover { box-shadow: 0 12px 40px rgba(107,26,43,0.15); }
.card-feature .card-body { padding: 2rem; justify-content: center; }
.card-feature .card-title { font-size: 1.5rem; }
.card-feature .img-card { aspect-ratio: 1/1; height: 100%; }

/* Numéros en arrière-plan */
.card-numbered { position: relative; overflow: hidden; }
.card-numbered::before {
  content: counter(card-counter);
  counter-increment: card-counter;
  position: absolute;
  top: -0.2em; right: 0.1em;
  font-family: var(--ff-display);
  font-size: 120px;
  font-weight: 700;
  color: var(--bordeaux);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.grid-numbered { counter-reset: card-counter; }

/* 11. FILTRES DE CATÉGORIE */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  align-items: center;
}

.filter-btn {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border: 1.5px solid var(--encre-30);
  border-radius: 2px;
  background: transparent;
  color: var(--encre-60);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--bordeaux);
  border-color: var(--bordeaux);
  color: var(--ivoire);
}

/* 12. CATEGORIES HUB */
.category-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.category-card {
  background: white;
  border-radius: 4px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--bordeaux-l);
  transition: all var(--dur-fast) var(--ease);
  text-decoration: none;
  color: inherit;
  display: block;
}
.category-card:hover {
  background: var(--bordeaux-06);
  border-color: var(--bordeaux);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(107,26,43,0.1);
  text-decoration: none;
  color: inherit;
}

.category-icon {
  width: 48px; height: 48px;
  margin: 0 auto 1rem;
  color: var(--bordeaux);
}

.category-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--encre);
}
.category-card p {
  font-size: 0.9rem;
  color: var(--encre-60);
  margin: 0;
}

/* 13. PILIERS DE CONFIANCE */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.trust-item { padding: 1.5rem; }

.trust-icon {
  width: 52px; height: 52px;
  margin: 0 auto 1rem;
  color: var(--or);
}

.trust-item h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--ivoire); }
.trust-item p { font-size: 0.95rem; color: rgba(250,247,242,0.8); margin: 0; }

/* 14. PAGE ARTICLE (GUIDES PILIERS) */
.page-hero {
  background: linear-gradient(135deg, var(--bordeaux-d) 0%, var(--bordeaux) 100%);
  padding: 3rem 0 2.5rem;
  color: var(--ivoire);
}

.page-hero h1 { color: var(--ivoire); }
.page-hero .kicker { color: var(--or); }

.page-meta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: rgba(250,247,242,0.75);
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.summary-box {
  background: var(--or-faint);
  border-left: 4px solid var(--or);
  border-radius: 0 4px 4px 0;
  padding: 1.5rem 1.75rem;
  margin: 2.5rem 0;
  font-size: 1rem;
  line-height: 1.7;
}
.summary-box strong { color: var(--bordeaux); }

/* TOC sticky */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 3rem var(--gutter);
  align-items: start;
}

.toc-sidebar {
  position: sticky;
  top: 80px;
}

.toc-box {
  background: var(--bordeaux-06);
  border-left: 3px solid var(--or);
  border-radius: 0 4px 4px 0;
  padding: 1.5rem;
}

.toc-box h2 {
  font-size: 0.8rem;
  font-family: var(--ff-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--or-dark);
  margin: 0 0 1rem;
  padding: 0;
}
.toc-box h2::after { display: none; }

.toc-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.toc-list a {
  font-size: 0.88rem;
  color: var(--encre-60);
  text-decoration: none;
  line-height: 1.4;
  display: block;
  padding: 0.2rem 0;
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
  margin-left: -0.75rem;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.toc-list a:hover, .toc-list a.active {
  color: var(--bordeaux);
  border-left-color: var(--bordeaux);
}

/* 15. ARTICLE BODY */
.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-body h2 { margin-top: 3rem; }
.article-body h3 { margin-top: 2rem; }

.article-body p { margin-bottom: 1.4rem; }

.article-body ul li, .article-body ol li { margin-bottom: 0.6rem; }

.article-body a {
  color: var(--bordeaux);
  font-weight: 500;
}

/* Tableau comparatif */
.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 4px;
  border: 1px solid var(--bordeaux-l);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

thead {
  background: var(--bordeaux);
  color: var(--ivoire);
}
thead th {
  padding: 0.9rem 1rem;
  text-align: left;
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tbody tr {
  border-bottom: 1px solid var(--bordeaux-l);
  transition: background var(--dur-fast) var(--ease);
}
tbody tr:hover { background: var(--bordeaux-06); }

tbody td {
  padding: 0.85rem 1rem;
  vertical-align: top;
}

.verdict-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--ff-mono);
  letter-spacing: 0.05em;
}
.verdict-badge.green { background: #d4edda; color: #155724; }
.verdict-badge.orange { background: #fff3cd; color: #856404; }
.verdict-badge.red { background: #f8d7da; color: #721c24; }

/* Encadré résumé */
.summary-card {
  background: var(--ivoire-alt);
  border: 1px solid var(--bordeaux-l);
  border-top: 4px solid var(--bordeaux);
  border-radius: 0 0 4px 4px;
  padding: 1.75rem;
  margin: 2.5rem 0;
}
.summary-card h4 {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bordeaux);
  margin-bottom: 1rem;
}

/* Alertes */
.alert {
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  border-left: 4px solid;
}
.alert-warning { background: #fffbf0; border-color: #f59e0b; }
.alert-info { background: var(--bordeaux-06); border-color: var(--bordeaux); }

/* 16. FAQ */
.faq-section { margin: 3rem 0; }
.faq-section h2 { margin-bottom: 1.5rem; }

.faq-item {
  border-bottom: 1px solid var(--bordeaux-l);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--encre);
  gap: 1rem;
}
.faq-question:hover { color: var(--bordeaux); }

.faq-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--bordeaux);
  transition: transform var(--dur-fast) var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 0 1.25rem;
  font-size: 0.97rem;
  color: var(--encre-60);
  line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

/* 17. ARTICLES LIÉS */
.related-section {
  background: var(--ivoire-alt);
  border-radius: 4px;
  padding: 2rem;
  margin-top: 3rem;
}
.related-section h2 {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}
.related-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
}
.related-list a {
  font-size: 0.97rem;
  font-weight: 500;
}

/* 18. BREADCRUMB */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--encre-30);
  padding: 0.75rem 0;
  list-style: none;
  font-family: var(--ff-mono);
  letter-spacing: 0.04em;
}
.breadcrumb li + li::before { content: '/'; margin-right: 0.3rem; }
.breadcrumb a { color: var(--encre-30); text-decoration: none; }
.breadcrumb a:hover { color: var(--bordeaux); }
.breadcrumb [aria-current="page"] { color: var(--encre-60); }

/* 19. BLOG LISTING */
.blog-header {
  background: linear-gradient(135deg, var(--bordeaux-d), var(--bordeaux));
  padding: 3rem 0 2rem;
  color: var(--ivoire);
}
.blog-header h1 { color: var(--ivoire); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Pattern 4-1-3 */
.blog-feature-row {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  align-items: stretch;
}

/* 20. PAGE THÉMATIQUE (hub) */
.theme-hero {
  background: linear-gradient(135deg, var(--bordeaux-d), var(--bordeaux));
  padding: 3rem 0;
  color: var(--ivoire);
}
.theme-hero h1 { color: var(--ivoire); font-size: clamp(2rem, 4vw, 3rem); }
.theme-hero p { color: rgba(250,247,242,0.85); font-size: 1.1rem; max-width: 600px; }

/* 21. PAGES UTILITAIRES */
.page-simple { max-width: var(--measure-article); margin: 4rem auto; padding: 0 var(--gutter); }
.page-simple h1 { margin-bottom: 2rem; }
.page-simple h2 { font-size: 1.35rem; margin-top: 2.5rem; }
.page-simple p, .page-simple li { font-size: 1rem; }

/* 22. FORMULAIRE CONTACT */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--encre-60);
}
.form-input, .form-textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--encre-30);
  border-radius: 3px;
  font-family: var(--ff-body);
  font-size: 1rem;
  background: white;
  color: var(--encre);
  transition: border-color var(--dur-fast) var(--ease);
}
.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--bordeaux);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-submit {
  background: var(--bordeaux);
  color: var(--ivoire);
  border: none;
  padding: 0.85rem 2rem;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease);
}
.form-submit:hover { background: var(--bordeaux-d); }

/* 23. FOOTER */
.site-footer {
  background: var(--bordeaux-d);
  color: rgba(250,247,242,0.85);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ivoire);
  margin-bottom: 0.75rem;
}
.footer-tagline { font-size: 0.9rem; color: rgba(250,247,242,0.7); line-height: 1.6; }

.footer-col h4 {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(250,247,242,0.75);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
.footer-links a:hover { color: var(--ivoire); }

.footer-bottom {
  border-top: 1px solid rgba(250,247,242,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(250,247,242,0.5);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* 24. RESPONSIVE */
@media (max-width: 1100px) {
  .grid-4, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .category-cards { grid-template-columns: repeat(2, 1fr); }
  .page-layout { grid-template-columns: 1fr; }
  .toc-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-main { display: none; }
  .burger { display: block; }
  .nav-main.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--ivoire-95);
    backdrop-filter: blur(12px);
    padding: 1rem var(--gutter) 2rem;
    border-bottom: 1px solid var(--bordeaux-l);
    gap: 1rem;
  }
  .grid-3, .grid-4, .blog-grid, .category-cards, .trust-grid { grid-template-columns: 1fr; }
  .blog-feature-row { grid-template-columns: 1fr; }
  .card-feature { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero { min-height: 70vh; }
}

@media (max-width: 480px) {
  html { font-size: 16px; }
  .hero-content { padding: 3rem var(--gutter); }
  .pull-quote { font-size: 1.15rem; }
}
