/* ==========================================================================
   CSS da Landing Page - GSA BRASIL TECNOLOGIA (v4.3 - Otimização p/ Política)
   ========================================================================== */

/* --- Importação de Fonte e Variáveis de Cores --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap');

:root {
    --azul-escuro-secao: #2a5282;
    --azul-principal: #2a5282;
    --verde-destaque: #8cc63f;
    --cor-texto: #333333;
    --cor-fundo-claro: #f4f7f6;
    --cor-branco: #FFFFFF;
    --sombra-leve: 0 4px 15px rgba(0,0,0,0.08);
    --sombra-media: 0 8px 25px rgba(0,0,0,0.15);
}

/* --- Estilos Gerais e Reset Básico --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--cor-texto);
    background-color: var(--cor-fundo-claro);
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Cabeçalho --- */
.header {
    background-color: var(--cor-branco);
    padding: 15px 0;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    box-shadow: var(--sombra-media);
    position: relative;
    z-index: 10;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    max-width: 200px;
    display: block;
    transition: transform 0.3s ease;
    margin-top: -25px;
    margin-bottom: -25px;
}
.logo:hover { transform: scale(1.05); }
.header-info { text-align: right; }
.slogan {
    margin: 0 0 8px 0;
    font-size: 1.3em;
    font-weight: 700;
    color: var(--azul-principal);
}
.phone-number {
    font-size: 1em;
    font-weight: bold;
    color: #555;
}


/* --- Seção Principal (Hero com Imagem de Fundo) --- */
.hero {
    padding: 120px 0;
    position: relative;
    margin-top: -30px;
    z-index: 5;
    background-image: url('certificado-digital.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--cor-branco);
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 74, 140, 0.8);
    z-index: 1;
}
.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}
.hero-text h1 {
    font-size: 3.2em;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--cor-branco);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.hero-text p {
    font-size: 1.3em;
    max-width: 600px;
    margin: 0 auto 30px auto;
    color: rgba(255, 255, 255, 0.9);
}

/* --- Botão de Ação (CTA Principal) --- */
.cta-button {
    background-color: var(--verde-destaque);
    color: var(--cor-branco);
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.2em;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.cta-button:hover {
    background-color: #79b038;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* --- SEÇÃO DE CONFIANÇA (ESTILO REFEITO PARA CAIXAS COM EFEITO 3D) --- */
.trust-section {
    padding: 160px 0 80px 0;
    background-color: #f8f9fa;
}
.trust-subtitle {
    text-align: center;
    max-width: 700px;
    margin: -30px auto 40px auto;
    font-size: 1.1em;
    color: #555;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}
.trust-item {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease-in-out;
    text-align: left;
}
.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.trust-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #dc3545;
    font-size: 1.3em;
}
.trust-item p {
    margin: 0;
    color: #555;
    font-size: 1.0em;
    line-height: 1.6;
}
.trust-conclusion {
    text-align: center;
    font-size: 1.2em;
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #e9f5ff;
    border-radius: 5px;
    border: 1px solid #b8daff;
}


/* --- Seção de Benefícios --- */
.benefits-section {
    padding: 100px 0;
    position: relative;
    background-color: #fff;
}
.section-title {
    text-align: center;
    font-size: 2.5em;
    font-weight: 700;
    color: var(--azul-principal);
    margin-bottom: 50px;
}
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}
.benefit-item {
    background-color: var(--cor-branco);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--sombra-leve);
    border-top: 4px solid var(--azul-principal);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--sombra-media);
}
.benefit-item img {
    height: 50px;
    margin-bottom: 15px;
}
.benefit-item h3 {
    margin-bottom: 10px;
    font-size: 1.3em;
    color: var(--cor-texto);
}

