/*
================================================================================
    Application:  AdegaReview
    Version    :  1.0 - assets/css/adega.css
    Author     :  Pixel Marketing Digital
    Description:  Estilos globais, variaveis CSS da paleta e classes utilitarias.
                  Importado em todos os templates via <link> no header.cfm.

    Estrutura:
        1.  Variaveis CSS (paleta de cores + tipografia + espacamento)
        2.  Reset e base
        3.  Tipografia
        4.  Layout e containers
        5.  Header
        6.  Footer
        7.  Componentes — Botoes
        8.  Componentes — Badges e Labels
        9.  Componentes — Cards
        10. Componentes — Tabela de Ranking
        11. Componentes — Score Bars
        12. Componentes — FAQ / Accordion
        13. Componentes — Formularios
        14. Utilitarios de cor (forcados com !important)
        15. Scrollbar customizada
        16. Animacoes
        17. Grain texture overlay
        18. Responsivo

    Changelog v1.0:
    - Criacao do arquivo

    (c) Copyright 2026 by Pixel Marketing Digital. All rights reserved.
================================================================================
*/


/* ════════════════════════════════════════════════════════════════════
   1. VARIAVEIS CSS
   ════════════════════════════════════════════════════════════════════ */

:root {

    /* Paleta principal */
    --wine-deeper:  #1a0409;    /* fundo header / footer */
    --wine-dark:    #2d0812;    /* fundo secundario escuro */
    --wine:         #4a0e1f;    /* cor principal do texto */
    --burgundy:     #6b1127;    /* acento / badges */
    --burgundy-mid: #8e1530;    /* variante media */

    /* Dourado */
    --gold:         #c9a84c;    /* destaque dourado principal */
    --gold-light:   #e8d5a3;    /* dourado claro / hover */
    --gold-dark:    #9d7c2e;    /* dourado escuro / labels */

    /* Creme */
    --cream:        #f5efe6;    /* texto sobre fundo escuro */
    --cream-light:  #faf6f1;    /* background geral das paginas */
    --cream-warm:   #ede5d8;    /* background de cards e secoes */
    --cream-dark:   #d6c9b8;    /* bordas e divisores */

    /* Estado */
    --success:      #16a34a;
    --danger:       #dc2626;
    --warning:      #f59e0b;

    /* Tipografia */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'DM Sans', Arial, sans-serif;
    --font-mono:    'DM Mono', 'Courier New', monospace;

    /* Tamanhos de fonte */
    --text-xs:      11px;
    --text-sm:      13px;
    --text-base:    15px;
    --text-md:      17px;
    --text-lg:      20px;
    --text-xl:      24px;
    --text-2xl:     30px;
    --text-3xl:     36px;
    --text-hero:    clamp(2.2rem, 6vw, 4.5rem);

    /* Espacamento */
    --space-xs:     4px;
    --space-sm:     8px;
    --space-md:     16px;
    --space-lg:     24px;
    --space-xl:     40px;
    --space-2xl:    64px;

    /* Bordas */
    --radius-sm:    8px;
    --radius-md:    12px;
    --radius-lg:    20px;
    --radius-xl:    28px;
    --radius-2xl:   40px;

    /* Sombras */
    --shadow-sm:    0 2px 8px  rgba(74, 14, 31, 0.06);
    --shadow-md:    0 4px 20px rgba(74, 14, 31, 0.10);
    --shadow-lg:    0 8px 40px rgba(74, 14, 31, 0.14);
    --shadow-xl:    0 16px 60px rgba(74, 14, 31, 0.18);

    /* Transicao padrao */
    --transition:   0.22s ease;
}


/* ════════════════════════════════════════════════════════════════════
   2. RESET E BASE
   ════════════════════════════════════════════════════════════════════ */

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

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

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.75;
    background-color: var(--cream-light);
    color: var(--wine);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition), opacity var(--transition);
}

ul, ol {
    list-style: none;
}


/* ════════════════════════════════════════════════════════════════════
   3. TIPOGRAFIA
   ════════════════════════════════════════════════════════════════════ */

.font-display {
    font-family: var(--font-display);
}

.font-body {
    font-family: var(--font-body);
}

.font-mono {
    font-family: var(--font-mono);
}

/* Hierarquia de titulos */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 900;
    font-style: italic;
    line-height: 1.15;
    color: var(--wine);
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl);  }
h4 { font-size: var(--text-lg);  }
h5 { font-size: var(--text-md);  }
h6 { font-size: var(--text-base);}

/* Section label — pequeno label dourado acima dos titulos */
.section-label {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 900;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-dark);
    display: block;
    margin-bottom: var(--space-sm);
}

