/* ==========================================
   RESET E VARIÁVEIS GLOBAIS
========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cor-azul-principal: #2B6DAA;
    --cor-azul-escuro: #1F4F7A;
    --cor-cinza-medio: #9CA3A8;
    --cor-cinza-claro: #D1D5DB;
    --cor-branco: #FFFFFF;
    --cor-sucesso: #10B981;
    --cor-alerta: #F97316;
    --cor-perigo: #EF4444;
    --cor-fundo: #F9FAFB;
    --cor-texto-principal: #1F2937;
    --cor-texto-secundario: #6B7280;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--cor-texto-principal);
    background-color: var(--cor-fundo);
}

/* ==========================================
   TIPOGRAFIA E UTILITÁRIOS
========================================== */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; color: var(--cor-azul-escuro); }
h3 { font-size: 1.5rem; color: var(--cor-azul-principal); }
p  { font-size: 1rem; margin-bottom: 1rem; color: var(--cor-texto-secundario); }

.container   { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.text-white  { color: var(--cor-branco); }
.mt-lg { margin-top: 3rem; }
.mb-lg { margin-bottom: 3rem; }

/* ==========================================
   BOTÕES
========================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 0.5px;
}

.btn-primary { background-color: var(--cor-azul-principal); color: var(--cor-branco); box-shadow: 0 4px 12px rgba(43,109,170,.3); }
.btn-primary:hover { background-color: var(--cor-azul-escuro); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(43,109,170,.4); }

.btn-secondary { background-color: var(--cor-sucesso); color: var(--cor-branco); box-shadow: 0 4px 12px rgba(16,185,129,.3); }
.btn-secondary:hover { background-color: #059669; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(16,185,129,.4); }

.btn-outline { background-color: transparent; color: var(--cor-azul-principal); border: 2px solid var(--cor-azul-principal); }
.btn-outline:hover { background-color: var(--cor-azul-principal); color: var(--cor-branco); }

.btn-block { display: block; width: 100%; }

.btn-whatsapp { background-color: #25D366; color: var(--cor-branco); }
.btn-whatsapp:hover { background-color: #1ea853; }

/* ==========================================
   BADGE E DESTAQUE
========================================== */
.badge { display: inline-block; padding: 0.5rem 1rem; background-color: var(--cor-cinza-claro); color: var(--cor-azul-escuro); border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem; }
.badge-alert   { background-color: rgba(249,115,22,.1); color: var(--cor-alerta); }
.badge-success { background-color: rgba(16,185,129,.1); color: var(--cor-sucesso); }

/* ==========================================
   NAVBAR
========================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: var(--cor-branco);
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 1rem;
}

.navbar-logo img { height: 48px; width: auto; display: block; }

.navbar-links { display: flex; list-style: none; gap: 0.25rem; align-items: center; }

.navbar-links a {
    text-decoration: none;
    color: var(--cor-texto-principal);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.navbar-links a:hover,
.navbar-links a.active {
    background-color: var(--cor-fundo);
    color: var(--cor-azul-principal);
}

.navbar-links a.active { font-weight: 700; }

.navbar-cta { padding: 0.6rem 1.25rem; font-size: 0.9rem; }

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--cor-azul-principal);
    padding: 0.25rem;
}

/* ==========================================
   HERO SECTION
========================================== */
.hero {
    background: linear-gradient(135deg, var(--cor-azul-principal) 0%, var(--cor-azul-escuro) 100%);
    color: var(--cor-branco);
    padding: 4.0rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 500px; height: 500px;
    background: rgba(255,255,255,.05);
    border-radius: 50%;
    z-index: 0;
}

.hero-content { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }

.hero h1 { font-size: 2.8rem; margin-bottom: 1.5rem; font-weight: 800; line-height: 1.1; text-shadow: 0 2px 4px rgba(0,0,0,.1); }

.hero-subheadline { font-size: 1.3rem; margin-bottom: 2rem; opacity: .95; line-height: 1.5; font-weight: 300; }

.hero-cta-wrapper { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.5rem; }

.hero-cta-primary { font-size: 1.1rem; padding: 1.2rem 2.5rem; }

.microcopy { font-size: 0.9rem; opacity: .9; font-weight: 500; margin-top: 1.5rem; letter-spacing: 0.5px; }

/* Page header (páginas internas) */
.page-header {
    background: linear-gradient(135deg, var(--cor-azul-principal) 0%, var(--cor-azul-escuro) 100%);
    color: var(--cor-branco);
    padding: 3.5rem 1.5rem;
    text-align: center;
}
.page-header h1 { color: var(--cor-branco); font-size: 2.2rem; margin-bottom: 0.5rem; }
.page-header p  { color: rgba(255,255,255,.9); font-size: 1.1rem; margin: 0; }

/* ==========================================
   BLOCO DE ALERTA
========================================== */
.alert-block {
    background-color: rgba(249,115,22,.08);
    border-left: 5px solid var(--cor-alerta);
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 4px;
}
.alert-block h3 { color: var(--cor-alerta); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.alert-icon { font-size: 1.5rem; }
.alert-block p { color: var(--cor-texto-principal); font-size: 1.05rem; line-height: 1.7; }
.alert-block strong { color: var(--cor-alerta); }

/* ==========================================
   DIFERENCIAIS / MOTIVOS
========================================== */
.differentials-section { padding: 4rem 1.5rem; background-color: var(--cor-fundo); }

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.differential-item {
    background-color: var(--cor-branco);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    border: 1px solid var(--cor-cinza-claro);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.differential-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(43,109,170,.12); }
.differential-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.differential-item h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.differential-item p  { font-size: 0.95rem; color: var(--cor-texto-secundario); }

/* ==========================================
   PROVA SOCIAL / DEPOIMENTOS
========================================== */
.social-proof-section { padding: 4rem 1.5rem; background-color: var(--cor-branco); }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}
.stat-item { padding: 2rem; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--cor-azul-principal); }
.stat-label  { font-size: 0.95rem; color: var(--cor-texto-secundario); margin-top: 0.5rem; }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.testimonial-card {
    background-color: var(--cor-fundo);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--cor-cinza-claro);
    position: relative;
    padding-top: 3rem;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 0.5rem; left: 1.5rem;
    font-size: 3rem;
    color: var(--cor-azul-principal);
    opacity: 0.3;
}
.testimonial-text   { font-size: 0.95rem; color: var(--cor-texto-principal); margin-bottom: 1.5rem; font-style: italic; line-height: 1.6; }
.testimonial-author { font-weight: 600; color: var(--cor-azul-escuro); font-size: 0.9rem; }
.testimonial-author-role { font-size: 0.8rem; color: var(--cor-texto-secundario); }
.stars { color: #FCD34D; margin-bottom: 1rem; letter-spacing: 2px; }

/* ==========================================
   SERVIÇOS
========================================== */
.services-section { padding: 4rem 1.5rem; background-color: var(--cor-branco); }

.services-header { text-align: center; margin-bottom: 3rem; }
.services-header p { font-size: 1.15rem; color: var(--cor-texto-secundario); margin-bottom: 2rem; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}
.service-card {
    background: var(--cor-fundo);
    padding: 2rem;
    border-radius: 8px;
    border-top: 4px solid var(--cor-azul-principal);
    transition: all 0.3s ease;
    text-align: left;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(43,109,170,.15); }
.service-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.service-card h3 { margin-bottom: 1rem; font-size: 1.3rem; }
.service-card p  { font-size: 0.95rem; margin-bottom: 1.5rem; }

.service-benefits { list-style: none; margin-bottom: 1.5rem; }
.service-benefits li { font-size: 0.9rem; color: var(--cor-texto-principal); margin-bottom: 0.75rem; display: flex; align-items: flex-start; gap: 0.5rem; }
.service-benefits li::before { content: '✓'; color: var(--cor-sucesso); font-weight: bold; flex-shrink: 0; margin-top: 0.1rem; }

/* ==========================================
   COMO FUNCIONA
========================================== */
.how-it-works-section { padding: 4rem 1.5rem; background-color: var(--cor-fundo); }

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
}
.step-item { background-color: var(--cor-branco); padding: 2rem; border-radius: 8px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; background-color: var(--cor-azul-principal); color: var(--cor-branco); border-radius: 50%; font-size: 1.5rem; font-weight: bold; margin-bottom: 1rem; }
.step-item h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.step-item p  { font-size: 0.9rem; color: var(--cor-texto-secundario); }

