/* ============================================================
   MCL — Melo Consulting & Logistics
   ============================================================ */
:root {
    --navy: #0a2a5e;
    --navy-900: #061a3d;
    --navy-700: #12408a;
    --gold: #e0a526;
    --gold-600: #c48d17;
    --ink: #16233b;
    --muted: #5b667a;
    --line: #e3e8f0;
    --bg: #f5f7fb;
    --radius: 14px;
    --shadow: 0 12px 32px -14px rgba(6, 26, 61, .28);
    --font-h: 'Montserrat', system-ui, sans-serif;
    --font-b: 'Inter', system-ui, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-b);
    color: var(--ink);
    background: #fff;
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: 0;
    background: none;
    color: inherit;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-h);
    line-height: 1.2;
    color: var(--navy);
    letter-spacing: -.01em;
}

.container {
    width: min(1200px, 100% - 40px);
    margin-inline: auto;
}

.ico {
    width: 20px;
    height: 20px;
    flex: none;
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

/* ---------- Botões ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: .25s;
    white-space: nowrap;
}

.btn .ico {
    width: 18px;
    height: 18px;
    transition: transform .25s;
}

.btn:hover .ico:last-child {
    transform: translateX(3px);
}

.btn-gold {
    background: var(--gold);
    color: var(--navy-900);
}

.btn-gold:hover {
    background: #f0b73a;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -10px var(--gold-600);
}

.btn-navy {
    background: var(--navy);
    color: #fff;
}

.btn-navy:hover {
    background: var(--navy-700);
    transform: translateY(-2px);
}

.btn-ghost {
    border: 1.5px solid rgba(255, 255, 255, .55);
    color: #fff;
}

.btn-ghost:hover {
    background: #fff;
    color: var(--navy);
}

.btn-outline {
    border: 1.5px solid var(--navy);
    color: var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    color: #fff;
}

.btn-sm {
    padding: 11px 20px;
    font-size: 12px;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

/* ---------- Topbar + Header ---------- */
.topbar {
    background: var(--navy-900);
    color: #cfd8ea;
    font-size: 13px;
}

.topbar-in {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    gap: 16px;
}

.topbar-in div {
    display: flex;
    gap: 24px;
}

.topbar a,
.topbar span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.topbar .ico {
    width: 14px;
    height: 14px;
    color: var(--gold);
}

.topbar a:hover {
    color: #fff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s;
}

.site-header.scrolled {
    box-shadow: 0 8px 24px -14px rgba(6, 26, 61, .35);
}

.nav-wrap {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 78px;
}

.brand img {
    height: 62px;
    width: auto;
}

.brand-text {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 28px;
    color: var(--navy);
}

.main-nav {
    margin-left: auto;
}

.main-nav>ul {
    display: flex;
    gap: 4px;
}

.main-nav a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    font-family: var(--font-h);
    font-weight: 600;
    font-size: 13.5px;
    color: var(--navy);
    position: relative;
    transition: color .2s;
}

.main-nav>ul>li>a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform .25s;
}

.main-nav>ul>li>a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.main-nav a:hover {
    color: var(--navy-700);
}

.chev {
    width: 14px !important;
    height: 14px !important;
}

.has-sub {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 330px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s;
}

.has-sub:hover .submenu,
.has-sub:focus-within .submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.submenu a {
    gap: 12px;
    padding: 11px 12px;
    border-radius: 8px;
    font-weight: 500;
}

.submenu a .ico {
    color: var(--gold-600);
}

.submenu a:hover {
    background: var(--bg);
}

.submenu a::after {
    display: none;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    color: var(--navy);
    align-items: center;
    justify-content: center;
}

.nav-toggle .i-close {
    display: none;
}

.nav-open .nav-toggle .i-open {
    display: none;
}

.nav-open .nav-toggle .i-close {
    display: block;
}

/* ---------- Tipografia de secção ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-bottom: 14px;
}

.eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    background: var(--gold);
}

.section {
    padding: 92px 0;
}

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

.section-head {
    max-width: 760px;
    margin-bottom: 52px;
}

.section-head.center {
    margin-inline: auto;
    text-align: center;
}

.section-head.center .eyebrow {
    justify-content: center;
}

.section-head h2 {
    font-size: clamp(28px, 3.4vw, 40px);
}

.section-head p {
    margin-top: 16px;
    color: var(--muted);
    font-size: 17px;
}

.split-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.split-head .section-head {
    margin-bottom: 0;
}

.prose p {
    color: var(--muted);
    font-size: 17px;
    margin-bottom: 18px;
}

.prose p strong {
    color: var(--navy);
}

/* ---------- Hero (início) ---------- */
.hero {
    position: relative;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(120deg, var(--navy-900), var(--navy) 55%, var(--navy-700));
}

