/* Tema Clean 3 - harmonizacao visual clara inspirada na experiencia mobile. */
:root {
    --blue-dark: #082f7a;
    --blue: #1355c5;
    --orange: #ff6a00;
    --orange-hover: #e85a00;
    --whatsapp: #25c763;
    --whatsapp-hover: #1ead56;
    --bg: #f6f8fc;
    --text: #101828;
    --muted: #667085;
    --line: #e3e8f0;
    --white: #ffffff;
    --shadow-soft: 0 22px 58px rgba(8, 47, 122, 0.12);
    --shadow-card: 0 12px 34px rgba(8, 47, 122, 0.09);
    --radius: 20px;
}

body {
    background: var(--bg);
    color: var(--text);
}

.navbar {
    top: 12px;
}

.nav-content {
    min-height: 76px;
    padding: 10px 14px 10px 20px;
    border: 1px solid rgba(8, 47, 122, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 42px rgba(8, 47, 122, 0.14);
    backdrop-filter: blur(16px);
}

.logo img {
    width: 185px;
    filter: none;
}

.main-nav a {
    color: #173467;
}

.main-nav a::after {
    background: var(--orange);
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--blue-dark);
    background: #eef4ff;
}

.nav-phone {
    color: var(--blue-dark);
}

.nav-phone i {
    color: var(--orange);
}

.fixed-header-btn {
    display: inline-flex;
    gap: 8px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff7200, #ed5800);
    box-shadow: 0 12px 28px rgba(255, 106, 0, 0.24);
    text-transform: none;
}

.mobile-menu-toggle {
    border: 1px solid #dce5f2;
    background: #f4f7fc;
    color: var(--blue-dark);
    box-shadow: none;
}

.hero {
    min-height: 100vh;
    background: #f7f9fd;
}

.hero::after {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.93) 35%, rgba(255, 255, 255, 0.62) 56%, rgba(255, 255, 255, 0.12) 78%),
        linear-gradient(180deg, rgba(247, 249, 253, 0.08) 48%, #f7f9fd 100%);
}

.hero-slide {
    filter: saturate(0.94) contrast(0.96);
}

.hero-kicker {
    color: var(--blue-dark);
}

.hero-kicker span {
    background: var(--orange);
}

.hero h1 {
    color: var(--blue-dark);
    text-shadow: none;
}

.hero h1 span {
    color: var(--orange);
}

.hero p {
    color: #344054;
}

.hero-proof {
    color: #475467;
}

.hero-proof i {
    color: var(--orange);
}

.hero-ctas .btn {
    border-radius: 14px;
    text-transform: none;
}

.hero-ctas .btn-whatsapp {
    background: var(--whatsapp);
    box-shadow: 0 14px 30px rgba(37, 199, 99, 0.24);
}

.hero-ctas .btn-whatsapp:hover {
    background: var(--whatsapp-hover);
}

.btn-ghost {
    border-color: rgba(8, 47, 122, 0.16);
    background: rgba(255, 255, 255, 0.92);
    color: var(--blue-dark);
    box-shadow: var(--shadow-card);
}

.microcopy {
    gap: 12px;
}

.microcopy span {
    min-height: 82px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--blue-dark);
    box-shadow: 0 10px 28px rgba(8, 47, 122, 0.07);
}

.microcopy i {
    color: var(--orange);
}

.microcopy strong {
    color: var(--blue-dark);
}

.microcopy small {
    color: var(--muted);
}

.quote-calculator {
    border: 1px solid rgba(8, 47, 122, 0.12);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 26px 68px rgba(8, 47, 122, 0.16);
    backdrop-filter: blur(18px);
}

.quote-calculator::before {
    opacity: 0.035;
}