/* ==========================================
   OFERTA / CTA BANNER
========================================== */
.offer-section {
    background: linear-gradient(135deg, var(--cor-azul-principal) 0%, var(--cor-azul-escuro) 100%);
    color: var(--cor-branco);
    padding: 3rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(43,109,170,.2);
}
.offer-badge { background-color: var(--cor-alerta); color: var(--cor-branco); display: inline-block; padding: 0.75rem 1.5rem; border-radius: 20px; font-size: 0.85rem; font-weight: 700; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.offer-section h2 { color: var(--cor-branco); font-size: 2rem; margin-bottom: 1rem; }
.offer-section p  { color: rgba(255,255,255,.95); font-size: 1.15rem; margin-bottom: 2rem; }
.offer-highlight { background-color: rgba(255,255,255,.1); padding: 1.5rem; border-radius: 8px; margin-bottom: 2rem; border-left: 4px solid var(--cor-alerta); }
.offer-highlight strong { color: var(--cor-alerta); }

/* ==========================================
   FORMULÁRIO DE CONTATO
========================================== */
.contact-form-section { padding: 3rem 1.5rem; background-color: var(--cor-branco); }

.form-wrapper { max-width: 600px; margin: 2rem auto; background-color: var(--cor-fundo); padding: 2.5rem; border-radius: 8px; border: 1px solid var(--cor-cinza-claro); }

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: var(--cor-texto-principal); font-size: 0.95rem; }
.form-group input,
.form-group textarea,
.form-group select { width: 100%; padding: 0.75rem; border: 1px solid var(--cor-cinza-claro); border-radius: 4px; font-family: inherit; font-size: 1rem; transition: border-color 0.3s ease; background-color: var(--cor-branco); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--cor-azul-principal); box-shadow: 0 0 0 3px rgba(43,109,170,.1); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-trust { font-size: 0.8rem; color: var(--cor-texto-secundario); text-align: center; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--cor-cinza-claro); }
.form-submit { width: 100%; margin-top: 1rem; }

