/* =========================================
   Design System & Variables (Light Theme)
   ========================================= */
:root {
    /* Colors */
    --clr-bg: #f8fafc;
    --clr-surface: #ffffff;
    --clr-surface-hover: #f1f5f9;
    
    --clr-text-main: #0f172a;
    --clr-text-muted: #475569;
    
    --clr-primary: #2563eb; /* Modern Blue */
    --clr-primary-hover: #1d4ed8;
    
    /* Categorias */
    --clr-bronze: #CD7F32;
    --clr-bronze-light: rgba(205, 127, 50, 0.1);
    
    --clr-silver: #94a3b8; /* Darker silver for contrast on white */
    --clr-silver-light: rgba(148, 163, 184, 0.1);
    
    --clr-gold: #fbbf24;
    --clr-gold-light: rgba(251, 191, 36, 0.1);
    
    /* WhatsApp */
    --clr-whatsapp: #25D366;
    --clr-whatsapp-hover: #128C7E;

    /* Typography */
    --font-main: 'Inter', sans-serif;
    
    /* Shadows & Radii */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow-primary: 0 4px 15px rgba(37, 99, 235, 0.25);
    --shadow-glow-bronze: 0 4px 15px rgba(205, 127, 50, 0.25);
    --shadow-glow-silver: 0 4px 15px rgba(148, 163, 184, 0.25);
    --shadow-glow-gold: 0 4px 15px rgba(251, 191, 36, 0.25);
    
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* =========================================
   Reset & Basics
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--clr-bg);
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 3rem);
}

.text-gradient {
    background: linear-gradient(135deg, #ef4444, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-white { color: #ffffff; }
.text-gray { color: var(--clr-text-muted); }

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--clr-primary);
    color: #fff;
    box-shadow: var(--shadow-glow-primary);
}
.btn-primary:hover {
    background-color: var(--clr-primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--clr-surface);
    color: var(--clr-text-main);
    border: 1px solid #e2e8f0;
}
.btn-secondary:hover {
    background-color: var(--clr-surface-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border-color: var(--clr-primary);
    color: var(--clr-primary);
}
.btn-outline:hover {
    background: var(--clr-primary);
    color: #fff;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-bronze { background: var(--clr-bronze); color: #fff;}
.btn-bronze:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: var(--shadow-glow-bronze); }

.btn-gold { background: var(--clr-gold); color: #0f172a;}
.btn-gold:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: var(--shadow-glow-gold); }


/* =========================================
   Header / Navbar
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-decoration: none;
}
.logo-main {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
    color: var(--clr-text-main);
}
.logo-main span {
    color: #94a3b8; /* silver */
    font-style: italic;
}
.logo-sub {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--clr-text-muted);
}

.nav-menu {
    display: none; /* Mobile first hidden */
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
        gap: 2rem;
    }
    .nav-link {
        font-weight: 500;
        color: var(--clr-text-muted);
        transition: var(--transition);
    }
    .nav-link:hover {
        color: var(--clr-text-main);
    }
}

.header .btn-outline {
    display: none;
}
@media (min-width: 768px) {
    .header .btn-outline { display: block; }
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    padding-top: 120px;
    padding-bottom: 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Subtle background glow */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(248, 250, 252, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
    }
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--clr-primary);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.hero-title {
    font-size: clamp(2rem, calc(5vw + 1rem), 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1rem, calc(2.5vw + 0.5rem), 1.125rem);
    color: var(--clr-text-muted);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 576px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.trust-indicators {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatars {
    display: flex;
}

.avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--clr-surface);
    margin-left: -10px;
}
.avatars img:first-child { margin-left: 0; }

.trust-indicators p {
    font-size: 0.875rem;
    color: var(--clr-text-muted);
}
.trust-indicators strong {
    color: var(--clr-text-main);
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image {
    width: 100%;
    transform: scale(1.05);
    transition: transform 0.5s ease;
}
.hero-image-wrapper:hover .hero-image {
    transform: scale(1);
}

.floating-card {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    font-weight: 600;
    color: var(--clr-text-main);
    transform: translate(2rem, -2rem);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translate(2rem, -2rem); }
    50% { transform: translate(2rem, -2.5rem); }
    100% { transform: translate(2rem, -2rem); }
}


/* =========================================
   Benefícios Section
   ========================================= */
.benefits {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background-color: #f1f5f9; /* Contrast off white */
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto clamp(1.5rem, 4vw, 2.5rem);
}

