/* ============================================================
   AZLUP - STYLE.CSS
   Organização:
   1. Variáveis & Reset
   2. Botões
   3. Hero
   4. Serviços (Features)
   5. CTA
   6. Rodapé (Footer)
   7. Botão WhatsApp Flutuante
   8. Animações
   ============================================================ */


/* ============================================================
   1. VARIÁVEIS & RESET
   Para mudar as cores do site, edite as variáveis abaixo
   ============================================================ */
:root {
    --color-background: #0a0a0a;       /* Fundo principal */
    --color-foreground: #fafafa;       /* Texto principal */
    --color-primary: #1d4ed8;          /* Cor de destaque (azul) */
    --color-muted-foreground: #a1a1a1; /* Texto secundário */
    --color-border: #262626;           /* Cor das bordas */
    --color-card-bg: #1c1c1c;          /* Fundo dos cards */
    --color-accent: #facc15;           /* Amarelo de destaque */

    /* Gradiente principal (usado em textos e botões) */
    /* Para mudar o gradiente, altere as cores abaixo */
    --gradient-hero: linear-gradient(to right, #4c00ff, #00d4ff);
    --gradient-card: linear-gradient(145deg, var(--color-card-bg), #2c2c2c);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-background);
    color: var(--color-foreground);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

a {
    color: inherit;
    text-decoration: none;
}

.min-h-screen {
    min-height: 100vh;
}


/* ============================================================
   2. BOTÕES
   .btn-primary → botão azul preenchido
   .btn-outline  → botão com borda transparente
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    height: 3rem;
    border: 2px solid transparent;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    gap: 0.5rem;
}

.btn-lg {
    height: 3.5rem;
    padding: 0 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-foreground);
}

.btn-primary:hover {
    background: #1e40af;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-border);
    color: var(--color-muted-foreground);
}

.btn-outline:hover {
    background-color: var(--color-border);
    color: var(--color-foreground);
}

/* Grupo de botões do CTA */
.cta-buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-top: 1rem;
}

@media (min-width: 640px) {
    .cta-buttons-container {
        flex-direction: row;
    }
}


/* ============================================================
   3. HERO
   ============================================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 5rem 0;
}

/* Overlay escuro sobre a imagem de fundo */
/* Para adicionar imagem de fundo: background-image: url('sua-imagem.jpg') */
.hero-background-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
}

.hero-background-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right,
        rgba(10, 10, 10, 0.95),
        rgba(10, 10, 10, 0.8),
        rgba(10, 10, 10, 0.95));
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 5rem 1rem;
}

.hero-text-container {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

/* Badge no topo do hero */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background-color: rgba(29, 78, 216, 0.1);
    border: 1px solid rgba(29, 78, 216, 0.2);
    margin: 0 auto;
    max-width: fit-content;
}

.icon-primary {
    color: var(--color-primary);
}

/* Título principal */
.hero-heading {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .hero-heading {
        font-size: 4.5rem;
    }
}

/* Texto com gradiente (usado no título e seções) */
.hero-gradient-text {
    background-image: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.625;
    color: var(--color-muted-foreground);
    max-width: 56rem;
    margin: 0 auto;
}

/* Botões do hero */
.hero-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Prova social (avatares + texto) */
.hero-social-proof {
    padding-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

.flex-items-center-gap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.avatar-group {
    display: flex;
    margin-left: -0.5rem;
}

.avatar-circle {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background-image: var(--gradient-hero);
    border: 2px solid var(--color-background);
}

.separator-vertical {
    height: 1rem;
    width: 1px;
    background-color: var(--color-border);
}

/* Orbs de luz de fundo */
.gradient-orb-1,
.gradient-orb-2 {
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 9999px;
    filter: blur(80px);
    opacity: 0.2;
    animation: glow 6s infinite alternate;
}

.gradient-orb-1 {
    top: 25%;
    left: 25%;
    background-color: rgba(29, 78, 216, 0.2);
}

.gradient-orb-2 {
    bottom: 25%;
    right: 25%;
    background-color: rgba(250, 202, 21, 0.2);
    animation-delay: 1s;
}


/* ============================================================
   4. SERVIÇOS (FEATURES)
   Para adicionar card: copie um .feature-card no HTML
   ============================================================ */
.features-section {
    padding: 6rem 1rem;
    background-color: rgba(25, 25, 25, 0.3);
}

.features-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 4rem;
    animation: fadeIn 0.8s ease-out;
}

