/* ========== VARIABLES ========== */
:root {
    /* Colors */
    --color-primary: #FF4D1F;
    --color-secondary: #FF5722;
    --color-dark-bg: #0A1628;
    --color-dark-blue: #0D1B2A;
    --color-medium-blue: #1B263B;
    --color-light-blue: #415A77;
    --color-text-white: #FFFFFF;
    --color-text-gray: #B0BEC5;
    --color-border: #2A3F5F;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-dark-bg);
    color: var(--color-text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    font-size: 1.125rem;
    color: var(--color-text-gray);
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}




/* ========== UTILITIES ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.btn {
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 77, 31, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 77, 31, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
}

.btn-full {
    width: 100%;
    padding: 1.25rem;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

.section {
    padding: var(--spacing-3xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 1rem auto 0;
    font-size: 1.125rem;
}

.checkmark {
    color: var(--color-primary);
    margin-right: 0.5rem;
}

.card {
    background: var(--color-medium-blue);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(255, 77, 31, 0.2);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ========== HEADER ========== */
.header {
    background-color: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== MENU HAMBURGUER ===== */

.menu-toggle {
    display: none; /* aparece só no mobile */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    z-index: 9999;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    margin: 5px 0;
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Animação X */
.menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* MOBILE */
@media (max-width: 768px) {
    .header-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 260px;
        background: #060b16;
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        padding: 5rem 1.8rem 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: -4px 0 16px rgba(0, 0, 0, 0.5);
        z-index: 9998;
    }

    .nav.open {
        transform: translateX(0);
    }

    .nav-link,
    .nav .btn {
        width: 100%;
        text-align: left;
    }

    .menu-toggle {
        display: block;
    }

    body.menu-open {
        overflow: hidden; /* impede o scroll quando o menu está aberto */
    }
}

/* ========== LOGO ========== */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}


.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--color-text-gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-text-white);
}

/* ========== HERO ========== */
.hero {
    padding: 6rem 0 3rem;
    background: linear-gradient(180deg, var(--color-dark-bg) 0%, var(--color-dark-blue) 100%);
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-pricing {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin: 2rem 0;
}

.pricing-item {
    display: flex;
    gap: 0.5rem;
}

.arrow {
    color: var(--color-primary);
}

.hero-marquee {
    margin-top: 4rem;
    padding: 1.5rem 0;
    background: var(--color-dark-blue);
    border-top: 1px solid var(--color-border);
    overflow: hidden;
}

.marquee-wrapper {
    display: flex;
    width: max-content;
    animation: marquee 20s linear infinite;
    gap: 3rem;
}

.hero-marquee span {
    font-size: 1.5rem;
    color: #FF5521;
    white-space: nowrap;
}

.marquee-content {
    display: flex;
    gap: 3rem;
    animation: marquee 30s linear infinite; /* 20s → 40s mais lento */
}

.marquee-content span {
    font-size: 1.5rem;
    color: #FF5521;
    white-space: nowrap;
}

/* ========== SECTIONS ========== */
.problem {
    background: var(--color-dark-blue);
}

.icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.alert-icon,
.solution-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.problem-grid,
.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.problem-card,
.solution-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
}

.bullet-point {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.checkmark-icon {
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.highlight-primary {
    color: var(--color-primary);
}

/* ========== AUDIENCE ========== */
.for-whom {
    background: var(--color-dark-blue);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}


.plan-features li {
    padding: 0.75rem 0;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.95rem;
}


.plans-note {
    text-align: center;
    margin-top: 2rem;
}

/* ========== PLANS ========== */
.plans {
    background: var(--color-dark-bg);
    padding: 5rem 0;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
    align-items: flex-start; /* cada card fica com a altura do próprio conteúdo */
}


.plan-card {
    display: flex;
    flex-direction: column;
    /* height: 100%;  <-- remove isso */
}



.plan-card.highlighted {
    border: 2px solid var(--color-primary);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 111, 0, 0.3);
}

.badge-imperial {
    background: linear-gradient(135deg, #FFD700, #FFA500) !important;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4) !important;
}

.premium-enterprise {
    border: 2px solid #FFD700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 165, 0, 0.03));
    position: relative;   /* por causa do badge */
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
}


.premium-enterprise:hover {
    border-color: #FFA500;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.2);
}

.plan-name {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-text-white);
}

.plan-price {
    text-align: center;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--color-text-gray);
}

.plan-description {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-gray);
    font-size: 0.95rem;
}

.plan-features {
    list-style: none;
    margin: 0 0 1.5rem 0; /* espaço normal antes do botão */
    /* sem flex-grow */
}


.plan-features li {
    padding: 0.75rem 0;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.95rem;
}

.plans-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--color-text-gray);
    font-size: 0.9rem;
}