/* Destaque dourado no titulo */
.text-gold {
    color: var(--gold);
}

/* Gold underline */
.gold-underline {
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 7px;
    text-decoration-thickness: 3px;
}

/* Stamp tag — AR logo e badges de lab */
.stamp {
    border: 2px dashed var(--gold);
    border-radius: var(--radius-sm);
    display: inline-block;
    padding: 2px 10px;
    color: var(--gold);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}


/* ════════════════════════════════════════════════════════════════════
   4. LAYOUT E CONTAINERS
   ════════════════════════════════════════════════════════════════════ */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-sm {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-2xl) 0;
}

/* Grid de 2 colunas */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

/* Grid de 3 colunas */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

/* Layout sidebar + conteudo (review detalhado) */
.layout-review {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-2xl);
    align-items: start;
}

.sidebar-sticky {
    position: sticky;
    top: 96px;
}


/* ════════════════════════════════════════════════════════════════════
   5. HEADER
   ════════════════════════════════════════════════════════════════════ */

.site-header {
    background: var(--wine-deeper);
    color: var(--cream);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
    border-bottom: 1px solid rgba(201,168,76,0.15);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-mark {
    border: 2px dashed var(--gold);
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    font-family: var(--font-display);
    font-weight: 900;
    font-style: italic;
    color: var(--gold);
    font-size: 18px;
    line-height: 1;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 900;
    font-style: italic;
    font-size: 22px;
    text-transform: uppercase;
    color: var(--cream);
    letter-spacing: -0.01em;
}

.logo-text span {
    color: var(--gold);
}

/* Nav principal */
.site-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.site-nav a {
    color: var(--cream-warm);
    position: relative;
    padding-bottom: 4px;
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}

.site-nav a:hover,
.site-nav a.ativo {
    color: var(--gold-light);
}

.site-nav a:hover::after,
.site-nav a.ativo::after {
    width: 100%;
}

/* Botao Top 2026 no nav */
.nav-cta {
    color: var(--gold) !important;
    border: 1px solid rgba(157,124,46,0.6);
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition) !important;
}

.nav-cta:hover {
    background: var(--gold);
    color: var(--wine-dark) !important;
}

.nav-cta::after {
    display: none !important;
}


/* ════════════════════════════════════════════════════════════════════
   6. FOOTER — estilos complementares ao footer.cfm inline
   ════════════════════════════════════════════════════════════════════ */

.site-footer {
    background: var(--wine-deeper);
    border-top: 1px solid rgba(201,168,76,0.12);
    font-family: var(--font-body);
}

.footer-gold-bar {
    height: 3px;
    background: linear-gradient(90deg,
        var(--wine-deeper),
        var(--gold) 30%,
        var(--gold-light) 50%,
        var(--gold) 70%,
        var(--wine-deeper)
    );
}


/* ════════════════════════════════════════════════════════════════════
   7. COMPONENTES — BOTOES
   ════════════════════════════════════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: var(--text-sm);
    padding: 14px 32px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.97);
}

/* Primario — dourado */
.btn-primary {
    background: var(--gold);
    color: var(--wine-deeper);
    box-shadow: 0 6px 24px rgba(201,168,76,0.3);
}

.btn-primary:hover {
    background: var(--gold-light);
    box-shadow: 0 8px 32px rgba(201,168,76,0.4);
    transform: translateY(-2px);
    color: var(--wine-deeper);
}

/* Secundario — branco */
.btn-secondary {
    background: #ffffff;
    color: var(--wine);
    border: 2px solid #ffffff;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--cream-warm);
    color: var(--wine);
}

/* Outline dourado */
.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--wine-deeper);
}

/* Amazon */
.btn-amazon {
    background: #FF9900;
    color: #ffffff;
    font-style: italic;
}

.btn-amazon:hover {
    background: #e08800;
    color: #ffffff;
}

/* Mercado Livre */
.btn-ml {
    background: #FFE600;
    color: #2D3277;
    border: 1px solid #e6cf00;
}

.btn-ml:hover {
    background: #f0d800;
    color: #2D3277;
}

/* Tamanhos */
.btn-sm {
    padding: 10px 20px;
    font-size: var(--text-xs);
}

.btn-lg {
    padding: 18px 44px;
    font-size: var(--text-base);
}


/* ════════════════════════════════════════════════════════════════════
   8. COMPONENTES — BADGES E LABELS
   ════════════════════════════════════════════════════════════════════ */

.badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 5px 14px;
    border-radius: 99px;
}

.badge-wine {
    background: rgba(74,14,31,0.1);
    color: var(--wine);
    border: 1px solid rgba(74,14,31,0.15);
}

.badge-gold {
    background: var(--gold);
    color: var(--wine-deeper);
    border: 1px solid var(--gold-dark);
}