.quote-calculator .form-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: var(--orange);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quote-calculator .form-eyebrow::before {
    content: "";
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.quote-calculator .form-head h2,
.quote-calculator .quote-contact-field,
.quote-calculator .quote-estimate-mode > strong {
    color: var(--blue-dark);
}

.quote-calculator .form-head p {
    color: var(--muted);
}

.quote-calculator .quote-contact-field input,
.quote-calculator .quote-address-input,
.quote-calculator .quote-property-field select,
.quote-calculator .quote-item-input-wrap {
    border-color: #dfe6ef;
    background: #fbfcfe;
}

.quote-calculator .quote-mode-card {
    border-color: #dfe6ef;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(8, 47, 122, 0.05);
}

.quote-calculator .quote-mode-card:hover,
.quote-calculator .quote-mode-card.is-active {
    border-color: rgba(19, 85, 197, 0.55);
    background: #f3f7ff;
}

.quote-submit {
    min-height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff7200, #ed5800);
    box-shadow: 0 16px 34px rgba(255, 106, 0, 0.26);
    font-size: 0.92rem;
    text-transform: none;
}

.quote-submit:hover {
    background: linear-gradient(135deg, #f16400, #d94f00);
}

.hero-stats {
    border: 1px solid rgba(8, 47, 122, 0.1);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 44px rgba(8, 47, 122, 0.11);
}

.hero-stats div,
.hero-stats div:nth-child(2) {
    border-color: var(--line);
}

.hero-stats i {
    color: var(--orange);
}

.hero-stats strong {
    color: var(--blue-dark);
}

.hero-stats span {
    color: var(--muted);
}

#necessidade {
    background: linear-gradient(180deg, #f5f8fd 0%, #ffffff 52%, #f6f8fc 100%);
    color: var(--text);
}

#necessidade .section-title {
    color: var(--blue-dark);
}

#necessidade .section-subtitle {
    color: var(--muted);
}

.modalities-arrow,
.modalities-dots {
    border: 1px solid var(--line);
    background: #ffffff;
    color: var(--blue-dark);
    box-shadow: var(--shadow-card);
}

.modalities-dot {
    background: #bdc9db;
}

.modalities-dot.is-active {
    background: var(--orange);
}