/* Botão "ver mais benefícios" */
.btn-see-more {
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-text-white);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-see-more:hover {
    background: rgba(255,255,255,0.04);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.arrow-down {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}

/* Benefícios extras do plano Imperial (escondidos por padrão) */
.plan-features li.hidden-benefit {
    display: none;              /* agora mais específico que .plan-features li */
}

/* Quando o card estiver expandido, mostrar os benefícios extras */
.plan-card.benefits-expanded .plan-features li.hidden-benefit {
    display: flex;              /* mesmo display dos outros benefícios */
}






/* ========== HOW IT WORKS ========== */
.how-it-works {
    background: var(--color-dark-bg);
}

.steps-list {
    display: grid;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

/* ========== COMPANIES / SOCIAL PROOF ========== */
.companies {
    background: var(--color-dark-bg);
    padding: 5rem 0;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 3rem auto 0;
    align-items: center;
}

.company-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.company-logo:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.company-logo img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

/* ===== COMPANIES RESPONSIVO ===== */

/* Tablet: 2 logos por linha */
@media (max-width: 992px) {
    .companies {
        padding: 4rem 0;
    }

    .companies-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
        margin-top: 2.5rem;
    }

    .company-logo {
        padding: 1.5rem 1.25rem;
    }

    .company-logo img {
        max-height: 70px;
    }
}

/* Celular: 1 logo por linha, maior e centralizada */
@media (max-width: 600px) {
    .companies-grid {
        grid-template-columns: 1fr;
        max-width: 340px;
        margin: 2.5rem auto 0;
        gap: 1.5rem;
    }

    .company-logo {
        padding: 1.6rem 1.4rem;
    }

    .company-logo img {
        max-height: 80px;
    }
}



/* ====== BENEFÍCIOS QUE VOCÊ LEVA ====== */

.benefits {
    background: #0A1628;              /* cor que você pediu */
}

.benefits-header {
    text-align: center;
    margin-bottom: 3rem;
}

.benefits-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: #05243a;
    border-radius: var(--radius-lg);
    padding: 2.2rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;

    /* Centralizar tudo no meio do card */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
}

.benefit-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, rgba(255,77,31,0.4), rgba(255,77,31,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 1.2rem 0;   /* só margem embaixo pra afastar do título */
}

.benefit-icon {
    font-size: 1.9rem;
}

.benefit-title {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: var(--color-text-white);
}

.benefit-text {
    font-size: 0.98rem;
    color: var(--color-text-gray);
    line-height: 1.6;
}

/* Responsivo */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 800px;
    }
}

@media (max-width: 640px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .benefit-card {
        padding: 1.8rem 1.5rem;
    }

    .benefits-header h2 {
        font-size: 2rem;
    }
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    background: var(--color-dark-blue);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
}

.quote-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.testimonial-author h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.testimonial-author .company {
    color: var(--color-primary);
    font-weight: 600;
}

/* ===== RESPONSIVO ===== */

/* Tablet: 2 colunas */
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }
}

/* Celular: 1 coluna */
@media (max-width: 600px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 1.75rem 1.5rem;
    }

    .quote-icon {
        font-size: 2.4rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }
}


/* ========== CTA FINAL ========== */
.cta-final {
    background: linear-gradient(135deg, var(--color-dark-blue), var(--color-dark-bg));
}

.cta-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.cta-description {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-note {
    font-size: 0.95rem;
}

/* ===== FOOTER ===== */

.footer {
    background: #050b16;
    color: #f5f5f7;
    padding: 40px 0 24px;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2.5rem;
    flex-wrap: wrap; /* evita cortar em telas menores */
}

.footer-logo {
    max-width: 320px;
}

.logo-image-footer {
    max-width: 200px;
    height: auto;
}

.footer-tagline {
    margin-top: 0.75rem;
    line-height: 1.5;
    opacity: 0.85;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.link-column h4 {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.link-column a {
    display: block;
    margin-bottom: 0.35rem;
    color: #f5f5f7;
    text-decoration: none;
    opacity: 0.85;
}

.link-column a:hover {
    opacity: 1;
}

.footer-bottom {
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* ===== RESPONSIVO (CELULAR) ===== */

@media (max-width: 768px) {
    .footer {
        padding: 32px 0 20px;
    }

    .footer-content {
        flex-direction: column;      /* empilha logo + links */
        align-items: flex-start;
    }

    .footer-logo,
    .footer-links {
        width: 100%;
    }

    .footer-logo {
        text-align: left;
    }

    .footer-links {
        display: grid;              /* vira grid ao invés de linha */
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 1.5rem;
        row-gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr; /* em telas bem pequenas, uma coluna só */
    }

    .logo-image-footer {
        max-width: 180px;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .problem-grid,
    .solution-grid {
        grid-template-columns: 1fr;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .plan-card {
        min-height: auto;
        padding: 2rem 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }



/* Golden badge for Imperial plan */
.badge-imperial {
    background: linear-gradient(135deg, #FFD700, #FFA500) !important;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4) !important;
}

.premium-enterprise {
    border: 2px solid #FFD700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 165, 0, 0.03));
    position: relative;    /* por causa do badge */
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
}

.premium-enterprise:hover {
    border-color: #FFA500;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.2);
}

.premium-enterprise .price {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
 }

}
