/* ============================================================
   RESET E BASE
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background-color: #ffffff;
    color: #0f172a;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 56px;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

/* ============================================================
   VARIÁVEIS
   ============================================================ */
:root {
    --cor-principal: #0f172a;
    --cor-secundaria: #f8fafc;
    --cor-texto-escuro: #0f172a;
    --cor-destaque: #0fe500;
    --cor-destaque-hover: #0bc800;
    --header-cor: #0850f8;
    --footer-cor: #0a0f1a;
    --fundo-base: #ffffff;
    --max-width: 1100px;
    --header-height: 56px;
}

/* ============================================================
   UTILITÁRIOS
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 32px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 40px;
    }
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    transition: all 0.25s ease;
    text-align: center;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

@media (max-width: 480px) {
    .btn {
        padding: 12px 20px;
        font-size: 0.85rem;
        white-space: normal;
    }
}

.btn-cta {
    background-color: var(--cor-destaque);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 229, 0, 0.35);
    animation: pulse-cta 2.2s ease-in-out infinite;
}

.btn-cta:hover {
    background-color: var(--cor-destaque-hover);
    box-shadow: 0 8px 28px rgba(15, 229, 0, 0.35);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--cor-principal);
    border: 2px solid var(--cor-principal);
    border-radius: 8px;
}

.btn-outline:hover {
    background-color: var(--cor-principal);
    color: #ffffff;
}

.btn-outline-light {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 8px;
}

.btn-outline-light:hover {
    background-color: #ffffff;
    color: var(--cor-principal);
}

.btn-sm {
    padding: 10px 18px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

@keyframes pulse-cta {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 14px rgba(15, 229, 0, 0.35);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 8px 30px rgba(15, 229, 0, 0.35);
    }
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background-color: var(--header-cor);
    display: flex;
    align-items: center;
    transition: box-shadow 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .header-inner {
        padding: 0 32px;
    }
}

.logo-img {
    width: 180px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo-img {
        width: 140px;
    }
}

.header-cta {
    display: none;
}

@media (min-width: 640px) {
    .header-cta {
        display: inline-flex;
    }
}

/* ============================================================
   SEÇÕES
   ============================================================ */
.section {
    padding: 60px 0;
}

@media (min-width: 768px) {
    .section {
        padding: 80px 0;
    }
}

.section-dark {
    background-color: var(--cor-principal);
    color: #e2e8f0;
}

.section-alt {
    background-color: var(--cor-secundaria);
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--cor-destaque);
    margin-bottom: 12px;
}

.section h2 {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--cor-texto-escuro);
    max-width: 700px;
}

.section-dark h2 {
    color: #ffffff;
}

@media (min-width: 768px) {
    .section h2 {
        font-size: 2rem;
    }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background-color: var(--cor-principal);
    color: #ffffff;
    padding: 50px 0 60px;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: #e2e8f0;
    margin-bottom: 28px;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero h1 {
        font-size: 2.6rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }
    
    .hero h1, .hero-subtitle {
        text-align: center;
    }
}

/* ============================================================
   LISTAS
   ============================================================ */
.bullet-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.icon-check {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.icon-whatsapp {
    width: 20px;
    height: 20px;
}

.icon-arrow {
    width: 18px;
    height: 18px;
}

/* ============================================================
   PORTFÓLIO
   ============================================================ */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
}

@media (min-width: 640px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.portfolio-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.portfolio-card-preview {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.portfolio-card-preview-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

.preview-1 { background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #0f172a 100%); }
.preview-2 { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1e293b 100%); }
.preview-3 { background: linear-gradient(135deg, #1e293b 0%, #2d1b3d 50%, #0f172a 100%); }

.portfolio-card-body {
    padding: 18px 16px;
}

.portfolio-card-body h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.portfolio-card-body p {
    font-size: 0.82rem;
    color: #64748b;
}

/* ============================================================
   STEPS
   ============================================================ */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
}

@media (min-width: 640px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 24px 20px;
    border-radius: 12px;
}

.step-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--cor-destaque);
    line-height: 1;
    margin-bottom: 10px;
}

.step-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.step-card p {
    font-size: 0.85rem;
    color: #64748b;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
}

@media (min-width: 640px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pricing-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    padding: 28px 22px;
    text-align: center;
    position: relative;
    border-radius: 16px;
}

.pricing-card.featured {
    border-color: var(--cor-destaque);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured::before {
    content: 'MAIS POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cor-destaque);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
}

.pricing-card .price {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--cor-principal);
    margin-bottom: 4px;
}

.pricing-card ul {
    text-align: left;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pricing-card ul li {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============================================================
   TIRA COM BOTÃO
   ============================================================ */
.section-cta-strip {
    padding: 20px 0;
    background: linear-gradient(135deg, var(--cor-principal) 0%, var(--cor-destaque) 100%);
}

.cta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-strip p {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.btn-strip {
    background-color: #ffffff;
    color: var(--cor-destaque);
    animation: pulse-strip 1.5s ease-in-out infinite;
}

.btn-strip:hover {
    background-color: var(--cor-destaque);
    color: #ffffff;
}

@keyframes pulse-strip {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

@media (max-width: 640px) {
    .cta-strip {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================================
   URGÊNCIA
   ============================================================ */
.urgency-banner {
    background-color: var(--cor-destaque);
    color: #ffffff;
    text-align: center;
    padding: 36px 20px;
    border-radius: 16px;
}

/* ============================================================
   POSICIONAMENTO
   ============================================================ */
.positioning-block {
    background-color: var(--cor-principal);
    color: #ffffff;
    padding: 40px 24px;
    text-align: center;
    border-left: 4px solid var(--cor-destaque);
    border-radius: 12px;
}

.positioning-block p {
    font-size: 1.15rem;
    font-weight: 600;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background-color: var(--footer-cor);
    color: #e2e8f0;
    padding: 32px 0;
    text-align: center;
    font-size: 0.82rem;
}

.footer a {
    color: var(--cor-destaque);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

/* ============================================================
   ANIMAÇÕES
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}