/* Reset Padrão */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Regras de visibilidade para quebras isoladas entre Desktop e Mobile */
.mobile-text {
    display: none;
}

.desktop-text {
    display: inline;
}

/* Fundo da Página: Gradiente Radial para Ambiente Noturno / Estúdio */
body {
    background: radial-gradient(circle at center top, #3a3a3a 0%, #252525 50%, #181818 100%);
    background-attachment: fixed;
    font-family: 'Roboto', sans-serif;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* "Janela de Luar": Opacidade 45% + Malha dos losangos ampliada em 20% */
body::before {
    content: '';
    position: fixed;
    top: 38%;
    left: calc(-3% + 15px);
    width: 332px;
    height: 332px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 480'%3E%3Cdefs%3E%3Cpattern id='losango' width='130' height='130' patternUnits='userSpaceOnUse'%3E%3Cline x1='0' y1='0' x2='130' y2='130' stroke='%231a1a1a' stroke-width='7'/%3E%3Cline x1='130' y1='0' x2='0' y2='130' stroke='%231a1a1a' stroke-width='7'/%3E%3C/pattern%3E%3C/defs%3E%3Cg%3E%3Crect x='12' y='12' width='456' height='456' rx='10' fill='%2302B4B8' fill-opacity='0.75'/%3E%3Crect x='12' y='12' width='456' height='456' rx='10' fill='url(%23losango)' fill-opacity='0.75'/%3E%3Cline x1='240' y1='12' x2='240' y2='468' stroke='%231a1a1a' stroke-width='14'/%3E%3Cline x1='12' y1='240' x2='468' y2='240' stroke='%231a1a1a' stroke-width='14'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    transform: perspective(700px) rotateY(-28deg) rotateZ(7deg) skewY(4deg);
    filter: blur(5px) drop-shadow(0 0 35px rgba(2, 180, 184, 0.45));
    opacity: 0.45;
    -webkit-mask-image: linear-gradient(to bottom right, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom right, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Regra do Título Oculto para SEO */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Coluna Central: Elevada e Resguardada */
.main-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 956px; 
    background-color: #222222;
    box-shadow: 
        0 0 50px rgba(0, 0, 0, 0.95), 
        -20px 0 35px rgba(0, 0, 0, 0.85), 
        20px 0 35px rgba(0, 0, 0, 0.85),
        -10px 0 25px rgba(2, 180, 184, 0.2);
    border-left: 1px solid rgba(2, 180, 184, 0.25);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

/* Módulo A: Cabeçalho */
.top-bar {
    background-color: #F7931E;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
}

.brand-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-group a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    height: 66px;
    width: auto;
    display: block;
}

.divider-line {
    width: 2px;
    height: 56px;
    background-color: #333333;
}

.brand-title-wrapper {
    display: flex;
    align-items: center;
}

.brand-title-img {
    height: 57px;
    width: auto;
    display: block;
}

/* Ícones Sociais Centralizados */
.social-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    background-color: #333333;
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.social-link:hover {
    background-color: #FFFFFF;
    color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

/* Frase da Direita */
.header-support-text {
    font-family: 'Barlow Condensed', sans-serif;
    color: #FFFFFF;
    font-size: 1.55rem;
    font-weight: 300;
    text-align: right;
    letter-spacing: 0.5px;
    height: 57px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    line-height: 1;
}

/* Módulo B: Vídeo */
.video-section {
    width: 100%;
    line-height: 0;
}

.hero-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    background-color: #000000;
}

/* Módulo C: Chamada Principal Abaixo do Vídeo */
.main-call {
    padding: 40px 40px 25px 40px;
    text-align: left;
}

.call-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.75rem;
    font-weight: 300;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    line-height: 1.35;
    text-align: left;
    margin: 0;
}

/* Módulo D: Cards em Grade 3x2 / 3x3 (270px x 200px) */
.cards-section {
    display: grid;
    grid-template-columns: repeat(3, 270px);
    justify-content: space-between;
    row-gap: 30px;
    padding: 20px 40px 50px 40px;
}

.card {
    width: 270px;
    height: 200px;
    background-color: #2A2A2A;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(2, 180, 184, 0.4);
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.65), 
        0 0 15px rgba(2, 180, 184, 0.25);
}

/* Padronização do friso laranja para eliminar distorções de subpixels */
.card-accent {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 4px !important;
    min-height: 4px !important;
    max-height: 4px !important;
    background-color: #F7931E !important;
    z-index: 10 !important;
    box-sizing: border-box !important;
    transform: translateZ(0);
}

.card-bg {
    position: absolute;
    top: 4px;
    left: 0;
    width: 100%;
    height: 196px;
    object-fit: cover;
    opacity: 0.70;
    z-index: 1;
    pointer-events: none;
}

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 2;
}