.hero .ov {
    background: linear-gradient(90deg, rgba(6, 26, 61, .96) 0%, rgba(6, 26, 61, .82) 48%, rgba(6, 26, 61, .35) 100%);
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 56px;
    align-items: center;
    padding: 96px 0 104px;
}

.hero h1 {
    color: #fff;
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 800;
}

.hero h1 span {
    color: var(--gold);
    display: block;
}

.hero .lead {
    margin-top: 24px;
    max-width: 580px;
    font-size: 18px;
    color: #d6deee;
}

.hero .slogan {
    margin-top: 18px;
    font-family: var(--font-h);
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--gold);
}

.pillars {
    display: grid;
    gap: 14px;
}

.pillar {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 22px 24px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(6px);
}

.pillar .ico {
    width: 34px;
    height: 34px;
    color: var(--gold);
}

.pillar b {
    display: block;
    font-family: var(--font-h);
    font-size: 20px;
}

.pillar small {
    color: #c4cfe6;
    font-size: 14px;
}

/* ---------- Page hero (páginas internas) ---------- */
.page-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 76px 0 72px;
    background: linear-gradient(120deg, var(--navy-900), var(--navy));
}

.page-hero .ov {
    background: linear-gradient(90deg, rgba(6, 26, 61, .94), rgba(6, 26, 61, .72));
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(32px, 4.4vw, 52px);
    font-weight: 800;
    max-width: 860px;
}

.page-hero .lead {
    margin-top: 18px;
    max-width: 720px;
    font-size: 18px;
    color: #d6deee;
}

.page-hero .eyebrow {
    color: var(--gold);
}

.crumbs {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: #a9b8d6;
    margin-bottom: 26px;
    flex-wrap: wrap;
}

.crumbs a:hover {
    color: #fff;
}

.crumbs b {
    color: #fff;
    font-weight: 500;
}

/* ---------- Media / placeholders de imagem ---------- */
.media {
    position: relative;
    width: 100%;
    height: 100%;
}

.media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media.bg {
    position: absolute;
    inset: 0;
    height: auto;
}

.ov {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.ph {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 18%, rgba(224, 165, 38, .22), transparent 42%),
        radial-gradient(circle at 12% 90%, rgba(18, 64, 138, .55), transparent 50%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 22px),
        linear-gradient(135deg, var(--navy-900), var(--navy-700));
}

.ph::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1.5px dashed rgba(255, 255, 255, .22);
    border-radius: 10px;
}

.ph-chip {
    position: relative;
    z-index: 3;
    display: grid;
    justify-items: center;
    gap: 4px;
    text-align: center;
    padding: 14px 18px;
    max-width: 86%;
    color: #dbe5f7;
    font-family: var(--font-b);
}

.ph-chip .ico {
    width: 30px;
    height: 30px;
    color: var(--gold);
    opacity: .9;
}

.ph-chip b {
    font-family: var(--font-h);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .02em;
}

.ph-chip small {
    font-size: 11px;
    color: #9fb3d9;
    letter-spacing: .04em;
}

.media.bg .ph-chip {
    position: absolute;
    right: 22px;
    bottom: 16px;
    justify-items: end;
    text-align: right;
    grid-auto-flow: row;
    padding: 0;
    opacity: .75;
    z-index: 3;
}

.media.bg .ph-chip .ico {
    display: none;
}

.media.bg .ph::after {
    display: none;
}

.card-img .ph::after {
    inset: 10px;
}

/* ---------- Cards de serviço ---------- */
.grid {
    display: grid;
    gap: 28px;
}

.g3 {
    grid-template-columns: repeat(3, 1fr);
}

.g2 {
    grid-template-columns: repeat(2, 1fr);
}

.g4 {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: .3s;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.card-img {
    height: 190px;
    position: relative;
    background: linear-gradient(135deg, var(--navy), var(--navy-700));
}

.card-img .media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.card-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(6, 26, 61, .45));
    pointer-events: none;
}

.badge {
    position: absolute;
    z-index: 1;
    left: 22px;
    bottom: -26px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy-900);
    display: grid;
    place-items: center;
    border: 4px solid #fff;
}

.badge .ico {
    width: 26px;
    height: 26px;
}

