/* =====================
   VARIABLES & RESET
   ===================== */
:root {
    --primary: #1e3a8a;
    --secondary: #3b82f6;
    --accent: #2563eb;
    --bg-color: #f0f4f8;
    --text-main: #0f172a;
    --text-muted: #475569;
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =====================
   BODY — COLUNA FLEX
   ===================== */
html,
body {
    height: 100%;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    display: grid;
    grid-template-rows: auto 1fr auto;
    /* header | main | footer */
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* =====================
   BLOBS ANIMADOS
   ===================== */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 0;
    animation: float 20s infinite ease-in-out alternate;
    pointer-events: none;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.18) 0%, transparent 70%);
    top: -15%;
    left: -10%;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
    bottom: -25%;
    right: -10%;
    animation-delay: -6s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(148, 163, 184, 0.18) 0%, transparent 70%);
    top: 35%;
    left: 45%;
    animation-delay: -12s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -40px) scale(1.08);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.94);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* =====================
   MAIN — CRESCE PARA PREENCHER
   ===================== */
.container {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: stretch;
    /* ambas as colunas com mesma altura */
    justify-content: center;
    padding: 8rem 2rem 1.5rem;
    /* mais espaço abaixo da logo flutuante */
    gap: 2.5rem;
    min-height: 0;
    overflow: hidden;
}

/* =====================
   GLASS CARD — COLUNA ESQUERDA
   ===================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: none;
    border-radius: 28px;
    padding: 2.5rem 3.5rem;
    text-align: center;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(24px);
    flex: 1;
    max-width: 480px;
    min-width: 0;
    /* Distribui o conteúdo verticalmente no card */
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -10px rgba(30, 58, 138, 0.5);
    /* Sombra mais densa e compacta */
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================
   HEADER
   ===================== */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 2rem;
    pointer-events: none;
    /* cliques passam por baixo da área vazia */
}

.site-header .logo {
    pointer-events: auto;
    /* mas a logo em si é clicável */
}

/* =====================
   LOGO
   ===================== */
.logo-container {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.logo {
    max-width: 220px;
    height: auto;
    border-radius: 10px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

/* =====================
   TIPOGRAFIA
   ===================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: center;
    /* não estica no flex-column do card */
    padding: 0.4rem 1rem 0.4rem 0.75rem;
    background: rgba(30, 58, 138, 0.07);
    border: 1px solid rgba(30, 58, 138, 0.18);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.1);
    }
}

.title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.highlight {
    background: linear-gradient(to right, #60a5fa, #1e3a8a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.description {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.8rem;
}

/* =====================
   CONTATOS
   ===================== */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

/* CTA Button — Fazer Pedido */
.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #25d366, #128c47);
    color: #fff;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px -4px rgba(37, 211, 102, 0.45);
    margin-top: 0.25rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -6px rgba(37, 211, 102, 0.55);
    background: linear-gradient(135deg, #2de070, #16a34a);
}

.cta-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.cta-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.cta-text strong {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.cta-text small {
    font-size: 0.8rem;
    opacity: 0.85;
    font-weight: 400;
}

.contact-pill {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    white-space: nowrap;
    max-width: 280px;
    /* nunca estica mais que isso */
    width: 100%;
    justify-content: center;
}

.icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #16a34a;
    border-color: rgba(37, 211, 102, 0.25);
}

.whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -8px rgba(37, 211, 102, 0.4);
}

.email {
    background: rgba(30, 58, 138, 0.08);
    color: var(--primary);
    border-color: rgba(30, 58, 138, 0.2);
}

.email:hover {
    background: rgba(30, 58, 138, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -8px rgba(30, 58, 138, 0.3);
}

/* =====================
   VÍDEO — COLUNA DIREITA
   ===================== */
.video-wrapper {
    flex: 1;
    max-width: 560px;
    min-width: 0;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    border: none;
    animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.video-wrapper:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.45);
    /* Sombra mais densa e compacta */
}

.inline-video {
    width: 100%;
    height: 100%;
    max-height: calc(100vh - 10rem);
    /* garante que não ultrapasse a viewport */
    display: block;
    object-fit: cover;
    background-color: #000;
}

/* =====================
   FOOTER — FIXO NA BASE
   ===================== */
.site-footer {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 0.9rem 2rem;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    background: rgba(248, 250, 252, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.site-footer .cnpj {
    font-weight: 500;
}

.footer-email {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-email:hover {
    color: var(--primary);
}

.footer-divider {
    color: rgba(0, 0, 0, 0.2);
    user-select: none;
}

/* =====================
   RESPONSIVIDADE — MOBILE
   ===================== */
@media (max-width: 768px) {
    body {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
        /* permite scroll apenas no mobile */
        overflow-x: hidden;
        grid-template-rows: auto 1fr auto;
    }

    .container {
        flex-direction: column;
        align-items: stretch;
        padding: 7rem 1rem 1.25rem;
        /* padding-top para não sobrepor a logo flutuante */
        gap: 1.25rem;
    }

    .glass-card {
        padding: 1.75rem 1.25rem;
        max-width: 100%;
    }

    .title {
        font-size: 1.9rem;
    }

    .contact-grid {
        flex-direction: column;
    }

    .contact-pill {
        justify-content: center;
    }

    .video-wrapper {
        max-width: 100%;
    }

    .inline-video {
        max-height: 55vw;
        /* proporção horizontal para mobile */
    }

    .site-footer {
        flex-direction: column;
        gap: 0.25rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.6rem;
    }

    .description {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }

    .logo {
        max-width: 180px;
    }
}