.card-content h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 10px;
    line-height: 1.12; /* Medida padrão universal entre linhas de títulos */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85);
}

.card-content p {
    font-size: 0.95rem;
    color: #CCCCCC;
    line-height: 1.20; /* Medida padrão universal entre linhas de subtítulos */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.card.card-light-theme .card-content p {
    color: #333333;
    text-shadow: none;
    font-weight: 500;
    text-align: right;
}

/* =========================================================
   ESTILOS ESPECÍFICOS PARA O MIOLO DAS PÁGINAS INTERNAS
   ========================================================= */
.internal-content {
    padding: 40px;
    min-height: 500px;
}

.breadcrumb-nav {
    margin-bottom: 25px;
}

.breadcrumb-nav a {
    color: #02B4B8;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
    color: #F7931E;
    text-decoration: underline;
}

.article-header {
    border-bottom: 2px solid rgba(2, 180, 184, 0.3);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.article-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #F7931E;
    line-height: 1.2;
    margin-bottom: 8px;
}

.article-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 1.15rem;
    color: #CCCCCC;
    font-weight: 400;
}

.article-text-content {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #E0E0E0;
}

.lead-paragraph {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #FFFFFF;
    font-weight: 500;
    margin-bottom: 25px;
}

.article-text-content p {
    margin-bottom: 20px;
}

.article-text-content h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #02B4B8;
    margin-top: 35px;
    margin-bottom: 15px;
}

.article-quote {
    border-left: 4px solid #F7931E;
    background-color: rgba(255, 255, 255, 0.04);
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 0 6px 6px 0;
}

