/* ============================
   COMPARATEUR-IA COMPONENT LIBRARY
   WordPress FSE Theme - Component Styles
   ============================ */

/* ============================
   CARD BASE COMPONENT
   ============================ */
.cia-card {
  background: var(--card, #ffffff);
  border: 2px solid var(--border, #E5E7EB);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.25s;
}
.cia-card:hover {
  border-color: rgba(108,58,237,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

/* ============================
   UNIFIED CARD (cia-ucard)
   Size from pub-why-card + visual emphasis from pub-format-card
   ============================ */
.cia-ucard {
  background: #fff;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px;
  transition: all 0.25s;
  position: relative;
}
.cia-ucard:hover {
  border-color: rgba(108,58,237,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.cia-ucard-grid {
  display: grid;
  gap: 20px;
}
.cia-ucard-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cia-ucard-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cia-ucard-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
  .cia-ucard-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
  .cia-ucard-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .cia-ucard-grid.cols-4,
  .cia-ucard-grid.cols-3,
  .cia-ucard-grid.cols-2 { grid-template-columns: 1fr; }
}

/* Uniform card overrides for homepage tool-card blocks */
.wp-block-group.tool-card {
  border-width: 2px !important;
  border-color: #E5E7EB !important;
  border-radius: 12px !important;
  transition: all 0.25s;
}
.wp-block-group.tool-card:hover {
  border-color: rgba(108,58,237,0.2) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

/* ============================
   GRID LAYOUTS
   ============================ */
.cia-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cia-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cia-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 1200px) {
  .cia-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .cia-grid-4, .cia-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cia-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .cia-grid-4, .cia-grid-3, .cia-grid-2 { grid-template-columns: 1fr; }
}

/* ============================
   BADGE COMPONENT
   ============================ */
.cia-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--primary-glow, rgba(108,58,237,0.12));
  color: var(--primary, #6C3AED);
  border: 1px solid rgba(108,58,237,0.15);
  transition: all 0.2s;
}
.cia-badge:hover {
  background: var(--primary, #6C3AED);
  color: white;
  border-color: var(--primary, #6C3AED);
}

/* Badge variants */
.cia-badge-success {
  background: rgba(16,185,129,0.1);
  color: #10B981;
  border-color: rgba(16,185,129,0.2);
}
.cia-badge-success:hover {
  background: #10B981;
  color: white;
}

.cia-badge-warning {
  background: rgba(249,115,22,0.1);
  color: #F97316;
  border-color: rgba(249,115,22,0.2);
}
.cia-badge-warning:hover {
  background: #F97316;
  color: white;
}

.cia-badge-info {
  background: rgba(59,130,246,0.1);
  color: #3B82F6;
  border-color: rgba(59,130,246,0.2);
}
.cia-badge-info:hover {
  background: #3B82F6;
  color: white;
}

/* ============================
   RATING COMPONENT
   ============================ */
.cia-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cia-rating-stars {
  display: flex;
  gap: 2px;
  font-size: 14px;
  color: #F59E0B;
}
.cia-rating-star {
  display: inline-block;
}
.cia-rating-star.half {
  position: relative;
  color: #E5E7EB;
}
.cia-rating-star.half::before {
  content: '★';
  position: absolute;
  left: 0;
  width: 50%;
  overflow: hidden;
  color: #F59E0B;
}
.cia-rating-score {
  font-weight: 700;
  font-size: 15px;
  color: var(--text, #1E1B4B);
}
.cia-rating-count {
  font-size: 12px;
  color: var(--text-muted, #9CA3AF);
}

/* ============================
   BREADCRUMB COMPONENT
   ============================ */
.cia-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light, #6B7280);
}
.cia-breadcrumb a {
  color: var(--primary, #6C3AED);
  transition: color 0.2s;
}
.cia-breadcrumb a:hover {
  color: var(--primary-dark, #4C1D95);
  text-decoration: underline;
}
.cia-breadcrumb-separator {
  color: var(--text-muted, #9CA3AF);
}

/* ============================
   PAGINATION COMPONENT
   ============================ */
.cia-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 48px;
}
.cia-pagination-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border, #E5E7EB);
  background: white;
  font-size: 14px;
  font-weight: 600;
  color: var(--text, #1E1B4B);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
}
.cia-pagination-btn:hover {
  border-color: var(--primary, #6C3AED);
  color: var(--primary, #6C3AED);
  background: var(--primary-glow, rgba(108,58,237,0.12));
}
.cia-pagination-btn.active {
  background: var(--primary, #6C3AED);
  color: white;
  border-color: var(--primary, #6C3AED);
}
.cia-pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================
   TAG/CHIP COMPONENT
   ============================ */
.cia-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  background: var(--border-light, #F3F4F6);
  color: var(--text-light, #6B7280);
  border: 1px solid var(--border, #E5E7EB);
  transition: all 0.2s;
  cursor: pointer;
}
.cia-tag:hover {
  border-color: var(--primary, #6C3AED);
  color: var(--primary, #6C3AED);
  background: var(--primary-glow, rgba(108,58,237,0.12));
}
.cia-tag.active {
  background: var(--primary, #6C3AED);
  color: white;
  border-color: var(--primary, #6C3AED);
}

/* Tag variants */
.cia-tag-primary {
  background: var(--primary-glow, rgba(108,58,237,0.12));
  color: var(--primary, #6C3AED);
  border-color: rgba(108,58,237,0.15);
}
.cia-tag-success {
  background: rgba(16,185,129,0.1);
  color: #10B981;
  border-color: rgba(16,185,129,0.2);
}
.cia-tag-warning {
  background: rgba(249,115,22,0.1);
  color: #F97316;
  border-color: rgba(249,115,22,0.2);
}

.cia-tag-removable {
  padding-right: 8px;
}
.cia-tag-remove {
  cursor: pointer;
  font-size: 14px;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.cia-tag-remove:hover {
  opacity: 1;
}

/* ============================
   SEARCH FORM COMPONENT
   ============================ */
.cia-search-form {
  max-width: 620px;
  margin: 0 auto;
  position: relative;
}
.cia-search-form input {
  width: 100%;
  padding: 12px 48px 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border, #E5E7EB);
  background: white;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  font-size: 14px;
  color: var(--text, #1E1B4B);
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: all 0.3s;
}
.cia-search-form input::placeholder {
  color: var(--text-muted, #9CA3AF);
}
.cia-search-form input:focus {
  border-color: var(--primary-light, #8B5CF6);
  background: rgba(108,58,237,0.02);
  box-shadow: 0 0 0 4px rgba(108,58,237,0.15), 0 4px 12px rgba(108,58,237,0.08);
}
.cia-search-form-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary, #6C3AED);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: white;
}
.cia-search-form-btn:hover {
  background: var(--primary-light, #8B5CF6);
  transform: translateY(-50%) scale(1.05);
}

/* ============================
   STATS BAR COMPONENT
   ============================ */
.cia-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border: 1px solid var(--border, #E5E7EB);
  border-radius: var(--radius, 16px);
  overflow: hidden;
  background: white;
}
.cia-stats-item {
  padding: 24px;
  text-align: center;
  border-right: 1px solid var(--border, #E5E7EB);
  transition: background 0.2s;
}
.cia-stats-item:last-child {
  border-right: none;
}
.cia-stats-item:hover {
  background: var(--bg, #F8F7FF);
}
.cia-stats-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text, #1E1B4B);
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}
.cia-stats-label {
  font-size: 11px;
  color: var(--text-muted, #9CA3AF);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* ============================
   GRADIENT TEXT UTILITY
   ============================ */
.cia-gradient-text {
  background: linear-gradient(135deg, #8B5CF6 0%, #6C3AED 25%, #F97316 75%, #FB923C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================
   BUTTON UTILITIES
   ============================ */
.cia-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
}
.cia-btn-primary {
  background: var(--primary, #6C3AED);
  color: white;
}
.cia-btn-primary:hover {
  background: var(--primary-dark, #4C1D95);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(108,58,237,0.3);
}

.cia-btn-outline {
  background: white;
  color: var(--text, #1E1B4B);
  border: 1px solid var(--border, #E5E7EB);
}
.cia-btn-outline:hover {
  border-color: var(--primary, #6C3AED);
  color: var(--primary, #6C3AED);
  background: var(--primary-glow, rgba(108,58,237,0.12));
}

.cia-btn-ghost {
  background: transparent;
  color: var(--primary, #6C3AED);
}
.cia-btn-ghost:hover {
  background: var(--primary-glow, rgba(108,58,237,0.12));
}

.cia-btn-small {
  padding: 8px 16px;
  font-size: 12px;
}
.cia-btn-large {
  padding: 12px 28px;
  font-size: 14px;
}

/* ============================
   CONTAINER/WRAPPER
   ============================ */
.cia-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}
.cia-section {
  padding: 72px 40px;
}
.cia-section-alt {
  background: white;
}
.cia-section-dark {
  background: var(--bg-dark-2, #3B3580);
  color: white;
}

/* ============================
   FORM COMPONENTS
   ============================ */
.cia-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.cia-form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text, #1E1B4B);
}
.cia-form-input,
.cia-form-select,
.cia-form-textarea {
  padding: 12px 16px;
  border-radius: var(--radius-xs, 8px);
  border: 1px solid var(--border, #E5E7EB);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--text, #1E1B4B);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.cia-form-input:focus,
.cia-form-select:focus,
.cia-form-textarea:focus {
  outline: none;
  border-color: var(--primary, #6C3AED);
  box-shadow: 0 0 0 3px rgba(108,58,237,0.08);
}
.cia-form-input::placeholder,
.cia-form-textarea::placeholder {
  color: var(--text-muted, #9CA3AF);
}
.cia-form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ============================
   ALERT/MESSAGE COMPONENT
   ============================ */
.cia-alert {
  padding: 16px 20px;
  border-radius: var(--radius-sm, 12px);
  border-left: 4px solid;
  background-color: transparent;
}
.cia-alert-success {
  border-color: #10B981;
  background: rgba(16,185,129,0.05);
  color: #065F46;
}
.cia-alert-error {
  border-color: #EF4444;
  background: rgba(239,68,68,0.05);
  color: #7F1D1D;
}
.cia-alert-warning {
  border-color: #F97316;
  background: rgba(249,115,22,0.05);
  color: #7C2D12;
}
.cia-alert-info {
  border-color: #3B82F6;
  background: rgba(59,130,246,0.05);
  color: #1E3A8A;
}

/* ============================
   TOOLTIP COMPONENT
   ============================ */
.cia-tooltip {
  position: relative;
  display: inline-block;
  cursor: help;
}
.cia-tooltip-content {
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text, #1E1B4B);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 100;
}
.cia-tooltip-content::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--text, #1E1B4B);
}
.cia-tooltip:hover .cia-tooltip-content {
  opacity: 1;
}

/* ============================
   LOADING SPINNER
   ============================ */
.cia-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(108,58,237,0.1);
  border-top-color: var(--primary, #6C3AED);
  border-radius: 50%;
  animation: cia-spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes cia-spin {
  to { transform: rotate(360deg); }
}

/* ============================
   DIVIDER COMPONENT
   ============================ */
.cia-divider {
  height: 1px;
  background: var(--border, #E5E7EB);
  margin: 24px 0;
}
.cia-divider-text {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted, #9CA3AF);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}
.cia-divider-text::before,
.cia-divider-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border, #E5E7EB);
}

/* ============================
   WORDPRESS GUTENBERG OVERRIDES
   ============================ */
.wp-block-query {
  margin: 0;
}
.wp-block-query .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.wp-block-post {
  margin: 0;
}
.wp-block-post-excerpt {
  color: var(--text-light, #6B7280);
}
.wp-block-post-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.wp-block-post-featured-image {
  border-radius: var(--radius-sm, 12px);
  overflow: hidden;
  margin-bottom: 16px;
}

.wp-block-navigation {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.wp-block-navigation a {
  color: var(--text, #1E1B4B);
  transition: color 0.2s;
  text-decoration: none;
  font-weight: 500;
}
.wp-block-navigation a:hover {
  color: var(--primary, #6C3AED);
}

.wp-block-image {
  border-radius: var(--radius-sm, 12px);
  overflow: hidden;
}
.wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
}

.wp-block-button .wp-block-button__link {
  background: var(--primary, #6C3AED);
  color: white;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-block;
}
.wp-block-button .wp-block-button__link:hover {
  background: var(--primary-dark, #4C1D95);
  transform: translateY(-1px);
}

/* ============================
   PRINT STYLES
   ============================ */
@media print {
  .cia-btn, .cia-pagination, .cia-search-form, .cia-badge {
    display: none;
  }
  .cia-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  body {
    background: white;
    color: black;
  }
}

/* ════════════════════════════════════════
   COMPARATIF DETAIL — Selection Cards & Tool List
   (matches mockup compa-detail page)
   ════════════════════════════════════════ */

/* Tool count badge in hero */
.compa-detail-count {
  font-size: 14px;
  color: #9B97AD;
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

/* Section label */
.compa-section-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #9B97AD;
  margin-bottom: 32px;
}

/* ── Selection grid (top 4 cards) ── */
.compa-selection {
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px 40px;
}
.compa-selection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.compa-sel-card {
  background: #ffffff;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all 0.2s;
  position: relative;
}
.compa-sel-card:hover {
  border-color: rgba(108,58,237,0.25);
  box-shadow: 0 8px 30px rgba(108,58,237,0.08);
  transform: translateY(-2px);
}
.compa-sel-stars {
  color: #F59E0B;
  font-size: 13px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.compa-sel-logo {
  font-size: 36px;
  margin-bottom: 8px;
}
.compa-sel-logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
}
.compa-sel-name {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #1E1B4B;
}
.compa-sel-verified {
  display: inline-flex;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #10B981;
  color: white;
  font-size: 10px;
  align-items: center;
  justify-content: center;
}
.compa-sel-desc {
  font-size: 12px;
  color: #6B7280;
  line-height: 1.5;
  margin: 8px 0 14px;
}
.compa-sel-visit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  background: #6C3AED;
  color: white;
  font-size: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
}
.compa-sel-visit:hover {
  background: #5B21B6;
  color: white;
}

/* ── Tool list rows ── */
.compa-list {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px 48px;
}
.compa-list-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid #F3F1FA;
  transition: background 0.15s;
}
.compa-list-row:hover {
  background: rgba(108,58,237,0.02);
}
.compa-list-logo {
  font-size: 28px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(108,58,237,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.compa-list-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
}
.compa-list-info {
  flex: 1;
  min-width: 0;
}
.compa-list-name {
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1E1B4B;
}
.compa-list-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  background: rgba(16,185,129,0.1);
  color: #10B981;
  border: 1px solid rgba(16,185,129,0.2);
}
.compa-list-rating {
  font-size: 12px;
  color: #9B97AD;
  margin-top: 2px;
}
.compa-list-rating .stars {
  color: #F59E0B;
}
.compa-list-desc {
  font-size: 13px;
  color: #6B7280;
  line-height: 1.5;
  flex: 2;
}
.compa-list-visit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border-radius: 8px;
  background: #6C3AED;
  color: white;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-decoration: none;
}
.compa-list-visit:hover {
  background: #5B21B6;
  color: white;
}

/* ── Pagination ── */
.compa-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 32px 0 0;
}
.page-btn,
a.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  background: white;
  color: #6B7280;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}
.page-btn:hover,
a.page-btn:hover {
  border-color: #6C3AED;
  color: #6C3AED;
  background: rgba(108,58,237,0.06);
}
.page-btn.active,
a.page-btn.active {
  background: #6C3AED;
  color: white;
  border-color: #6C3AED;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .compa-selection-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .compa-selection-grid {
    grid-template-columns: 1fr;
  }
  .compa-list-row {
    flex-wrap: wrap;
  }
  .compa-list-desc {
    width: 100%;
    flex: none;
    margin-top: 8px;
  }
}

/* ============================
   GUIDE CARDS — Page Guides IA
   ============================ */

/* Filter Bar */
.filter-bar {
  background: white;
  border-bottom: 1px solid var(--border, #E5E7EB);
  padding: 16px 40px;
  position: sticky;
  top: 64px;
  z-index: 90;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.filter-bar-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.filter-search-wrap {
  position: relative;
}
.filter-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  stroke: var(--text-muted, #9CA3AF);
  fill: none;
  stroke-width: 2;
}
.filter-bar-inner input {
  padding: 10px 16px 10px 40px;
  border-radius: 10px;
  border: 1px solid var(--border, #E5E7EB);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  min-width: 240px;
  background: var(--bg, #FAFAFE);
  transition: all 0.2s;
}
.filter-bar-inner input:focus {
  border-color: var(--primary-light, #8B5CF6);
  box-shadow: 0 0 0 3px rgba(108,58,237,0.08);
}
.filter-group {
  display: flex;
  gap: 8px;
  flex: 1;
  flex-wrap: wrap;
}
.filter-select {
  padding: 10px 32px 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border, #E5E7EB);
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  background: white;
  cursor: pointer;
  appearance: auto;
  transition: border-color 0.2s;
}
.filter-select:hover {
  border-color: var(--primary-light, #8B5CF6);
}
.filter-select:focus {
  border-color: #6C3AED;
  outline: none;
  box-shadow: 0 0 0 3px rgba(108,58,237,0.08);
}
.filter-results-count {
  font-size: 12px;
  color: var(--text-muted, #9CA3AF);
  white-space: nowrap;
  font-weight: 500;
}

/* Guides Grid */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px 40px 0;
}

/* Guide Card */
.guide-card {
  background: var(--card, #ffffff);
  border: 1px solid var(--border, #E5E7EB);
  border-radius: var(--radius, 12px);
  overflow: hidden;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.guide-card:hover {
  border-color: rgba(108,58,237,0.2);
  box-shadow: 0 12px 48px rgba(108,58,237,0.10);
  transform: translateY(-3px);
}

/* Guide Card Thumbnail */
.guide-card-thumb-link {
  text-decoration: none;
  display: block;
}
.guide-card-thumb {
  position: relative;
  width: 100%;
  padding-top: 56%;
  overflow: hidden;
}
.guide-card-thumb-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: white;
  padding: 20px;
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.3px;
  line-height: 1.3;
}
.guide-card-thumb-icon {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}
.guide-card-thumb-icon span {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(0,0,0,0.4);
  color: white;
  backdrop-filter: blur(4px);
}

/* Play button */
.guide-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1E1B2E;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 2;
}
.guide-card:hover .guide-card-play {
  opacity: 1;
}

/* Guide Card Body */
.guide-card-body {
  padding: 20px 20px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.guide-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.guide-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text, #1E1B2E);
  line-height: 1.35;
  flex: 1;
  text-decoration: none;
}
.guide-card-title:hover {
  color: #6C3AED;
}

/* Type badges */
.guide-card-type {
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.guide-type-tuto {
  background: rgba(108,58,237,0.1);
  color: #6C3AED;
}
.guide-type-guide {
  background: rgba(249,115,22,0.1);
  color: #F97316;
}

/* Description */
.guide-card-desc {
  font-size: 13px;
  color: var(--text-light, #6B7280);
  line-height: 1.6;
  margin: 0 0 12px;
  flex: 1;
}

/* Tags */
.guide-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}
.guide-card-tag {
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 10.5px;
  background: var(--border-light, #F3F4F6);
  color: var(--text-muted, #9CA3AF);
  border: 1px solid var(--border, #E5E7EB);
}

/* Footer & CTA */
.guide-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-light, #F3F4F6);
}
.guide-card-meta {
  font-size: 11.5px;
  color: var(--text-muted, #9CA3AF);
  display: flex;
  align-items: center;
  gap: 8px;
}
.guide-card-meta .duration {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.guide-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
}
.guide-cta-dark {
  background: #1E1B2E;
  color: white;
}
.guide-cta-dark:hover {
  background: #6C3AED;
  color: white;
}
.guide-cta-outline {
  background: white;
  color: var(--text, #1E1B2E);
  border: 1px solid var(--border, #E5E7EB);
}
.guide-cta-outline:hover {
  border-color: #6C3AED;
  color: #6C3AED;
}

/* SEO Block */
.seo-block {
  padding: 72px 40px;
  background: linear-gradient(180deg, var(--bg, #FAFAFE) 0%, white 100%);
}
.seo-block-inner {
  max-width: 900px;
  margin: 0 auto;
}
.seo-block h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text, #1E1B2E);
  margin-bottom: 20px;
  text-align: center;
}
.seo-block h2 .gradient {
  background: linear-gradient(135deg, #6C3AED 0%, #F97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.seo-text {
  columns: 2;
  column-gap: 40px;
  font-size: 14px;
  color: var(--text-light, #6B7280);
  line-height: 1.8;
}
.seo-text p {
  margin-bottom: 16px;
  break-inside: avoid;
}
.seo-text strong {
  color: var(--text, #1E1B2E);
  font-weight: 600;
}
.seo-text a {
  color: #6C3AED;
  font-weight: 500;
}
.seo-text a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
  .guides-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px 20px 0;
  }
  .filter-bar { padding: 12px 20px; }
  .filter-bar-inner { flex-wrap: wrap; }
  .filter-bar-inner input { min-width: 200px; }
  .seo-text { columns: 1; }
}
@media (max-width: 640px) {
  .guides-grid {
    grid-template-columns: 1fr;
    padding: 16px 16px 0;
  }
  .filter-bar-inner input { min-width: 100%; }
  .filter-group { width: 100%; }
  .filter-select { flex: 1; min-width: 0; }
  .guide-card-footer { flex-direction: column; gap: 10px; align-items: flex-start; }
}

/* ============================
   SINGLE GUIDE — Article Layout
   ============================ */

/* Two-column layout */
.article-layout {
  display: flex;
  gap: 36px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 40px 60px;
  align-items: flex-start;
  box-sizing: border-box;
}

/* Article content area */
.article-content {
  flex: 1;
  min-width: 0;
}
.article-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text, #1E1B2E);
  margin: 48px 0 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light, #F3F4F6);
  letter-spacing: -0.3px;
  scroll-margin-top: 80px;
}
.article-content h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.article-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text, #1E1B2E);
  margin: 32px 0 12px;
  scroll-margin-top: 80px;
}
.article-content p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-light, #6B7280);
  margin-bottom: 16px;
}
.article-content a { color: #6C3AED; font-weight: 500; }
.article-content a:hover { text-decoration: underline; }
.article-content strong { color: var(--text, #1E1B2E); font-weight: 600; }
.article-content ul, .article-content ol {
  margin: 16px 0;
  padding-left: 24px;
}
.article-content li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-light, #6B7280);
  margin-bottom: 8px;
}
.article-content blockquote {
  border-left: 4px solid #6C3AED;
  background: rgba(108,58,237,0.04);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 10px 10px 0;
  font-style: italic;
}
.article-content blockquote p { color: var(--text, #1E1B2E); margin-bottom: 8px; }
.article-content blockquote cite {
  font-size: 13px;
  color: var(--text-muted, #9CA3AF);
  font-style: normal;
}
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 24px 0;
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.article-content th {
  background: var(--bg, #FAFAFE);
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border, #E5E7EB);
}
.article-content td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light, #F3F4F6);
}
.article-content tr:hover td { background: rgba(108,58,237,0.02); }

/* Sidebar */
.article-sidebar {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 80px;
  align-self: flex-start;
}

/* TOC card */
.toc-card {
  background: white;
  border: 1px solid var(--border, #E5E7EB);
  border-radius: 12px;
  padding: 20px;
}
.toc-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text, #1E1B2E);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.toc-list { display: flex; flex-direction: column; gap: 2px; }
.toc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-light, #6B7280);
  text-decoration: none;
  transition: all 0.15s;
}
.toc-item:hover { background: var(--bg, #FAFAFE); color: var(--text, #1E1B2E); }
.toc-item.active { color: #6C3AED; font-weight: 600; background: rgba(108,58,237,0.06); }
.toc-item.toc-sub { padding-left: 26px; font-size: 12px; }
.toc-num {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--border-light, #F3F4F6);
  color: var(--text-muted, #9CA3AF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.toc-item.active .toc-num { background: rgba(108,58,237,0.15); color: #6C3AED; }

/* Sidebar cards */
.sidebar-card {
  background: white;
  border: 1px solid var(--border, #E5E7EB);
  border-radius: 12px;
  padding: 20px;
}
.sidebar-card-dark {
  background: linear-gradient(135deg, #1E1B2E, #312e81);
  border: none;
  color: white;
}
.sidebar-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}
.sidebar-card-dark .sidebar-card-title { color: white; }
.sidebar-nl-desc { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.5; margin: 0 0 14px; }
.sidebar-nl-btn {
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  background: #6C3AED;
  color: white;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.sidebar-nl-btn:hover { background: #7C3AED; color: white; }

/* Sidebar related */
.sidebar-related-list { display: flex; flex-direction: column; gap: 10px; }
.sidebar-related-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.15s;
}
.sidebar-related-item:hover { background: var(--bg, #FAFAFE); }
.sidebar-rel-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(108,58,237,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.sidebar-rel-title { font-size: 13px; font-weight: 600; color: var(--text, #1E1B2E); line-height: 1.3; }
.sidebar-rel-meta { font-size: 11px; color: var(--text-muted, #9CA3AF); margin-top: 2px; }

/* Article bottom */
.article-bottom {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 40px 60px;
  box-sizing: border-box;
  width: 100%;
}

/* Author bio */
.author-bio {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: white;
  border: 1px solid var(--border, #E5E7EB);
  border-radius: 14px;
  margin-bottom: 32px;
}
.author-bio-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6C3AED, #F97316);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 22px;
  flex-shrink: 0;
}
.author-bio-name { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; color: var(--text, #1E1B2E); }
.author-bio-role { font-size: 13px; color: #6C3AED; font-weight: 500; margin-top: 2px; }
.author-bio-desc { font-size: 14px; color: var(--text-light, #6B7280); line-height: 1.7; margin-top: 8px; }

/* Prev/Next navigation */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
.article-nav-item {
  padding: 20px;
  border: 1px solid var(--border, #E5E7EB);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
}
.article-nav-item:hover { border-color: rgba(108,58,237,0.3); box-shadow: 0 4px 20px rgba(108,58,237,0.08); }
.article-nav-item.empty { border: 1px dashed var(--border-light, #F3F4F6); pointer-events: none; }
.article-nav-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted, #9CA3AF); margin-bottom: 6px; }
.article-nav-next .article-nav-label { text-align: right; }
.article-nav-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text, #1E1B2E);
  line-height: 1.3;
}
.article-nav-next .article-nav-title { text-align: right; }

/* Related articles grid */
.related-section { margin-bottom: 40px; }
.related-section-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted, #9CA3AF);
  text-align: center;
  margin-bottom: 24px;
  font-weight: 600;
}
.related-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px;
  width: 100%;
}
.related-card {
  border: 1px solid var(--border, #E5E7EB);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.related-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(108,58,237,0.1); }
.related-card-thumb {
  position: relative;
  width: 100%;
  padding-top: 56%;
}
.related-card-thumb-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(0,0,0,0.4);
  color: white;
  backdrop-filter: blur(4px);
  z-index: 1;
}
.related-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.related-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text, #1E1B2E);
  line-height: 1.3;
  margin: 0 0 8px;
}
.related-card-excerpt {
  font-size: 12.5px;
  color: var(--text-light, #6B7280);
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 12px;
}
.related-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-light, #F3F4F6);
}
.related-card-date { font-size: 11px; color: var(--text-muted, #9CA3AF); }
.related-card-cta { font-size: 12px; font-weight: 600; color: #6C3AED; }

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, #1E1B2E 0%, #312e81 100%);
  padding: 72px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(108,58,237,0.3), transparent 60%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.cta-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin: 0 0 12px;
}
.cta-section p { font-size: 16px; color: rgba(255,255,255,0.7); margin: 0 0 28px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-btn-primary {
  padding: 14px 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6C3AED, #F97316);
  color: white;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
}
.cta-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(108,58,237,0.3); color: white; }
.cta-btn-outline {
  padding: 14px 28px;
  border-radius: 12px;
  background: transparent;
  color: white;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.2s;
}
.cta-btn-outline:hover { border-color: white; color: white; }

/* Responsive article */
@media (max-width: 1100px) {
  .article-sidebar { display: none; }
  .article-layout { max-width: 800px; }
}
@media (max-width: 768px) {
  .article-nav { grid-template-columns: 1fr; }
  .article-nav-next .article-nav-label,
  .article-nav-next .article-nav-title { text-align: left; }
  .related-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .author-bio { flex-direction: column; text-align: center; align-items: center; }
  .article-bottom { padding: 0 24px 40px; }
}
@media (max-width: 480px) {
  .article-layout { padding: 24px 16px 40px; }
  .article-bottom { padding: 0 16px 40px; }
  .related-grid { grid-template-columns: 1fr !important; }
  .cta-section { padding: 48px 20px; }
  .cta-section h2 { font-size: 24px; }
}

/* ═══════════════════════════════════════════════════════════
   TOP 10 PAGE — Category Card Grid
   ═══════════════════════════════════════════════════════════ */

.top10-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px 60px;
}

/* Filter bar */
.top10-filters {
  display: flex;
  gap: 10px;
  padding: 32px 0 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.top10-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 100px;
  background: white;
  color: var(--text-light, #6B7280);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border, #E5E7EB);
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.top10-filter-btn:hover {
  border-color: var(--primary, #6C3AED);
  color: var(--primary, #6C3AED);
  background: rgba(108, 58, 237, 0.04);
}

.top10-filter-btn.active {
  background: var(--primary, #6C3AED);
  color: white;
  border-color: var(--primary, #6C3AED);
  box-shadow: 0 2px 8px rgba(108, 58, 237, 0.25);
}

/* Section group */
.top10-group {
  margin-bottom: 40px;
}

.top10-group-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text, #1E1B2E);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #EDE9FE;
}

/* 4-column card grid */
.top10-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Individual category card */
.top10-card {
  background: white;
  border: 1px solid var(--border, #E5E7EB);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}

.top10-card:hover {
  border-color: var(--primary-light, #8B5CF6);
  box-shadow: 0 12px 40px rgba(108, 58, 237, 0.1);
  transform: translateY(-3px);
}

/* Ranked list inside card */
.top10-card-list {
  padding: 4px 12px 12px;
}

/* Each ranked item row */
.top10-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px;
  border-radius: 8px;
  transition: background 0.15s;
}

.top10-item:hover {
  background: rgba(108, 58, 237, 0.04);
}
.top10-item:hover .top10-link {
  opacity: 1 !important;
}
/* Tooltip for tool name hover */
.top10-item[title] {
  position: relative;
}
.top10-item[title]:hover::after {
  content: attr(title);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(100% + 6px);
  background: #1E1B4B;
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.4;
  white-space: normal;
  max-width: 220px;
  z-index: 100;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Rank circle */
.top10-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  line-height: 1;
}

/* Tool logo (small) */
.top10-logo {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 6px;
  object-fit: contain;
}

.top10-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
  font-size: 16px;
  line-height: 1;
}

/* Tool name */
.top10-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text, #1E1B2E);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.top10-name a {
  color: inherit;
  text-decoration: none;
}

.top10-name a:hover {
  color: var(--primary, #6C3AED);
}

/* "Voir →" link on each item */
.top10-link {
  margin-left: auto;
  font-size: 11px;
  color: #6C3AED;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
}

/* Card header — slightly more compact for many cards */
.top10-card-header {
  padding: 16px 20px 12px;
}

.top10-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1E1B2E;
  margin: 0;
  line-height: 1.3;
}

/* SEO block */
.top10-page .seo-block {
  background: #F9F8FF;
  border-radius: 16px;
  padding: 40px;
}

.top10-page .seo-block-inner {
  max-width: 800px;
  margin: 0 auto;
}

.top10-page .seo-text p {
  font-size: 15px;
  color: var(--text-light, #6B7280);
  line-height: 1.7;
  margin: 0 0 12px;
}

.top10-page .seo-text p:last-child {
  margin-bottom: 0;
}

/* ── Responsive ── */

@media (max-width: 1280px) {
  .top10-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .top10-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .top10-page {
    padding: 0 20px 40px;
  }

  .top10-filters {
    gap: 8px;
    padding: 24px 0 20px;
  }

  .top10-filter-btn {
    padding: 7px 14px;
    font-size: 13px;
  }

  .top10-group-label {
    font-size: 18px;
  }

  .top10-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .top10-card-header {
    padding: 16px 20px 12px;
  }

  .top10-card-title {
    font-size: 16px;
  }

  .top10-card-list {
    padding: 6px 12px 12px;
  }

  .top10-item {
    padding: 6px;
    gap: 8px;
  }

  .top10-page .seo-block {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .top10-page {
    padding: 0 16px 32px;
  }

  .top10-filter-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .top10-name {
    font-size: 13px;
  }
}


/* ═══════════════════════════════════════════════════════════
   ACTUALITÉS IA PAGE
   ═══════════════════════════════════════════════════════════ */

/* ── Filter bar ── */
.actu-filters {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 40px 24px;
  max-width: 1440px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.actu-filters-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}

.actu-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 100px;
  background: white;
  color: var(--text-light, #6B7280);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border, #E5E7EB);
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.actu-filter-btn:hover {
  border-color: var(--primary, #6C3AED);
  color: var(--primary, #6C3AED);
}

.actu-filter-btn.active {
  background: var(--primary, #6C3AED);
  color: white;
  border-color: var(--primary, #6C3AED);
}

.actu-filter-count {
  font-size: 12px;
  opacity: 0.7;
}

.actu-filter-btn.active .actu-filter-count {
  opacity: 0.85;
}

/* Search */
.actu-search-form {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border, #E5E7EB);
  border-radius: 100px;
  overflow: hidden;
  background: white;
  flex-shrink: 0;
}

.actu-search-input {
  border: none;
  outline: none;
  padding: 8px 16px;
  font-size: 14px;
  width: 180px;
  background: transparent;
  color: var(--text, #1E1B2E);
}

.actu-search-input::placeholder {
  color: #9CA3AF;
}

.actu-search-btn {
  border: none;
  background: none;
  padding: 8px 14px 8px 4px;
  cursor: pointer;
  font-size: 14px;
}

/* ── Main layout (content + sidebar) ── */
.actu-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px 40px;
}

.actu-main {
  min-width: 0;
}

/* ── Featured article ── */
.actu-featured {
  background: white;
  border: 1px solid var(--border, #E5E7EB);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 36px;
  transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}

.actu-featured:hover {
  border-color: var(--primary-light, #8B5CF6);
  box-shadow: 0 12px 48px rgba(108, 58, 237, 0.08);
}

.actu-featured-labels {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
}

.actu-label-une {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 6px;
  background: linear-gradient(135deg, #F97316, #FB923C);
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.actu-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  color: white;
  font-size: 12px;
  font-weight: 600;
}

.actu-featured-visual {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #EDE9FE 0%, #F5F3FF 100%);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.actu-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.actu-featured-placeholder {
  font-size: 80px;
}

.actu-featured-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text, #1E1B2E);
  margin: 0 0 12px;
  line-height: 1.3;
}

.actu-featured-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.actu-tag {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(108, 58, 237, 0.08);
  color: var(--primary, #6C3AED);
  font-size: 12px;
  font-weight: 500;
}

.actu-featured-excerpt {
  font-size: 15px;
  color: var(--text-light, #6B7280);
  line-height: 1.6;
  margin: 0 0 20px;
}

.actu-featured-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.actu-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.actu-author-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6C3AED, #8B5CF6);
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.actu-author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text, #1E1B2E);
}

.actu-date,
.actu-reading-time {
  font-size: 13px;
  color: var(--text-light, #6B7280);
}

.actu-btn-lire {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 8px;
  background: var(--primary, #6C3AED);
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  margin-left: auto;
}

.actu-btn-lire:hover {
  background: var(--primary-light, #8B5CF6);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(108, 58, 237, 0.3);
  color: white;
}

/* ── Section header ── */
.actu-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text, #1E1B2E);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.actu-section-icon {
  font-size: 16px;
}

/* ── Articles grid (2 columns) ── */
.actu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

/* ── Article card ── */
.actu-card {
  background: white;
  border: 1px solid var(--border, #E5E7EB);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}

.actu-card:hover {
  border-color: var(--primary-light, #8B5CF6);
  box-shadow: 0 8px 32px rgba(108, 58, 237, 0.1);
  transform: translateY(-3px);
}

.actu-card-visual {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, #EDE9FE 0%, #F5F3FF 100%);
}

.actu-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.actu-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 48px;
}

.actu-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  color: white;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
}

.actu-card-time {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 12px;
  font-weight: 500;
  z-index: 2;
}

.actu-card-body {
  padding: 18px 20px 20px;
}

.actu-card-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.actu-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text, #1E1B2E);
  margin: 0 0 10px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.actu-card-excerpt {
  font-size: 14px;
  color: var(--text-light, #6B7280);
  line-height: 1.55;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.actu-card-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.actu-author-mini {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text, #1E1B2E);
  font-weight: 500;
}

.actu-author-avatar-sm {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6C3AED, #8B5CF6);
  color: white;
  font-size: 10px;
  font-weight: 700;
}

.actu-card-date {
  color: var(--text-light, #6B7280);
  font-size: 12px;
}

.actu-card-link {
  margin-left: auto;
  color: var(--primary, #6C3AED);
  font-weight: 600;
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
}

.actu-card-link:hover {
  color: var(--primary-light, #8B5CF6);
}

/* ── Empty state ── */
.actu-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light, #6B7280);
  font-size: 16px;
}

/* ── Pagination ── */
.actu-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px 0 0;
}

.actu-page-btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--border, #E5E7EB);
  background: white;
  color: var(--text-light, #6B7280);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.actu-page-btn:hover {
  border-color: var(--primary, #6C3AED);
  color: var(--primary, #6C3AED);
}

.actu-page-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border, #E5E7EB);
  background: white;
  color: var(--text, #1E1B2E);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.actu-page-num:hover {
  border-color: var(--primary, #6C3AED);
  color: var(--primary, #6C3AED);
}

.actu-page-num.active {
  background: var(--primary, #6C3AED);
  color: white;
  border-color: var(--primary, #6C3AED);
}

.actu-page-dots {
  color: var(--text-light, #6B7280);
  padding: 0 4px;
}

/* ── Right sidebar ── */
.actu-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.actu-sidebar-box {
  background: white;
  border: 1px solid var(--border, #E5E7EB);
  border-radius: 14px;
  padding: 24px;
}

.actu-sidebar-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text, #1E1B2E);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Newsletter box */
.actu-newsletter-box {
  background: linear-gradient(135deg, #F9F8FF, #F0EDFF);
  border-color: #E0D5FF;
  text-align: center;
}

.actu-newsletter-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.actu-newsletter-text {
  font-size: 14px;
  color: var(--text-light, #6B7280);
  line-height: 1.5;
  margin: 0 0 16px;
}

.actu-newsletter-btn {
  display: block;
  padding: 12px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, #F97316, #FB923C);
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
}

.actu-newsletter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
  color: white;
}

/* Categories list */
.actu-sidebar-cats {
  list-style: none;
  margin: 0;
  padding: 0;
}

.actu-sidebar-cats li {
  margin: 0;
}

.actu-sidebar-cats a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--text, #1E1B2E);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid #F3F4F6;
  transition: color 0.2s;
}

.actu-sidebar-cats li:last-child a {
  border-bottom: none;
}

.actu-sidebar-cats a:hover {
  color: var(--primary, #6C3AED);
}

.actu-cat-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
}

.actu-cat-count {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light, #6B7280);
  background: #F3F4F6;
  padding: 2px 8px;
  border-radius: 10px;
}

/* Popular articles */
.actu-popular-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.actu-popular-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px;
  border-radius: 10px;
  transition: background 0.15s;
}

.actu-popular-item:hover {
  background: #F9F8FF;
}

.actu-popular-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.actu-popular-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.actu-popular-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text, #1E1B2E);
  text-decoration: none;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.actu-popular-title:hover {
  color: var(--primary, #6C3AED);
}

.actu-popular-meta {
  font-size: 12px;
  color: var(--text-light, #6B7280);
}

/* Tags cloud */
.actu-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.actu-cloud-tag {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 100px;
  background: #F3F4F6;
  color: var(--text, #1E1B2E);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
}

.actu-cloud-tag:hover {
  background: rgba(108, 58, 237, 0.1);
  color: var(--primary, #6C3AED);
}

/* Recommended tools */
.actu-tools-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.actu-tool-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #F3F4F6;
  transition: all 0.2s;
}

.actu-tool-item:hover {
  border-color: #E0D5FF;
  background: #FAFAFE;
}

.actu-tool-logo {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  object-fit: contain;
  background: #F9F8FF;
}

.actu-tool-logo-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: #F9F8FF;
  font-size: 22px;
}

.actu-tool-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.actu-tool-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text, #1E1B2E);
  text-decoration: none;
}

.actu-tool-name:hover {
  color: var(--primary, #6C3AED);
}

.actu-tool-meta {
  font-size: 12px;
  color: var(--text-light, #6B7280);
}

.actu-tool-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary, #6C3AED);
  text-decoration: none;
  white-space: nowrap;
}

.actu-tool-link:hover {
  color: var(--primary-light, #8B5CF6);
}

/* ── SEO block ── */
.actu-seo-block {
  max-width: 1440px;
  margin: 20px auto 40px;
  padding: 0 40px;
}

.actu-seo-inner {
  background: #F9F8FF;
  border-radius: 16px;
  padding: 48px 60px;
  text-align: center;
}

.actu-seo-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text, #1E1B2E);
  margin: 0 0 20px;
}

.actu-seo-text {
  max-width: 900px;
  margin: 0 auto;
  columns: 2;
  column-gap: 40px;
}

.actu-seo-text p {
  font-size: 15px;
  color: var(--text-light, #6B7280);
  line-height: 1.7;
  margin: 0 0 12px;
}

.actu-seo-text p:last-child {
  margin-bottom: 0;
}

/* ── Responsive ── */

@media (max-width: 1200px) {
  .actu-layout {
    grid-template-columns: 1fr 280px;
    gap: 28px;
  }
}

@media (max-width: 1024px) {
  .actu-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .actu-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .actu-filters {
    padding: 20px 20px 16px;
    flex-direction: column;
    gap: 12px;
  }

  .actu-filters-tabs {
    gap: 6px;
  }

  .actu-filter-btn {
    padding: 6px 12px;
    font-size: 13px;
  }

  .actu-search-input {
    width: 140px;
  }

  .actu-layout {
    padding: 0 20px 32px;
  }

  .actu-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .actu-featured {
    padding: 20px;
  }

  .actu-featured-title {
    font-size: 20px;
  }

  .actu-featured-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .actu-btn-lire {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .actu-sidebar {
    grid-template-columns: 1fr;
  }

  .actu-seo-block {
    padding: 0 20px;
  }

  .actu-seo-inner {
    padding: 32px 24px;
  }

  .actu-seo-text {
    columns: 1;
  }

  .actu-seo-title {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .actu-filters {
    padding: 16px;
  }

  .actu-layout {
    padding: 0 16px 24px;
  }

  .actu-card-body {
    padding: 14px 16px 16px;
  }

  .actu-card-title {
    font-size: 15px;
  }

  .actu-sidebar-box {
    padding: 18px;
  }
}


/* ═════════════════════════════════════════════════════
   SINGLE ACTUALITÉ IA — Article detail page
   ═════════════════════════════════════════════════════ */

/* ── Breadcrumb ── */
.actu-breadcrumb a {
  color: #6B7280;
  font-size: 13px;
  text-decoration: none;
  transition: color .2s;
}
.actu-breadcrumb a:hover { color: #6C3AED; }
.actu-bc-sep {
  color: #9CA3AF;
  margin: 0 6px;
  font-size: 13px;
}
.actu-bc-current {
  color: #6C3AED;
  font-size: 13px;
  font-weight: 500;
}

/* ── Author bar (hero) ── */
.actu-single-author-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.actu-single-author-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.actu-single-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6C3AED, #F97316);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.actu-single-author-meta {
  display: flex;
  flex-direction: column;
}
.actu-single-author-name {
  font-size: 14px;
  font-weight: 600;
  color: #1E1B2E;
}
.actu-single-author-details {
  font-size: 12px;
  color: #9CA3AF;
  display: flex;
  align-items: center;
  gap: 6px;
}
.actu-dot-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #D1D5DB;
  display: inline-block;
}
.actu-single-share {
  display: flex;
  gap: 6px;
}
.actu-share-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  background: white;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.actu-share-btn:hover {
  border-color: #6C3AED;
  background: #F5F3FF;
}

/* ── Layout: article + sidebar ── */
.actu-single-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 40px 48px;
}

/* ── Article body ── */
.actu-single-article {
  min-width: 0;
}
.actu-single-featured-img {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
.actu-single-featured-img img {
  width: 100%;
  height: auto;
  display: block;
}
.actu-single-body {
  font-size: 17px;
  line-height: 1.8;
  color: #374151;
}
.actu-single-body h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #1E1B2E;
  margin: 48px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #EDE9FE;
}
.actu-single-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #1E1B2E;
  margin: 32px 0 12px;
}
.actu-single-body p {
  margin: 0 0 20px;
}
.actu-single-body a {
  color: #6C3AED;
  text-decoration: underline;
  text-decoration-color: rgba(108, 58, 237, .3);
  text-underline-offset: 2px;
  transition: text-decoration-color .2s;
}
.actu-single-body a:hover {
  text-decoration-color: #6C3AED;
}
.actu-single-body ul,
.actu-single-body ol {
  margin: 0 0 20px 24px;
  padding: 0;
}
.actu-single-body li {
  margin-bottom: 8px;
}
.actu-single-body blockquote {
  border-left: 4px solid #6C3AED;
  margin: 32px 0;
  padding: 20px 24px;
  background: #F5F3FF;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #4B5563;
}
.actu-single-body blockquote p { margin-bottom: 0; }
.actu-single-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 24px 0;
}
.actu-single-body pre,
.actu-single-body code {
  background: #1E1B2E;
  color: #E5E7EB;
  border-radius: 8px;
  padding: 2px 6px;
  font-size: 14px;
}
.actu-single-body pre {
  padding: 20px 24px;
  overflow-x: auto;
  margin: 24px 0;
}
.actu-single-body pre code {
  background: none;
  padding: 0;
}

/* Tags at bottom of article */
.actu-single-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #E5E7EB;
}
.actu-single-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
}

/* ── Right sidebar (sticky) ── */
.actu-single-sidebar {
  position: sticky;
  top: 24px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.actu-single-sb-box {
  background: #FAFAFE;
  border: 1px solid #F0EDF6;
  border-radius: 14px;
  padding: 20px;
}
.actu-single-sb-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1E1B2E;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* TOC */
.actu-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}
.actu-toc-item {
  margin-bottom: 6px;
}
.actu-toc-item a {
  display: block;
  font-size: 13px;
  color: #4B5563;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  border-left: 2px solid transparent;
  transition: all .2s;
}
.actu-toc-item a:hover {
  color: #6C3AED;
  background: #F5F3FF;
  border-left-color: #6C3AED;
}
.actu-toc-sub a {
  padding-left: 24px;
  font-size: 12px;
  color: #9CA3AF;
}

/* Newsletter sidebar */
.actu-single-newsletter {
  background: linear-gradient(135deg, #F5F3FF, #EDE9FE);
  border-color: rgba(139, 92, 246, .2);
  text-align: center;
}
.actu-single-nl-icon { font-size: 28px; margin-bottom: 8px; }
.actu-single-nl-text {
  font-size: 13px;
  color: #4B5563;
  line-height: 1.5;
  margin: 0 0 14px;
}
.actu-single-nl-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #6C3AED;
  color: white;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: background .2s;
}
.actu-single-nl-btn:hover { background: #5B32C7; }

/* Related articles sidebar */
.actu-single-related-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #F0EDF6;
  transition: background .15s;
}
.actu-single-related-item:last-child { border-bottom: none; }
.actu-single-related-item:hover { background: #F5F3FF; border-radius: 8px; padding: 10px 8px; margin: 0 -8px; }
.actu-single-rel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.actu-single-rel-info { min-width: 0; }
.actu-single-rel-title {
  font-size: 13px;
  font-weight: 600;
  color: #1E1B2E;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.actu-single-rel-title:hover { color: #6C3AED; }
.actu-single-rel-meta {
  font-size: 11px;
  color: #9CA3AF;
  margin-top: 4px;
  display: block;
}

/* ── Bottom section ── */
.actu-single-bottom {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px 60px;
}

/* Author bio card */
.actu-single-author-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #F5F3FF;
  border: 1px solid #EDE9FE;
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 32px;
}
.actu-single-avatar-lg {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6C3AED, #F97316);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 20px;
  flex-shrink: 0;
}
.actu-single-author-card-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #9CA3AF;
  margin-bottom: 2px;
}
.actu-single-author-card-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1E1B2E;
  margin-bottom: 6px;
}
.actu-single-author-card-bio {
  font-size: 14px;
  line-height: 1.6;
  color: #6B7280;
  margin: 0;
}

/* Prev / Next nav */
.actu-single-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.actu-single-nav-link {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  background: #FAFAFE;
  border: 1px solid #F0EDF6;
  border-radius: 12px;
  text-decoration: none;
  transition: all .2s;
}
.actu-single-nav-link:hover {
  border-color: #6C3AED;
  background: #F5F3FF;
}
.actu-nav-prev { text-align: left; }
.actu-nav-next { text-align: right; }
.actu-nav-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #9CA3AF;
  margin-bottom: 6px;
}
.actu-nav-title {
  font-size: 14px;
  font-weight: 600;
  color: #1E1B2E;
  line-height: 1.4;
}

/* Back to listing */
.actu-single-back-cta {
  text-align: center;
}
.actu-single-back-btn {
  display: inline-block;
  padding: 12px 28px;
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  color: #6C3AED;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
}
.actu-single-back-btn:hover {
  background: #F5F3FF;
  border-color: #6C3AED;
}

/* ── Responsive: single actualité ── */
@media (max-width: 960px) {
  .actu-single-layout {
    grid-template-columns: 1fr;
    padding: 24px 20px 32px;
    gap: 32px;
  }
  .actu-single-sidebar {
    position: static;
  }
  .actu-single-bottom {
    padding: 0 20px 40px;
  }
}

@media (max-width: 640px) {
  .actu-single-body {
    font-size: 16px;
  }
  .actu-single-body h2 {
    font-size: 22px;
  }
  .actu-single-body h3 {
    font-size: 18px;
  }
  .actu-single-author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }
  .actu-single-nav {
    grid-template-columns: 1fr;
  }
  .actu-single-author-bar {
    flex-direction: column;
    gap: 12px;
  }
  .actu-single-layout {
    padding: 16px 16px 24px;
  }
  .actu-single-bottom {
    padding: 0 16px 32px;
  }
}


/* ═════════════════════════════════════════════════════
   PAGE CONTACT
   ═════════════════════════════════════════════════════ */

/* ── Hero contact ── */
.hero-contact {
  background: linear-gradient(180deg, #EDE9FE 0%, #F5F3FF 50%, #F8F7FF 100%);
  position: relative;
  overflow: hidden;
  padding: 64px 40px 56px;
  text-align: center;
}
.hero-contact .hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: heroFloat 8s ease-in-out infinite;
}
.hero-contact .hero-orb-1 {
  width: 500px; height: 500px;
  top: -200px; left: -100px;
  background: rgba(108,58,237,0.06);
}
.hero-contact .hero-orb-2 {
  width: 400px; height: 400px;
  bottom: -150px; right: -50px;
  background: rgba(249,115,22,0.04);
  animation-delay: -3s;
}
.hero-contact .hero-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(108,58,237,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 10%, transparent 70%);
  pointer-events: none;
}
.hero-contact-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-contact h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  color: #1E1B4B;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
}
.hero-contact .hero-sub {
  font-size: 16px;
  color: #6B7280;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 24px;
}
.hero-contact .hero-sub strong { color: #1E1B4B; font-weight: 600; }
.hero-contact-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-contact-stat { text-align: center; }
.hero-contact-stat .val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #1E1B4B;
}
.hero-contact-stat .lab {
  font-size: 11px;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── Divider ── */
.contact-divider {
  max-width: 1180px;
  margin: 36px auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.contact-divider::before,
.contact-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E5E7EB;
}
.contact-divider span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #9CA3AF;
  white-space: nowrap;
}

/* ── Form section (form + sidebar) ── */
.contact-form-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px 48px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-field label {
  font-size: 13px;
  font-weight: 600;
  color: #1E1B2E;
}
.contact-field label .req { color: #EF4444; }
.contact-field input,
.contact-field select,
.contact-field textarea {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #1E1B2E;
  background: white;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: #6C3AED;
  box-shadow: 0 0 0 3px rgba(108,58,237,0.08);
}
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: #9CA3AF; }
.contact-field textarea {
  min-height: 140px;
  resize: vertical;
}
.contact-tip {
  font-size: 12.5px;
  color: #9CA3AF;
  font-style: italic;
}

/* Consent */
.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #6B7280;
}
.contact-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #6C3AED;
  flex-shrink: 0;
  cursor: pointer;
}
.contact-consent a {
  color: #6C3AED;
  font-weight: 500;
}

/* Actions */
.contact-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.contact-email-link {
  font-size: 13px;
  color: #6B7280;
}
.contact-email-link a {
  color: #6C3AED;
  font-weight: 500;
  text-decoration: underline;
}
.contact-submit {
  padding: 12px 28px;
  border-radius: 8px;
  background: #6C3AED;
  color: white;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all .2s;
}
.contact-submit:hover {
  background: #8B5CF6;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(108,58,237,0.3);
}

/* Info card sidebar */
.contact-info-card {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 28px;
}
.contact-info-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1E1B2E;
  margin-bottom: 20px;
}
.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: #1E1B2E;
  line-height: 1.5;
}
.contact-info-list li .info-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Transparency banner */
.contact-transparency {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px 80px;
}
.contact-transparency-inner {
  background: #FFF7ED;
  border: 1px solid #FDBA74;
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 13.5px;
  color: #9A3412;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── Responsive contact ── */
@media (max-width: 900px) {
  .contact-form-section { grid-template-columns: 1fr; }
  .contact-form-row { grid-template-columns: 1fr; }
  .hero-contact { padding: 48px 24px 40px; }
  .hero-contact h1 { font-size: 36px; }
}
@media (max-width: 640px) {
  .hero-contact h1 { font-size: 28px; }
  .hero-contact-stats { gap: 20px; }
  .contact-form-section { padding: 0 16px 32px; }
  .contact-divider { padding: 0 16px; margin: 24px auto; }
  .contact-transparency { padding: 0 16px; }
  .contact-actions { flex-direction: column; align-items: stretch; text-align: center; }
}


/* ============================================================
   PAGE: SOUMETTRE UNE IA (Souscription)
   ============================================================ */

/* ── Hero (reuses hero-compact from sidebar push rules) ── */
.hero-soumettre h1 { font-family: 'Space Grotesk', sans-serif; }

/* ── Audience bar ── */
.soum-audience-bar { background: white; border-bottom: 1px solid #E5E7EB; }
.soum-audience-inner { max-width: 1200px; margin: 0 auto; padding: 28px 40px; display: flex; flex-direction: column; gap: 20px; }
.soum-audience-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.soum-audience-text { flex: 1; }
.soum-audience-text h3 { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.soum-audience-text p { font-size: 14px; color: #6B7280; }
.soum-audience-text p strong { color: #1E1B4B; font-weight: 600; }
.soum-audience-btns { display: flex; gap: 10px; flex-shrink: 0; }
.soum-btn-primary { display: inline-block; padding: 12px 24px; border-radius: 10px; background: #6C3AED; color: white; font-size: 13px; font-weight: 700; border: none; cursor: pointer; transition: all 0.2s; font-family: 'Inter', sans-serif; text-decoration: none; text-align: center; }
.soum-btn-primary:hover { background: #5B21B6; color: white; transform: translateY(-1px); }
.soum-btn-outline { display: inline-block; padding: 12px 24px; border-radius: 10px; border: 1px solid #E5E7EB; background: white; color: #1E1B4B; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: 'Inter', sans-serif; text-decoration: none; text-align: center; }
.soum-btn-outline:hover { border-color: #6C3AED; color: #6C3AED; }
.soum-btn-accent { background: linear-gradient(135deg, #F97316, #FB923C); }
.soum-btn-accent:hover { box-shadow: 0 4px 16px rgba(249,115,22,0.3); background: linear-gradient(135deg, #F97316, #FB923C); }

/* Audience stats */
.soum-audience-stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #E5E7EB; border-radius: 8px; overflow: hidden; }
.soum-audience-stat { padding: 16px 24px; text-align: center; border-right: 1px solid #E5E7EB; }
.soum-audience-stat:last-child { border-right: none; }
.soum-stat-val { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; color: #6C3AED; }
.soum-stat-lab { font-size: 11px; color: #9CA3AF; text-transform: uppercase; letter-spacing: 0.5px; }

/* ── Section basics ── */
.soum-section { padding: 64px 40px; }
.soum-section-white { background: white; }
.soum-section-inner { max-width: 1200px; margin: 0 auto; }
.soum-section-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 3px; color: #9CA3AF; text-align: center; margin-bottom: 12px; }
.soum-section-title { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; text-align: center; margin-bottom: 8px; letter-spacing: -0.5px; }
.soum-section-subtitle { font-size: 14px; color: #6B7280; text-align: center; margin-bottom: 40px; }

/* ── Pricing grid ── */
.soum-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.soum-pricing-card { background: white; border: 2px solid #E5E7EB; border-radius: 12px; padding: 28px; transition: all 0.25s; position: relative; display: flex; flex-direction: column; }
.soum-pricing-card:hover { border-color: rgba(108,58,237,0.2); box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-3px); }
.soum-featured { border-color: #6C3AED; box-shadow: 0 0 0 1px #6C3AED, 0 8px 32px rgba(0,0,0,0.08); }
.soum-pricing-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; }
.soum-pricing-icon { font-size: 22px; }
.soum-pricing-name { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 700; }
.soum-badge { padding: 3px 10px; border-radius: 100px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; white-space: nowrap; }
.soum-badge-free { background: #D1FAE5; color: #059669; }
.soum-badge-credibility { background: #EDE9FE; color: #6C3AED; }
.soum-badge-visibility { background: #FFF7ED; color: #F97316; }
.soum-badge-performance { background: #DBEAFE; color: #3B82F6; }
.soum-badge-devis { background: #FEF3C7; color: #92400E; }
.soum-pricing-price { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; color: #1E1B4B; margin: 8px 0 4px; letter-spacing: -0.5px; }
.soum-price-unit { font-size: 16px; font-weight: 500; color: #9CA3AF; }
.soum-pricing-price-sub { font-size: 13px; color: #9CA3AF; margin-bottom: 12px; }
.soum-pricing-desc { font-size: 13px; color: #6B7280; line-height: 1.6; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid #F3F4F6; }
.soum-pricing-features { display: flex; flex-direction: column; gap: 10px; flex: 1; margin-bottom: 20px; }
.soum-pricing-feature { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #6B7280; line-height: 1.5; }
.soum-check { color: #10B981; font-size: 15px; flex-shrink: 0; margin-top: 1px; }
.soum-pricing-btns { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.soum-pricing-note { font-size: 12px; color: #9CA3AF; text-align: center; margin-top: 8px; }

/* Bottom row — 2 cards */
.soum-pricing-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }

/* ── Why grid ── */
.soum-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.soum-why-card { background: white; border: 1px solid #E5E7EB; border-radius: 8px; padding: 24px; transition: all 0.2s; }
.soum-why-card:hover { border-color: rgba(108,58,237,0.15); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.soum-why-icon { font-size: 24px; margin-bottom: 10px; }
.soum-why-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.soum-why-desc { font-size: 13px; color: #6B7280; line-height: 1.6; }

/* ── Form section ── */
.soum-form-section { background: white; border-top: 1px solid #E5E7EB; }
.soum-form-card { max-width: 760px; margin: 0 auto; }
.soum-form-card h2 { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; margin-bottom: 4px; }
.soum-form-sub { font-size: 14px; color: #9CA3AF; margin-bottom: 28px; }
.soum-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.soum-form-field { display: flex; flex-direction: column; gap: 6px; }
.soum-form-field.soum-full { grid-column: 1 / -1; }
.soum-form-field label { font-size: 13px; font-weight: 600; color: #1E1B4B; }
.soum-req { color: #EF4444; }
.soum-form-field input,
.soum-form-field select,
.soum-form-field textarea {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #1E1B4B;
  background: #FAFAFE;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.soum-form-field input:focus,
.soum-form-field select:focus,
.soum-form-field textarea:focus {
  outline: none;
  border-color: #6C3AED;
  box-shadow: 0 0 0 3px rgba(108,58,237,0.08);
}
.soum-form-field input::placeholder,
.soum-form-field textarea::placeholder { color: #9CA3AF; }
.soum-form-field textarea { min-height: 100px; resize: vertical; }
.soum-form-consent { font-size: 12.5px; color: #9CA3AF; margin: 16px 0 20px; line-height: 1.6; }
.soum-form-consent a { color: #6C3AED; font-weight: 500; }
.soum-form-submit { width: 100%; padding: 14px; border-radius: 8px; background: linear-gradient(135deg, #6C3AED 0%, #8B5CF6 100%); color: white; font-size: 15px; font-weight: 700; border: none; cursor: pointer; transition: all 0.25s; font-family: 'Inter', sans-serif; }
.soum-form-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(108,58,237,0.3); }

/* ── FAQ ── */
.soum-faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.soum-faq-item { background: white; border-radius: 8px; border: 1px solid #E5E7EB; overflow: hidden; transition: all 0.2s; }
.soum-faq-item:hover { border-color: #C4B5FD; }
.soum-faq-q { padding: 18px 24px; font-size: 14px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; user-select: none; }
.soum-faq-chevron { font-size: 16px; color: #9CA3AF; transition: transform 0.25s; }
.soum-faq-item.open .soum-faq-chevron { transform: rotate(180deg); color: #6C3AED; }
.soum-faq-a { padding: 0 24px 18px; font-size: 13px; color: #6B7280; line-height: 1.7; display: none; }
.soum-faq-item.open .soum-faq-a { display: block; }

/* ── Transparency banner ── */
.soum-transparency { max-width: 700px; margin: 0 auto; padding: 0 40px 80px; }
.soum-transparency-inner { text-align: center; padding: 12px 20px; border-radius: 100px; background: #FFF7ED; border: 1px solid #FED7AA; font-size: 12px; color: #92400E; }

/* ── Responsive soumettre ── */
@media (max-width: 1100px) {
  .soum-pricing-grid { grid-template-columns: 1fr 1fr; }
  .soum-why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .soum-pricing-grid,
  .soum-pricing-bottom { grid-template-columns: 1fr; }
  .hero-soumettre h1 { font-size: 36px; }
  .hero-soumettre { padding: 48px 24px 40px !important; }
  .soum-section { padding: 48px 24px; }
  .soum-audience-top { flex-direction: column; text-align: center; }
  .soum-audience-btns { justify-content: center; }
  .soum-audience-stats { grid-template-columns: repeat(4, 1fr); }
  .soum-form-row { grid-template-columns: 1fr; }
  .soum-why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-soumettre h1 { font-size: 28px; }
  .soum-audience-stats { grid-template-columns: repeat(2, 1fr); }
  .soum-audience-stat { border-bottom: 1px solid #E5E7EB; }
  .soum-audience-stat:nth-child(even) { border-right: none; }
  .soum-transparency { padding: 0 16px 60px; }
}


/* ============================================================
   PAGE: MEDIA KIT
   ============================================================ */

/* ── Sections ── */
.mk-section { padding: 64px 40px; }
.mk-section-white { background: white; }
.mk-section-inner { max-width: 1100px; margin: 0 auto; }
.mk-section-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 3px; color: #9CA3AF; text-align: center; margin-bottom: 12px; }
.mk-section-title { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; text-align: center; margin-bottom: 8px; letter-spacing: -0.5px; }
.mk-section-subtitle { font-size: 14px; color: #6B7280; text-align: center; margin-bottom: 40px; }

/* ── 1. Presentation ── */
.mk-pres-card { background: white; border: 1px solid #E5E7EB; border-radius: 12px; padding: 40px; }
.mk-pres-card h2 { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.mk-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(108,58,237,0.08); color: #6C3AED; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.mk-pres-text { font-size: 14px; color: #6B7280; line-height: 1.8; }
.mk-pres-text strong { color: #1E1B4B; font-weight: 600; }
.mk-audience-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mk-audience-tag { padding: 6px 14px; border-radius: 100px; background: #FAFAFE; border: 1px solid #E5E7EB; font-size: 13px; color: #6B7280; font-weight: 500; }

/* ── 2. Stats ── */
.mk-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.mk-stat-card { background: white; border: 1px solid #E5E7EB; border-radius: 8px; padding: 24px; text-align: center; transition: all 0.2s; }
.mk-stat-card:hover { border-color: rgba(108,58,237,0.2); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.mk-stat-val { font-family: 'Space Grotesk', sans-serif; font-size: 32px; font-weight: 700; color: #6C3AED; margin-bottom: 4px; }
.mk-stat-lab { font-size: 13px; color: #6B7280; }
.mk-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.mk-stat-mini { background: white; border: 1px solid #E5E7EB; border-radius: 8px; padding: 18px; text-align: center; }
.mk-stat-mini .mk-stat-val { font-size: 22px; }
.mk-stat-mini .mk-stat-lab { font-size: 12px; }

/* ── 3. Collab ── */
.mk-collab-intro { font-size: 14px; color: #6B7280; line-height: 1.8; text-align: center; max-width: 800px; margin: 0 auto 32px; }
.mk-collab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mk-collab-card { background: white; border: 1px solid #E5E7EB; border-radius: 8px; padding: 24px; transition: all 0.2s; }
.mk-collab-card:hover { border-color: rgba(108,58,237,0.15); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.mk-collab-icon { font-size: 22px; margin-bottom: 10px; }
.mk-collab-title { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.mk-collab-desc { font-size: 13px; color: #6B7280; line-height: 1.6; }

/* ── 4. Formats ── */
.mk-formats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.mk-format-card { background: white; border: 2px solid #E5E7EB; border-radius: 12px; padding: 28px; transition: all 0.25s; position: relative; display: flex; flex-direction: column; }
.mk-format-card:hover { border-color: rgba(108,58,237,0.2); box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-3px); }
.mk-format-featured { border-color: #6C3AED; box-shadow: 0 0 0 1px #6C3AED, 0 8px 32px rgba(0,0,0,0.08); }
.mk-format-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; }
.mk-format-icon { font-size: 22px; }
.mk-format-name { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 700; }
.mk-fbadge { padding: 3px 10px; border-radius: 100px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; white-space: nowrap; }
.mk-fbadge-free { background: #D1FAE5; color: #059669; }
.mk-fbadge-cred { background: #EDE9FE; color: #6C3AED; }
.mk-fbadge-vis { background: #FFF7ED; color: #F97316; }
.mk-fbadge-perf { background: #DBEAFE; color: #3B82F6; }
.mk-fbadge-devis { background: #FEF3C7; color: #92400E; }
.mk-format-features { display: flex; flex-direction: column; gap: 8px; flex: 1; margin-top: 14px; }
.mk-format-feature { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #6B7280; line-height: 1.5; }
.mk-fcheck { color: #10B981; font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.mk-formats-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ── 5. Rate table ── */
.mk-rate-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid #E5E7EB; border-radius: 8px; overflow: hidden; background: white; }
.mk-rate-table thead th { background: #1E1B4B; color: rgba(255,255,255,0.8); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; padding: 14px 20px; text-align: left; }
.mk-rate-table tbody td { padding: 14px 20px; font-size: 14px; border-top: 1px solid #F3F4F6; }
.mk-rate-table tbody tr:hover { background: rgba(108,58,237,0.02); }
.mk-rate-cat { font-size: 11px !important; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #6C3AED; padding: 12px 20px !important; background: rgba(108,58,237,0.03); border-top: 2px solid #E5E7EB !important; }
.mk-rate-product { font-weight: 600; color: #1E1B4B; }
.mk-rate-price { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: #6C3AED; }
.mk-rate-note { font-size: 12px; color: #9CA3AF; text-align: center; margin-top: 16px; line-height: 1.6; }

/* ── 6. Process ── */
.mk-process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mk-process-step { background: white; border: 1px solid #E5E7EB; border-radius: 8px; padding: 24px; transition: all 0.2s; }
.mk-process-step:hover { border-color: rgba(108,58,237,0.15); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.mk-step-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #6C3AED, #8B5CF6); color: white; font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.mk-step-title { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.mk-step-desc { font-size: 13px; color: #6B7280; line-height: 1.6; }

/* ── 7. Payment ── */
.mk-payment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mk-payment-card { background: white; border: 1px solid #E5E7EB; border-radius: 8px; padding: 28px; }
.mk-payment-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.mk-payment-list { display: flex; flex-direction: column; gap: 12px; }
.mk-payment-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #6B7280; line-height: 1.6; }
.mk-payment-item strong { color: #1E1B4B; font-weight: 600; }
.mk-pay-icon { font-size: 16px; flex-shrink: 0; }

/* ── 8. Info cards ── */
.mk-info-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.mk-info-card { background: white; border: 1px solid #E5E7EB; border-radius: 8px; padding: 28px; }
.mk-info-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.mk-info-card p { font-size: 13px; color: #6B7280; line-height: 1.7; }
.mk-info-card a { color: #6C3AED; font-weight: 500; }
.mk-info-card a:hover { text-decoration: underline; }

/* ── CTA Contact ── */
.mk-cta-contact { background: #1E1B4B; border-radius: 12px; padding: 48px; text-align: center; position: relative; overflow: hidden; }
.mk-cta-orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.mk-cta-orb-1 { width: 300px; height: 300px; top: -100px; left: -50px; background: rgba(108,58,237,0.15); }
.mk-cta-orb-2 { width: 250px; height: 250px; bottom: -80px; right: -30px; background: rgba(249,115,22,0.08); }
.mk-cta-inner { position: relative; z-index: 1; }
.mk-cta-inner h2 { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; color: white; margin-bottom: 10px; }
.mk-cta-inner p { font-size: 15px; color: #9CA3AF; margin-bottom: 24px; }
.mk-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.mk-cta-btn-email { padding: 14px 28px; border-radius: 10px; background: linear-gradient(135deg, #6C3AED, #8B5CF6); color: white; font-size: 14px; font-weight: 700; transition: all 0.25s; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.mk-cta-btn-email:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(108,58,237,0.4); color: white; }
.mk-cta-btn-site { padding: 14px 28px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.7); font-size: 14px; font-weight: 600; transition: all 0.25s; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.mk-cta-btn-site:hover { border-color: rgba(255,255,255,0.3); color: white; }

/* ── Transparency ── */
.mk-transparency { max-width: 700px; margin: 0 auto; padding: 0 40px 80px; }
.mk-transparency-inner { text-align: center; padding: 12px 20px; border-radius: 100px; background: #FFF7ED; border: 1px solid #FED7AA; font-size: 12px; color: #92400E; }

/* ── Responsive Media Kit ── */
@media (max-width: 1100px) {
  .mk-formats-grid { grid-template-columns: 1fr 1fr; }
  .mk-stats-row { grid-template-columns: repeat(2, 1fr); }
  .mk-process-steps { grid-template-columns: 1fr 1fr; }
  .mk-info-cards { grid-template-columns: 1fr; }
  .mk-collab-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .mk-formats-grid,
  .mk-formats-bottom { grid-template-columns: 1fr; }
  .hero-mk h1 { font-size: 36px; }
  .hero-mk { padding: 48px 24px 40px !important; }
  .mk-section { padding: 48px 24px; }
  .mk-stats-grid { grid-template-columns: 1fr; }
  .mk-stats-row { grid-template-columns: 1fr 1fr; }
  .mk-collab-grid { grid-template-columns: 1fr; }
  .mk-payment-grid { grid-template-columns: 1fr; }
  .mk-process-steps { grid-template-columns: 1fr; }
  .mk-pres-card { padding: 28px; }
  .mk-rate-table { font-size: 13px; }
  .mk-rate-table thead th,
  .mk-rate-table tbody td { padding: 10px 14px; }
  .mk-cta-contact { padding: 36px 24px; }
}
@media (max-width: 640px) {
  .hero-mk h1 { font-size: 28px; }
  .mk-stats-row { grid-template-columns: 1fr; }
  .mk-transparency { padding: 0 16px 60px; }
}


/* ============================================================
   PAGE: PROGRAMME D'AFFILIATION
   ============================================================ */

/* ── Sections ── */
.affil-section { padding: 64px 40px; }
.affil-section-white { background: white; }
.affil-section-inner { max-width: 1100px; margin: 0 auto; }
.affil-section-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 3px; color: #9CA3AF; text-align: center; margin-bottom: 12px; }
.affil-section-title { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; text-align: center; margin-bottom: 8px; letter-spacing: -0.5px; }
.affil-section-subtitle { font-size: 14px; color: #6B7280; text-align: center; margin-bottom: 40px; }

/* ── Metrics bar ── */
.affil-metrics-bar { background: white; border-bottom: 1px solid #E5E7EB; }
.affil-metrics-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #E5E7EB; border-radius: 8px; overflow: hidden; }
.affil-metric { padding: 20px 24px; text-align: center; border-right: 1px solid #E5E7EB; }
.affil-metric:last-child { border-right: none; }
.affil-metric-val { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; color: #6C3AED; margin-bottom: 2px; }
.affil-metric-lab { font-size: 11px; color: #9CA3AF; text-transform: uppercase; letter-spacing: 0.5px; }

/* ── Steps (Comment ça marche) ── */
.affil-steps { display: flex; align-items: flex-start; justify-content: center; gap: 0; }
.affil-step { background: white; border: 1px solid #E5E7EB; border-radius: 12px; padding: 32px 28px; text-align: center; flex: 1; max-width: 300px; transition: all 0.25s; position: relative; }
.affil-step:hover { border-color: rgba(108,58,237,0.2); box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-3px); }
.affil-step-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #6C3AED, #8B5CF6); color: white; font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.affil-step-icon { font-size: 36px; margin-bottom: 12px; }
.affil-step-title { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.affil-step-desc { font-size: 13px; color: #6B7280; line-height: 1.6; }
.affil-step-arrow { display: flex; align-items: center; font-size: 28px; color: #C4B5FD; font-weight: 700; padding: 0 16px; margin-top: 60px; }

/* ── Why cards ── */
.affil-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.affil-why-card { background: white; border: 1px solid #E5E7EB; border-radius: 8px; padding: 24px; transition: all 0.2s; }
.affil-why-card:hover { border-color: rgba(108,58,237,0.15); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.affil-why-icon { font-size: 24px; margin-bottom: 10px; }
.affil-why-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.affil-why-desc { font-size: 13px; color: #6B7280; line-height: 1.6; }

/* ── Commission table ── */
.affil-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid #E5E7EB; border-radius: 8px; overflow: hidden; background: white; }
.affil-table thead th { background: #1E1B4B; color: rgba(255,255,255,0.8); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; padding: 14px 20px; text-align: left; }
.affil-table tbody td { padding: 14px 20px; font-size: 14px; border-top: 1px solid #F3F4F6; }
.affil-table tbody tr:hover { background: rgba(108,58,237,0.02); }
.affil-td-product { font-weight: 600; color: #1E1B4B; }
.affil-td-commission { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: #6C3AED; font-size: 16px; }
.affil-table-note { font-size: 12px; color: #9CA3AF; text-align: center; margin-top: 16px; line-height: 1.6; }

/* ── Resources grid ── */
.affil-resources-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.affil-resource-card { background: white; border: 1px solid #E5E7EB; border-radius: 8px; padding: 24px; text-align: center; transition: all 0.2s; }
.affil-resource-card:hover { border-color: rgba(108,58,237,0.15); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.affil-resource-icon { font-size: 28px; margin-bottom: 10px; }
.affil-resource-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.affil-resource-desc { font-size: 13px; color: #6B7280; line-height: 1.6; }

/* ── FAQ ── */
.affil-faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.affil-faq-item { background: white; border-radius: 8px; border: 1px solid #E5E7EB; overflow: hidden; transition: all 0.2s; }
.affil-faq-item:hover { border-color: #C4B5FD; }
.affil-faq-q { padding: 18px 24px; font-size: 14px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; user-select: none; }
.affil-faq-chevron { font-size: 16px; color: #9CA3AF; transition: transform 0.25s; }
.affil-faq-item.open .affil-faq-chevron { transform: rotate(180deg); color: #6C3AED; }
.affil-faq-a { padding: 0 24px 18px; font-size: 13px; color: #6B7280; line-height: 1.7; display: none; }
.affil-faq-item.open .affil-faq-a { display: block; }

/* ── Form ── */
.affil-form-section { border-top: 1px solid #E5E7EB; }
.affil-form-card { max-width: 760px; margin: 0 auto; }
.affil-form-card h2 { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; margin-bottom: 4px; }
.affil-form-sub { font-size: 14px; color: #9CA3AF; margin-bottom: 28px; }
.affil-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.affil-form-field { display: flex; flex-direction: column; gap: 6px; }
.affil-form-field.affil-full { grid-column: 1 / -1; }
.affil-req { color: #EF4444; }
.affil-form-field label { font-size: 13px; font-weight: 600; color: #1E1B4B; }
.affil-form-field input,
.affil-form-field select,
.affil-form-field textarea {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #1E1B4B;
  background: #FAFAFE;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.affil-form-field input:focus,
.affil-form-field select:focus,
.affil-form-field textarea:focus {
  outline: none;
  border-color: #6C3AED;
  box-shadow: 0 0 0 3px rgba(108,58,237,0.08);
}
.affil-form-field input::placeholder,
.affil-form-field textarea::placeholder { color: #9CA3AF; }
.affil-form-field textarea { min-height: 100px; resize: vertical; }
.affil-form-consent { font-size: 12.5px; color: #9CA3AF; margin: 16px 0 20px; line-height: 1.6; }
.affil-form-consent a { color: #6C3AED; font-weight: 500; }
.affil-form-submit { width: 100%; padding: 14px; border-radius: 8px; background: linear-gradient(135deg, #6C3AED 0%, #8B5CF6 100%); color: white; font-size: 15px; font-weight: 700; border: none; cursor: pointer; transition: all 0.25s; font-family: 'Inter', sans-serif; }
.affil-form-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(108,58,237,0.3); }

/* ── Transparency ── */
.affil-transparency { max-width: 700px; margin: 0 auto; padding: 0 40px 80px; }
.affil-transparency-inner { text-align: center; padding: 12px 20px; border-radius: 100px; background: #FFF7ED; border: 1px solid #FED7AA; font-size: 12px; color: #92400E; }

/* ── Responsive affiliation ── */
@media (max-width: 1100px) {
  .affil-why-grid { grid-template-columns: 1fr 1fr; }
  .affil-resources-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-affil h1 { font-size: 36px; }
  .hero-affil { padding: 48px 24px 40px !important; }
  .affil-section { padding: 48px 24px; }
  .affil-steps { flex-direction: column; align-items: center; }
  .affil-step { max-width: 100%; width: 100%; }
  .affil-step-arrow { transform: rotate(90deg); padding: 8px 0; margin-top: 0; }
  .affil-metrics-inner { grid-template-columns: repeat(2, 1fr); }
  .affil-metric:nth-child(2) { border-right: none; }
  .affil-metric:nth-child(1),
  .affil-metric:nth-child(2) { border-bottom: 1px solid #E5E7EB; }
  .affil-why-grid { grid-template-columns: 1fr; }
  .affil-resources-grid { grid-template-columns: 1fr; }
  .affil-form-row { grid-template-columns: 1fr; }
  .affil-table { font-size: 13px; }
  .affil-table thead th,
  .affil-table tbody td { padding: 10px 14px; }
}
@media (max-width: 640px) {
  .hero-affil h1 { font-size: 28px; }
  .affil-metrics-inner { grid-template-columns: 1fr; }
  .affil-metric { border-right: none; border-bottom: 1px solid #E5E7EB; }
  .affil-metric:last-child { border-bottom: none; }
  .affil-transparency { padding: 0 16px 60px; }
}


/* ============================================================
   PAGE: PUBLICITÉ
   ============================================================ */

/* ── Sections ── */
.pub-section { padding: 64px 40px; }
.pub-section-white { background: white; }
.pub-section-inner { max-width: 1100px; margin: 0 auto; }
.pub-section-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 3px; color: #9CA3AF; text-align: center; margin-bottom: 12px; }
.pub-section-title { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; text-align: center; margin-bottom: 8px; letter-spacing: -0.5px; }
.pub-section-subtitle { font-size: 14px; color: #6B7280; text-align: center; margin-bottom: 40px; }

/* ── Metrics bar ── */
.pub-metrics-bar { background: white; border-bottom: 1px solid #E5E7EB; padding: 0 40px; }
.pub-metrics-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #E5E7EB; border-radius: 8px; overflow: hidden; }
.pub-metric { padding: 20px 24px; text-align: center; border-right: 1px solid #E5E7EB; }
.pub-metric:last-child { border-right: none; }
.pub-metric-val { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; color: #6C3AED; margin-bottom: 2px; }
.pub-metric-lab { font-size: 11px; color: #9CA3AF; text-transform: uppercase; letter-spacing: 0.5px; }

/* ── Why cards ── */
.pub-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pub-why-card { background: white; border: 1px solid #E5E7EB; border-radius: 8px; padding: 24px; transition: all 0.2s; }
.pub-why-card:hover { border-color: rgba(108,58,237,0.15); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.pub-why-icon { font-size: 24px; margin-bottom: 10px; }
.pub-why-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.pub-why-desc { font-size: 13px; color: #6B7280; line-height: 1.6; }

/* ── Format cards ── */
.pub-formats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.pub-format-card { background: white; border: 2px solid #E5E7EB; border-radius: 12px; padding: 28px; transition: all 0.25s; position: relative; display: flex; flex-direction: column; }
.pub-format-card:hover { border-color: rgba(108,58,237,0.2); box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-3px); }
.pub-format-featured { border-color: #6C3AED; box-shadow: 0 0 0 1px #6C3AED, 0 8px 32px rgba(0,0,0,0.08); }
.pub-format-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; }
.pub-format-icon { font-size: 22px; }
.pub-format-name { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 700; }
.pub-format-price { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; color: #1E1B4B; margin: 8px 0 12px; }
.pub-price-unit { font-size: 14px; font-weight: 500; color: #9CA3AF; }
.pub-format-desc { font-size: 13px; color: #6B7280; line-height: 1.6; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid #F3F4F6; }
.pub-format-features { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pub-format-feature { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #6B7280; line-height: 1.5; }
.pub-fcheck { color: #10B981; font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.pub-fbadge { padding: 3px 10px; border-radius: 100px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; white-space: nowrap; }
.pub-fbadge-pop { background: #EDE9FE; color: #6C3AED; }
.pub-fbadge-prem { background: #FFF7ED; color: #F97316; }
.pub-fbadge-vis { background: #DBEAFE; color: #3B82F6; }
.pub-fbadge-nl { background: #D1FAE5; color: #059669; }
.pub-fbadge-devis { background: #FEF3C7; color: #92400E; }
.pub-formats-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pub-formats-note { font-size: 12px; color: #9CA3AF; text-align: center; margin-top: 16px; }

/* ── Charte publicitaire ── */
.pub-charte-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pub-charte-card { background: white; border: 1px solid #E5E7EB; border-radius: 8px; padding: 24px; transition: all 0.2s; }
.pub-charte-card:hover { border-color: rgba(108,58,237,0.15); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.pub-charte-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #6C3AED, #8B5CF6); color: white; font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.pub-charte-title { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.pub-charte-desc { font-size: 13px; color: #6B7280; line-height: 1.6; }
.pub-charte-desc strong { color: #1E1B4B; }

/* ── Process ── */
.pub-process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pub-process-step { background: white; border: 1px solid #E5E7EB; border-radius: 8px; padding: 24px; transition: all 0.2s; }
.pub-process-step:hover { border-color: rgba(108,58,237,0.15); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.pub-step-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #6C3AED, #8B5CF6); color: white; font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.pub-step-title { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.pub-step-desc { font-size: 13px; color: #6B7280; line-height: 1.6; }

/* ── Form ── */
.pub-form-section { border-top: 1px solid #E5E7EB; }
.pub-form-card { max-width: 760px; margin: 0 auto; }
.pub-form-card h2 { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; margin-bottom: 4px; }
.pub-form-sub { font-size: 14px; color: #9CA3AF; margin-bottom: 28px; }
.pub-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.pub-form-field { display: flex; flex-direction: column; gap: 6px; }
.pub-form-field.pub-full { grid-column: 1 / -1; }
.pub-req { color: #EF4444; }
.pub-form-field label { font-size: 13px; font-weight: 600; color: #1E1B4B; }
.pub-form-field input,
.pub-form-field select,
.pub-form-field textarea {
  padding: 12px 16px; border-radius: 8px; border: 1px solid #E5E7EB;
  font-size: 14px; font-family: 'Inter', sans-serif; color: #1E1B4B;
  background: #FAFAFE; transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%; box-sizing: border-box;
}
.pub-form-field input:focus,
.pub-form-field select:focus,
.pub-form-field textarea:focus { outline: none; border-color: #6C3AED; box-shadow: 0 0 0 3px rgba(108,58,237,0.08); }
.pub-form-field input::placeholder,
.pub-form-field textarea::placeholder { color: #9CA3AF; }
.pub-form-field textarea { min-height: 100px; resize: vertical; }
.pub-form-consent { font-size: 12.5px; color: #9CA3AF; margin: 16px 0 20px; line-height: 1.6; }
.pub-form-consent a { color: #6C3AED; font-weight: 500; }
.pub-form-submit { width: 100%; padding: 14px; border-radius: 8px; background: linear-gradient(135deg, #6C3AED 0%, #8B5CF6 100%); color: white; font-size: 15px; font-weight: 700; border: none; cursor: pointer; transition: all 0.25s; font-family: 'Inter', sans-serif; }
.pub-form-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(108,58,237,0.3); }

/* ── Transparency ── */
.pub-transparency { max-width: 700px; margin: 0 auto; padding: 0 40px 80px; }
.pub-transparency-inner { text-align: center; padding: 12px 20px; border-radius: 100px; background: #FFF7ED; border: 1px solid #FED7AA; font-size: 12px; color: #92400E; }

/* ── Responsive publicité ── */
@media (max-width: 1100px) {
  .pub-formats-grid { grid-template-columns: 1fr 1fr; }
  .pub-why-grid { grid-template-columns: 1fr 1fr; }
  .pub-charte-grid { grid-template-columns: 1fr 1fr; }
  .pub-process-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-pub h1 { font-size: 36px; }
  .hero-pub { padding: 48px 24px 40px !important; }
  .pub-section { padding: 48px 24px; }
  .pub-formats-grid,
  .pub-formats-bottom { grid-template-columns: 1fr; }
  .pub-why-grid { grid-template-columns: 1fr; }
  .pub-charte-grid { grid-template-columns: 1fr; }
  .pub-process-steps { grid-template-columns: 1fr; }
  .pub-metrics-inner { grid-template-columns: repeat(2, 1fr); }
  .pub-metric:nth-child(2) { border-right: none; }
  .pub-metric:nth-child(1),
  .pub-metric:nth-child(2) { border-bottom: 1px solid #E5E7EB; }
  .pub-form-row { grid-template-columns: 1fr; }
  .pub-metrics-bar { padding: 0 24px; }
}
@media (max-width: 640px) {
  .hero-pub h1 { font-size: 28px; }
  .pub-metrics-inner { grid-template-columns: 1fr; }
  .pub-metric { border-right: none; border-bottom: 1px solid #E5E7EB; }
  .pub-metric:last-child { border-bottom: none; }
  .pub-transparency { padding: 0 16px 60px; }
}

/* ============================
   LEGAL PAGES (CGU, Mentions, Confidentialité, Transparence)
   Prefix: legal-*
   ============================ */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 40px 80px;
}
.legal-inner h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1F2937;
  margin: 40px 0 14px;
  letter-spacing: -0.3px;
}
.legal-inner h2:first-child {
  margin-top: 0;
}
.legal-inner h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #374151;
  margin: 28px 0 10px;
}
.legal-inner p {
  font-size: 15px;
  line-height: 1.75;
  color: #4B5563;
  margin: 0 0 14px;
}
.legal-inner ul {
  margin: 0 0 18px 20px;
  padding: 0;
}
.legal-inner ul li {
  font-size: 15px;
  line-height: 1.75;
  color: #4B5563;
  margin-bottom: 6px;
}
.legal-inner a {
  color: #6C3AED;
  text-decoration: none;
  border-bottom: 1px solid rgba(108,58,237,0.2);
  transition: border-color 0.2s;
}
.legal-inner a:hover {
  border-color: #6C3AED;
}
.legal-contact {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid #E5E7EB;
  text-align: center;
}
.legal-contact p {
  font-size: 15px;
  color: #6B7280;
}
.legal-contact a {
  color: #6C3AED;
  font-weight: 600;
}
/* Legal hero */
.hero-legal h1 {
  color: #1F2937;
}
@media (max-width: 640px) {
  .legal-content { padding: 32px 20px 60px; }
  .legal-inner h2 { font-size: 19px; margin-top: 32px; }
  .hero-legal h1 { font-size: 28px !important; }
}

/* ============================
   FOOTER — NEWP Branding
   ============================ */
.footer-newp {
  text-align: center;
  padding: 20px 2em 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-newp-link {
  display: inline-block;
  margin-bottom: 8px;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.footer-newp-link:hover {
  opacity: 1;
}
.footer-newp-logo {
  height: 28px;
  width: auto;
}
.footer-newp-text {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin: 0;
  letter-spacing: 0.2px;
}
.footer-newp-text a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.footer-newp-text a:hover {
  color: #fff;
}

/* ============================
   NEWSLETTER PAGE
   Prefix: nl-*
   ============================ */

/* Hero badge */
.nl-hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #EDE9FE, #DDD6FE);
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(108,58,237,0.12);
}

/* Icon circles for Pourquoi cards */
.nl-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.nl-icon-purple { background: #F3F0FF; }
.nl-icon-amber  { background: #FEF3C7; }
.nl-icon-green  { background: #D1FAE5; }
.nl-icon-indigo { background: #E0E7FF; }

/* Content card icon */
.nl-content-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #F5F3FF;
  border-radius: 10px;
  margin-bottom: 12px;
}

/* Stat icon */
.nl-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #F5F3FF;
  border-radius: 12px;
  margin-bottom: 10px;
}

/* CTA icon wrap */
.nl-cta-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(8px);
}

.nl-hero-form {
  max-width: 520px;
  margin: 0 auto;
}
.nl-form-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.nl-input-hero,
.nl-input-cta {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
}
.nl-input-hero:focus,
.nl-input-cta:focus {
  border-color: #6C3AED;
  box-shadow: 0 0 0 3px rgba(108,58,237,0.1);
}
.nl-btn-hero,
.nl-btn-cta {
  padding: 14px 28px;
  background: linear-gradient(135deg, #6C3AED, #7C3AED);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nl-btn-hero:hover,
.nl-btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(108,58,237,0.35);
}
.nl-form-hint {
  text-align: center;
  font-size: 13px;
  color: #9CA3AF;
  margin: 12px 0 0;
}

/* Sections */
.nl-section {
  padding: 64px 40px;
}
.nl-container {
  max-width: 1100px;
  margin: 0 auto;
}
.nl-container-sm {
  max-width: 780px;
}
.nl-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #1F2937;
  text-align: center;
  margin: 0 0 40px;
  letter-spacing: -0.5px;
}

/* Pourquoi — 4 cards */
.nl-pourquoi {
  background: #FAFAFE;
}
.nl-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.nl-why-card {
  background: #fff;
  border: 1px solid #F3F4F6;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nl-why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.nl-why-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1F2937;
  margin: 0 0 8px;
}
.nl-why-card p {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
  margin: 0;
}

/* Contenu — 5 numbered cards */
.nl-content-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.nl-content-card {
  background: #fff;
  border: 1px solid #F3F4F6;
  border-radius: 16px;
  padding: 28px 20px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nl-content-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.nl-content-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #C4B5FD;
  margin-bottom: 10px;
  line-height: 1;
}
.nl-content-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1F2937;
  margin: 0 0 8px;
}
.nl-content-card p {
  font-size: 13px;
  color: #6B7280;
  line-height: 1.6;
  margin: 0;
}

/* Stats bar */
.nl-chiffres {
  background: #FAFAFE;
}
.nl-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid #F3F4F6;
  border-radius: 16px;
  overflow: hidden;
}
.nl-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px;
  border-right: 1px solid #F3F4F6;
}
.nl-stat:last-child {
  border-right: none;
}
.nl-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #6C3AED;
  margin-bottom: 4px;
}
.nl-stat-label {
  font-size: 13px;
  color: #9CA3AF;
}

/* FAQ */
.nl-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nl-faq-item {
  background: #fff;
  border: 1px solid #F3F4F6;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.nl-faq-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.nl-faq-item summary {
  padding: 18px 24px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1F2937;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nl-faq-item summary::-webkit-details-marker { display: none; }
.nl-faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: #6C3AED;
  font-weight: 700;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
}
.nl-faq-item[open] summary::after {
  content: '−';
}
.nl-faq-item p {
  padding: 0 24px 18px;
  font-size: 14px;
  color: #6B7280;
  line-height: 1.7;
  margin: 0;
}
.nl-faq-item a {
  color: #6C3AED;
  text-decoration: none;
}

/* CTA bottom dark card */
.nl-cta-bottom {
  background: #FAFAFE;
}
.nl-cta-card {
  background: linear-gradient(135deg, #1E1B4B, #312E81);
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.nl-cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
}
.nl-cta-orb-1 {
  width: 300px; height: 300px;
  background: #6C3AED;
  top: -80px; right: -60px;
}
.nl-cta-orb-2 {
  width: 200px; height: 200px;
  background: #F97316;
  bottom: -60px; left: -40px;
}
.nl-cta-card h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  position: relative;
  z-index: 1;
}
.nl-cta-card > p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
.nl-cta-form {
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.nl-input-cta {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.nl-input-cta::placeholder {
  color: rgba(255,255,255,0.4);
}
.nl-input-cta:focus {
  border-color: #A78BFA;
  box-shadow: 0 0 0 3px rgba(167,139,250,0.2);
}
.nl-btn-cta {
  background: linear-gradient(135deg, #F97316, #EA580C);
}
.nl-btn-cta:hover {
  box-shadow: 0 6px 20px rgba(249,115,22,0.4);
}

/* Transparency */
.nl-transparency {
  padding: 0 40px 60px;
}

/* Responsive */
@media (max-width: 1100px) {
  .nl-content-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nl-why-grid { grid-template-columns: repeat(2, 1fr); }
  .nl-content-grid { grid-template-columns: repeat(2, 1fr); }
  .nl-stats-bar { grid-template-columns: repeat(2, 1fr); }
  .nl-stat:nth-child(2) { border-right: none; }
  .nl-stat:nth-child(1),
  .nl-stat:nth-child(2) { border-bottom: 1px solid #F3F4F6; }
}
@media (max-width: 640px) {
  .nl-section { padding: 48px 20px; }
  .hero-newsletter h1 { font-size: 30px !important; }
  .nl-form-row { flex-direction: column; }
  .nl-btn-hero,
  .nl-btn-cta { width: 100%; }
  .nl-why-grid { grid-template-columns: 1fr; }
  .nl-content-grid { grid-template-columns: 1fr; }
  .nl-stats-bar { grid-template-columns: 1fr; }
  .nl-stat { border-right: none; border-bottom: 1px solid #F3F4F6; }
  .nl-stat:last-child { border-bottom: none; }
  .nl-cta-card { padding: 40px 24px; }
  .nl-cta-card h2 { font-size: 22px; }
  .nl-transparency { padding: 0 16px 48px; }
}

/* ============================
   HUB PAGES — Shared Styles
   (Catégories, Tags, Glossaire, Baromètre)
   ============================ */

/* -- Layout -- */
.hub-section {
  padding: 56px 40px 72px;
}
.hub-container {
  max-width: 1200px;
  margin: 0 auto;
}
.hub-container-md {
  max-width: 900px;
}

/* -- Grid -- */
.hub-grid {
  display: grid;
  gap: 24px;
}
.hub-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* -- Cards -- */
.hub-card {
  display: block;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 32px 28px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.23,1,0.32,1);
}
.hub-card:hover {
  border-color: #8B5CF6;
  box-shadow: 0 12px 48px rgba(108,58,237,0.10);
  transform: translateY(-3px);
}
.hub-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1F2937;
  margin: 16px 0 8px;
}
.hub-card p {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
  margin: 0;
}

/* -- Card Icons -- */
.hub-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
}
.hub-icon-purple  { background: #EDE9FE; }
.hub-icon-pink    { background: #FCE7F3; }
.hub-icon-red     { background: #FEE2E2; }
.hub-icon-amber   { background: #FEF3C7; }
.hub-icon-green   { background: #D1FAE5; }
.hub-icon-indigo  { background: #E0E7FF; }
.hub-icon-orange  { background: #FFEDD5; }
.hub-icon-teal    { background: #CCFBF1; }
.hub-icon-blue    { background: #DBEAFE; }

/* ============================
   TAGS CLOUD
   ============================ */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  padding: 16px 0;
}
.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 999px;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s ease;
}
.tag-pill:hover {
  border-color: #8B5CF6;
  color: #6C3AED;
  background: #F5F3FF;
  box-shadow: 0 4px 16px rgba(108,58,237,0.10);
  transform: translateY(-2px);
}
.tag-lg { font-size: 16px; padding: 12px 28px; }
.tag-md { font-size: 14px; padding: 10px 22px; }
.tag-sm { font-size: 13px; padding: 8px 18px; }

/* ============================
   GLOSSAIRE
   ============================ */
.glossaire-alpha {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 40px;
  padding: 16px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
}
.alpha-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  color: #6C3AED;
  text-decoration: none;
  background: #F5F3FF;
  transition: all 0.2s ease;
}
.alpha-link:hover {
  background: #6C3AED;
  color: #fff;
}
.alpha-disabled {
  color: #D1D5DB;
  background: #F9FAFB;
  pointer-events: none;
}
.glossaire-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.glossaire-letter {
  font-size: 28px;
  font-weight: 800;
  color: #6C3AED;
  padding: 32px 0 12px;
  border-bottom: 2px solid #EDE9FE;
  margin-bottom: 0;
}
.glossaire-item {
  padding: 20px 0;
  border-bottom: 1px solid #F3F4F6;
}
.glossaire-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1F2937;
  margin: 0 0 6px;
}
.glossaire-item p {
  font-size: 15px;
  color: #6B7280;
  line-height: 1.65;
  margin: 0;
}

/* ============================
   BAROMÈTRE IA
   ============================ */
.baro-section {
  margin-bottom: 56px;
}
.baro-section-title {
  font-size: 26px;
  font-weight: 800;
  color: #1F2937;
  margin: 0 0 8px;
}
.baro-section-desc {
  font-size: 15px;
  color: #6B7280;
  line-height: 1.6;
  margin: 0 0 32px;
}

/* Stats Grid */
.baro-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.baro-stat-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: all 0.25s ease;
}
.baro-stat-card:hover {
  border-color: #8B5CF6;
  box-shadow: 0 8px 32px rgba(108,58,237,0.08);
  transform: translateY(-2px);
}
.baro-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 16px;
}
.baro-icon-purple { background: #EDE9FE; }
.baro-icon-green  { background: #D1FAE5; }
.baro-icon-amber  { background: #FEF3C7; }
.baro-icon-pink   { background: #FCE7F3; }
.baro-stat-value {
  font-size: 32px;
  font-weight: 800;
  color: #1F2937;
  line-height: 1.2;
  margin-bottom: 4px;
}
.baro-stat-label {
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 12px;
}
.baro-stat-trend {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}
.baro-trend-up {
  background: #D1FAE5;
  color: #059669;
}

/* Trends Grid */
.baro-trends-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.baro-trend-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.25s ease;
}
.baro-trend-card:hover {
  border-color: #8B5CF6;
  box-shadow: 0 8px 32px rgba(108,58,237,0.08);
  transform: translateY(-2px);
}
.baro-trend-num {
  font-size: 32px;
  font-weight: 800;
  color: #C4B5FD;
  margin-bottom: 8px;
}
.baro-trend-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1F2937;
  margin: 0 0 8px;
}
.baro-trend-card p {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
  margin: 0 0 16px;
}
.baro-trend-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 999px;
  background: #EDE9FE;
  color: #6C3AED;
}

/* Ranking */
.baro-ranking {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.baro-rank-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.baro-rank-pos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #EDE9FE;
  color: #6C3AED;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.baro-rank-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #F5F3FF 0%, #EDE9FE 100%);
  border-radius: 10px;
  padding: 14px 20px;
  min-width: 0;
  flex: 1;
  transition: all 0.3s ease;
}
.baro-rank-item:hover .baro-rank-bar {
  background: linear-gradient(90deg, #EDE9FE 0%, #DDD6FE 100%);
}
.baro-rank-name {
  font-size: 15px;
  font-weight: 600;
  color: #1F2937;
}
.baro-rank-pct {
  font-size: 14px;
  font-weight: 700;
  color: #6C3AED;
}

/* Update note */
.baro-update-note {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 13px;
  color: #9CA3AF;
  padding-top: 32px;
  border-top: 1px solid #F3F4F6;
}
.baro-update-note svg {
  flex-shrink: 0;
}

/* ============================
   HUB PAGES — Responsive
   ============================ */
@media (max-width: 900px) {
  .hub-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .baro-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .baro-trends-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hub-section { padding: 40px 20px 56px; }
  .hub-grid-3 { grid-template-columns: 1fr; }
  .baro-stats-grid { grid-template-columns: 1fr; }
  .baro-trends-grid { grid-template-columns: 1fr; }
  .baro-stat-value { font-size: 26px; }
  .baro-section-title { font-size: 22px; }
  .tags-cloud { gap: 10px; }
  .tag-lg { font-size: 14px; padding: 10px 22px; }
  .glossaire-alpha { gap: 4px; padding: 12px; }
  .alpha-link { width: 32px; height: 32px; font-size: 12px; }
}

/* ============================
   VOTE BUTTON COMPONENT
   ============================ */
.cia-vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid #E5E7EB;
  background: #fff;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #6C3AED;
  transition: all 0.2s;
}
.cia-vote-btn:hover {
  border-color: #6C3AED;
  background: #F5F3FF;
  box-shadow: 0 2px 8px rgba(108,58,237,0.15);
  transform: translateY(-1px);
}
.cia-vote-btn.cia-vote-done {
  border-color: #10B981;
  color: #10B981;
  background: rgba(16,185,129,0.06);
  pointer-events: none;
}
.cia-vote-btn.cia-vote-done svg { stroke: #10B981; }
.cia-vote-btn.cia-vote-loading { opacity: 0.6; pointer-events: none; }
.cia-vote-count {
  background: #F5F3FF;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
  color: #7C3AED;
}
.cia-vote-done .cia-vote-count {
  background: rgba(16,185,129,0.08);
  color: #10B981;
}

/* ============================
   UNIFORM TOOL CARD
   Standardizes cards across all pages
   ============================ */
.tool-card,
.cia-tool-card-mini,
.wp-block-query .wp-block-group.tool-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  background: #fff;
  padding: 24px;
  transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}
.tool-card:hover,
.cia-tool-card-mini:hover {
  border-color: #8B5CF6;
  box-shadow: 0 8px 32px rgba(108,58,237,0.10);
  transform: translateY(-2px);
}
/* Ensure cards in grids are equal height */
.wp-block-post-template.is-layout-grid { align-items: stretch; }
.wp-block-post-template.is-layout-grid > li { display: flex; }
.wp-block-post-template.is-layout-grid > li > .tool-card { flex: 1; }

/* ============================
   IA ALÉATOIRE ANIMATION
   ============================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.cia-random-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(108,58,237,0.4) !important;
}
.cia-random-loading {
  opacity: 0.7;
  pointer-events: none;
}

/* ============================
   TUTOS IA — How-to Section
   (on single outil_ia pages)
   ============================ */
.cia-tutos-section {
  margin-top: 48px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(108,58,237,0.03), rgba(249,115,22,0.02));
  border: 1px solid rgba(108,58,237,0.1);
  border-radius: 16px;
}
.cia-tutos-header { margin-bottom: 24px; }
.cia-tutos-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(108,58,237,0.08);
  color: #6C3AED;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
.cia-tutos-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #1E1B4B;
  margin: 0 0 6px;
}
.cia-tutos-subtitle {
  font-size: 14px;
  color: #6B7280;
  margin: 0;
}
.cia-tutos-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cia-tuto-card {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}
/* hover handled by .cia-ucard */
.cia-tuto-card-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(108,58,237,0.06);
  border-radius: 12px;
}
.cia-tuto-card-content { flex: 1; min-width: 0; }
.cia-tuto-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.cia-tuto-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
}
.cia-tuto-duration {
  font-size: 11px;
  color: #9CA3AF;
}
.cia-tuto-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #1E1B4B;
  margin: 0 0 2px;
}
.cia-tuto-card-excerpt {
  font-size: 13px;
  color: #6B7280;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cia-tuto-card-arrow {
  font-size: 18px;
  color: #6C3AED;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s;
}
.cia-tuto-card:hover .cia-tuto-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Tuto listing grid (for /tutos-ia/ page) */
.cia-tutos-listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.cia-tuto-listing-card {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}
/* hover handled by .cia-ucard */
.cia-tuto-listing-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid #E5E7EB;
  flex-shrink: 0;
}
.cia-tuto-listing-content { flex: 1; min-width: 0; }
.cia-tuto-listing-type {
  font-size: 11px;
  font-weight: 700;
  color: #6C3AED;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.cia-tuto-listing-title {
  font-size: 15px;
  font-weight: 600;
  color: #1E1B4B;
  margin: 0 0 4px;
}
.cia-tuto-listing-tool {
  font-size: 12px;
  color: #9CA3AF;
  margin-bottom: 6px;
}
.cia-tuto-listing-meta {
  font-size: 12px;
  color: #6B7280;
}

/* Single tuto page */
.single-tuto-main { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.cia-tuto-hero {
  padding: 60px 20px 40px;
  text-align: center;
  background: linear-gradient(180deg, #EDE9FE 0%, #F5F3FF 30%, #FAFAFE 70%, #F8F7FF 100%);
  margin-bottom: 40px;
}
.cia-tuto-hero-inner { max-width: 800px; margin: 0 auto; }
.cia-tuto-hero-tool {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(108,58,237,0.08);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #6C3AED;
  text-decoration: none;
  margin-bottom: 16px;
}
.cia-tuto-hero-tool img {
  width: 20px; height: 20px; border-radius: 6px; object-fit: cover;
}
.cia-tuto-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #1E1B4B;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}
.cia-tuto-hero-meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 13px;
  color: #6B7280;
}
.cia-tuto-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.cia-tuto-step-anchor { scroll-margin-top: 80px; }

/* Child links (on outil pages) — "Tout savoir sur X" */
.cia-child-links {
  margin-top: 40px;
  padding: 28px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.cia-child-links-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1E1B4B;
  margin: 0 0 16px;
}
.cia-child-links-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cia-child-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #FAFAFE;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
}
.cia-child-link:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(108,58,237,0.08);
  transform: translateX(4px);
}
.cia-child-link-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.cia-child-link-label {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: #1E1B4B;
}
.cia-child-link-arrow {
  font-size: 16px;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s;
}
.cia-child-link:hover .cia-child-link-arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .cia-tutos-listing-grid { grid-template-columns: 1fr; }
  .cia-tuto-hero h1 { font-size: 26px; }
  .cia-tuto-card { flex-direction: column; align-items: flex-start; }
  .cia-tuto-card-arrow { display: none; }
  .cia-child-link-arrow { display: none; }
}

/* ============================
   COCON SÉMANTIQUE — Cross-linking CTA section
   ============================ */
.cia-cocon-section {
  max-width: 1200px;
  margin: 48px auto;
  padding: 0 40px;
}
.cia-cocon-header {
  text-align: center;
  margin-bottom: 24px;
}
.cia-cocon-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #9B97AD;
  margin-bottom: 8px;
}
.cia-cocon-title {
  font-size: 24px;
  font-weight: 700;
  color: #1E1B2E;
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
}
.cia-cocon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.cia-cocon-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}
.cia-cocon-card:hover {
  border-color: #8B5CF6;
  box-shadow: 0 8px 24px rgba(108,58,237,0.08);
  transform: translateY(-2px);
}
.cia-cocon-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.cia-cocon-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cia-cocon-type {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.cia-cocon-label {
  font-size: 14px;
  font-weight: 600;
  color: #1E1B4B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cia-cocon-arrow {
  font-size: 18px;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.25s;
}
.cia-cocon-card:hover .cia-cocon-arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .cia-cocon-section { padding: 0 20px; margin: 32px auto; }
  .cia-cocon-grid { grid-template-columns: 1fr; }
  .cia-cocon-title { font-size: 20px; }
  .cia-cocon-arrow { display: none; }
}
@media (max-width: 480px) {
  .cia-cocon-card { padding: 12px 14px; gap: 10px; }
  .cia-cocon-icon { width: 36px; height: 36px; font-size: 16px; }
  .cia-cocon-label { font-size: 13px; }
}


/* ============================
   TUTO CTA BUTTONS (on outil_ia pages, after FAQ)
   ============================ */
.cia-tuto-cta-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px 48px;
}
.cia-tuto-cta-badge {
  font-size: 12px;
  font-weight: 600;
  color: #6C3AED;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.cia-tuto-cta-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1E1B4B;
  margin: 0 0 20px;
}
.cia-tuto-cta-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cia-tuto-cta-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border: 2px solid;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}
.cia-tuto-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(108,58,237,0.12);
}
.cia-tuto-cta-icon {
  font-size: 24px;
  flex-shrink: 0;
}
.cia-tuto-cta-label {
  font-size: 16px;
  font-weight: 700;
  flex: 1;
}
.cia-tuto-cta-arrow {
  font-size: 20px;
  flex-shrink: 0;
  opacity: 0.6;
  transition: all 0.2s;
}
.cia-tuto-cta-btn:hover .cia-tuto-cta-arrow {
  opacity: 1;
  transform: translateX(4px);
}


/* ============================
   TUTO DETAIL PAGE — Full redesign
   ============================ */

/* --- Hero (NEW — from the_content filter) --- */
.tuto-hero {
  background: linear-gradient(180deg, #EDE9FE 0%, #F5F3FF 50%, #FAFAFE 100%);
  padding: 48px 40px 40px;
  position: relative;
  overflow: hidden;
}
.tuto-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.tuto-hero-tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(108,58,237,0.15);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: #6C3AED;
  text-decoration: none;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
}
.tuto-hero-tool-badge:hover {
  background: #fff;
  border-color: #6C3AED;
  box-shadow: 0 4px 12px rgba(108,58,237,0.1);
}
.tuto-hero-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(108,58,237,0.15);
  border: 1px solid rgba(139,92,246,0.25);
  font-size: 12px;
  font-weight: 500;
  color: #6C3AED;
}
.tuto-hero-title {
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: #1E1B2E;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 16px 0;
  background: linear-gradient(135deg, #6C3AED 0%, #4C1D95 50%, #F97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tuto-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tuto-hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
}

/* --- Layout 2 columns --- */
.tuto-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.tuto-content {
  min-width: 0;
}

/* --- Content typography --- */
.tuto-content p {
  font-size: 15px;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 16px;
}
.tuto-content ul, .tuto-content ol {
  font-size: 15px;
  line-height: 1.8;
  color: #374151;
  padding-left: 24px;
  margin-bottom: 16px;
}
.tuto-content ul li { list-style: disc; margin-bottom: 6px; }
.tuto-content a { color: #6C3AED; text-decoration: underline; text-underline-offset: 2px; }
.tuto-content a:hover { color: #4C1D95; }

/* --- H2 section headers --- */
.tuto-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #1E1B4B;
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #EDE9FE;
}

/* --- Step cards --- */
.tuto-step-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 32px 0 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(108,58,237,0.04) 0%, rgba(249,115,22,0.03) 100%);
  border: 1px solid rgba(108,58,237,0.12);
  border-radius: 14px;
  scroll-margin-top: 100px;
}
.tuto-step-number {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6C3AED, #8B5CF6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  flex-shrink: 0;
}
.tuto-step-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1E1B4B;
  margin: 0;
}

/* --- Section headings (non-step H3) --- */
.tuto-section-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1E1B4B;
  margin: 32px 0 12px;
  padding-left: 14px;
  border-left: 3px solid #F97316;
}

/* --- Sidebar --- */
.tuto-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tuto-sidebar-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 24px;
}
.tuto-sidebar-tool {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #F3F4F6;
}
.tuto-sidebar-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
}
.tuto-sidebar-toolname {
  font-size: 16px;
  font-weight: 700;
  color: #1E1B4B;
}
.tuto-sidebar-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.tuto-sidebar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tuto-sidebar-label {
  font-size: 13px;
  color: #6B7280;
}
.tuto-sidebar-value {
  font-size: 13px;
  font-weight: 700;
  color: #1E1B4B;
}
.tuto-sidebar-btn-primary {
  display: block;
  text-align: center;
  padding: 12px;
  background: linear-gradient(135deg, #6C3AED, #8B5CF6);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  margin-bottom: 10px;
  transition: all 0.2s;
}
.tuto-sidebar-btn-primary:hover {
  box-shadow: 0 6px 20px rgba(108,58,237,0.3);
  transform: translateY(-1px);
}
.tuto-sidebar-btn-outline {
  display: block;
  text-align: center;
  padding: 10px;
  background: #fff;
  color: #6C3AED;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid rgba(108,58,237,0.2);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
}
.tuto-sidebar-btn-outline:hover {
  border-color: #6C3AED;
  background: rgba(108,58,237,0.04);
}

/* --- TOC (table of contents) --- */
.tuto-toc-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1E1B4B;
  margin: 0 0 14px;
}
.tuto-toc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  transition: all 0.15s;
}
.tuto-toc-link:hover {
  background: rgba(108,58,237,0.06);
  color: #6C3AED;
}
.tuto-toc-num {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #EDE9FE;
  color: #6C3AED;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .tuto-layout {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
  .tuto-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .tuto-sidebar-card { flex: 1; min-width: 280px; }
}
@media (max-width: 768px) {
  .tuto-hero { padding: 32px 20px 28px; }
  .tuto-hero-title { font-size: 26px; }
  .tuto-layout { padding: 24px 16px; gap: 24px; }
  .tuto-step-header { padding: 12px 14px; gap: 10px; }
  .tuto-step-number { width: 32px; height: 32px; font-size: 15px; }
  .tuto-step-title { font-size: 16px; }
  .cia-tuto-cta-section { padding: 0 20px 32px; }
  .cia-tuto-cta-btn { padding: 14px 18px; }
}
@media (max-width: 480px) {
  .tuto-hero-title { font-size: 22px; }
  .tuto-sidebar { flex-direction: column; }
  .tuto-sidebar-card { min-width: auto; }
}
