/* ===== HOME PAGE CSS — TRI5962 SPORT & PERFORMANCE ===== */
/* Couleurs plates uniquement — ZÉRO dégradé */

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 90vh;
  background-color: #09090b;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 24px;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-color: #09090b;
  pointer-events: none;
}

/* Accent géométrique CSS pur */
.hero-bg-overlay::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(34,197,94,0.06);
  pointer-events: none;
}

.hero-bg-overlay::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -40px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(34,197,94,0.04);
  pointer-events: none;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  z-index: 2;
  position: relative;
  max-width: 600px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background-color: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  color: #22c55e;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  color: #f4f4f5;
  line-height: 1.0;
  margin: 0 0 28px;
  letter-spacing: -0.03em;
}

.hero-accent {
  color: #22c55e;
  display: block;
}

.hero-subtitle {
  color: #a1a1aa;
  font-size: 1.15rem;
  line-height: 1.7;
  margin: 0 0 40px;
  max-width: 480px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* Hero layout with image */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
  min-height: 90vh;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: #09090b;
  max-width: 100%;
}

.hero-image-side {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-side img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid #27272a;
}

.hero-floating-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background-color: #22c55e;
  color: #18181b;
  padding: 16px 24px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.hfb-value {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hfb-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

/* ===== STATS SECTION ===== */
.stats-section {
  background-color: #18181b;
  border-top: 1px solid #27272a;
  border-bottom: 1px solid #27272a;
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: #27272a;
}

.stat-card {
  background-color: #18181b;
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s;
}

.stat-card:hover {
  background-color: rgba(34,197,94,0.04);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: #22c55e;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  color: #71717a;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== FEATURED SECTION ===== */
.featured-section {
  padding: 96px 0;
  background-color: #09090b;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: start;
}

/* ===== FEATURED CARD MAIN ===== */
.featured-card {
  background-color: #18181b;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #27272a;
  transition: border-color 0.25s, transform 0.2s;
}

.featured-card:hover {
  border-color: rgba(34,197,94,0.3);
  transform: translateY(-3px);
}

.featured-card--main {
  display: flex;
  flex-direction: column;
}

.featured-card__img-link {
  display: block;
  overflow: hidden;
}

.featured-card--main .featured-card__img-link img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.35s;
}

.featured-card:hover .featured-card__img-link img {
  transform: scale(1.03);
}

.featured-card__body {
  padding: 28px;
  flex: 1;
}

.featured-card__title {
  margin: 0 0 14px;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.featured-card__title a {
  color: #f4f4f5;
  text-decoration: none;
  transition: color 0.2s;
}

.featured-card__title a:hover,
.featured-card__title a:focus-visible {
  color: #22c55e;
  outline: none;
}

.featured-card__title--sm {
  font-size: 1rem;
  margin-bottom: 10px;
}

.featured-card__excerpt {
  color: #a1a1aa;
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0 0 20px;
}

.featured-card__excerpt--sm {
  font-size: 0.85rem;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Featured Secondary */
.featured-secondary {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.featured-card--side {
  display: flex;
  flex-direction: row;
}

.featured-card--side .featured-card__img-link {
  width: 140px;
  flex-shrink: 0;
}

.featured-card--side .featured-card__img-link img {
  width: 140px;
  height: 120px;
  object-fit: cover;
}

.featured-card--side .featured-card__body {
  padding: 16px 18px;
}

/* ===== TIMELINE SECTION ===== */
.timeline-section {
  padding: 96px 0;
  background-color: #0d0d10;
}

.timeline-layout {
  position: relative;
  padding: 0;
}

.timeline-spine {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 60px;
  width: 2px;
  background-color: #27272a;
  transform: translateX(-50%);
}

.timeline-spine::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background-color: #22c55e;
  border-radius: 50%;
  margin-left: -4px;
}

.timeline-entry {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 56px;
  position: relative;
}

.timeline-entry--left .timeline-card { order: 1; }
.timeline-entry--left .timeline-dot { order: 2; }
.timeline-entry--left .timeline-date-badge { order: 3; justify-self: start; padding-left: 20px; }

.timeline-entry--right .timeline-date-badge { order: 1; justify-self: end; padding-right: 20px; }
.timeline-entry--right .timeline-dot { order: 2; }
.timeline-entry--right .timeline-card { order: 3; }

.timeline-dot {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 24px;
  position: relative;
  z-index: 2;
}

.tl-dot-inner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #22c55e;
  border: 3px solid #09090b;
  box-shadow: 0 0 0 2px #22c55e;
  flex-shrink: 0;
}

.timeline-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 24px;
  gap: 2px;
}

.tl-day {
  font-size: 1.5rem;
  font-weight: 900;
  color: #f4f4f5;
  line-height: 1;
}

.tl-month {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #22c55e;
}

/* Timeline Cards */
.timeline-card {
  background-color: #18181b;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #27272a;
  transition: border-color 0.25s, transform 0.2s;
}

.timeline-card:hover {
  border-color: rgba(34,197,94,0.3);
  transform: translateY(-2px);
}

.timeline-card__img-link {
  display: block;
  overflow: hidden;
}

.timeline-card__img-link img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.35s;
}

