﻿/* Identidade visual */
:root {
    --navy: #091b34;
    --navy-soft: #132d4e;
    --electric: #2878ff;
    --text: #172b43;
    --muted: #64748b;
    --surface: #f4f7fb;
    --border: #e2e8f0;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    margin: 0;
    background: #fff;
    color: var(--text);
    line-height: 1.6;
}

h1, h2, h3 { letter-spacing: -0.035em; }
h2 { color: var(--navy); }
p { font-size: 1rem; }
.text-muted { color: var(--muted) !important; }
.bg-light { background-color: var(--surface) !important; }
footer.bg-dark { background-color: var(--navy) !important; }
footer .text-secondary { color: #a9b8cc !important; }

/* Cabeçalho */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.site-header .navbar { padding: 0.65rem 0; }
.header-layout { gap: 1.25rem; }
.site-header .navbar-brand { margin: 0; padding: 0; min-width: 0; }
.logo-metropole {
    width: clamp(230px, 28vw, 350px);
    max-width: 100%;
    height: auto;
    display: block;
}
.header-actions, .hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Botões e navegação pelo teclado */
.btn {
    border-radius: 12px;
    padding: 0.75rem 1.2rem;
    font-weight: 650;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn i { margin-right: 0.4rem; }
.btn:hover { transform: translateY(-2px); }
.btn-whatsapp, .btn-success {
    color: #fff;
    background: #087c48;
    border-color: #087c48;
}
.btn-whatsapp:hover, .btn-success:hover {
    color: #fff;
    background: #06663b;
    border-color: #06663b;
    box-shadow: 0 8px 20px rgb(8 124 72 / 18%);
}
.btn-call { color: var(--navy); border: 1px solid #bccadc; background: #fff; }
.btn-call:hover { color: var(--navy); background: var(--surface); border-color: var(--electric); }
a:focus-visible {
    outline: 3px solid var(--electric);
    outline-offset: 5px;
    border-radius: 12px;
}

/* Hero */
.hero {
    position: relative;
    background: radial-gradient(ellipse at 90% 0%, #183e6a 0%, transparent 55%), var(--navy);
    padding: clamp(3rem, 6vw, 6rem) 0;
    color: #fff;
}
.hero-eyebrow, .panel-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}
.hero-eyebrow {
    color: #c5dcff;
    background: rgb(40 120 255 / 12%);
    border: 1px solid rgb(131 178 255 / 28%);
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-size: clamp(2.25rem, 4.2vw, 4rem);
    line-height: 1.12;
    font-weight: 750;
    margin: 0;
    max-width: 720px;
}
.hero h1 span { display: block; color: #4895ff; margin-top: 0.2em; }
.hero-description {
    color: #c3d0e1;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.75;
    max-width: 590px;
    margin: 1.5rem 0 1.75rem;
}
.hero-actions .btn { padding: 0.95rem 1.2rem; font-size: 1rem; }
.hero .btn-call { color: #fff; background: transparent; border-color: #8197b3; }
.hero .btn-call:hover { background: var(--navy-soft); border-color: #b6d4ff; }
.hero-location { color: #b2c3d9; font-size: 0.875rem; margin: 1.35rem 0 0; }
.hero-location i { color: #78b0ff; margin-right: 0.35rem; }

/* Painel de serviços do hero */
.hero-panel {
    background: #fff;
    color: var(--text);
    border: 1px solid rgb(255 255 255 / 25%);
    border-top: 4px solid var(--electric);
    border-radius: 24px;
    padding: clamp(1.5rem, 2.5vw, 2.25rem);
    box-shadow: 0 24px 60px rgb(0 0 0 / 20%);
}
.panel-eyebrow { color: #235ec5; font-size: 0.7rem; }
.hero-panel h2 { font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 700; line-height: 1.3; margin: 0.75rem 0 1.5rem; }
.hero-service-list { list-style: none; margin: 0; padding: 0; }
.hero-service-list li { display: flex; align-items: center; gap: 0.85rem; padding: 0.65rem 0; font-weight: 600; }
.hero-service-list li + li { border-top: 1px solid var(--border); }
.hero-service-list i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 10px;
    background: #edf4ff;
    color: #235ec5;
    font-size: 1.2rem;
}
.panel-footer { border-top: 1px solid var(--border); margin-top: 1rem; padding-top: 1rem; font-size: 0.875rem; color: var(--muted); }
.panel-footer i { margin-right: 0.4rem; color: #235ec5; }

/* Seções existentes: hierarquia e acabamento visual */
section:not(.hero) h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
.card {
    border-radius: 20px;
    box-shadow: 0 5px 20px rgb(9 27 52 / 5%) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card h3 { color: var(--navy); }
.card .bi { color: #235ec5; }
.card:hover, a:focus-visible .card {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgb(9 27 52 / 12%) !important;
}

/* Telas menores: logo, contatos e painel empilhados */
@media (max-width: 991.98px) {
    .hero { padding: 3rem 0; }
    .hero-copy { max-width: 760px; }
    .hero-panel { max-width: 760px; }
}
@media (max-width: 575.98px) {
    .site-header .navbar { padding: 0.6rem 0; }
    .site-header .header-layout { justify-content: center; gap: 0.8rem; }
    .site-header .navbar-brand { display: flex; justify-content: center; width: 100%; }
    .logo-metropole { width: min(290px, 85vw); }
    .header-actions { width: 100%; flex-wrap: nowrap; gap: 0.6rem; }
    .header-actions .btn { flex: 1; padding: 0.65rem 0.4rem; font-size: 0.9rem; }
    .hero { padding: 2.5rem 0; }
    .hero-eyebrow { font-size: 0.65rem; letter-spacing: 0.07em; }
    .hero h1 { font-size: clamp(2rem, 8.6vw, 3rem); }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
    .hero-panel { border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .btn, .card { transition: none; }
    .btn:hover, .card:hover, a:focus-visible .card { transform: none; }
}

/* Nossos serviços: estilos restritos a esta seção. */
.services-section .service-card {
    width: 100%;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 6px 22px rgb(9 27 52 / 5%) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.services-section .service-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
}
.services-section .service-icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    margin-bottom: 1.4rem;
    border: 1px solid #d6e5ff;
    border-radius: 18px;
    background: linear-gradient(145deg, #f0f6ff, #e4eeff);
    box-shadow: inset 0 -3px 0 rgb(9 27 52 / 4%);
}
.services-section .service-icon .bi { color: #1764e8; font-size: 1.9rem; line-height: 1; }
.services-section .service-title {
    margin: 0 0 0.75rem;
    color: var(--navy);
    font-size: 1.25rem;
    font-weight: 750;
    line-height: 1.3;
}
.services-section .service-description {
    max-width: 28ch;
    margin: 0 0 1.75rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.65;
}
.services-section .service-cta {
    width: 100%;
    margin-top: auto;
    padding: 0.8rem 0.6rem;
    font-size: 0.9rem;
}
.services-section .service-cta .bi { color: inherit; }
.services-section .service-card:focus-visible {
    outline: 3px solid var(--electric);
    outline-offset: 4px;
    border-color: var(--electric);
    box-shadow: 0 12px 28px rgb(9 27 52 / 10%) !important;
}
/* Movimento somente para dispositivos com mouse. */
.services-section .service-card:hover { transform: none; }
@media (hover: hover) and (pointer: fine) {
    .services-section .service-card:hover {
        transform: translateY(-5px);
        border-color: #a9caff;
        box-shadow: 0 16px 32px rgb(9 27 52 / 11%) !important;
    }
}
@media (max-width: 575.98px) {
    .services-section .service-card-body { padding: 1.75rem 1.25rem; }
    .services-section .service-card { border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .services-section .service-card { transition: none; }
    .services-section .service-card:hover { transform: none; }
}

/* Diferenciais: acabamento e ícones restritos a esta seção. */
.benefits-section { padding: 3rem 0; background: #fff; }
.benefits-section .benefits-heading { margin-bottom: 1.75rem; }
.benefits-section .benefits-heading p { margin-bottom: 0; }
.benefits-section .benefit-item {
    width: 100%;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(155deg, #fff, #f8faff);
    box-shadow: 0 4px 16px rgb(9 27 52 / 4%);
}
.benefits-section .benefit-icon,
.process-section .process-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid #d6e5ff;
    border-radius: 14px;
    color: #1764e8;
    background: linear-gradient(145deg, #f0f6ff, #e4eeff);
    font-size: 1.5rem;
    line-height: 1;
}
.benefits-section .benefit-icon { margin-bottom: 1rem; }
.benefits-section .benefit-item h3,
.process-section .process-content h3 {
    margin: 0 0 0.65rem;
    color: var(--navy);
    font-size: 1.1rem;
    line-height: 1.35;
    font-weight: 750;
}
.benefits-section .benefit-item p,
.process-section .process-content p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Processo: lista ordenada e conexão horizontal decorativa. */
.process-section { padding: 3rem 0; }
.process-section .process-heading { margin-bottom: 2rem; }
.process-section .process-heading p { margin-bottom: 0; }
.process-section .process-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}
.process-section .process-step { position: relative; min-width: 0; }
.process-section .process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 23px;
    left: calc(50% + 24px);
    width: calc(100% + 1.5rem - 48px);
    height: 2px;
    background: linear-gradient(90deg, #2878ff, #c5d9f7);
}
.process-section .process-marker {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 1.25rem;
    border: 3px solid #d9e7ff;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 750;
}
.process-section .process-content {
    height: calc(100% - 68px);
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 4px 16px rgb(9 27 52 / 4%);
    text-align: center;
}
.process-section .process-icon { margin: 0 auto 1rem; }

/* Celular: sequência vertical com a conexão ao lado dos cards. */
@media (max-width: 767.98px) {
    .process-section .process-list { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .process-section .process-step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 1rem; }
    .process-section .process-marker { margin: 0; }
    .process-section .process-step:not(:last-child)::after {
        top: 48px;
        left: 23px;
        width: 2px;
        height: calc(100% + 1rem - 48px);
        background: linear-gradient(180deg, #2878ff, #c5d9f7);
    }
    .process-section .process-content { height: auto; text-align: left; padding: 1.25rem; }
    .process-section .process-icon { margin: 0 0 1rem; }
}
@media (max-width: 575.98px) {
    .benefits-section, .process-section { padding: 2.5rem 0; }
    .benefits-section .benefit-item { padding: 1.25rem; }
    .process-section .process-step { gap: 0.75rem; }
}

/* Conversão final: estilos exclusivos do trecho anterior ao rodapé. */
.final-cta { padding: 2.5rem 0; background: #fff; }
.final-cta .final-cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.5rem;
    border: 1px solid #d6e5ff;
    border-left: 4px solid var(--electric);
    border-radius: 22px;
    background: linear-gradient(120deg, #edf4ff, #f8faff);
    box-shadow: 0 8px 24px rgb(9 27 52 / 5%);
}
.final-cta .final-cta-copy { flex: 1; min-width: 0; }
.final-cta .final-cta-copy h2 { margin: 0 0 0.75rem; font-size: clamp(1.6rem, 2.5vw, 2rem); line-height: 1.25; font-weight: 750; }
.final-cta .final-cta-copy p { margin: 0; color: var(--muted); }
.final-cta .final-cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.final-cta .final-cta-actions .btn { min-height: 48px; }

/* Rodapé: marca, cobertura e contatos existentes. */
.site-footer { background: var(--navy); color: #fff; padding: 2.75rem 0 1.5rem; }
.site-footer .footer-layout { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-footer .footer-brand-name { margin: 0 0 0.8rem; font-size: 1.4rem; font-weight: 750; letter-spacing: -0.025em; }
.site-footer .footer-brand-name span { display: block; margin-top: 0.15rem; color: #d0def0; font-size: 1rem; font-weight: 500; letter-spacing: 0; }
.site-footer .footer-specialties { margin: 0 0 0.65rem; color: #b5c5da; font-size: 0.9rem; }
.site-footer .footer-region { margin: 0; color: #b5c5da; font-size: 0.9rem; }
.site-footer .footer-region i { color: #78b0ff; margin-right: 0.4rem; }
.site-footer .footer-contacts { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
.site-footer .footer-contacts a { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; text-decoration: none; border-radius: 10px; }
.site-footer .footer-phone { color: #fff; font-size: 1.15rem; font-weight: 650; padding: 0.35rem 0; }
.site-footer .footer-phone i { color: #78b0ff; }
.site-footer .footer-whatsapp { color: #fff; background: #087c48; border: 1px solid #218c5c; padding: 0.7rem 1rem; font-size: 0.95rem; font-weight: 650; }
.site-footer .footer-phone:hover { color: #a9caff; text-decoration: underline; }
.site-footer .footer-whatsapp:hover { background: #06663b; }
.site-footer .footer-bottom { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid #30435e; color: #a9b8cc; }
.site-footer .footer-bottom small { font-size: 0.8rem; }
@media (max-width: 991.98px) {
    .final-cta .final-cta-panel { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}
@media (max-width: 575.98px) {
    .final-cta { padding: 2rem 0; }
    .final-cta .final-cta-panel { padding: 1.5rem; border-radius: 18px; }
    .final-cta .final-cta-actions { flex-direction: column; width: 100%; }
    .site-footer { padding-top: 2rem; }
    .site-footer .footer-layout { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}

/* Formulário de leads: estilos isolados das seções aprovadas. */
.lead-section { padding: 3rem 0; background: var(--surface); }
.lead-section .lead-panel { max-width: 880px; margin: 0 auto; padding: 2.5rem; border: 1px solid var(--border); border-top: 4px solid var(--electric); border-radius: 22px; background: #fff; box-shadow: 0 8px 24px rgb(9 27 52 / 5%); }
.lead-section .lead-intro h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 750; margin: 0 0 0.75rem; }
.lead-section .lead-intro p { color: var(--muted); margin-bottom: 1.5rem; }
.lead-section .lead-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.lead-section .lead-field { min-width: 0; }
.lead-section label { display: block; margin-bottom: 0.5rem; color: var(--navy); font-weight: 650; }
.lead-section label span { font-size: 0.8rem; font-weight: 400; color: var(--muted); }
.lead-section input, .lead-section select { width: 100%; min-height: 48px; border: 1px solid #bccadc; border-radius: 10px; padding: 0.7rem 0.85rem; color: var(--text); background: #fff; font: inherit; }
.lead-section input:focus-visible, .lead-section select:focus-visible, .lead-section button:focus-visible { outline: 3px solid var(--electric); outline-offset: 3px; }
.lead-section .lead-note { margin: 1.25rem 0; font-size: 0.85rem; color: var(--muted); }
.lead-section button { min-height: 48px; }
.lead-section button:disabled { opacity: 0.7; cursor: wait; transform: none; }
.lead-section .lead-status { margin: 1rem 0 0; font-size: 0.95rem; }
.lead-section .lead-status:empty { display: none; }
.lead-section .lead-status[data-state="error"] { color: #a32121; }
.lead-section .lead-status[data-state="success"] { color: #06663b; }
.lead-section #lead-whatsapp-link { color: #235ec5; font-weight: 650; }
@media (max-width: 575.98px) {
    .lead-section { padding: 2.5rem 0; }
    .lead-section .lead-panel { padding: 1.5rem; border-radius: 18px; }
    .lead-section .lead-fields { grid-template-columns: minmax(0, 1fr); }
    .lead-section button { width: 100%; }
}