.section-header h2 {
    font-size: clamp(1.75rem, calc(4vw + 0.5rem), 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--clr-text-muted);
    font-size: 1.125rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--clr-surface);
    padding: clamp(1.25rem, 4vw, 2rem);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.benefit-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.bg-blue { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
.bg-orange { background: rgba(249, 115, 22, 0.1); color: #ea580c; }
.bg-green { background: rgba(16, 185, 129, 0.1); color: #059669; }

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

/* =========================================
   Planos Section
   ========================================= */
.pricing {
    padding: clamp(3rem, 8vw, 5rem) 0 clamp(4rem, 10vw, 7rem);
    position: relative;
    background: var(--clr-surface);
}

/* Categorias Titles */
.category-title {
    display: flex;
    align-items: center;
    justify-content: center; /* Centraliza no desktop */
    gap: 1rem;
    margin: clamp(2rem, 4vw, 3rem) 0 clamp(1rem, 2vw, 1.5rem);
    text-align: center;
}

.category-title h3 {
    font-size: 1.5rem;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.line {
    height: 1px;
    flex-grow: 1; /* Faz as linhas preencherem o espaço */
    max-width: 100px; /* Limita o tamanho do traço lateral */
}

.bronze-text { color: var(--clr-bronze); }
.bronze-line { background: var(--clr-bronze); opacity: 0.3;}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

/* Scroll Horizontal automático apenas no celular */
@media (max-width: 768px) {
    .pricing-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        margin-left: -1rem; /* Compensa o padding do container */
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .pricing-grid .pricing-card {
        min-width: 85vw; /* Mostra um pedaço do próximo card */
        scroll-snap-align: center;
    }

    /* Esconde a barra de scroll para ficar mais limpo */
    .pricing-grid::-webkit-scrollbar {
        display: none;
    }
}

.pricing-card {
    background: var(--clr-surface);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 5vw, 2.5rem) clamp(1.25rem, 4vw, 2rem);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

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

/* Identidade Visual Cards */
.card-bronze { 
    border-top: 4px solid var(--clr-bronze);
}

.card-silver { 
    border-top: 4px solid var(--clr-silver);
}

.card-gold { 
    border-top: 4px solid var(--clr-gold);
}


.card-header {
    text-align: center;
    margin-bottom: clamp(1.25rem, 4vw, 2rem);
    padding-bottom: clamp(1.25rem, 4vw, 2rem);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.silver-text { color: var(--clr-silver); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; font-weight: 700;}
.gold-text { color: #d97706; /* Darker gold for text */ font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; font-weight: 700;}

.card-header h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: 1rem;
}

.price .currency {
    font-size: 1.25rem;
    color: var(--clr-text-muted);
    margin-top: 0.5rem;
}

.price .value {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    color: var(--clr-text-main);
}

.price .cents {
    font-size: 1.25rem;
    color: var(--clr-text-muted);
    margin-top: 0.5rem;
}

.plan-desc {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

.card-body {
    flex-grow: 1;
    margin-bottom: clamp(1.25rem, 4vw, 2rem);
}

.features-list {
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--clr-text-muted);
}
.features-list li strong {
    color: var(--clr-text-main);
}

.features-list svg {
    width: 20px;
    height: 20px;
    stroke: var(--clr-primary);
    stroke-width: 2px;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    flex-shrink: 0;
    margin-top: 2px;
}

.card-silver .features-list svg { stroke: var(--clr-silver); }
.card-gold .features-list svg { stroke: #d97706; }
.card-bronze .features-list svg { stroke: var(--clr-bronze); }


/* Layout Prata e Ouro */
.premium-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    align-items: stretch;
}

.highlighted {
    transform: scale(1.02);
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); /* More visible shadow for highlighted in light mode */
}
@media (max-width: 767px) {
    .highlighted { transform: scale(1); }
}

.highlight-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.35rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.bg-silver { background: #94a3b8; color: #ffffff;}


/* =========================================
   Footer
   ========================================= */
.footer {
    background: #0f172a; /* Keep footer dark for professional contrast */
    color: #f8fafc;
    padding-top: clamp(2rem, 5vw, 3rem);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr;
    }
}

.footer .logo span {
    color: #3b82f6; /* Lighter primary for dark bg */
}

.footer-brand p {
    color: #94a3b8;
    font-size: 0.95rem;
    max-width: 400px;
    margin-top: 1rem;
}

.footer-links h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}
.mt-2 { margin-top: 1rem; }
.footer-links a:hover { color: #3b82f6; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
}


/* =========================================
   WhatsApp Floating Button
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: var(--clr-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
}

.whatsapp-float:hover {
    background-color: var(--clr-whatsapp-hover);
    transform: scale(1.1);
    animation: none;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
    }
    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
}
