/**
 * ═══════════════════════════════════════════════════════════════════════════
 * 🇧🇷 TEMA COPA DO MUNDO 2026 — BRASIL
 * Etapa 1: Variáveis Globais · Hero Carousel · Slide Tributária · Slide Hero
 * ─ Verde Canarinho │ Animações Suaves │ Responsivo Completo ─
 * ═══════════════════════════════════════════════════════════════════════════
 */

/* ╔═══════════════════════════════════════════════════════════════════════╗
   ║  0 │ VARIÁVEIS GLOBAIS — PALETA COPA 2026                            ║
   ╚═══════════════════════════════════════════════════════════════════════╝ */

:root {
    /* ── Verdes da Canarinha ── */
    --copa-green:         #2d5f3f;   /* verde médio principal */
    --copa-green-dark:    #1a472a;   /* verde escuro base */
    --copa-green-light:   #4a8c5c;   /* verde claro hover */
    --copa-green-accent:  #3a7a4e;   /* acento scrollbar / UI */

    /* ── Amarelo Ouro ── */
    --copa-yellow:        #ffd700;   /* amarelo ouro puro */
    --copa-yellow-light:  #ffe566;   /* amarelo claro hover */
    --copa-yellow-dim:    rgba(255,215,0,.25); /* overlay sutil */

    /* ── Branco e Neutros ── */
    --copa-white:         #ffffff;
    --copa-off-white:     #f4f9f2;
    --copa-text:          #1a2810;
    --copa-text-muted:    rgba(26,40,16,.65);

    /* ── Superfícies ── */
    --copa-surface:       #ffffff;
    --copa-surface-alt:   #f0f5ee;
    --copa-border:        rgba(45,95,63,.12);

    /* ── Sombras ── */
    --copa-shadow-sm:     0 4px 16px rgba(26,71,42,.10);
    --copa-shadow-md:     0 8px 32px rgba(26,71,42,.15);
    --copa-shadow-lg:     0 20px 56px rgba(26,71,42,.20);

    /* ── Espaçamentos padrão ── */
    --copa-section-py:    100px;
    --copa-container:     1200px;
    --copa-radius:        16px;
    --copa-radius-sm:     8px;
    --copa-radius-pill:   50px;

    /* ── Tipografia ── */
    --copa-font:          'Inter', system-ui, -apple-system, sans-serif;

    /* ── Animações ── */
    --copa-ease:          cubic-bezier(.4, 0, .2, 1);
    --copa-spring:        cubic-bezier(.34, 1.56, .64, 1);
    --copa-dur-fast:      .2s;
    --copa-dur-med:       .35s;
    --copa-dur-slow:      .65s;
}

/* ╔═══════════════════════════════════════════════════════════════════════╗
   ║  1 │ ANIMAÇÕES KEYFRAME GLOBAIS                                       ║
   ╚═══════════════════════════════════════════════════════════════════════╝ */

@keyframes copa-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes copa-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}

@keyframes copa-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: .65; }
}

@keyframes copa-badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--copa-yellow-dim); }
    50%       { box-shadow: 0 0 0 8px transparent; }
}

@keyframes copa-borderFlow {
    0%   { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

@keyframes copa-iconBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-6px) scale(1.08); }
}

@keyframes copa-orbFloat {
    0%, 100% { transform: translate(0, 0); }
    33%       { transform: translate(30px, -20px); }
    66%       { transform: translate(-20px, 20px); }
}

@keyframes copa-shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes copa-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* @keyframes hcProgress — definido em style.css (conic-gradient suave) */

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ╔═══════════════════════════════════════════════════════════════════════╗
   ║  2 │ HERO CAROUSEL WRAPPER — Fundo + Estrutura                        ║
   ╚═══════════════════════════════════════════════════════════════════════╝ */