.badge-gold-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.badge-burgundy {
    background: rgba(107,17,39,0.12);
    color: var(--burgundy);
    border: 1px solid rgba(107,17,39,0.2);
}

/* Badge de lab — "LAB TEST VERIFICADO" */
.badge-lab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(107,17,39,0.08);
    border: 1px solid rgba(107,17,39,0.15);
    border-radius: var(--radius-sm);
    padding: 5px 12px;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--burgundy);
    cursor: default;
}

.badge-lab .pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--burgundy);
    border-radius: 50%;
    animation: pulse-soft 2.4s infinite;
}


/* ════════════════════════════════════════════════════════════════════
   9. COMPONENTES — CARDS
   ════════════════════════════════════════════════════════════════════ */

.card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--cream-dark);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    overflow: hidden;
}

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

.card-wine {
    background: var(--wine);
    color: var(--cream);
    border-color: transparent;
}

.card-cream {
    background: var(--cream-warm);
    border-color: var(--cream-dark);
}

/* Card de score (sidebar do review) */
.score-card {
    background: var(--wine);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.score-card-header {
    background: linear-gradient(90deg, var(--wine-deeper), var(--burgundy));
    padding: 18px 28px;
    border-bottom: 1px solid rgba(201,168,76,0.2);
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 900;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
}

.score-card-body {
    padding: 28px;
}

/* Nota geral em destaque */
.score-overall {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 20px;
}

.score-overall-value {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 58px;
    color: var(--gold);
    line-height: 1;
    display: block;
}

.score-overall-label {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: rgba(237,229,216,0.45);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    display: block;
    margin-bottom: 6px;
}

.score-overall-total {
    font-size: var(--text-sm);
    color: rgba(237,229,216,0.4);
    font-family: var(--font-body);
}

/* Pull quote */
.pull-quote {
    border-left: 4px solid var(--gold);
    background: linear-gradient(135deg, var(--wine-deeper) 0%, var(--burgundy) 100%);
    padding: 28px 32px;
    border-radius: var(--radius-lg);
}

.pull-quote blockquote {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-style: italic;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.5;
    margin: 0;
}

.pull-quote cite {
    display: block;
    margin-top: 14px;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    font-style: normal;
}


/* ════════════════════════════════════════════════════════════════════
   10. COMPONENTES — TABELA DE RANKING
   ════════════════════════════════════════════════════════════════════ */

.ranking-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--cream-light);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(214,201,184,0.3);
}

.ranking-table thead tr {
    background: rgba(237,229,216,0.6);
    border-bottom: 1px solid rgba(214,201,184,0.3);
}

.ranking-table th {
    padding: 20px 28px;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 900;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(74,14,31,0.55);
    text-align: left;
}

.ranking-table th:last-child {
    text-align: right;
}

.ranking-table td {
    padding: 24px 28px;
    border-bottom: 1px solid rgba(214,201,184,0.2);
    vertical-align: middle;
}

.ranking-table tbody tr {
    transition: background var(--transition);
}

.ranking-table tbody tr:hover {
    background: rgba(237,229,216,0.5);
}

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

/* Linha de destaque (custo-beneficio) */
.ranking-table tbody tr.destaque {
    background: linear-gradient(90deg, #fdf2f4 0%, var(--cream-light) 100%);
}

/* Produto na tabela */
.produto-nome {
    font-family: var(--font-display);
    font-weight: 900;
    font-style: italic;
    font-size: var(--text-lg);
    color: var(--wine);
    display: block;
    line-height: 1.2;
    margin-bottom: 8px;
}

/* Icone do produto */
.produto-icon {
    width: 72px;
    height: 72px;
    background: var(--cream-warm);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    transition: border-color var(--transition);
    flex-shrink: 0;
}

.ranking-table tbody tr:hover .produto-icon {
    border-color: var(--gold);
}


/* ════════════════════════════════════════════════════════════════════
   11. COMPONENTES — SCORE BARS
   ════════════════════════════════════════════════════════════════════ */

.score-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.score-row-label {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cream-warm);
}

.score-row-value {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: var(--text-sm);
    color: var(--gold);
}

