/* ========================================
   VARIÁVEIS CSS
   ======================================== */
:root {
    --cor-primaria: #1e3a8a;
    --cor-secundaria: #0f172a;
    --cor-destaque: #d4af37;
    --cor-clara: #f0f9ff;
    --cor-texto: #1f2937;
    --cor-texto-claro: #6b7280;
    --cor-branco: #ffffff;
    --cor-cinza: #f3f4f6;
    --fonte-principal: 'Inter', sans-serif;
    --fonte-titulos: 'Poppins', sans-serif;
    --sombra: 0 4px 6px rgba(0, 0, 0, 0.1);
    --sombra-hover: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transicao: all 0.3s ease;
}

/* ========================================
   RESET E BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--fonte-principal);
    color: var(--cor-texto);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transicao);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--cor-branco);
    box-shadow: var(--sombra);
    z-index: 1000;
    transition: var(--transicao);
}

.navbar.scrolled {
    box-shadow: var(--sombra-hover);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-text {
    font-family: var(--fonte-titulos);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cor-primaria);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--cor-texto);
    font-weight: 500;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--cor-primaria);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cor-destaque);
    transition: var(--transicao);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--cor-primaria);
    transition: var(--transicao);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/banner.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--cor-branco);
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-family: var(--fonte-titulos);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s backwards;
}

/* ========================================
   BOTÕES
   ======================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transicao);
    font-size: 1rem;
}

.btn-primary {
    background: var(--cor-destaque);
    color: var(--cor-branco);
    border-color: var(--cor-destaque);
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--cor-destaque);
    transform: translateY(-2px);
    box-shadow: var(--sombra-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--cor-branco);
    border-color: var(--cor-branco);
}

.btn-secondary:hover {
    background: var(--cor-branco);
    color: var(--cor-primaria);
}

.btn-block {
    width: 100%;
}

/* ========================================
   SEÇÕES GERAIS
   ======================================== */
section {
    padding: 5rem 0;
}

.section-title {
    font-family: var(--fonte-titulos);
    font-size: 2.5rem;
    color: var(--cor-primaria);
    margin-bottom: 1rem;
}

.section-title.center {
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--cor-texto-claro);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   SOBRE
   ======================================== */
.sobre {
    background: var(--cor-branco);
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sobre-imagem img {
    border-radius: 12px;
    box-shadow: var(--sombra-hover);
}

.sobre-conteudo p {
    margin-bottom: 1.25rem;
    color: var(--cor-texto-claro);
    text-align: justify;
}

.missao-box {
    background: var(--cor-clara);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--cor-destaque);
    margin-top: 2rem;
}

.missao-box h3 {
    color: var(--cor-primaria);
    margin-bottom: 0.5rem;
    font-family: var(--fonte-titulos);
}

/* ========================================
   SERVIÇOS
   ======================================== */
.servicos {
    background: var(--cor-cinza);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.servico-card {
    background: var(--cor-branco);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--sombra);
    transition: var(--transicao);
    text-align: center;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--sombra-hover);
}

.servico-icone {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.servico-card h3 {
    color: var(--cor-primaria);
    margin-bottom: 1rem;
    font-family: var(--fonte-titulos);
    font-size: 1.25rem;
}

.servico-card p {
    color: var(--cor-texto-claro);
    line-height: 1.7;
}

/* ========================================
   VALORES
   ======================================== */
.valores {
    background: var(--cor-branco);
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.valor-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    background: var(--cor-clara);
    transition: var(--transicao);
}

.valor-item:hover {
    background: var(--cor-primaria);
    color: var(--cor-branco);
    transform: scale(1.05);
}

.valor-item h3 {
    font-family: var(--fonte-titulos);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.valor-item:hover h3,
.valor-item:hover p {
    color: var(--cor-branco);
}

/* ========================================
   ESTATÍSTICAS
   ======================================== */
.estatisticas {
    background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
    color: var(--cor-branco);
    padding: 3rem 0;
}

.estatisticas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-numero {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--fonte-titulos);
    color: var(--cor-destaque);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* ========================================
   DEPOIMENTOS
   ======================================== */
.depoimentos {
    background: var(--cor-cinza);
}

.depoimentos-carousel {
    max-width: 800px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    overflow: hidden;
}

.depoimento-card {
    display: none;
    background: var(--cor-branco);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--sombra-hover);
    text-align: center;
}

.depoimento-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.depoimento-aspas {
    font-size: 4rem;
    color: var(--cor-destaque);
    line-height: 1;
    margin-bottom: 1rem;
    font-family: serif;
}

.depoimento-texto {
    font-size: 1.125rem;
    color: var(--cor-texto-claro);
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.depoimento-autor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.depoimento-autor img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.depoimento-autor span {
    font-weight: 600;
    color: var(--cor-primaria);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: var(--cor-primaria);
    color: var(--cor-branco);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transicao);
}

.carousel-btn:hover {
    background: var(--cor-destaque);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cor-texto-claro);
    cursor: pointer;
    transition: var(--transicao);
}

