/* ===== RESET E BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #79d9f1;
    color: #1e2a41;
    min-height: 100vh;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    width: 100%;
}

/* ===== BOTÃO WHATSAPP FLUTUANTE ===== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25D366;
    color: white;
    border-radius: 60px;
    padding: 0.9rem 1.8rem 0.9rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
    z-index: 999;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    backdrop-filter: blur(4px);
}

.whatsapp-float i {
    font-size: 1.8rem;
}

.whatsapp-float:hover {
    transform: scale(1.06);
    box-shadow: 0 16px 40px rgba(37, 211, 102, 0.45);
}

/* ===== NAVBAR ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    padding: 0.75rem 2rem;
    border-radius: 60px;
    box-shadow: 0 8px 24px rgba(0, 20, 60, 0.06);
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: sticky;
    top: 1rem;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(145deg, #0b2b5c, #1b4a8b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo i {
    -webkit-text-fill-color: #1b4a8b;
    margin-right: 6px;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #1e2a41;
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    transition: background 0.2s ease, color 0.2s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a:hover {
    background: #eef3fe;
    color: #0b2b5c;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1b4a8b;
    background: transparent;
    border: 0;
    padding: 0.35rem;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(430px, 52vw, 590px);
    padding: clamp(2rem, 6vw, 5rem);
    margin: 1.5rem 0 3rem 0;
    overflow: hidden;
    isolation: isolate;
    border-radius: 32px;
    background: #07142a;
    box-shadow: 0 24px 55px rgba(4, 24, 57, 0.25);
}

.hero::before {
    content: '';
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 13, 30, 0.94) 0%, rgba(3, 13, 30, 0.76) 42%, rgba(3, 13, 30, 0.12) 77%, rgba(3, 13, 30, 0.35) 100%);
}

.hero-text {
    position: relative;
    z-index: 2;
    flex: 0 1 560px;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
    color: #ffffff;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.3);
}

.hero-text h1 span {
    background: linear-gradient(135deg, #71dfff, #b9d8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    color: #e4efff;
    margin: 1rem 0 1.8rem 0;
    line-height: 1.5;
    max-width: 500px;
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.hero-image p {
    position: absolute;
    z-index: 2;
    right: 1.5rem;
    bottom: 1.25rem;
    margin: 0;
    padding: 0.45rem 0.8rem;
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.8rem;
    text-align: right;
    background: rgba(3, 13, 30, 0.56);
    backdrop-filter: blur(5px);
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: #1b4a8b;
    color: white;
    box-shadow: 0 6px 16px rgba(27, 74, 139, 0.18);
}

.btn-primary:hover {
    background: #113d73;
    transform: scale(1.02);
    box-shadow: 0 10px 24px rgba(27, 74, 139, 0.25);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.65);
    color: #ffffff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #ffffff;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.25);
    justify-content: center;
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: scale(1.02);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0 1.2rem 0;
}

/* ===== SEÇÃO TÍTULO ===== */
.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin: 2.5rem 0 0.5rem 0;
    letter-spacing: -0.4px;
    color: #0b1f3b;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: #1b4a8b;
}

.section-sub {
    color: #3d5479;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* ===== CARDS SERVIÇOS COM IMAGENS ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 1.5rem 0 2.5rem 0;
}

.card {
    background: #ffffff;
    border-radius: 32px;
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 28px rgba(0, 10, 30, 0.04);
    transition: all 0.3s ease;
    border: 1px solid #f0f5ff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(27, 74, 139, 0.08);
    border-color: #d4e2fc;
}

.card-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #eaf1fe;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover .card-image {
    transform: scale(1.05);
    border-color: #1b4a8b;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fallback para ícones (caso a imagem não carregue) */
.card-image .fallback-icon {
    font-size: 3.2rem;
    color: #1b4a8b;
}

.card h3 {
    font-weight: 700;
    font-size: 1.3rem;
    color: #0b1f3b;
}

.card p {
    color: #3f567a;
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1;
}

