/* ============================================
   RESET E CONFIGURAÇÕES GERAIS
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f4f7fa;
    color: #1a2634;
    line-height: 1.6;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* ============================================
   HEADER
   ============================================ */
header {
    background: linear-gradient(135deg, #003366 0%, #001f4d 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo span {
    font-size: 0.85rem;
    font-weight: 300;
    opacity: 0.85;
    display: block;
}

.header-contact {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.header-contact a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    transition: 0.3s;
    font-size: 0.95rem;
}

.header-contact a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.whatsapp-header {
    background: #25D366 !important;
}

.whatsapp-header:hover {
    background: #1da851 !important;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: white;
    padding: 60px 0;
    border-bottom: 1px solid #e9ecef;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text .badge {
    display: inline-block;
    background: #e8f0fe;
    color: #003366;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.hero-text h2 {
    font-size: 2.8rem;
    color: #003366;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #25D366;
    color: white;
}

.btn-primary:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.btn-secondary {
    background: #003366;
    color: white;
}

.btn-secondary:hover {
    background: #002244;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.3);
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #003366;
}

.stat-label {
    font-size: 0.85rem;
    color: #6c757d;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: scale(1.01);
}

/* ============================================
   SEÇÃO SOBRE / DIFERENCIAIS
   ============================================ */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.services {
    padding: 80px 0;
    background: white;
}

h3 {
    text-align: center;
    font-size: 2.2rem;
    color: #003366;
    margin-bottom: 50px;
    position: relative;
}

h3::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #003366;
    margin: 15px auto 0;
    border-radius: 2px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-item {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.about-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-item i {
    font-size: 3.5rem;
    color: #003366;
    margin-bottom: 20px;
}

.about-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1a2634;
}

.about-item p {
    color: #6c757d;
}

/* ============================================
   SEÇÃO SERVIÇOS
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #003366, #25D366);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card i {
    font-size: 3rem;
    color: #003366;
    margin-bottom: 20px;
}

.service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1a2634;
}

.service-card p {
    color: #6c757d;
    margin-bottom: 15px;
}

.service-link {
    color: #003366;
    font-weight: 600;
    text-decoration: none;
}

.service-link:hover {
    color: #25D366;
}

/* ============================================
   SEÇÃO CONTATO
   ============================================ */
.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    text-align: left;
    margin-bottom: 20px;
}

.contact-info h3::after {
    margin: 15px 0 0;
}

.contact-info p {
    color: #6c757d;
    margin-bottom: 30px;
}

.contact-details div {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f5;
}

.contact-details i {
    width: 40px;
    height: 40px;
    background: #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #003366;
    font-size: 1.1rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: 0.3s;
    background: #fafbfc;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #003366;
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
    background: white;
}

.contact-form button {
    width: 100%;
    justify-content: center;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: #1a2634;
    color: #ced4da;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-info h4,
.footer-links h4,
.footer-social h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-info i {
    width: 25px;
    color: #25D366;
}

.footer-links a,
.footer-social a {
    display: block;
    color: #ced4da;
    text-decoration: none;
    margin-bottom: 12px;
    transition: 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover,
.footer-social a:hover {
    color: white;
    padding-left: 8px;
}

.footer-social a i {
    width: 25px;
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid #2c3540;
    padding-top: 25px;
    margin-top: 40px;
    text-align: center;
    font-size: 0.9rem;
}

.footer-legal {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 8px;
}

/* ============================================
   PÁGINAS LEGAIS
   ============================================ */
.legal-page {
    background: white;
    padding: 60px 0;
    min-height: 70vh;
}

.legal-page h2 {
    color: #003366;
    border-bottom: 3px solid #003366;
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-size: 2.2rem;
}

.legal-page h3 {
    text-align: left;
    font-size: 1.4rem;
    margin: 35px 0 15px;
    color: #1a2634;
}

.legal-page h3::after {
    display: none;
}

.legal-page p {
    margin-bottom: 15px;
    color: #2c3e50;
}

.legal-page ul {
    margin: 15px 0 20px 25px;
    line-height: 1.9;
}

.legal-page ul li {
    margin-bottom: 8px;
    color: #2c3e50;
}

.legal-page .lgpd-summary {
    background: #e8f0fe;
    padding: 20px 25px;
    border-radius: 12px;
    border-left: 4px solid #003366;
    margin-bottom: 30px;
}

.legal-page .lgpd-summary p {
    margin-bottom: 0;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-text h2 {
        font-size: 2.2rem;
    }

    .about-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        text-align: center;
    }

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

    .hero-text h2 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-info i {
        width: auto;
        margin-right: 5px;
    }

    .footer-links a:hover,
    .footer-social a:hover {
        padding-left: 0;
    }

    .contact-grid {
        padding: 20px;
    }

    h3 {
        font-size: 1.8rem;
    }

    .legal-page h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo h1 {
        font-size: 1.4rem;
    }

    .header-contact a {
        padding: 8px 15px;
        font-size: 0.8rem;
    }

    .btn {
        padding: 14px 25px;
        font-size: 0.9rem;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .service-card,
    .about-item {
        padding: 25px 20px;
    }
}

/* ============================================
   ANIMAÇÕES
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-item,
.service-card {
    animation: fadeInUp 0.6s ease forwards;
}

.about-item:nth-child(2),
.service-card:nth-child(2) {
    animation-delay: 0.1s;
}

.about-item:nth-child(3),
.service-card:nth-child(3) {
    animation-delay: 0.2s;
}