.card-body {
    padding: 42px 26px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-body h3 {
    font-size: 18px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .01em;
}

.card-body p {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 16px;
}

.card-body ul {
    margin-bottom: 20px;
}

.card-body li,
.checks li {
    display: flex;
    gap: 10px;
    font-size: 14.5px;
    color: var(--ink);
    padding: 3px 0;
}

.card-body li .ico,
.checks li .ico {
    width: 16px;
    height: 16px;
    color: var(--gold-600);
    margin-top: 5px;
}

.more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 13px;
    color: var(--gold-600);
}

.more .ico {
    width: 16px;
    height: 16px;
    transition: transform .25s;
}

.card:hover .more .ico,
.more:hover .ico {
    transform: translateX(4px);
}

/* ---------- Faixa navy ---------- */
.band {
    background: var(--navy);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.band::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 60px solid rgba(224, 165, 38, .07);
}

.band .section-head h2,
.band h3 {
    color: #fff;
}

.band .section-head p {
    color: #c4cfe6;
}

.band .eyebrow {
    color: var(--gold);
}

.why {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.why>div {
    background: var(--navy);
    padding: 34px 30px;
    transition: background .3s;
}

.why>div:hover {
    background: var(--navy-700);
}

.why .ico {
    width: 38px;
    height: 38px;
    color: var(--gold);
    margin-bottom: 18px;
}

.why h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.why p {
    color: #c4cfe6;
    font-size: 14.5px;
}

/* ---------- Intro ---------- */
.intro {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 64px;
    align-items: center;
}

.intro-vis {
    display: grid;
    gap: 16px;
}

.big-pill {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 24px 28px;
    border-radius: var(--radius);
    background: var(--bg);
    border-left: 4px solid var(--gold);
}

.big-pill .ico {
    width: 36px;
    height: 36px;
    color: var(--navy);
}

.big-pill b {
    font-family: var(--font-h);
    font-size: 20px;
    color: var(--navy);
    display: block;
}

.big-pill span {
    color: var(--muted);
    font-size: 14.5px;
}

.photo {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    min-height: 360px;
    background: linear-gradient(135deg, var(--navy), var(--navy-700));
    box-shadow: var(--shadow);
}

.photo .media {
    position: absolute;
    inset: 0;
}

/* ---------- Sectores ---------- */
.sector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.sector-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: 26px 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 14px;
    color: var(--navy);
    transition: .25s;
}

.sector-chip .ico {
    width: 32px;
    height: 32px;
    color: var(--gold-600);
}

.sector-chip:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    transition: .3s;
}

.info-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.info-card .ico {
    width: 34px;
    height: 34px;
    color: var(--gold-600);
    margin-bottom: 16px;
}

.info-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.info-card p {
    color: var(--muted);
    font-size: 15px;
}

/* ---------- Passos / timeline ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    counter-reset: s;
}

.step {
    position: relative;
    padding: 32px 28px 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.step::before {
    counter-increment: s;
    content: counter(s, decimal-leading-zero);
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 40px;
    color: var(--gold);
    display: block;
    line-height: 1;
    margin-bottom: 14px;
}

.step h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.step p {
    color: var(--muted);
    font-size: 14.5px;
}

.steps.four {
    grid-template-columns: repeat(4, 1fr);
}

/* ---------- CTA band ---------- */
.cta-band {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 84px 0;
    background: linear-gradient(120deg, var(--navy-900), var(--navy));
}

.cta-band .ov {
    background: linear-gradient(90deg, rgba(6, 26, 61, .95), rgba(6, 26, 61, .8));
}

.cta-in {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 56px;
    align-items: center;
}

.cta-band h2 {
    color: #fff;
    font-size: clamp(26px, 3.2vw, 38px);
}

.cta-band .eyebrow {
    color: var(--gold);
}

.cta-band p {
    margin-top: 14px;
    color: #d0d9ec;
    max-width: 540px;
}

.cta-contacts {
    display: grid;
    gap: 18px;
    padding: 8px 0 8px 40px;
    border-left: 1px solid rgba(255, 255, 255, .2);
}

.cta-contacts li {
    display: flex;
    gap: 16px;
    align-items: center;
}

.cta-contacts .ico {
    width: 24px;
    height: 24px;
    color: var(--gold);
}

.cta-contacts small {
    display: block;
    font-size: 12px;
    color: #9fb0d0;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.cta-contacts a:hover {
    color: var(--gold);
}

/* ---------- Detalhe de serviço ---------- */
.detail {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 56px;
    align-items: start;
}