.btn-card {
    display: inline-block;
    background: #eaf1fe;
    color: #1b4a8b;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.6rem 1.5rem;
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.btn-card:hover {
    background: #1b4a8b;
    color: white;
    transform: scale(1.02);
}

/* ===== CTA PERGUNTA ===== */
.cta-pergunta {
    background: linear-gradient(135deg, #eaf1fe, #d4e2fc);
    border-radius: 48px;
    padding: 2.5rem;
    margin: 2.5rem 0;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.cta-content i {
    font-size: 3.5rem;
    color: #1b4a8b;
    margin-bottom: 0.5rem;
}

.cta-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0b1f3b;
    margin-bottom: 0.5rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: #2f405e;
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* ===== SOBRE ===== */
.sobre-section {
    background: #eef4fe;
    border-radius: 48px;
    padding: 2.5rem 2.5rem;
    margin: 3rem 0;
    border: 1px solid #ffffff;
}

.sobre-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2.5rem;
}

.sobre-texto {
    flex: 2;
    min-width: 250px;
}

.sobre-texto h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #0b1f3b;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sobre-texto h2 i {
    color: #1b4a8b;
}

.sobre-texto p {
    color: #2f405e;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.sobre-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 1.5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1b4a8b;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #3d5479;
    font-weight: 500;
}

.sobre-imagem {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.sobre-imagem img {
    max-width: 150px;
    height: auto;
    opacity: 0.8;
}

.sobre-imagem i {
    font-size: 6rem;
    color: #1b4a8b;
    opacity: 0.15;
}

/* ===== CONTATO ===== */
.contato-section {
    margin: 3rem 0;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2.5rem;
    margin-top: 1.5rem;
}

.contato-info {
    background: #ffffff;
    border-radius: 32px;
    padding: 2rem;
    box-shadow: 0 8px 28px rgba(0, 10, 30, 0.04);
    border: 1px solid #f0f5ff;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    color: #1b4a8b;
    width: 2.5rem;
    text-align: center;
    margin-top: 2px;
}

.info-item h4 {
    font-weight: 600;
    color: #0b1f3b;
    margin-bottom: 2px;
}

.info-item p {
    color: #3d5479;
    line-height: 1.4;
}

.info-item a {
    color: inherit;
    text-decoration: none;
}

.info-item a:hover {
    color: #1b4a8b;
    text-decoration: underline;
}

.contato-form {
    background: #ffffff;
    border-radius: 32px;
    padding: 2rem;
    box-shadow: 0 8px 28px rgba(0, 10, 30, 0.04);
    border: 1px solid #f0f5ff;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #0b1f3b;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 16px;
    border: 1px solid #e0e8f5;
    font-size: 0.95rem;
    transition: border 0.2s ease;
    background: #fafcff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1b4a8b;
    box-shadow: 0 0 0 3px rgba(27, 74, 139, 0.1);
}

.hidden-field {
    position: absolute;
    left: -5000px;
}

/* ===== FOOTER ===== */
.footer {
    margin-top: 4rem;
    padding: 2rem 0 1rem 0;
    border-top: 1px solid #dfe9fc;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    color: #2e4a75;
}

.footer-links {
    display: flex;
    gap: 1.2rem;
}

.footer-links a {
    color: #2e4a75;
    font-size: 1.4rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #1b4a8b;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 820px) {
    .contato-grid {
        grid-template-columns: 1fr;
    }

    .sobre-stats {
        gap: 1.5rem;
    }

    .cta-pergunta {
        padding: 1.5rem;
    }

    .cta-content h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 680px) {
    .hero {
        min-height: 520px;
        align-items: flex-end;
        padding: 2rem;
    }

    .hero::before {
        background: linear-gradient(0deg, rgba(3, 13, 30, 0.96) 0%, rgba(3, 13, 30, 0.75) 55%, rgba(3, 13, 30, 0.22) 100%);
    }

    .hero-image img {
        object-position: 58% center;
    }

    .navbar {
        flex-wrap: wrap;
        padding: 0.75rem 1.5rem;
        border-radius: 32px;
        top: 0.5rem;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        padding-top: 1rem;
        gap: 0.3rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        justify-content: center;
        padding: 0.7rem;
    }

    .menu-toggle {
        display: block;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
        padding: 0.6rem 1.2rem 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .whatsapp-float i {
        font-size: 1.4rem;
    }

    .footer {
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
    }

    .sobre-section {
        padding: 1.5rem;
    }

    .sobre-texto h2 {
        font-size: 1.4rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .card-grid {
        grid-template-columns: 1fr 1fr;
    }

    .card-image {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 480px) {
    .card-grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 1.5rem;
    }

    .card-image {
        width: 100px;
        height: 100px;
    }
}