.hero-carousel-wrapper {
    position: relative;
    overflow: hidden;
    /* Fundo graduado verde Brasil com radial accent */
    background: radial-gradient(ellipse at 72% 45%, rgba(120, 160, 70, .18) 0%, transparent 55%), radial-gradient(ellipse at 10% 80%, rgba(20, 30, 10, .45) 0%, transparent 50%), linear-gradient(135deg, #215032 0%, #215032 30%, #215032 60%, #215032 85%, #215032 100%);
}

/* Track deslizante */
.hc-track {
    display: flex;
    transition: transform .65s var(--copa-ease);
    will-change: transform;
}

/* Cada slide ocupa 100% da largura */
.hc-slide {
    flex: 0 0 100%;
    width: 100%;
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

/* ── Curva inferior única do carrossel ── */
.hc-shape-divider {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 30;
    pointer-events: none;
}

.hc-shape-divider svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

/* ── Controles de navegação (setas) ── */
.hc-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--copa-dur-med) var(--copa-ease);
}

.hc-btn:hover {
    background: rgba(255,255,255,.22);
    border-color: var(--copa-yellow);
    color: var(--copa-yellow);
    transform: translateY(-50%) scale(1.08);
}

.hc-btn--prev { left: 20px; }
.hc-btn--next { right: 20px; }


.proof-icon i{
    color:#fff;
}
.modern-proof .proof-icon {
    font-size: 30px !important;
}


/* ── Botão de som ── */
.hc-sound-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 25;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(0,0,0,.30);
    backdrop-filter: blur(6px);
    color: rgba(255,255,255,.70);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--copa-dur-fast) var(--copa-ease);
}

.hc-sound-btn:hover { color: #fff; border-color: rgba(255,255,255,.5); }
.hc-sound-btn--on   { color: var(--copa-yellow); border-color: var(--copa-yellow); }

/* ╔═══════════════════════════════════════════════════════════════════════╗
   ║  3 │ SLIDE 1 — REFORMA TRIBUTÁRIA (.hc-slide--tributaria)             ║
   ╚═══════════════════════════════════════════════════════════════════════╝ */

:root {
    --trib-bg:        #364528;
    --trib-bg-deep:   #2b3820;
    --trib-accent:    #dced9a;
    --trib-white:     #ffffff;
    --trib-muted:     rgba(255,255,255,.75);
    --trib-border:    rgba(255,255,255,.18);
    --trib-icon-bg:   rgba(220,237,154,.15);
    --trib-icon-bdr:  rgba(220,237,154,.35);
}

.hc-slide--tributaria {
    background: transparent !important;
    min-height: 680px !important;
    align-items: center;
    overflow: visible;
}

/* Partículas ocultas */
.hc-slide--tributaria .particle { display: none; }

/* Layout */
.hc-slide--tributaria .banner-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    padding: 80px 40px;
    min-height: 680px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    margin: 0 auto;
}

.hc-slide--tributaria .banner-text { color: var(--trib-white); max-width: 780px; }

/* Badge */
.reform-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(8px);
    border: 1px solid var(--trib-border);
    padding: 9px 20px;
    border-radius: var(--copa-radius-pill);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    color: var(--trib-white);
}
.reform-badge i { color: var(--trib-accent); }

/* Título */
.hc-slide--tributaria .banner-title {
    font-size: clamp(28px, 4vw, 50px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--trib-white);
    background: none;
    -webkit-text-fill-color: unset;
}
.hc-slide--tributaria .banner-title span { display: block; }
.hc-slide--tributaria .banner-title .title-highlight {
    color: #ffd700;
    -webkit-text-fill-color: #ffd700;
}

/* Subtítulo */
.hc-slide--tributaria .banner-subtitle {
    font-size: clamp(14px, 1.6vw, 17px);
    color: var(--trib-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

/* Lista de benefícios */
.benefits-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}
.benefit-item { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.benefit-icon {
    width: 44px; height: 44px;
    background: rgba(255, 215, 0, 0.10);
    border: 1px solid rgba(255, 215, 0, 0.38);
    border-radius: var(--copa-radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--copa-yellow, #ffd700);
    flex-shrink: 0;
    font-size: 18px;
    box-shadow:
        inset 0 0 12px rgba(255, 215, 0, 0.08),
        0 0 0 0 rgba(255, 215, 0, 0);
    transition: all var(--copa-dur-med) var(--copa-ease);
    position: relative;
    overflow: hidden;
}
/* Brilho interno sutil */
.benefit-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,215,0,.14) 0%, transparent 60%);
    pointer-events: none;
}
.benefit-item:hover .benefit-icon {
    background: rgba(255, 215, 0, 0.18);
    border-color: rgba(255, 215, 0, 0.70);
    color: #ffe566;
    transform: scale(1.12) rotate(5deg);
    box-shadow:
        inset 0 0 16px rgba(255, 215, 0, 0.15),
        0 0 20px rgba(255, 215, 0, 0.35),
        0 4px 16px rgba(255, 215, 0, 0.20);
}
.benefit-text { font-size: 13px; color: var(--trib-muted); line-height: 1.5; min-width: 0; }
.benefit-text strong { color: var(--trib-white); display: block; margin-bottom: 3px; line-height: 1.3; }
.benefit-desc  { display: block; line-height: 1.5; }