.detail-main>*+* {
    margin-top: 44px;
}

.block h2 {
    font-size: 26px;
    margin-bottom: 20px;
}

.block p {
    color: var(--muted);
    font-size: 16.5px;
    margin-bottom: 14px;
}

.checks.cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 28px;
}

.checks li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 15px;
}

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

.group {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 24px;
    border-top: 3px solid var(--gold);
}

.group h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.group li {
    font-size: 14.5px;
    padding: 3px 0;
}

.note {
    background: #fff8e6;
    border: 1px solid #f1d58a;
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
    padding: 24px 28px;
}

.note h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.note p {
    color: #4d4528;
    font-size: 15.5px;
    margin-bottom: 10px;
}

.note p:last-child {
    margin-bottom: 0;
}

.numbered {
    counter-reset: n;
    display: grid;
    gap: 12px;
}

.numbered li {
    counter-increment: n;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 14px 18px;
    background: var(--bg);
    border-radius: 12px;
    font-size: 15.5px;
}

.numbered li::before {
    content: counter(n);
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: grid;
    place-items: center;
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 13px;
}

.aside {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 20px;
}

.aside-card {
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius);
    padding: 30px;
}

.aside-card h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 10px;
}

.aside-card p {
    color: #c4cfe6;
    font-size: 14.5px;
}

.aside-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: 20px;
}

.aside-list {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}

.aside-list h4 {
    font-size: 15px;
    margin-bottom: 12px;
}

.aside-list a {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 9px 0;
    font-size: 14.5px;
    border-bottom: 1px solid var(--line);
}

.aside-list a:last-child {
    border: 0;
}

.aside-list a .ico {
    color: var(--gold-600);
    width: 18px;
    height: 18px;
}

.aside-list a:hover,
.aside-list a.current {
    color: var(--navy-700);
    font-weight: 600;
}

/* ---------- Missão / visão ---------- */
.mv {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.mv>div {
    padding: 40px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--gold);
}

.mv .ico {
    width: 40px;
    height: 40px;
    color: var(--navy);
    margin-bottom: 18px;
}

.mv h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.mv p {
    color: var(--muted);
}

.quote {
    padding: 30px 34px;
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius);
    font-family: var(--font-h);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.quote em {
    color: var(--gold);
    font-style: normal;
}

/* ---------- Contactos / formulário ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 48px;
    align-items: start;
}

.contact-list {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.contact-list li {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    align-items: center;
    background: #fff;
}

.contact-list .ico {
    width: 24px;
    height: 24px;
    color: var(--gold-600);
}

.contact-list small {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
}

.contact-list a:hover {
    color: var(--navy-700);
    text-decoration: underline;
}

.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 40px;
    box-shadow: var(--shadow);
    scroll-margin-top: 110px;
}

.form-card h2 {
    font-size: 26px;
    margin-bottom: 8px;
}

.form-card>p {
    color: var(--muted);
    margin-bottom: 26px;
}

.f-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-weight: 600;
    font-size: 13.5px;
    margin-bottom: 6px;
    color: var(--navy);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    font: inherit;
    font-size: 15px;
    background: #fff;
    color: var(--ink);
    transition: .2s;
}

.field textarea {
    min-height: 140px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--navy-700);
    box-shadow: 0 0 0 4px rgba(18, 64, 138, .12);
}

.consent {
    display: flex;
    gap: 10px;
    font-size: 13.5px;
    color: var(--muted);
    margin-bottom: 22px;
    align-items: flex-start;
}

.consent input {
    margin-top: 4px;
    accent-color: var(--navy);
}

.consent a {
    color: var(--navy-700);
    text-decoration: underline;
}

.hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 22px;
    font-size: 15px;
}

.alert.err {
    background: #fdecec;
    color: #8a1f1f;
    border: 1px solid #f3b9b9;
}

.alert.ok {
    background: #e8f6ee;
    color: #14532d;
    border: 1px solid #a7dcbc;
    padding: 28px;
}

.alert.ok h3 {
    color: #14532d;
    margin-bottom: 8px;
}

/* ---------- FAQ ---------- */
.faq {
    max-width: 880px;
    margin-inline: auto;
    display: grid;
    gap: 12px;
}

.faq details {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    transition: .2s;
}

.faq details[open] {
    border-color: var(--gold);
    box-shadow: var(--shadow);
}

.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    font-family: var(--font-h);
    font-weight: 600;
    font-size: 16px;
    color: var(--navy);
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary .ico {
    color: var(--gold-600);
    transition: transform .25s;
}