.article-quote p {
    font-style: italic;
    color: #FFFFFF;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Módulo E: Rodapé Ciano #02B4B8 */
.site-footer {
    background-color: #02B4B8;
    color: #111111;
    padding: 35px 40px;
}

/* Distribuição do Rodapé em Desktop com Espaçamento Simétrico entre Colunas */
.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.footer-col h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-brand-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-logo {
    height: 42px;
    width: auto;
    display: block;
}

.footer-divider {
    width: 2px;
    height: 34px;
    background-color: #111111;
    opacity: 0.3;
}

.footer-title-img {
    height: 34px;
    width: auto;
    display: block;
}

.copyright {
    font-size: 0.85rem;
    color: #111111;
    line-height: 1.4;
    font-weight: 500;
}

.nav-col ul {
    list-style: none;
}

.nav-col ul li {
    margin-bottom: 6px;
}

.nav-col ul li a {
    color: #111111;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-col ul li a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #111111;
    color: #FFFFFF;
    padding: 7px 14px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.25s ease;
}

.whatsapp-btn i {
    color: #25D366;
    font-size: 1rem;
}

.whatsapp-btn:hover {
    background-color: #FFFFFF;
    color: #111111;
    transform: translateY(-2px);
}

.whatsapp-btn:hover i {
    color: #111111;
}

.contact-item {
    font-size: 0.85rem;
    font-weight: 500;
    color: #111111;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Grade de Selos de Pagamento - Ajuste Exclusivo Desktop */
.payment-badges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 180px;
}

.payment-badge {
    width: 100%;
    height: 54px;
    background-color: #FFFFFF;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.payment-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28);
}

.payment-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Responsividade Otimizada para Dispositivos Móveis (Celulares e Tablets Pequenos) */
@media (max-width: 850px) {
    /* Alterna os textos de quebra específicos para mobile */
    .mobile-text {
        display: inline;
    }

    .desktop-text {
        display: none;
    }

    .main-container {
        width: 100%;
        max-width: 100%;
        border-left: none;
        border-right: none;
        box-shadow: none;
    }

    .top-bar {
        flex-direction: column;
        gap: 16px;
        padding: 20px 16px;
        text-align: center;
    }

    .brand-group {
        flex-direction: column;
        gap: 12px;
    }

    .divider-line {
        display: none;
    }

    .brand-logo {
        height: 58px;
    }

    .brand-title-img {
        height: 48px;
    }

    .header-support-text {
        height: auto;
        gap: 4px;
        text-align: center;
        font-size: 1.35rem;
    }

    .video-section {
        width: 100%;
        line-height: 0;
        margin: 0;
        padding: 0;
    }

    .hero-video {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        border: 0;
        margin: 0;
        padding: 0;
    }

    .main-call {
        padding: 24px 20px 15px 20px;
    }

    .call-title {
        font-size: 1.3rem;
        line-height: 1.35;
        text-align: center;
    }

    .call-title br {
        display: none;
    }

    .cards-section {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 15px 20px 40px 20px;
        row-gap: 20px;
    }

    .card {
        width: 100%;
        max-width: 400px;
        height: 200px;
    }

    .card-bg {
        top: 4px;
        height: 196px;
    }

    .card-content {
        padding: 16px 18px;
    }

    .card-content h3 {
        font-size: 1.4rem;
        line-height: 1.12;
        margin-bottom: 6px;
    }

    .card-content p {
        font-size: 0.95rem;
        line-height: 1.25;
    }

    /* Ajuste exclusivo padronizado para TODOS os nove cards (1 ao 9) no celular */
    .cards-section .card .card-content h3 {
        font-size: 1.70rem;
        line-height: 1.12;
    }

    .cards-section .card .card-content p {
        font-size: 1.21rem;
        line-height: 1.25;
        margin-top: 3px;
        max-width: 100% !important;
    }

    .internal-content {
        padding: 24px 20px;
    }

    .article-title {
        font-size: 1.9rem;
    }

    .article-subtitle {
        font-size: 1.05rem;
    }

    .site-footer {
        padding: 35px 20px;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .footer-col h4 {
        font-size: 1.68rem;
        margin-bottom: 12px;
    }

    .footer-brand-group {
        justify-content: center;
    }

    .nav-col ul li {
        margin-bottom: 10px;
    }

    .nav-col ul li a {
        font-size: 1.26rem;
        padding: 4px 0;
        display: inline-block;
    }

    .whatsapp-btn {
        font-size: 1.20rem;
        padding: 12px 24px;
        margin-bottom: 12px;
    }

    .whatsapp-btn i {
        font-size: 1.35rem;
    }

    .contact-item {
        justify-content: center;
        font-size: 1.20rem;
        margin-bottom: 8px;
    }

    .copyright {
        font-size: 1.14rem;
        line-height: 1.5;
    }

    /* Ajuste do rodapé móvel: Centralização absoluta da grade 3x2 (96px x 58px por selo) */
    .payment-badges-grid {
        display: grid;
        grid-template-columns: repeat(3, 96px);
        justify-content: center;
        width: fit-content;
        margin: 0 auto;
        gap: 12px;
    }

    .payment-badge {
        width: 96px;
        height: 58px;
    }
}

/* Aviso Flutuante (Toast) de Cópia de Link (Instagram / Compartilhamento) */
.social-toast {
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translate(-50%, -4px);
    background: transparent;
    color: #1a1a1a;
    border: none;
    box-shadow: none;
    padding: 0 12px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.1px;
    text-align: center;
    white-space: nowrap;
    max-width: min(920px, calc(100% - 32px));
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 10000;
}

.social-toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 850px) {
    .social-toast {
        position: fixed;
        top: auto;
        bottom: 20px;
        transform: translate(-50%, 12px);
        background-color: #1a1a1a;
        color: #FFFFFF;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-left: 4px solid #02B4B8;
        border-radius: 6px;
        padding: 10px 18px;
        font-size: 0.9rem;
        font-weight: 500;
        line-height: 1.35;
        white-space: normal;
        max-width: calc(100% - 32px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
    }

    .social-toast.show {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}