/* ==========================================
   QUEM SOMOS
========================================== */
.about-section { padding: 4rem 1.5rem; background-color: var(--cor-branco); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
}

.about-text p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.25rem; }

.about-values { padding: 4rem 1.5rem; background-color: var(--cor-fundo); }

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background-color: var(--cor-branco);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--cor-azul-principal);
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.value-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.value-card p  { font-size: 0.95rem; margin: 0; }

.about-numbers { padding: 3rem 1.5rem; background-color: var(--cor-azul-escuro); }
.about-numbers h2 { color: var(--cor-branco); text-align: center; }
.about-numbers .stat-number { color: var(--cor-branco); }
.about-numbers .stat-label  { color: rgba(255,255,255,.75); }

/* ==========================================
   RODAPÉ
========================================== */
footer { background-color: var(--cor-azul-escuro); color: rgba(255,255,255,.9); padding: 2rem 1.5rem; margin-top: 3rem; }

.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 2rem; }

.footer-section h4 { color: var(--cor-branco); font-size: 1rem; margin-bottom: 1rem; }
.footer-section p,
.footer-section a { font-size: 0.9rem; color: rgba(255,255,255,.8); text-decoration: none; line-height: 1.8; }
.footer-section a:hover { color: var(--cor-branco); text-decoration: underline; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 2rem; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,.7); }
.footer-bottom p { color: rgba(255,255,255,.7); margin: 0; }

/* ==========================================
   BOTÃO FLUTUANTE WHATSAPP
========================================== */
.whatsapp-float {
    position: fixed;
    width: 60px; height: 60px;
    bottom: 90px; right: 20px;
    background-color: #25D366;
    color: var(--cor-branco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 12px rgba(37,211,102,.4);
    text-decoration: none;
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,.5); animation: none; }

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.05); }
}