.section-before-after {
    background: linear-gradient(180deg, #ffffff 0%, #f3f7fc 100%);
    color: var(--text);
}

.section-before-after .section-title {
    color: var(--blue-dark);
}

.section-before-after .section-subtitle {
    color: var(--muted);
}

.before-after-tabs {
    border: 1px solid var(--line);
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.before-after-tabs button {
    background: #eef3fa;
    color: #52637d;
}

.before-after-tabs button:hover {
    color: var(--blue-dark);
}

.before-after-tabs button.is-active {
    background: var(--blue-dark);
    color: #ffffff;
}

.about-hero {
    background: #eef4fb;
}

.about-hero::before {
    opacity: 0.2;
    filter: saturate(0.7);
}

.about-hero::after {
    background: linear-gradient(180deg, rgba(247, 250, 255, 0.9), rgba(238, 244, 251, 0.97));
    box-shadow: none;
}

.about-pill {
    border-color: #dbe4f0;
    background: rgba(255, 255, 255, 0.88);
    color: var(--blue-dark);
}

.about-hero h2 {
    color: var(--blue-dark);
    font-style: normal;
}

.about-hero p {
    color: #475467;
}

.value-card {
    border: 1px solid var(--line);
    border-bottom: 4px solid var(--blue-dark);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
}

.value-card-orange {
    border-bottom-color: var(--orange);
}

.value-card h3 {
    color: var(--blue-dark);
    font-style: normal;
}

.section-authority {
    background: #ffffff;
}

.metric-card {
    border-color: var(--line);
    background: #f7f9fd;
    color: var(--muted);
    box-shadow: 0 10px 28px rgba(8, 47, 122, 0.06);
}

.metric-card strong {
    color: var(--blue-dark);
}

.clients-hero {
    background: #eef4ff;
}

.clients-hero-bg {
    background:
        linear-gradient(180deg, rgba(248, 251, 255, 0.8), rgba(238, 244, 255, 0.96)),
        url("../assets/hero-carousel-2.jpg") center / cover no-repeat;
}

.clients-hero::after {
    background: radial-gradient(circle at center, rgba(19, 85, 197, 0.12), transparent 42%);
}

.clients-hero-content,
.clients-hero-content > p,
.clients-title,
.clients-title em {
    color: var(--blue-dark);
}

.clients-badge {
    border-color: #dbe4f0;
    background: rgba(255, 255, 255, 0.86);
    color: var(--blue-dark);
}

.clients-rating-card,
.review-card,
.step-card,
.faq-card,
.urgency-grid {
    border-color: var(--line);
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.section-cta {
    background:
        linear-gradient(90deg, rgba(8, 47, 122, 0.96), rgba(13, 68, 151, 0.82)),
        url("../assets/hero-carousel-5.jpg") center / cover no-repeat;
}

.footer {
    background: #062456;
}

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 1040px) {
    .fixed-header-btn {
        display: inline-flex;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: calc(76px + env(safe-area-inset-bottom));
    }

    .menu-cursor {
        display: none !important;
    }

    .navbar {
        top: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.96);
        border-bottom: 1px solid #e7ebf1;
        backdrop-filter: blur(16px);
    }

    .nav-content {
        width: 100%;
        max-width: 100%;
        min-height: 76px;
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        gap: 10px;
        padding: 8px 14px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .mobile-menu-toggle {
        grid-column: 1;
        grid-row: 1;
        width: 42px;
        height: 42px;
        margin: 0;
        display: grid;
    }

    .logo {
        grid-column: 2;
        grid-row: 1;
        display: grid;
        place-items: center;
    }

    .logo img {
        width: min(154px, 100%);
    }

    .fixed-header-btn {
        grid-column: 3;
        grid-row: 1;
        width: 42px;
        min-width: 42px;
        min-height: 42px;
        display: grid;
        place-items: center;
        padding: 0;
        border-radius: 14px;
        font-size: 1rem;
    }

    .fixed-header-btn span,
    .fixed-header-btn::after {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 76px 0 28px;
        background: #f7f9fd;
    }

    .hero .hero-carousel {
        inset: 88px 12px auto;
        height: 252px;
        border-radius: 24px;
        background: #dfe9f7;
        box-shadow: 0 18px 44px rgba(8, 47, 122, 0.16);
    }

    .hero::after {
        inset: 88px 12px auto;
        height: 252px;
        border-radius: 24px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 20%, rgba(247, 249, 253, 0.18) 54%, #f7f9fd 100%);
    }

    .hero-slide {
        background-position: center center;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding-top: 196px;
        padding-bottom: 10px;
    }

    .hero-content {
        display: block;
        width: 100%;
        padding: 18px;
        border: 1px solid rgba(8, 47, 122, 0.08);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 18px 42px rgba(8, 47, 122, 0.11);
    }

    .hero-kicker {
        margin-bottom: 8px;
        font-size: 0.7rem;
    }

    .hero h1 {
        max-width: 15ch;
        margin-bottom: 10px;
        font-size: clamp(31px, 9vw, 39px);
        line-height: 1.02;
        letter-spacing: -0.035em;
    }

    .hero p {
        max-width: 34ch;
        margin-bottom: 10px;
        font-size: 0.88rem;
        line-height: 1.45;
    }

    .hero-proof {
        margin-bottom: 14px;
        font-size: 0.76rem;
        line-height: 1.35;
    }

    .hero-ctas {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
        margin-bottom: 14px;
    }

    .hero-ctas .btn {
        width: 100%;
        min-height: 48px;
        padding: 12px 14px;
        font-size: 0.82rem;
    }

    .microcopy {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .microcopy span {
        min-height: 92px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        padding: 10px 6px;
        text-align: center;
    }

    .microcopy i {
        font-size: 1.2rem;
    }

    .microcopy strong {
        font-size: 0.68rem;
        line-height: 1.18;
    }

    .microcopy small {
        display: none;
    }

    .quote-calculator {
        order: initial;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 18px 14px;
        border-radius: 24px;
    }

    .quote-calculator .form-head {
        margin-bottom: 14px;
    }

    .quote-calculator .form-head h2 {
        max-width: 18ch;
        font-size: 1.45rem;
    }

    .quote-calculator .form-head p {
        margin-top: 7px;
        font-size: 0.78rem;
    }

    .quote-calculator .form-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .quote-calculator .form-grid > *,
    .quote-calculator .form-grid > .full {
        grid-column: 1 / -1;
    }

    .quote-calculator .quote-contact-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .quote-calculator .quote-contact-field input,
    .quote-calculator .quote-address-input {
        min-height: 48px;
        border-radius: 14px;
    }

    .quote-calculator .quote-address-input input {
        min-height: 46px;
        font-size: 0.8rem;
    }

    .quote-calculator .quote-mode-card {
        min-height: 94px;
    }

    .quote-submit {
        min-height: 52px;
        margin-top: 10px;
        font-size: 0.86rem;
    }

    .hero-stats {
        width: calc(100% - 24px);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        margin: 4px auto 0;
        padding: 8px;
        border-radius: 22px;
    }

    .hero-stats div,
    .hero-stats div:nth-child(2) {
        min-height: 74px;
        grid-template-columns: 30px 1fr;
        gap: 4px 8px;
        padding: 10px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .hero-stats div:nth-child(odd) {
        border-right: 1px solid var(--line);
    }

    .hero-stats div:nth-child(3),
    .hero-stats div:nth-child(4) {
        border-bottom: 0;
    }

    .hero-stats i {
        grid-row: 1 / span 2;
        font-size: 1.05rem;
    }

    .hero-stats strong {
        font-size: 0.76rem;
    }

    .hero-stats span {
        font-size: 0.64rem;
    }

    #necessidade {
        padding: 48px 0 42px;
    }

    #necessidade .section-header {
        margin-bottom: 10px;
    }

    .modalities-carousel {
        margin-top: 18px;
    }

    .modalities-stage,
    .modalities-track,
    .modality-card,
    .modality-card-copy {
        min-height: 470px;
    }

    .section-before-after,
    .section-howitworks,
    .section-trust,
    .section-authority,
    .section-clients,
    .section-urgency,
    .section-faq,
    .section-cta {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .about-hero {
        padding: 66px 0 104px;
    }

    .about-hero h2 {
        font-size: clamp(2.35rem, 12vw, 3.4rem);
    }

    .metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .metric-card {
        min-height: 142px;
        padding: 18px;
        border-radius: 18px;
    }

    .metric-card strong {
        font-size: 1.7rem;
    }

    .clients-hero {
        min-height: 520px;
        margin-bottom: 118px;
        padding-top: 72px;
    }

    .section-cta {
        padding-bottom: 56px;
    }

    .footer {
        padding-bottom: 24px;
    }

    .sticky-whatsapp {
        right: 14px;
        bottom: calc(86px + env(safe-area-inset-bottom));
        width: 54px;
        height: 54px;
        border: 3px solid #ffffff;
        box-shadow: 0 14px 32px rgba(20, 130, 69, 0.28);
    }

    .mobile-bottom-nav {
        position: fixed;
        inset: auto 0 0;
        z-index: 1000;
        min-height: 70px;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        padding: 7px 6px calc(7px + env(safe-area-inset-bottom));
        border-top: 1px solid #dfe5ee;
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 -12px 34px rgba(8, 47, 122, 0.1);
        backdrop-filter: blur(16px);
    }

    .mobile-bottom-nav a {
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: #667085;
        font-size: 0.62rem;
        font-weight: 800;
        text-align: center;
    }

    .mobile-bottom-nav i {
        color: var(--blue-dark);
        font-size: 1rem;
    }

    .mobile-bottom-nav a.is-active,
    .mobile-bottom-nav a.is-active i {
        color: var(--orange);
    }

    .mobile-bottom-nav-main i {
        width: 38px;
        height: 30px;
        display: grid;
        place-items: center;
        margin-top: -13px;
        border-radius: 12px;
        background: var(--orange);
        color: #ffffff;
        box-shadow: 0 9px 20px rgba(255, 106, 0, 0.24);
    }
}

@media (max-width: 390px) {
    .nav-content {
        padding-inline: 10px;
    }

    .hero .hero-carousel,
    .hero::after {
        inset-inline: 8px;
    }

    .hero-content {
        padding: 16px 14px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .microcopy strong {
        font-size: 0.64rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .about-hero::before {
        animation: none !important;
    }

    .hero-slide-1 {
        opacity: 1 !important;
        transform: scale(1.04);
    }
}