.features-heading {
    font-size: 2.25rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .features-heading {
        font-size: 3rem;
    }
}

.features-description {
    font-size: 1.25rem;
    color: var(--color-muted-foreground);
    max-width: 56rem;
    margin: 0 auto;
}

/* Grid dos cards — muda de 1 para 2 para 3 colunas conforme a tela */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
    background-image: var(--gradient-card);
    border: 1px solid rgba(38, 38, 38, 0.5);
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-card:hover {
    border-color: rgba(29, 78, 216, 0.3);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Ícone dentro do card */
.feature-icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background-color: rgba(29, 78, 216, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.feature-card:hover .feature-icon-wrapper {
    background-color: rgba(29, 78, 216, 0.2);
}

.icon-feature {
    color: var(--color-primary);
    font-size: 1.25rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.feature-description-text {
    color: var(--color-muted-foreground);
}


/* ============================================================
   5. CTA (Chamada para ação)
   ============================================================ */
.cta-section {
    padding: 6rem 1rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--gradient-hero);
    opacity: 0.05;
}

.cta-card {
    position: relative;
    z-index: 10;
    background-image: var(--gradient-card);
    border: 1px solid rgba(29, 78, 216, 0.2);
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: fadeIn 0.8s ease-out;
    max-width: 56rem;
    margin: 0 auto;
}

.cta-heading {
    font-size: 2.25rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .cta-heading {
        font-size: 3rem;
    }
}

.cta-description {
    font-size: 1.25rem;
    color: var(--color-muted-foreground);
    max-width: 56rem;
    margin: 0 auto;
}

.cta-small-text {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}


/* ============================================================
   6. RODAPÉ
   ============================================================ */
.footer-section {
    border-top: 1px solid var(--color-border);
    background-color: rgba(25, 25, 25, 0.3);
}

.footer-content {
    padding: 3rem 1.5rem;
}

/* Grid do rodapé: centralizado no mobile, colunas no desktop */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.footer-link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    align-items: center;
}

/* Tablet: 2 colunas */
@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }

    .footer-col-brand {
        align-items: flex-start;
    }

    .footer-social-links {
        justify-content: flex-start;
    }

    .footer-link-list {
        align-items: flex-start;
    }
}

/* Desktop: coluna da marca maior + 3 colunas de links */
@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand-title {
    font-size: 1.25rem;
    font-weight: 700;
    background-image: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-brand-description {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

.social-icon {
    color: var(--color-muted-foreground);
    transition: color 0.2s;
    font-size: 1.25rem;
}

.social-icon:hover {
    color: var(--color-primary);
}

.footer-col-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-link-list a:hover {
    color: var(--color-primary);
}

.footer-copyright {
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}


/* ============================================================
   7. BOTÃO WHATSAPP FLUTUANTE
   Altere bottom/right para mudar a posição
   ============================================================ */

/* Desktop */
#wa-btn-flutuante {
    position: fixed;
    width: 40px;
    height: 40px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50px;
    text-align: center;
    font-size: 40px;
    box-shadow: 2px 2px 3px #1e40af;
    z-index: 1000;
    line-height: 40px;
}

/* Mobile */
@media (max-width: 600px) {
    #wa-btn-flutuante {
        width: 40px;
        height: 40px;
        bottom: 40px;
        right: 20px;
        font-size: 24px;
        line-height: 40px;
        box-shadow: none;
    }
}


/* ============================================================
   8. ANIMAÇÕES
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes glow {
    0%   { transform: scale(1);    opacity: 0.2; }
    100% { transform: scale(1.05); opacity: 0.3; }
}