/**
 * F3 Import - Ultra-light Custom Theme CSS
 * High performance replacement for Elementor
 */

:root {
    --primary: #000114;
    --secondary: #00114B;
    --accent: #00BFEB;
    --text: #000000;
    --text-muted: #555555;
    --bg-header: #F1F1F1FC;
    --bg-footer: #0a1a2f;
    --white: #ffffff;
    --font-main: "Helvetica", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --transition: all 0.3s ease;
    --container-max: 1140px;
}

/* ================= RESET & BASE ================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

section[id] {
    scroll-margin-top: 76px;
}

body {
    font-family: var(--font-main);
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img, picture, svg, video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button {
    font-family: inherit;
}

.site-container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ================= DIVISOR BICOLOR ================= */
.bicolor-divider {
    width: 50%;
    max-width: 280px;
    height: 4px;
    display: flex;
    margin: 0 auto 25px auto;
}

.bicolor-divider .divider-left {
    flex: 1;
    background-color: var(--secondary);
}

.bicolor-divider .divider-right {
    flex: 1;
    background-color: var(--accent);
}

.side-divider {
    margin: 0 0 25px 0;
}

/* ================= HEADER STICKY ================= */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-header);
    box-shadow: 0px 8px 19px 0px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: var(--transition);
}

.site-header-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img,
.site-logo .custom-logo {
    max-height: 52px;
    width: auto;
    display: block;
}

/* Desktop Navigation */
.desktop-navigation .main-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.desktop-navigation .main-menu li {
    position: relative;
}

.desktop-navigation .main-menu a {
    color: var(--secondary);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    display: inline-block;
}

.desktop-navigation .main-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.desktop-navigation .main-menu a:hover,
.desktop-navigation .main-menu .current-menu-item > a {
    color: var(--accent);
}

.desktop-navigation .main-menu a:hover::after,
.desktop-navigation .main-menu .current-menu-item > a::after {
    width: 100%;
}

/* Mobile Toggle Hamburger */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--secondary);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.mobile-menu-toggle.is-active .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-active .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.is-active .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-navigation {
    display: none;
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
}

.mobile-navigation.is-open {
    max-height: 360px;
}

.mobile-menu-list {
    list-style: none;
    padding: 15px 25px;
}

.mobile-menu-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-list li:last-child {
    border-bottom: none;
}

.mobile-menu-list a {
    color: var(--secondary);
    font-size: 16px;
    font-weight: 500;
    display: block;
}

.mobile-menu-list a:hover,
.mobile-menu-list .current-menu-item > a {
    color: var(--accent);
}

/* ================= HERO SECTION ================= */
.hero-section {
    width: 100%;
    background-color: #ffffff;
}

.hero-headline-wrapper {
    padding: 24px 20px 16px 20px;
    text-align: center;
}

.hero-headline {
    font-size: 27px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--secondary);
    text-align: center;
}

.headline-plain {
    color: var(--secondary);
}

.headline-dynamic-wrapper {
    display: inline-block;
    position: relative;
    color: var(--accent);
    perspective: 300px;
}

.headline-dynamic-text {
    display: inline-block;
    color: var(--accent);
    transform-origin: 50% 100%;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.headline-dynamic-text.flip-out {
    transform: rotateX(90deg);
    opacity: 0;
}

.headline-dynamic-text.flip-in {
    transform: rotateX(0deg);
    opacity: 1;
}

.hero-media {
    width: 100%;
}

.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ================= DIFERENCIAIS (4 CARDS) ================= */
.differentials-section {
    background: linear-gradient(180deg, var(--secondary) 0%, var(--accent) 100%);
    padding: 45px 20px;
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.differential-card {
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    padding: 24px 18px;
    text-align: center;
    color: var(--white);
    background: rgba(255, 255, 255, 0.04);
    transition: var(--transition);
}

.differential-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.diff-icon {
    width: 38px;
    height: 38px;
    margin: 0 auto 16px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diff-icon svg {
    width: 100%;
    height: 100%;
    fill: #ffffff;
}

.diff-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--white);
}

.diff-desc {
    font-size: 12px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--white);
}

/* ================= SOBRE NÓS ================= */
.about-section {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 20px;
    background-color: var(--white);
    text-align: center;
}

.about-content {
    max-width: 960px;
}