.dot.active {
    background: var(--cor-primaria);
    transform: scale(1.3);
}

/* ========================================
   FAQ
   ======================================== */
.faq {
    background: var(--cor-branco);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--cor-branco);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-pergunta {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--cor-primaria);
    transition: var(--transicao);
}

.faq-pergunta:hover {
    background: var(--cor-clara);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: var(--transicao);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-resposta {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-resposta {
    max-height: 500px;
}

.faq-resposta p {
    padding: 0 1.5rem 1.5rem;
    color: var(--cor-texto-claro);
    line-height: 1.7;
}

/* ========================================
   CONTATO
   ======================================== */
.contato {
    background: var(--cor-cinza);
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 2rem;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cor-primaria);
    border-radius: 50%;
}

.info-item h3 {
    color: var(--cor-primaria);
    margin-bottom: 0.5rem;
    font-family: var(--fonte-titulos);
}

.info-item p {
    color: var(--cor-texto-claro);
    margin-bottom: 0.25rem;
}

.info-item a {
    color: var(--cor-primaria);
    font-weight: 500;
}

.info-item a:hover {
    color: var(--cor-destaque);
}

/* ========================================
   FORMULÁRIO
   ======================================== */
.contato-form {
    background: var(--cor-branco);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--sombra);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--cor-texto);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: var(--fonte-principal);
    font-size: 1rem;
    transition: var(--transicao);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cor-primaria);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-mensagem {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-mensagem.sucesso {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.form-mensagem.erro {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--cor-secundaria);
    color: var(--cor-branco);
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    font-family: var(--fonte-titulos);
    margin-bottom: 1rem;
    color: var(--cor-destaque);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col a:hover {
    color: var(--cor-destaque);
}

.footer-cnpj {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
    font-size: 0.875rem;
}

.footer-aviso {
    font-size: 0.8rem;
    opacity: 0.6;
    max-width: 800px;
    margin: 0.5rem auto 0;
}

/* ========================================
   WHATSAPP FLUTUANTE
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--cor-branco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--sombra-hover);
    z-index: 999;
    transition: var(--transicao);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128c7e;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
}

/* ========================================
   SCROLL TOP
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: 25px;
    right: 100px;
    width: 50px;
    height: 50px;
    background: var(--cor-primaria);
    color: var(--cor-branco);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transicao);
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--cor-destaque);
    transform: translateY(-5px);
}

/* ========================================
   PÁGINAS DE CONTEÚDO
   ======================================== */
.page-content {
    padding: 6rem 0 4rem;
    background: var(--cor-branco);
    min-height: 100vh;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h1 {
    font-family: var(--fonte-titulos);
    color: var(--cor-primaria);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.content-wrapper h2 {
    font-family: var(--fonte-titulos);
    color: var(--cor-primaria);
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-wrapper p {
    color: var(--cor-texto-claro);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.content-wrapper ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-wrapper ul li {
    color: var(--cor-texto-claro);
    margin-bottom: 0.5rem;
}

.updated {
    color: var(--cor-texto-claro);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.back-link {
    margin-top: 3rem;
    text-align: center;
}

/* ========================================
   ANIMAÇÕES
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ========================================
   RESPONSIVO
   ======================================== */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--cor-branco);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--sombra);
        transition: var(--transicao);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .sobre-grid,
    .contato-grid {
        grid-template-columns: 1fr;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .estatisticas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-numero {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
    
    .scroll-top {
        right: 25px;
        bottom: 90px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .depoimento-card {
        padding: 2rem 1.5rem;
    }
    
    .estatisticas-grid {
        grid-template-columns: 1fr;
    }
}