.timeline-card:hover .timeline-card__img-link img {
  transform: scale(1.04);
}

.timeline-card__body {
  padding: 20px 22px;
}

.timeline-card__title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.timeline-card__title a {
  color: #f4f4f5;
  text-decoration: none;
  transition: color 0.2s;
}

.timeline-card__title a:hover,
.timeline-card__title a:focus-visible {
  color: #22c55e;
  outline: none;
}

.timeline-card__excerpt {
  color: #71717a;
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.timeline-card__date {
  display: block;
  color: #52525b;
  font-size: 0.75rem;
  font-weight: 500;
}

.timeline-end {
  display: flex;
  justify-content: center;
  padding-top: 0;
  position: relative;
  z-index: 2;
}

.tl-end-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #27272a;
  border: 2px solid #3f3f46;
}

/* ===== CALCULATOR SECTION ===== */
.calculator-section {
  padding: 96px 0;
  background-color: #09090b;
  border-top: 1px solid #27272a;
  border-bottom: 1px solid #27272a;
}

.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.calc-explainer {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.calc-expl-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.calc-expl-icon {
  width: 40px;
  height: 40px;
  background-color: #18181b;
  border: 1px solid #27272a;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.calc-expl-item strong {
  display: block;
  color: #f4f4f5;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.calc-expl-item span {
  color: #71717a;
  font-size: 0.82rem;
  line-height: 1.5;
}

.calc-panel {
  background-color: #18181b;
  border: 1px solid #27272a;
  border-radius: 16px;
  padding: 36px;
}

.calc-fields {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-field label {
  color: #a1a1aa;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.calc-field input,
.calc-field select {
  background-color: #09090b;
  border: 1px solid #3f3f46;
  border-radius: 8px;
  color: #f4f4f5;
  font-size: 1rem;
  padding: 12px 16px;
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.calc-field input:focus,
.calc-field select:focus {
  outline: none;
  border-color: #22c55e;
}

.field-hint {
  color: #52525b;
  font-size: 0.75rem;
}

.calc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #22c55e;
  color: #18181b;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}

.calc-btn:hover {
  background-color: #16a34a;
  color: #fff;
  transform: translateY(-1px);
}

.calc-btn:focus-visible {
  outline: 2px solid #22c55e;
  outline-offset: 3px;
}

.calc-result {
  background-color: #09090b;
  border: 1px solid #27272a;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  margin-bottom: 24px;
}

.calc-result__score {
  font-size: 3.5rem;
  font-weight: 900;
  color: #22c55e;
  line-height: 1;
  letter-spacing: -0.03em;
}

.calc-result__unit {
  color: #71717a;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
  margin-bottom: 12px;
}

.calc-result__level {
  color: #a1a1aa;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
}

/* VO2 Scale */
.vo2-scale {
  margin-top: 12px;
}

.vo2-scale__labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.vo2-scale__labels span {
  font-size: 0.65rem;
  color: #52525b;
  font-weight: 500;
  text-transform: uppercase;
}

.vo2-scale__bar {
  height: 8px;
  background-color: #27272a;
  border-radius: 4px;
  overflow: hidden;
}

.vo2-scale__fill {
  height: 100%;
  background-color: #22c55e;
  border-radius: 4px;
  transition: width 0.5s ease, background-color 0.3s;
}

/* Calc Reference Table */
.calc-ref-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.calc-ref-table caption {
  color: #52525b;
  font-size: 0.75rem;
  text-align: left;
  margin-bottom: 10px;
  font-style: italic;
  caption-side: top;
  padding-bottom: 8px;
}

.calc-ref-table thead th {
  background-color: #09090b;
  color: #71717a;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #27272a;
}

.calc-ref-table thead th.col-us {
  color: #22c55e;
  background-color: rgba(34,197,94,0.05);
}

.col-us-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.calc-ref-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid #27272a;
  color: #a1a1aa;
  vertical-align: middle;
}

.calc-ref-table tbody td:first-child {
  color: #e4e4e7;
}

.calc-ref-table tbody tr:last-child td {
  border-bottom: none;
}

.calc-ref-table tbody tr:hover td {
  background-color: rgba(255,255,255,0.02);
}

.perf-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.perf-dot--low { background-color: #ef4444; }
.perf-dot--avg { background-color: #f97316; }
.perf-dot--good { background-color: #eab308; }
.perf-dot--excellent { background-color: #22c55e; }
.perf-dot--elite { background-color: #22d3ee; }

/* ===== CATEGORIES SECTION ===== */
.categories-section {
  padding: 96px 0;
  background-color: #0d0d10;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cat-card {
  background-color: #18181b;
  border: 1px solid #27272a;
  border-radius: 14px;
  padding: 28px 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, transform 0.2s, background-color 0.2s;
  position: relative;
  overflow: hidden;
}

.cat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #22c55e;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.cat-card:hover::before {
  transform: scaleX(1);
}

.cat-card:hover {
  border-color: rgba(34,197,94,0.3);
  transform: translateY(-3px);
  background-color: #1c1c1f;
}

.cat-card:focus-visible {
  outline: 2px solid #22c55e;
  outline-offset: 2px;
}

.cat-card__icon {
  color: #22c55e;
  width: 44px;
  height: 44px;
  background-color: rgba(34,197,94,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.cat-card:hover .cat-card__icon {
  background-color: rgba(34,197,94,0.15);
}

.cat-card__name {
  color: #f4f4f5;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.cat-card__desc {
  color: #71717a;
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.cat-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #22c55e;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 4px;
  transition: gap 0.2s;
}

.cat-card:hover .cat-card__cta {
  gap: 10px;
}

/* ===== EXPERTISE SECTION ===== */
.expertise-section {
  padding: 96px 0;
  background-color: #09090b;
}

.expertise-table {
  width: 100%;
  border-collapse: collapse;
}

.expertise-table caption {
  display: none;
}

.expertise-table thead th {
  background-color: #18181b;
  color: #71717a;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 16px 20px;
  text-align: left;
  border-bottom: 2px solid #27272a;
}

.expertise-table thead th.col-us {
  background-color: rgba(34,197,94,0.06);
  color: #22c55e;
  border-bottom-color: #22c55e;
}

.expertise-table tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid #27272a;
  font-size: 0.9rem;
  vertical-align: middle;
  color: #a1a1aa;
}

.expertise-table tbody td:first-child {
  color: #d4d4d8;
}

.expertise-table tbody td.col-us {
  background-color: rgba(34,197,94,0.03);
}

.expertise-table tbody tr:last-child td {
  border-bottom: none;
}

.expertise-table tbody tr:hover td {
  background-color: rgba(255,255,255,0.015);
}

.expertise-table tbody tr:hover td.col-us {
  background-color: rgba(34,197,94,0.05);
}

.check-yes, .check-no, .check-partial {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
}

.check-yes { color: #d1fae5; }
.check-no { color: #71717a; }
.check-partial { color: #fef3c7; }

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
  padding: 96px 0;
  background-color: #0d0d10;
  border-top: 1px solid #27272a;
}

.newsletter-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
  background-color: #18181b;
  border: 1px solid #27272a;
  border-radius: 20px;
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}

.newsletter-deco {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 300px;
  pointer-events: none;
  overflow: hidden;
}

.nl-deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(34,197,94,0.08);
}

.nl-deco-circle--1 {
  width: 300px;
  height: 300px;
  right: -100px;
  top: -80px;
}

.nl-deco-circle--2 {
  width: 200px;
  height: 200px;
  right: -50px;
  bottom: -60px;
}

.nl-deco-icon {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
}

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

.nl-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(234,179,8,0.1);
  border: 1px solid rgba(234,179,8,0.25);
  color: #eab308;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.newsletter-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #f4f4f5;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.nl-accent {
  color: #22c55e;
}

.newsletter-content p {
  color: #71717a;
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0 0 24px;
}

.nl-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nl-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a1a1aa;
  font-size: 0.88rem;
}

.nl-perks li svg {
  flex-shrink: 0;
}

/* Newsletter Form */
.newsletter-form-area {
  position: relative;
  z-index: 2;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nl-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nl-field label {
  color: #a1a1aa;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nl-field input {
  background-color: #09090b;
  border: 1px solid #3f3f46;
  border-radius: 8px;
  color: #f4f4f5;
  font-size: 1rem;
  padding: 14px 16px;
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.nl-field input:focus {
  outline: none;
  border-color: #22c55e;
}

.nl-field input::placeholder {
  color: #52525b;
}

.nl-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #22c55e;
  color: #18181b;
  border: none;
  border-radius: 10px;
  padding: 15px 24px;
  font-size: 0.95rem;
  font-weight: 800;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
}

.nl-submit-btn:hover {
  background-color: #16a34a;
  color: #fff;
  transform: translateY(-1px);
}

.nl-submit-btn:focus-visible {
  outline: 2px solid #22c55e;
  outline-offset: 3px;
}

.nl-consent {
  color: #52525b;
  font-size: 0.75rem;
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

.nl-consent a {
  color: #71717a;
  text-decoration: underline;
}

.nl-consent a:hover {
  color: #22c55e;
}

.nl-message {
  min-height: 24px;
  font-size: 0.85rem;
  text-align: center;
  font-weight: 500;
}

.nl-message.success { color: #22c55e; }
.nl-message.error { color: #f87171; }

/* ===== RESPONSIVE HOME ===== */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    padding: 64px 24px;
    min-height: auto;
  }

  .hero-image-side {
    display: none;
  }

  .hero-inner {
    max-width: 100%;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .featured-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .featured-card--side {
    flex-direction: column;
  }

  .featured-card--side .featured-card__img-link {
    width: 100%;
  }

  .featured-card--side .featured-card__img-link img {
    width: 100%;
    height: 180px;
  }

  .calc-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 32px;
  }

  .newsletter-deco { display: none; }

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

@media (max-width: 768px) {
  .hero-section {
    padding: 48px 16px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group a {
    width: 100%;
    justify-content: center;
  }

  .featured-section,
  .timeline-section,
  .calculator-section,
  .categories-section,
  .expertise-section,
  .newsletter-section {
    padding: 60px 0;
  }

  /* Mobile timeline - stack vertically */
  .timeline-spine { display: none; }

  .timeline-entry {
    grid-template-columns: 40px 1fr;
    gap: 0 12px;
    margin-bottom: 32px;
  }

  .timeline-entry--left .timeline-dot,
  .timeline-entry--right .timeline-dot { order: 1; }

  .timeline-entry--left .timeline-card,
  .timeline-entry--right .timeline-card { order: 2; }

  .timeline-entry--left .timeline-date-badge,
  .timeline-entry--right .timeline-date-badge {
    display: none;
  }

  .timeline-dot {
    padding-top: 16px;
    position: relative;
  }

  .timeline-dot::after {
    content: '';
    position: absolute;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background-color: #27272a;
    height: calc(100% + 32px);
  }

  .timeline-entry:last-of-type .timeline-dot::after { display: none; }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .featured-secondary {
    grid-template-columns: 1fr;
  }

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

  .stat-card { padding: 24px 16px; }

  .stat-value { font-size: 2rem; }

  .newsletter-wrapper {
    padding: 32px 20px;
    border-radius: 12px;
  }

  .calc-panel { padding: 24px 20px; }

  .calc-result__score { font-size: 2.8rem; }

  .expertise-table thead th,
  .expertise-table tbody td {
    padding: 12px 14px;
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-title { font-size: 2.2rem; }

  .featured-card--main .featured-card__img-link img {
    height: 220px;
  }
}