.faq details[open] summary .ico {
    transform: rotate(45deg);
}

.faq details p {
    padding: 0 24px 22px;
    color: var(--muted);
}

/* ---------- Texto legal / 404 ---------- */
.legal {
    max-width: 820px;
}

.legal h2 {
    font-size: 22px;
    margin: 36px 0 12px;
}

.legal p,
.legal li {
    color: var(--muted);
    margin-bottom: 12px;
}

.legal ul {
    list-style: disc;
    padding-left: 22px;
}

.nf {
    text-align: center;
    padding: 120px 0;
}

.nf h1 {
    font-size: 96px;
    color: var(--gold);
}

.nf p {
    color: var(--muted);
    margin: 14px 0 28px;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy-900);
    color: #b9c5de;
    padding-top: 72px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr 1fr;
    gap: 44px;
    padding-bottom: 52px;
}

.f-logo {
    display: inline-block;
    background: #fff;
    border-radius: 12px;
    padding: 8px 14px;
    margin-bottom: 18px;
}

.f-logo img {
    height: 56px;
    width: auto;
}

.f-brand strong {
    display: block;
    color: #fff;
    font-family: var(--font-h);
    font-size: 14px;
    letter-spacing: .06em;
}

.f-brand em {
    display: block;
    color: var(--gold);
    font-style: italic;
    margin: 4px 0 12px;
}

.f-brand p {
    font-size: 14.5px;
}

.site-footer h4 {
    color: #fff;
    font-size: 14px;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 12px;
}

.site-footer h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: var(--gold);
}

.f-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 14.5px;
}

.f-list .ico {
    width: 18px;
    height: 18px;
    color: var(--gold);
    margin-top: 3px;
}

.f-links li {
    margin-bottom: 10px;
    font-size: 14.5px;
}

.f-links a:hover,
.f-list a:hover,
.f-bottom a:hover {
    color: var(--gold);
}

.f-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 13.5px;
}

.f-bottom nav {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45);
    transition: .25s;
}

.wa-float:hover {
    transform: scale(1.08);
}

.wa-float .ico {
    width: 28px;
    height: 28px;
}

/* ---------- Animação de entrada ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.js .reveal.in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
    .g4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps.four {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail {
        grid-template-columns: 1fr;
    }

    .aside {
        position: static;
    }

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

@media (max-width: 960px) {
    .topbar {
        display: none;
    }

    .nav-wrap {
        height: 70px;
        gap: 12px;
    }

    .brand img {
        height: 52px;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: 4px;
    }

    .nav-cta {
        margin-left: auto;
        padding: 10px 16px;
    }

    .main-nav {
        position: fixed;
        inset: 70px 0 0 0;
        background: #fff;
        margin: 0;
        padding: 18px 20px 40px;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform .3s;
        border-top: 1px solid var(--line);
    }

    .nav-open .main-nav {
        transform: none;
    }

    .nav-open {
        overflow: hidden;
    }

    .main-nav>ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        padding: 15px 4px;
        font-size: 16px;
        border-bottom: 1px solid var(--line);
    }

    .main-nav>ul>li>a::after {
        display: none;
    }

    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        padding: 0 0 6px 14px;
        min-width: 0;
    }

    .submenu a {
        font-size: 14.5px;
        padding: 11px 4px;
    }

    .chev {
        display: none;
    }

    .hero .container {
        grid-template-columns: 1fr;
        padding: 68px 0 76px;
        gap: 36px;
    }

    .hero .ov {
        background: rgba(6, 26, 61, .88);
    }

    .intro,
    .cta-in,
    .contact-grid,
    .mv {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .cta-contacts {
        border-left: 0;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .2);
        padding-top: 28px;
    }

    .g3,
    .why,
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding: 68px 0;
    }
}

@media (max-width: 640px) {

    .g3,
    .g2,
    .g4,
    .why,
    .steps,
    .steps.four,
    .group-grid,
    .checks.cols,
    .f-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-cta {
        font-size: 11px;
        padding: 9px 12px;
    }

    .brand img {
        height: 46px;
    }

    .form-card {
        padding: 26px 20px;
    }

    .hero .lead,
    .page-hero .lead {
        font-size: 16.5px;
    }

    .btn {
        padding: 13px 22px;
    }

    .btn-row .btn {
        flex: 1 1 100%;
        justify-content: center;
    }

    .f-bottom {
        flex-direction: column;
    }

    .wa-float {
        right: 14px;
        bottom: 14px;
    }
}