/* ==========================================
   ANIMAÇÕES
========================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.6s ease-out; }

/* ==========================================
   RESPONSIVO
========================================== */
@media (max-width: 768px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }

    .hero { padding: 3rem 1rem; }
    .hero h1 { font-size: 1.8rem; }
    .hero-subheadline { font-size: 1.1rem; }
    .hero-cta-wrapper { flex-direction: column; }

    .about-grid { grid-template-columns: 1fr; gap: 2rem; }

    .services-grid, .differentials-grid, .testimonials-grid,
    .stats-grid, .steps-container, .footer-content,
    .values-grid { grid-template-columns: 1fr; }

    .form-wrapper { padding: 1.5rem; }
    .container { padding: 0 1rem; }

    .navbar-toggle { display: block; }

    .navbar-links {
        display: none;
        position: absolute;
        top: 70px; left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--cor-branco);
        box-shadow: 0 4px 12px rgba(0,0,0,.1);
        padding: 1rem 0;
        gap: 0;
        align-items: stretch;
    }
    .navbar-links.open { display: flex; }
    .navbar-links li a { display: block; padding: 0.75rem 1.5rem; border-radius: 0; }
    .navbar-links .btn { margin: 0.5rem 1.5rem; display: block; text-align: center; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1.1rem; }

    .hero { padding: 2.5rem 1rem; }
    .hero h1 { font-size: 1.5rem; }
    .hero-subheadline { font-size: 1rem; }
    .btn { padding: 0.85rem 2rem; font-size: 0.95rem; }
    .service-icon, .differential-icon { font-size: 2rem; }
    .stat-number { font-size: 2rem; }
    .whatsapp-float { width: 50px; height: 50px; bottom: 80px; right: 15px; font-size: 1.3rem; }
}

/* ==========================================
   ACESSIBILIDADE
========================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }

/* ==========================================
   SERVIÇOS EM DESTAQUE (CÍRCULOS)
========================================== */
.servicos-circulo-section {
    padding: 2.5rem 0 1.5rem;
}

.servicos-circulo-wrapper {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.servico-circulo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--dark-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: transform 0.2s ease;
}

.servico-circulo-item:hover {
    transform: translateY(-4px);
}

.servico-circulo-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-blue);
    box-shadow: 0 8px 32px rgba(0,0,0,0.28), 0 2px 8px rgba(43,109,170,0.2);
}

.servico-circulo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: 50% 20%;
}

@media (max-width: 480px) {
    .servicos-circulo-wrapper { gap: 1.5rem; }
    .servico-circulo-img { width: 100px; height: 100px; }
    .servico-circulo-item { font-size: 0.8rem; }
}

/* ==========================================
   COMEMORATIVO 25 ANOS
========================================== */
.hero-25 {
    position: relative;
    overflow: hidden;
    padding: 4rem 1.5rem 0;
    text-align: center;
    color: var(--cor-branco);
}
.hero-25 p, .hero-25 h1, .hero-25 h2 { color: var(--cor-branco); }

.hero-25-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}
.hero-25-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(15,35,60,.78), rgba(15,35,60,.88));
}

.hero-25-content { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; padding-bottom: 3rem; }

.hero-25-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.hero-25-logo-main { height: 70px; width: auto; }
.hero-25-logo-selo { height: 250px; width: auto; filter: drop-shadow(0 4px 12px rgba(0,0,0,.35)); }

.hero-25 h1 { font-size: 2.6rem; margin-bottom: 1rem; font-weight: 800; text-shadow: 0 2px 4px rgba(0,0,0,.15); }

.hero-25-servicos {
    position: relative;
    z-index: 1;
    padding-top: 2rem;
    padding-bottom: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.15);
}

.btn-outline-white { background-color: transparent; color: var(--cor-branco); border: 2px solid rgba(255,255,255,.7); }
.btn-outline-white:hover { background-color: var(--cor-branco); color: var(--cor-azul-escuro); transform: translateY(-2px); }

.stat-item-25anos { background-color: rgba(43,109,170,.06); border-radius: 8px; }
.stat-item-25anos .stat-number { color: var(--cor-azul-escuro); }

@media (max-width: 768px) {
    .hero-25 { padding: 3rem 1rem 0; }
    .hero-25 h1 { font-size: 1.9rem; }
    .hero-25-logo-selo { height: 90px; }
    .hero-25-logo-main { height: 50px; }
}
@media (max-width: 480px) {
    .hero-25 h1 { font-size: 1.6rem; }
    .hero-25-logo-selo { height: 70px; }
    .hero-25-logo-main { height: 42px; }
}
