/*
Theme Name: GeneratePress Child
Template: generatepress
Version: 1.0
*/
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Source+Sans+3:wght@400;600&display=swap');

  :root {
    --navy: #1B2C45;
    --gold: #C9A84C;
    --gold-light: #F5EDD6;
    --gray-100: #F7F8FA;
    --gray-200: #E8EAF0;
    --gray-600: #5A6478;
    --text: #1E2433;
    --green: #1E6B45;
    --green-bg: #EAF5EE;
    --radius: 10px;
    --shadow: 0 2px 16px rgba(27,44,69,.09);
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  body {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 17px;
    color: var(--text);
    background: #fff;
    line-height: 1.75;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px 60px;
  }

  /* ── HERO ── */
  .hero {
    background: linear-gradient(135deg, var(--navy) 0%, #2E4A72 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 48px 40px 40px;
    margin: 32px 0 40px;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 240px; height: 240px;
    border-radius: 50%;
    background: rgba(201,168,76,.12);
  }
  .hero-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
  }
  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.25;
    margin-bottom: 16px;
    color: #fff;
  }
  .hero-meta {
    font-size: 13px;
    color: rgba(255,255,255,.65);
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  .hero-summary {
    font-size: 16px;
    color: rgba(255,255,255,.88);
    border-left: 3px solid var(--gold);
    padding-left: 16px;
    line-height: 1.65;
  }

  /* ── SOMMAIRE ── */
  .toc {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-bottom: 40px;
  }
  .toc-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gray-600);
    margin-bottom: 12px;
  }
  .toc ol { padding-left: 20px; }
  .toc li { margin-bottom: 6px; }
  .toc a { color: var(--navy); font-size: 15px; text-decoration: none; }
  .toc a:hover { color: var(--gold); text-decoration: underline; }

  /* ── TYPOGRAPHY ── */
  h2 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    color: var(--navy);
    margin: 48px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold-light);
  }
  h3 {
    font-size: 19px;
    font-weight: 600;
    color: var(--navy);
    margin: 32px 0 12px;
  }
  p { margin-bottom: 16px; }
  strong { font-weight: 600; color: var(--navy); }

  /* ── SÉLECTION RAPIDE ── */
  .quick-pick {
    background: var(--green-bg);
    border: 1px solid #B7DFC8;
    border-left: 4px solid var(--green);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 0 0 40px;
  }
  .quick-pick-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 10px;
  }
  .quick-pick-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid #D1EDDB;
  }
  .quick-pick-item:last-child { border-bottom: none; }
  .qp-rank {
    background: var(--green);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    width: 24px; height: 24px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .qp-info { flex: 1; font-size: 15px; }
  .qp-name { font-weight: 600; color: var(--navy); }
  .qp-sub { font-size: 13px; color: var(--gray-600); }
  .btn-amazon {
    display: inline-block;
    background: #FF9900;
    color: #111;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: center;
    transition: background .15s;
  }
  .btn-amazon:hover { background: #E68A00; }

  /* ── TABLEAU COMPARATIF ── */
  .table-wrapper { overflow-x: auto; margin: 24px 0 36px; border-radius: var(--radius); box-shadow: var(--shadow); }
  table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
  thead { background: var(--navy); color: #fff; }
  thead th {
    padding: 12px 14px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
  tbody tr:nth-child(even) { background: var(--gray-100); }
  tbody tr:hover { background: var(--gold-light); }
  tbody td { padding: 11px 14px; border-bottom: 1px solid var(--gray-200); vertical-align: middle; }
  .winner-row { background: #FFFBEE !important; }
  .winner-row td:first-child { border-left: 3px solid var(--gold); }
  .badge-gold {
    background: var(--gold);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
    letter-spacing: .04em;
  }
  .stars { color: #F5A623; font-size: 13px; }
  .note { font-weight: 600; color: var(--navy); }

  /* ── CARDS PRODUITS ── */
  .product-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 28px 0;
    box-shadow: var(--shadow);
    transition: box-shadow .2s;
  }
  .product-card:hover { box-shadow: 0 6px 28px rgba(27,44,69,.14); }
  .product-card.top { border-top: 3px solid var(--gold); }
  .card-header {
    background: var(--gray-100);
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
  }
  .card-rank {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gray-600);
    margin-bottom: 4px;
  }
  .card-name {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--navy);
  }
  .card-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
  }
  .card-price span { font-size: 14px; font-weight: 400; color: var(--gray-600); }
  .card-body { padding: 20px 24px; }
  .specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin: 16px 0 20px;
  }
  .spec {
    background: var(--gray-100);
    border-radius: 8px;
    padding: 10px 14px;
  }
  .spec-label { font-size: 11px; color: var(--gray-600); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
  .spec-value { font-size: 15px; font-weight: 600; color: var(--navy); }
  .pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 16px 0;
  }
  @media (max-width: 540px) { .pros-cons { grid-template-columns: 1fr; } }
  .pros, .cons {
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 14px;
  }
  .pros { background: var(--green-bg); border: 1px solid #B7DFC8; }
  .cons { background: #FEF0EE; border: 1px solid #F5BDBA; }
  .pros-title { font-weight: 600; color: var(--green); margin-bottom: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
  .cons-title { font-weight: 600; color: #C0392B; margin-bottom: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
  .pros ul, .cons ul { padding-left: 16px; }
  .pros li, .cons li { margin-bottom: 5px; line-height: 1.5; }
  .card-verdict {
    background: var(--gold-light);
    border-left: 4px solid var(--gold);
    border-radius: 0 8px 8px 0;
    padding: 12px 16px;
    font-size: 14.5px;
    margin-top: 16px;
  }
  .card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }
  .btn-amazon-lg {
    display: inline-block;
    background: #FF9900;
    color: #111;
    font-size: 15px;
    font-weight: 700;
    padding: 11px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .15s;
  }
  .btn-amazon-lg:hover { background: #E68A00; }

  /* ── PROFILS ── */
  .profiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 24px 0;
  }
  .profile-card {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 18px 20px;
  }
  .profile-icon { font-size: 28px; margin-bottom: 8px; }
  .profile-title { font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: 16px; }
  .profile-desc { font-size: 14px; color: var(--gray-600); line-height: 1.55; }

  /* ── FAQ ── */
  .faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
  }
  .faq-q {
    background: var(--gray-100);
    padding: 16px 20px;
    font-weight: 600;
    font-size: 16px;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    list-style: none;
  }
  .faq-q::after { content: '+'; font-size: 20px; color: var(--gold); flex-shrink: 0; }
  details[open] .faq-q::after { content: '−'; }
  .faq-a {
    padding: 16px 20px;
    font-size: 15.5px;
    line-height: 1.7;
    border-top: 1px solid var(--gray-200);
  }

  /* ── CONCLUSION ── */
  .conclusion {
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius);
    padding: 36px 40px;
    margin-top: 48px;
  }
  .conclusion h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--gold);
    border: none;
    margin: 0 0 16px;
    padding: 0;
  }
  .conclusion p { color: rgba(255,255,255,.88); margin-bottom: 12px; }
  .conclusion strong { color: #fff; }

  /* ── INFO BOX ── */
  .info-box {
    background: #EEF4FF;
    border: 1px solid #BDD0F7;
    border-left: 4px solid #3B6FD4;
    border-radius: var(--radius);
    padding: 18px 22px;
    margin: 24px 0;
    font-size: 15px;
  }
  .info-box strong { color: #1E40AF; }

  /* ── AFFILIATE DISCLOSURE ── */
  .disclosure {
    font-size: 12px;
    color: var(--gray-600);
    background: var(--gray-100);
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 32px;
    line-height: 1.5;
  }

/* Paragraphe SEO invisible — visible pour RankMath, caché pour l'utilisateur */
.rankmath-seo-intro {
    display: none;
}