/* --- SEÇÃO DE PREÇOS --- */
.pricing-section {
    padding: 80px 0;
    position: relative;
}
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}
.pricing-card {
    background-color: var(--cor-branco);
    border-radius: 8px;
    box-shadow: var(--sombra-leve);
    padding: 30px;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sombra-media);
}
.pricing-card h3 {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--azul-principal);
    margin-bottom: 10px;
}
.ideal-for {
    color: #6c757d;
    font-size: 0.9em;
    margin-bottom: 20px;
    min-height: 40px;
}
.price {
    font-size: 2.5em;
    font-weight: 900;
    color: var(--cor-texto);
    margin-bottom: 20px;
}
.features-list {
    list-style: none;
    margin-bottom: 30px;
    padding-left: 0;
    flex-grow: 1;
}
.features-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}
.features-list li::before {
    content: '✔';
    color: var(--verde-destaque);
    position: absolute;
    left: 0;
}
.cta-button-card {
    background-color: var(--azul-principal);
    color: var(--cor-branco);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: inline-block;
}
.cta-button-card:hover {
    background-color: #1d3a5e;
}
.pricing-card.popular {
    border-color: var(--azul-principal);
    transform: scale(1.05);
}
.popular-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background-color: var(--verde-destaque);
    color: var(--cor-branco);
    padding: 5px 30px;
    font-size: 0.8em;
    font-weight: bold;
    transform: rotate(45deg);
}
.payment-info {
    text-align: center;
    font-size: 0.9em;
    color: #6c757d;
}

/* --- Seção do Formulário --- */
.form-section {
    background-color: var(--azul-principal);
    color: var(--cor-branco);
    padding: 60px 0;
    position: relative;
}
.form-title {
    color: var(--cor-branco);
    text-align: center;
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 15px;
}
.form-observation {
    text-align: center;
    font-size: 0.85em;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 30px auto;
    border: 1px dashed rgba(255, 255, 255, 0.4);
    padding: 15px;
    border-radius: 5px;
}
.form-observation p {
    margin: 5px 0;
}
.form-section form {
    background-color: var(--cor-branco);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--sombra-media);
    max-width: 600px;
    margin: 0 auto;
    color: var(--cor-texto);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; }
.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

.form-authority-text {
    text-align: center;
    color: #fff;
    opacity: 0.9;
    font-size: 0.9em;
    margin-top: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Mensagens de status do formulário */
#form-status {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}
.status-success {
    background-color: #d4edda;
    color: #155724;
}
.status-error {
    background-color: #f8d7da;
    color: #721c24;
}


/* --- Divisória de Seção em Onda --- */
.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}
.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 85px;
}
.wave-divider .shape-fill {
    fill: var(--azul-escuro-secao);
}


/* --- Seção Sobre Nós --- */
.about-us-section {
    padding: 80px 0 120px 0;
    background-color: var(--cor-branco);
    text-align: center;
}
.about-us-content {
    max-width: 800px;
    margin: 0 auto;
}
.about-us-content p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5em;
}
.about-us-content p:last-child {
    margin-bottom: 0;
}

/* --- SEÇÃO DE PARCEIROS (ATUALIZADA COM DESCRIÇÃO) --- */
.partners-section {
    padding: 80px 0;
    background-color: var(--cor-branco);
}
.partners-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -30px auto 50px auto;
    font-size: 1.1em;
    color: #555;
}
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    align-items: stretch;
}
.partner-box {
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}
.partner-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-media);
    border-color: var(--azul-principal);
}
.partner-logo-link {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    margin-bottom: 20px;
}
.partner-logo-link img {
    max-width: 100%;
    max-height: 70px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}
.partner-box:hover .partner-logo-link img {
    filter: grayscale(0%);
    opacity: 1;
}
.partner-description {
    font-size: 0.9em;
    color: #333;
    line-height: 1.5;
    flex-grow: 1;
}

/* --- Rodapé (Ajustado) --- */
.footer {
    text-align: center;
    padding: 40px 20px;
    background-color: #2c2c2c;
    color: var(--cor-branco);
}
.footer p {
    margin: 8px 0;
    font-size: 0.9em;
}
.footer a {
    color: var(--cor-branco);
    text-decoration: underline;
}

/* --- Botão Flutuante do WhatsApp --- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    font-weight: bold;
    z-index: 1000;
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   Responsividade (Media Queries)
   ========================================================================== */
@media (max-width: 768px) {
    .header { clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
    .header-content { flex-direction: column; gap: 15px; align-items: flex-start; }
    .logo {
        max-width: 180px;
        margin-top: 0;
        margin-bottom: 0;
    }
    .header-info { align-self: flex-end; }
    .slogan { font-size: 1.1em; }
    .hero { margin-top: -15px; }
    .hero-text h1 { font-size: 2.5em; }
    .hero-text p { font-size: 1.1em; }
    .pricing-card.popular {
        transform: scale(1);
    }
    .trust-grid {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 768px) { 
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 992px) {
    .hero-content { text-align: center; }
    .hero-text h1 { font-size: 4em; }
    .hero-text p { font-size: 1.4em; }
    .benefits-grid { grid-template-columns: repeat(4, 1fr); }
    .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}