﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --blue: #147fc1;
    --blue-dark: #0b3553;
    --blue-light: #eaf5fc;
    --text: #263238;
    --muted: #687780;
    --background: #f6f9fb;
    --white: #ffffff;
    --border: #e4ebef;
    --shadow: 0 10px 30px rgba(20, 52, 73, .08);
    --radius: 14px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 82px;
}

body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a { color: inherit; }
img { max-width: 100%; }

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: #0b3553;

    border-bottom: 3px solid #147fc1;

    box-shadow: 0 4px 18px rgba(0, 0, 0, .15);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo-link { display: flex; align-items: center; }
.logo {
    display: block;
    width: auto;
    max-width: 210px;
    max-height: 58px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 16px;
    border-radius: 8px;
    transition: .2s ease;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, .10);
}

.nav-cta {
    color: #ffffff;
    background: #147fc1;
    margin-left: 8px;
    box-shadow: 0 4px 12px rgba(20, 127, 193, .25);
}

.nav-cta:hover {
    color: #ffffff;
    background: #1996df;
}

.mobile-nav {
    display: none;
}

.menu-toggle {
    background: transparent;
    border-color: rgba(255, 255, 255, .25);
}

.menu-toggle span {
    background: #ffffff;
}

/* SLIDER */
.slider {
    width: 100%;
    padding: 24px 0 0;
    background: var(--white);
}

.slider .container {
    width: min(1280px, calc(100% - 32px));
}

#slider1_container {
    width: 100% !important;
    height: min(400px, 42vw) !important;
    min-height: 240px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow);
    background: #edf3f6;
}

#slider1_container [u="slides"] {
    width: 100% !important;
    height: 100% !important;
}

#slider1_container [u="slides"] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jssora03l, .jssora03r {
    opacity: .85;
    transition: opacity .2s ease;
}
.jssora03l:hover, .jssora03r:hover { opacity: 1; }

/* SEÇÕES */
.section {
    padding: 90px 0;
}

.section-alt {
    background: var(--background);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.section-title {
    margin: 0 0 14px;
    color: var(--blue-dark);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;
    font-weight: 700;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
}

/* SOBRE */
.about-content {
    max-width: 850px;
    margin: auto;
    text-align: center;
}

.about-content p {
    margin: 0;
    color: #596971;
    font-size: 17px;
    line-height: 1.85;
}

.about-highlight {
    margin-top: 28px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    border-radius: 999px;
    background: var(--blue-light);
    color: var(--blue-dark);
    font-size: 14px;
    font-weight: 600;
}

/* CARDS */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.cards-grid.services-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 980px;
    margin: 0 auto;
}

.product-card,
.service-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 5px 18px rgba(20,52,73,.04);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.product-card:hover,
.service-card:hover {
    transform: translateY(-5px);
    border-color: #cfe6f4;
    box-shadow: var(--shadow);
}

.card-image {
    width: 100%;
    height: 190px;
    display: block;
    object-fit: cover;
    background: #edf3f6;
}

.card-body {
    padding: 24px;
}

.card-title {
    margin: 0 0 12px;
    color: var(--blue);
    font-size: 17px;
    font-weight: 700;
}

.card-text {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* CONTATO */
.contact-section {
    padding: 90px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h3 {
    margin: 0 0 12px;
    color: var(--blue-dark);
    font-size: 24px;
}

.contact-info > p {
    margin: 0 0 30px;
    color: var(--muted);
    font-size: 15px;
}

.contact-items {
    display: grid;
    gap: 14px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    transition: .2s ease;
}

.contact-item:hover {
    border-color: #cfe6f4;
    background: var(--blue-light);
}

.contact-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex: 0 0 42px;
}

.contact-item strong {
    display: block;
    margin-bottom: 2px;
    color: var(--blue-dark);
    font-size: 13px;
}

.contact-item span {
    color: var(--muted);
    font-size: 14px;
}

.contact-map {
    margin-top: 30px;
    width: 100%;
    height: 230px;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
}

.contact-form {
    padding: 30px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.form-group { margin-bottom: 14px; }

.form-control {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #d6e0e5;
    border-radius: 9px;
    background: var(--white);
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: .2s ease;
}

.form-control:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(20,127,193,.12);
}

textarea.form-control {
    min-height: 145px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    border: 0;
    border-radius: 9px;
    padding: 15px 20px;
    background: var(--blue);
    color: var(--white);
    font: 600 14px/1 'Inter', Arial, sans-serif;
    cursor: pointer;
    transition: .2s ease;
}

.form-submit:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

/* VOLTAR AO TOPO */
.irTopo {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    z-index: 900;
    display: none;
}

.irTopo a {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: var(--shadow);
    cursor: pointer;
}

.irTopo img {
    width: 18px;
}

/* FOOTER */
.site-footer {
    padding: 55px 0 0;
    background: #0d2638;
    color: #d8e3e9;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 45px;
}

.footer-logo {
    max-width: 190px;
    max-height: 52px;
    object-fit: contain;
    margin-bottom: 16px;
}

.footer-brand p {
    max-width: 380px;
    margin: 0;
    color: #9eb0bb;
    font-size: 13px;
}

.site-footer h3 {
    margin: 5px 0 15px;
    color: #fff;
    font-size: 14px;
}

.site-footer a {
    display: block;
    margin: 8px 0;
    color: #aebec7;
    text-decoration: none;
    font-size: 13px;
}

.site-footer a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.1);
    color: #7f949f;
    font-size: 11px;
}