/* Botões */
.cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-trib-primary {
    padding: 15px 36px;
    background: rgba(255,255,255,.08);
    color: var(--trib-white);
    border: 2px solid var(--trib-white);
    border-radius: var(--copa-radius-pill);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1px;
    backdrop-filter: blur(8px);
    transition: all var(--copa-dur-med) var(--copa-ease);
}
.btn-trib-primary:hover {
    background: var(--trib-white);
    color: var(--trib-bg-deep);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,.25);
}

.btn-trib-secondary {
    padding: 15px 36px;
    background: #ffd700;
    color: #2b3820;
    border: 2px solid #ffd700;
    border-radius: var(--copa-radius-pill);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(220, 237, 154, .35);
    transition: all var(--copa-dur-med) var(--copa-ease);
}
.btn-trib-secondary:hover {
    background: var(--copa-yellow);
    border-color: var(--copa-yellow);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(220,237,154,.5);
}

/* Visual / Personagem */
.banner-visual  { display: flex; align-items: flex-end; justify-content: center; }
.banner-character-wrapper {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    animation: copa-float 6s ease-in-out infinite;
    filter: drop-shadow(0 24px 48px rgba(0,0,0,.40));
}
.banner-character-img {
    width: 100%;
    max-width: 370px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Curva inferior do slide tributária (mantida por compatibilidade) */
.hc-slide--tributaria .custom-shape-divider-bottom { display: none; }

/* ╔═══════════════════════════════════════════════════════════════════════╗
   ║  4 │ SLIDE 2 — HERO INSTITUCIONAL (.hc-slide--hero)                  ║
   ╚═══════════════════════════════════════════════════════════════════════╝ */

.hc-slide--hero {
    background: transparent !important;
    min-height: 680px;
    overflow: hidden;
}

/* Container principal */
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    min-height: 680px;
}

/* Coluna de texto */
.hero-text-content { color: #fff; }

/* Badge de boas-vindas */
.welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,215,0,.12);
    border: 1px solid rgba(255,215,0,.30);
    color: var(--copa-yellow);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 18px;
    border-radius: var(--copa-radius-pill);
    margin-bottom: 24px;
    display: inline-flex;
    animation: copa-badgePulse 3.5s ease-in-out infinite;
}
.welcome-badge i { font-size: 13px; }

/* Título principal */
.hero-title {
    font-size: clamp(28px, 3.8vw, 52px);
    font-weight: 900;
    line-height: 1.18;
    margin-bottom: 14px;
    color: #fff;
}
.hero-title .highlight {
    background: linear-gradient(90deg, var(--copa-yellow), #ffe96a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Micro benefícios */
.hero-micro-benefit {
    font-size: 13px;
    color: rgba(255,255,255,.60);
    letter-spacing: .5px;
    margin-bottom: 18px;
    font-weight: 500;
}

/* Subtítulo descritivo */
.hero-subtitle {
    font-size: clamp(14px, 1.5vw, 16px);
    color: rgba(255,255,255,.80);
    line-height: 1.75;
    margin-bottom: 36px;
}

/* Ações */
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-hero-primary {
    padding: 15px 36px;
    background: var(--copa-yellow);
    color: var(--copa-green-dark);
    border: 2px solid var(--copa-yellow);
    border-radius: var(--copa-radius-pill);
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: .8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 22px rgba(255,215,0,.40);
    transition: all var(--copa-dur-med) var(--copa-spring);
}
.btn-hero-primary:hover {
    background: var(--copa-yellow-light);
    border-color: var(--copa-yellow-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255,215,0,.55);
}

.btn-hero-coffee {
    padding: 15px 32px;
    background: rgba(255,255,255,.10);
    color: #fff;
    border: 2px solid rgba(255,255,255,.30);
    border-radius: var(--copa-radius-pill);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(8px);
    transition: all var(--copa-dur-med) var(--copa-ease);
}
.btn-hero-coffee:hover {
    background: rgba(255,255,255,.20);
    border-color: rgba(255,255,255,.50);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.20);
}
.btn-hero-coffee i { font-size: 18px; }

/* Coluna de imagem / vídeo */
.hero-image-wrapper {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 740px;          /* aumentado para o personagem crescer */
    min-height: 480px;
}

/* Vídeo de fundo: cobre o wrapper */
.hero-image-wrapper video {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--copa-radius);
    display: block;
}

