:root {
    --f2mt-navy: #082b57;
    --f2mt-blue: #075ead;
    --f2mt-cyan: #2fc3e7;
    --f2mt-sky: #e6f7ff;
    --f2mt-ink: #12284c;
    --f2mt-muted: #5d6f8f;
    --f2mt-border: #d9e5f2;
    --f2mt-bg: #f5f9fd;
    --f2mt-card: #ffffff;
    --f2mt-header-bg: rgba(255, 255, 255, 0.96);
    --f2mt-control-bg: rgba(255, 255, 255, 0.74);
    --f2mt-control-hover-bg: #e8f7ff;
    --f2mt-control-active-text: #075ead;
    --f2mt-field-bg: #ffffff;
    --f2mt-copy: #223a61;
    --f2mt-title: #172844;
    --f2mt-success: #0f8e70;
    --f2mt-footer-bg: #082b57;
    --f2mt-footer-text: #e8f4ff;
}

[data-theme="dark"] {
    --f2mt-navy: #9dc8ff;
    --f2mt-blue: #46b5ff;
    --f2mt-cyan: #42d7f4;
    --f2mt-sky: #0d2840;
    --f2mt-ink: #e6f2ff;
    --f2mt-muted: #9ab1cf;
    --f2mt-border: #25415f;
    --f2mt-bg: #071527;
    --f2mt-card: #0d1f34;
    --f2mt-header-bg: rgba(9, 25, 43, 0.96);
    --f2mt-control-bg: rgba(14, 34, 56, 0.88);
    --f2mt-control-hover-bg: #173b5f;
    --f2mt-control-active-text: #7ddcff;
    --f2mt-field-bg: #071527;
    --f2mt-copy: #c1d5f2;
    --f2mt-title: #f1f7ff;
    --f2mt-success: #43d6ad;
    --f2mt-footer-bg: #05101c;
    --f2mt-footer-text: #c1d5f2;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    font-family: Inter, Segoe UI, Roboto, sans-serif;
    color: var(--f2mt-copy);
    background: var(--f2mt-bg);
}

h1, h2, h3 {
    color: var(--f2mt-title);
    line-height: 1.25;
}

.hero {
    position: relative;
    height: 100svh;
    min-height: 520px;
    overflow: hidden;
    background: linear-gradient(135deg, #082b57, #075ead 55%, #2fc3e7);
    color: #fff;
}

.hero-foto {
    background: #d5e2ee;
}

.hero-foto .hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.46);
    pointer-events: none;
}

.hero-foto .hero-copy {
    background: linear-gradient(180deg, rgba(8, 43, 87, 0) 48%, rgba(8, 20, 40, 0.72));
}

.hero-slides,
.hero-slide,
.hero-slide picture,
.hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

.hero-slide img {
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-copy {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
    padding: 2.5rem clamp(1.25rem, 6vw, 6rem) 4.5rem;
    background: linear-gradient(180deg, rgba(8, 43, 87, 0) 42%, rgba(8, 43, 87, 0.55));
}

.hero-copy h1 {
    color: #fff;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    max-width: 22ch;
    margin: 0;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.55));
}

.hero-sub {
    color: #fff;
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 48ch;
    margin: 0;
    opacity: 0.95;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.55));
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--f2mt-success);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.65rem 1.15rem;
    margin-top: 0.4rem;
}

.hero-cta svg {
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
}

.hero-cta:hover {
    filter: brightness(1.08);
}

.hero-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(8, 43, 87, 0.4);
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.hero-nav:hover {
    background: rgba(8, 43, 87, 0.7);
}

.hero-nav.prev { left: 0.75rem; }
.hero-nav.next { right: 0.75rem; }

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 1.2rem;
    z-index: 3;
    transform: translateX(-50%);
    display: flex;
    gap: 0.45rem;
}