/* COMPATIBILIDADE COM A ESTRUTURA ANTIGA */
.meio { width: auto; margin: 0; }
.sobre, .servicos, .contato, .topo {
    width: auto;
    min-width: 0;
    min-height: 0;
    float: none;
}
.tituloSobre { font-size: inherit; color: inherit; }

/* RESPONSIVO */
@media (max-width: 900px) {
    .main-nav { display: none; }
    .menu-toggle {
        display: flex;
        width: 42px;
        height: 42px;
        padding: 9px;
        border: 1px solid var(--border);
        border-radius: 8px;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
    }
    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--blue-dark);
        border-radius: 2px;
    }
    .mobile-nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        z-index: 999;
        display: none;
        padding: 12px 20px 18px;
        background: #fff;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }
    .mobile-nav.open { display: grid; }
    .mobile-nav a {
        padding: 12px 8px;
        color: var(--text);
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
    }

    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .cards-grid.services-grid { grid-template-columns: 1fr; max-width: 520px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    .container { width: min(100% - 28px, 1180px); }
    .header-inner { min-height: 68px; }
    .logo { max-width: 165px; max-height: 50px; }
    .mobile-nav { top: 68px; }

    .slider { padding-top: 12px; }
    #slider1_container {
        height: 220px !important;
        min-height: 0;
        border-radius: 10px;
    }

    .section,
    .contact-section { padding: 60px 0; }

    .section-heading { margin-bottom: 32px; }
    .section-heading p { font-size: 14px; }

    .cards-grid { grid-template-columns: 1fr; }
    .card-image { height: 210px; }

    .contact-form { padding: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 25px; }
    .footer-brand { grid-column: auto; }
    .footer-bottom { flex-direction: column; gap: 6px; }

    .irTopo { right: 14px; bottom: 14px; }
}

/* =========================================================
   WHATSAPP FLUTUANTE
   ========================================================= */

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 2000;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25D366;
    color: #fff;

    border-radius: 50%;
    text-decoration: none;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .20);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.whatsapp-float svg {
    width: 31px;
    height: 31px;
    fill: #fff;
}

.whatsapp-float:hover {
    color: #fff;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}

/* Animação discreta para chamar atenção */
.whatsapp-float::before {
    content: "";
    position: absolute;
    inset: -5px;

    border: 2px solid rgba(37, 211, 102, .45);
    border-radius: 50%;

    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(.9);
        opacity: .8;
    }

    70% {
        transform: scale(1.25);
        opacity: 0;
    }

    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

/* Texto que aparece ao passar o mouse */
.whatsapp-tooltip {
    position: absolute;
    right: 70px;

    white-space: nowrap;

    padding: 9px 14px;

    background: #17384d;
    color: #fff;

    border-radius: 7px;

    font-family: 'Inter', Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;

    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);

    transition:
        opacity .2s ease,
        transform .2s ease,
        visibility .2s ease;

    box-shadow: 0 5px 18px rgba(0, 0, 0, .15);
}

.whatsapp-tooltip::after {
    content: "";

    position: absolute;
    right: -5px;
    top: 50%;

    width: 10px;
    height: 10px;

    background: #17384d;

    transform: translateY(-50%) rotate(45deg);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Celular */
@media (max-width: 600px) {

    .whatsapp-float {
        right: 18px;
        bottom: 18px;

        width: 54px;
        height: 54px;
    }

    .whatsapp-float svg {
        width: 29px;
        height: 29px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}