.section-title {
    font-size: 45px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.title-primary {
    color: var(--secondary);
}

.title-accent {
    color: var(--accent);
}

.section-description-centered {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
    color: var(--secondary);
    text-align: center;
}

.section-description-centered p {
    margin-bottom: 20px;
}

.section-description-centered p:last-child {
    margin-bottom: 0;
}

/* ================= SEÇÕES PARALLAX COM FAIXA LATERAL ================= */
.feature-parallax-section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
}

.section-servicos,
.section-contato,
.section-dynamic-right {
    background-position: center center;
    justify-content: flex-end;
}

.section-servicos {
    background-position: center left;
}

.section-qualidade,
.section-extra,
.section-dynamic-left {
    justify-content: flex-start;
}

.feature-side-box {
    width: 65%;
    min-height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    padding: 70px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

/* Caixa no lado direito (Serviços e Contato) */
.side-box-right {
    align-items: flex-end;
    text-align: right;
    margin-left: auto;
}

.side-box-right .side-title {
    text-align: right;
}

.side-box-right .side-divider {
    margin: 0 0 25px auto;
}

.side-box-right .side-text {
    text-align: right;
    margin-left: auto;
    margin-right: 0;
}

.side-box-right .btn-info-action {
    align-self: flex-end;
}

/* Caixa no lado esquerdo (Política da Qualidade e Seção Extra) */
.side-box-left {
    align-items: flex-start;
    text-align: left;
    margin-right: auto;
}

.side-box-left .side-title {
    text-align: left;
}

.side-box-left .side-divider {
    margin: 0 auto 25px 0;
}

.side-box-left .side-text {
    text-align: left;
    margin-right: auto;
    margin-left: 0;
}

.side-box-left .btn-info-action {
    align-self: flex-start;
}

.side-title {
    font-size: 45px;
    font-weight: 500;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 15px;
}

.side-text {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--white);
    max-width: 470px;
    margin-bottom: 28px;
}

/* Botão Mais Informações */
.btn-info-action {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
    border-radius: 5px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    text-decoration: none;
    width: fit-content;
}

.btn-info-action svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.btn-info-action:hover {
    background-color: var(--white);
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

/* ================= MODAIS FLUTUANTES ================= */
.f3-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.f3-modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.f3-modal-dialog {
    background-color: #ffffff;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 2px 8px 25px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    padding: 40px 35px;
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.f3-modal-overlay.is-active .f3-modal-dialog {
    transform: scale(1);
}

.f3-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    line-height: 1;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #888888;
    transition: color 0.2s;
    padding: 0;
}

.f3-modal-close:hover {
    color: var(--primary);
}

.modal-title {
    font-size: 27px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}

.modal-body-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--secondary);
}

.modal-body-text p {
    margin-bottom: 16px;
}

.modal-body-text p:last-child {
    margin-bottom: 0;
}

/* ================= FORMULÁRIO DE CONTATO ================= */
.f3-contact-form {
    margin-top: 25px;
}

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

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    color: #111827;
    background-color: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 191, 235, 0.2);
}

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

.btn-submit {
    width: 100%;
    background-color: var(--accent);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    padding: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    background-color: #00a4cb;
}

.btn-submit:active {
    transform: scale(0.99);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Spinner no envio */
.btn-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: f3-spin 0.8s linear infinite;
}

@keyframes f3-spin {
    to { transform: rotate(360deg); }
}

.form-feedback {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.form-feedback.is-success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-feedback.is-error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ================= FOOTER ================= */
.site-footer {
    background-color: var(--bg-footer);
    color: var(--white);
}

.footer-main-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 55px 20px 30px 20px;
}

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

.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 18px;
    letter-spacing: 0.4px;
}

.footer-text {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    color: #e2e8f0;
}

.footer-bullet-list {
    list-style: none;
}

.footer-bullet-list li {
    margin-bottom: 6px;
    position: relative;
    padding-left: 14px;
}

.footer-bullet-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--white);
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 8px;
}

.footer-menu a {
    color: #e2e8f0;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-menu a:hover {
    color: var(--accent);
}