.score-bar-track {
    height: 6px;
    width: 100%;
    background: rgba(255,255,255,0.1);
    border-radius: 99px;
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    border-radius: 99px;
    animation: grow-bar 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Stars rating */
.stars {
    display: inline-flex;
    gap: 2px;
    color: var(--gold);
    font-size: var(--text-xs);
}

.stars-count {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    color: rgba(74,14,31,0.4);
    letter-spacing: 0.08em;
    margin-left: 6px;
}


/* ════════════════════════════════════════════════════════════════════
   12. COMPONENTES — FAQ / ACCORDION
   ════════════════════════════════════════════════════════════════════ */

.faq-item {
    border-bottom: 1px solid var(--cream-dark);
    padding-bottom: 20px;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(74,14,31,0.85);
    padding: 4px 0;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    background: var(--cream-warm);
    padding: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

details[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-body {
    margin-top: 14px;
    font-size: var(--text-base);
    color: rgba(74,14,31,0.65);
    line-height: 1.8;
    font-family: var(--font-body);
}


/* ════════════════════════════════════════════════════════════════════
   13. COMPONENTES — FORMULARIOS
   ════════════════════════════════════════════════════════════════════ */

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: var(--space-md);
}

.form-label {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--wine);
}

.form-input {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--wine);
    background: var(--cream-light);
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    width: 100%;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input::placeholder {
    color: rgba(74,14,31,0.35);
}

.form-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

/* Newsletter inline form */
.newsletter-form {
    display: flex;
    gap: 10px;
    background: rgba(0,0,0,0.2);
    padding: 8px;
    border-radius: var(--radius-lg);
    max-width: 520px;
    margin: 0 auto;
}

.newsletter-form .form-input {
    flex: 1;
    background: var(--cream-light);
    border: none;
    border-radius: var(--radius-md);
}

.newsletter-form .form-input:focus {
    box-shadow: 0 0 0 3px rgba(201,168,76,0.2);
}


/* ════════════════════════════════════════════════════════════════════
   14. UTILITARIOS DE COR (forcados — garantia contra Tailwind CDN)
   ════════════════════════════════════════════════════════════════════ */

.c-gold       { color: var(--gold)       !important; }
.c-gold-light { color: var(--gold-light) !important; }
.c-gold-dark  { color: var(--gold-dark)  !important; }
.c-cream      { color: var(--cream)      !important; }
.c-cream-warm { color: var(--cream-warm) !important; }
.c-wine       { color: var(--wine)       !important; }
.c-white      { color: #ffffff           !important; }
.c-burgundy   { color: var(--burgundy)   !important; }

.bg-wine-deeper { background: var(--wine-deeper) !important; }
.bg-wine        { background: var(--wine)        !important; }
.bg-burgundy    { background: var(--burgundy)    !important; }
.bg-gold        { background: var(--gold)        !important; }
.bg-cream-light { background: var(--cream-light) !important; }
.bg-cream-warm  { background: var(--cream-warm)  !important; }

.bg-header { background: var(--wine-deeper) !important; }
.bg-hero   {
    background: linear-gradient(
        135deg,
        var(--wine-deeper) 0%,
        var(--wine-dark)   40%,
        var(--wine)        70%,
        var(--burgundy)    100%
    ) !important;
}


/* ════════════════════════════════════════════════════════════════════
   15. SCROLLBAR CUSTOMIZADA
   ════════════════════════════════════════════════════════════════════ */

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--cream-light);
}

::-webkit-scrollbar-thumb {
    background: var(--burgundy);
    border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--wine);
}


/* ════════════════════════════════════════════════════════════════════
   16. ANIMACOES
   ════════════════════════════════════════════════════════════════════ */

@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.45; }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px)   rotate(12deg); }
    50%       { transform: translateY(-14px) rotate(12deg); }
}

@keyframes grow-bar {
    from { width: 0; }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-pulse-soft { animation: pulse-soft  2.4s  cubic-bezier(0.4,0,0.6,1) infinite; }
.animate-float      { animation: float-slow  7s    ease-in-out infinite; }
.animate-fade-up    { animation: fade-in-up  0.6s  ease forwards; }


/* ════════════════════════════════════════════════════════════════════
   17. GRAIN TEXTURE OVERLAY
   ════════════════════════════════════════════════════════════════════ */

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.022;
    pointer-events: none;
    z-index: 9999;
}


/* ════════════════════════════════════════════════════════════════════
   18. RESPONSIVO
   ════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .layout-review {
        grid-template-columns: 1fr;
    }
    .sidebar-sticky {
        position: static;
    }
    .grid-3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --text-3xl:  28px;
        --text-2xl:  24px;
        --space-2xl: 48px;
    }

    .container,
    .container-sm {
        padding: 0 var(--space-md);
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .site-nav {
        display: none;   /* menu mobile via JS/cfm */
    }

    .ranking-table {
        display: block;
        overflow-x: auto;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .btn-lg {
        padding: 16px 28px;
        font-size: var(--text-sm);
    }
}

@media (max-width: 480px) {
    :root {
        --text-3xl: 24px;
        --text-2xl: 20px;
    }

    .score-overall-value {
        font-size: 48px;
    }
}