.hero-dot {
    width: 30px;
    height: 3px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.hero-dot.is-active {
    background: #fff;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    opacity: 0.85;
}

@media (max-width: 800px) {
    .hero {
        min-height: 460px;
    }

    .hero-copy {
        padding: 1.5rem 1.25rem 4.2rem;
        background: linear-gradient(180deg, rgba(8, 43, 87, 0) 38%, rgba(8, 43, 87, 0.62));
    }

    .hero-copy h1,
    .hero-sub {
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .quem-slide {
        transition: none;
    }
}

.quem-somos {
    background: var(--f2mt-footer-bg);
    color: #fff;
    margin-top: 0;
    padding: 2.8rem 1.25rem;
}

.quem-somos-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem;
    align-items: center;
}

.quem-somos-media {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #061422;
}

.quem-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.quem-slide.is-active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

.quem-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.quem-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(8, 43, 87, 0.45);
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.quem-nav.prev { left: 0.6rem; }
.quem-nav.next { right: 0.6rem; }

.quem-dots {
    position: absolute;
    left: 50%;
    bottom: 0.8rem;
    z-index: 3;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
}

.quem-dot {
    width: 22px;
    height: 3px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.quem-dot.is-active {
    background: #fff;
}

.quem-somos-copy h2 {
    color: var(--f2mt-cyan);
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    font-weight: 700;
    margin: 0 0 1rem;
}

.quem-somos-copy p {
    color: #fff;
    line-height: 1.65;
    margin: 0 0 1.4rem;
}

.quem-somos-cta {
    display: inline-flex;
    align-items: center;
    background: var(--f2mt-blue);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.55rem 1.4rem;
}

.quem-somos-cta:hover {
    filter: brightness(1.08);
}

.block, .page-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 3rem 1.25rem 0;
}

.lead {
    color: var(--f2mt-muted);
    max-width: 70ch;
}

.benefits {
    text-align: center;
}

.benefits h2 {
    color: var(--f2mt-blue);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    margin: 0 0 0.45rem;
}

.benefits .lead {
    margin: 0 auto 2.2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    counter-reset: benefit;
    align-items: stretch;
}

.benefit-card {
    background: var(--f2mt-card);
    border-radius: 18px;
    padding: 2rem 1.4rem 1.8rem;
    box-shadow: 0 14px 36px rgba(8, 43, 87, 0.08);
    text-align: center;
}

.benefit-num {
    counter-increment: benefit;
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1.15rem;
    border-radius: 50%;
    background: var(--f2mt-ink);
    color: var(--f2mt-card);
    font-weight: 700;
    font-size: 1.15rem;
}

.benefit-num::before {
    content: counter(benefit);
}

.benefit-card h3 {
    color: var(--f2mt-ink);
    font-size: 1.05rem;
    margin: 0 0 0.75rem;
}

.benefit-card p {
    margin: 0;
    color: var(--f2mt-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.panel-card {
    background: var(--f2mt-card);
    border: 1px solid var(--f2mt-border);
    border-radius: 8px;
    padding: 1.2rem 1.25rem;
    box-shadow: 0 8px 24px rgba(8, 43, 87, 0.05);
}

.card-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card-grid.three { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card-grid.four { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.card-grid.two { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.metric-value {
    font-size: 2.2rem;
    color: var(--f2mt-blue);
}

.quote footer {
    margin-top: 0.8rem;
    color: var(--f2mt-muted);
    font-weight: 600;
}

.faq-list details {
    background: var(--f2mt-card);
    border: 1px solid var(--f2mt-border);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.6rem;
}

.split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.5rem;
}

.orcamento {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.15fr);
    gap: 1.5rem 2rem;
    align-items: center;
}

.orcamento h2 {
    color: var(--f2mt-blue);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    margin: 0 0 1.15rem;
}

.orcamento-form {
    grid-template-columns: 1fr 1fr;
}

.orcamento-form label {
    display: grid;
    gap: 0.28rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--f2mt-ink);
}

.orcamento-form label b {
    color: var(--f2mt-blue);
    font-weight: 700;
}

.orcamento-form .form-input {
    min-height: 2.45rem;
}

.orcamento-form textarea.form-input {
    min-height: 7.2rem;
    resize: vertical;
}

.orcamento-submit {
    grid-column: 1 / -1;
    justify-self: center;
    background: var(--f2mt-blue);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 0.55rem 1.9rem;
    margin-top: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

.orcamento-submit:hover {
    filter: brightness(1.08);
}

.orcamento-art img {
    width: 100%;
    height: auto;
    display: block;
}

.map iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 8px;
}

.contato-form,
.form-input {
    width: 100%;
}

.contato-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.contato-form .full,
.contato-form .primary-button { grid-column: 1 / -1; }

.form-input {
    border: 1px solid var(--f2mt-border);
    border-radius: 6px;
    padding: 0.55rem 0.7rem;
    background: var(--f2mt-field-bg);
    color: var(--f2mt-copy);
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--f2mt-blue), var(--f2mt-cyan));
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.form-alert {
    background: #fdecea;
    color: #b42318;
    padding: 0.7rem 0.9rem;
    border-radius: 6px;
}

.form-alert.success {
    background: color-mix(in srgb, var(--f2mt-success) 16%, var(--f2mt-card));
    color: var(--f2mt-success);
    padding: 0.7rem 0.9rem;
    border-radius: 6px;
}

.steps {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.contact-list { padding-left: 1.1rem; }
.page-hero-image { width: 100%; border-radius: 8px; margin: 1rem 0; }
.rich-body { line-height: 1.65; }
.rich-body img { max-width: 100%; height: auto; }
.rich-body > p:first-of-type,
.rich-body .lead {
    color: var(--f2mt-muted);
    max-width: 70ch;
    margin-bottom: 1.25rem;
}
.rich-body .card-grid {
    margin-top: 0.5rem;
}
.rich-body .panel-card h2 {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
}
.rich-body img { max-width: 100%; height: auto; }
.page-card { display: grid; gap: 0.6rem; align-content: start; }
.hp { position: absolute; left: -9999px; }

.goog-te-banner-frame,
.goog-te-balloon-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
#goog-gt-tt,
.goog-tooltip {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}

.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

html, body {
    top: 0 !important;
    margin-top: 0 !important;
}

.translate-host,
.goog-te-gadget {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 800px) {
    .split,
    .contato-form,
    .benefits-grid,
    .orcamento,
    .quem-somos-inner {
        grid-template-columns: 1fr;
    }
}