/* Personagem / ilustração PNG — exibe completo, alinhado à base */
.hero-image-wrapper .accountant-photo {
    width: auto;
    max-width: 100%;
    height: 100%;           /* preenche toda a altura do wrapper */
    max-height: 740px;      /* espelha a altura do wrapper */
    object-fit: contain;
    object-position: bottom center;
    border-radius: 0;
    display: block;
    filter: drop-shadow(0 28px 56px rgba(0,0,0,.45));
    animation: copa-float 6s ease-in-out infinite;
    align-self: flex-end;
}

/* Floating card sobre a imagem */
.floating-card {
    /* position: absolute; */
    /* top: auto; */
    /* bottom: 342px; */
    /* left: 0; */
    /* height: auto; */
    display: flex;
    /* align-items: center; */
    /* gap: 12px; */
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: var(--copa-radius);
    padding: 14px 20px;
    color: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
    animation: copa-float 5s ease-in-out infinite .8s;
}

.floating-card i {
    font-size: 22px;
    color: var(--copa-yellow);
    filter: drop-shadow(0 0 8px rgba(255,215,0,.5));
}

.floating-card strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.floating-card span {
    font-size: 12px;
    color: rgba(255,255,255,.70);
}

/* ╔═══════════════════════════════════════════════════════════════════════╗
   ║  5 │ RESPONSIVIDADE — Etapa 1                                         ║
   ╚═══════════════════════════════════════════════════════════════════════╝ */

@media (max-width: 1280px) {
    .benefits-list { grid-template-columns: repeat(2, 1fr); }
    .hero-container { padding: 60px 32px; gap: 32px; }
}

@media (max-width: 1024px) {
    .hc-slide--tributaria .banner-content {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 48px 20px;
        min-height: unset;
    }
    .banner-visual { order: -1; }
    .banner-character-img { max-width: 420px; }

    .hero-container {
        grid-template-columns: 1fr;
        padding: 48px 20px;
        min-height: unset;
        gap: 28px;
    }
    .hero-image-wrapper { order: -1; min-height: 280px; height: auto; }
    .hero-image-wrapper .accountant-photo { height: auto; max-height: 420px; }
}

@media (max-width: 768px) {
    .hc-slide, .hc-slide--tributaria { min-height: unset; }
    .hc-slide--tributaria .banner-content { padding: 36px 16px; gap: 24px; }
    .benefits-list { grid-template-columns: 1fr 1fr; gap: 12px; }
    .cta-buttons { flex-direction: column; }
    .btn-trib-primary, .btn-trib-secondary { width: 100%; justify-content: center; }
    .banner-character-img { max-width: 340px; }
    .hero-actions { flex-direction: column; }
    .btn-hero-primary, .btn-hero-coffee { width: 100%; justify-content: center; }
    .hc-btn--prev { left: 8px; }
    .hc-btn--next { right: 8px; }
    .hc-shape-divider svg { height: 44px; }
    .hero-image-wrapper .accountant-photo { height: auto; max-height: 340px; }
    .floating-card { display: none; }
}

@media (max-width: 480px) {
    .hc-slide--tributaria .banner-content { padding: 28px 12px; }
    .reform-badge { font-size: 10px; padding: 7px 14px; }
    .benefit-icon { width: 34px; height: 34px; font-size: 15px; }
    .benefit-text { font-size: 12px; }
    .banner-character-img { max-width: 280px; }
    .benefits-list { grid-template-columns: 1fr; }
    .hero-title { font-size: clamp(24px, 8vw, 38px); }
    .hc-btn { width: 36px; height: 36px; font-size: 13px; }
}