.footer-bottom-bar {
    background-color: var(--secondary);
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom-container p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.footer-dev-credit a {
    color: var(--accent);
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}

.footer-dev-credit a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ================= RESPONSIVIDADE ================= */
@media (max-width: 1024px) {
    .differentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .desktop-navigation {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-navigation {
        display: block;
    }

    .feature-side-box {
        width: 75%;
        padding: 50px 40px;
    }
}

@media (max-width: 767px) {
    html {
        scroll-padding-top: 62px;
    }

    section[id] {
        scroll-margin-top: 62px;
    }

    .site-header-container {
        padding: 10px 16px;
    }

    .site-logo img,
    .site-logo .custom-logo {
        max-height: 42px;
    }

    /* Hero Headline no mobile com espaço lateral para o widget flutuante do GTranslate */
    .hero-headline-wrapper {
        padding: 20px 16px 16px 52px;
    }

    .hero-headline {
        font-size: 19px;
        line-height: 1.35;
    }

    .differentials-section {
        padding: 30px 16px;
    }

    .differentials-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .differential-card {
        padding: 18px 14px;
    }

    .about-section {
        min-height: auto;
        padding: 45px 16px;
    }

    .section-title {
        font-size: 30px;
    }

    .section-description-centered {
        font-size: 14px;
        line-height: 1.75;
        text-align: justify;
        text-align-last: center;
        hyphens: auto;
    }

    /* Seções com Fundo Parallax e Faixa Diagonal no Mobile */
    .feature-parallax-section {
        min-height: 85vh;
        background-attachment: scroll;
        background-position: bottom center;
        background-size: cover;
        display: flex;
        align-items: center;
    }

    .section-servicos,
    .section-contato,
    .section-dynamic-right {
        justify-content: flex-end;
    }

    .section-qualidade,
    .section-extra,
    .section-dynamic-left {
        justify-content: flex-start;
    }

    .feature-side-box,
    .section-extra .feature-side-box,
    .section-qualidade .feature-side-box {
        width: 72%;
        min-height: 85vh;
        padding: 35px 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* Lado Direito no Mobile (Serviços e Contato) */
    .side-box-right {
        margin-left: auto;
        margin-right: 0;
        align-items: flex-start;
        text-align: left;
    }

    .side-box-right .side-title {
        font-size: 27px;
        line-height: 1.2;
        text-align: left;
    }

    .side-box-right .side-divider {
        margin: 0 0 16px 0;
        width: 60%;
    }

    .side-box-right .side-text {
        font-size: 13px;
        line-height: 1.6;
        max-width: 100%;
        text-align: left;
        margin: 0 0 20px 0;
    }

    .side-box-right .btn-info-action {
        font-size: 12px;
        padding: 8px 16px;
        align-self: flex-start;
    }

    /* Lado Esquerdo no Mobile (Política de Qualidade e Extra) */
    .side-box-left {
        margin-right: auto;
        margin-left: 0;
        align-items: flex-start;
        text-align: left;
    }

    .side-box-left .side-title {
        font-size: 27px;
        line-height: 1.2;
        text-align: left;
    }

    .side-box-left .side-divider {
        margin: 0 0 16px 0;
        width: 60%;
    }

    .side-box-left .side-text {
        font-size: 13px;
        line-height: 1.6;
        max-width: 100%;
        text-align: left;
        margin: 0 0 20px 0;
    }

    .side-box-left .btn-info-action {
        font-size: 12px;
        padding: 8px 16px;
        align-self: flex-start;
    }

    /* Seção Extra e Política de Qualidade no Mobile - Altura e proporções idênticas */
    .section-extra,
    .section-qualidade {
        min-height: 85vh;
    }

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

    .footer-bottom-container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 6px;
    }

    .f3-modal-dialog {
        padding: 30px 20px;
    }

    .modal-title {
        font-size: 22px;
    }

    .modal-body-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .feature-side-box,
    .section-extra .feature-side-box,
    .section-qualidade .feature-side-box {
        width: 76%;
        padding: 30px 16px;
    }

    .side-box-right .side-title,
    .side-box-left .side-title {
        font-size: 24px;
    }

    .side-box-right .side-text,
    .side-box-left .side-text {
        font-size: 12px;
    }

    .hero-headline {
        font-size: 17px;
    }
}

/* Suporte suave ao GTranslate se estiver ativo na página */
.gt_switcher_wrapper {
    z-index: 999 !important;
}
