/* =========================================================
   Pararanga Náutica — estilos do site
   Paleta e tipografia derivadas do logo: marinho, branco e o
   azul da onda; Jost, geométrica como o letreiro PARARANGA.
   ========================================================= */

@font-face {
    font-family: "Jost";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/jost-latin-wght-normal.woff2") format("woff2");
}
/* Fonte de espera com as mesmas medidas, para o texto não "pular" quando a Jost carrega */
@font-face {
    font-family: "Jost Fallback";
    src: local("Arial"), local("Helvetica Neue"), local("Roboto");
    size-adjust: 95.3%;
    ascent-override: 112.3%;
    descent-override: 39.4%;
    line-gap-override: 0%;
}

:root {
    --navy-900: #071D3F;
    --navy-800: #0A2550;
    --navy-700: #0B2A5B;
    --azure: #01A5EA;          /* a onda do logo */
    --azure-200: #8FD5F8;
    --blue: #0E6FBE;           /* ações sobre fundo claro */
    --blue-dark: #0B5A9C;
    --mist: #F2F6FB;
    --line: #DBE3EE;
    --ink: #0E1B33;
    --muted: #50607A;
    --on-dark: #C9D6EA;
    --wa: #0F8447;
    --wa-dark: #0B6B39;
    --white: #FFFFFF;

    --font: "Jost", "Jost Fallback", "Century Gothic", "Segoe UI", Arial, sans-serif;

    --container: 1200px;
    --gutter: 20px;
    --r-lg: 18px;
    --r-md: 12px;
    --header-h: 72px;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --header-h: 84px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
h1, h2, h3 {
    margin: 0 0 .5em;
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--navy-700);
    text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 1.35rem + 4.4vw, 4.125rem); }
h2 { font-size: clamp(2rem, 1.4rem + 2.3vw, 3rem); }
h3 { font-size: 1.375rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
address { font-style: normal; }
::selection { background: #BFE6FA; color: var(--navy-900); }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 128px); }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 4vw, 56px); }
.lead { font-size: clamp(1.125rem, 1.02rem + .45vw, 1.3125rem); line-height: 1.55; color: var(--muted); max-width: 58ch; margin: 0; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.onda { width: 40px; height: 14px; flex: none; color: var(--azure); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.topbar :focus-visible, .site-header :focus-visible, .hero :focus-visible,
.quote-intro :focus-visible, .steps :focus-visible, .site-footer :focus-visible,
.lightbox :focus-visible { outline-color: var(--azure-200); }

.skip-link {
    position: absolute; left: 12px; top: -80px; z-index: 100;
    background: var(--white); color: var(--navy-900); padding: 12px 18px; border-radius: 999px; font-weight: 500;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ---------- botões ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6em;
    min-height: 54px; padding: 0 28px;
    font: 500 1.0625rem/1.1 var(--font); letter-spacing: .005em; text-decoration: none; white-space: nowrap;
    border: 1.5px solid transparent; border-radius: 999px; cursor: pointer;
    transition: background-color .18s, border-color .18s, color .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.2em; height: 1.2em; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: #DCEBFA; }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-ghost { color: var(--navy-700); border-color: var(--navy-700); }
.btn-ghost:hover { background: var(--navy-700); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-block { width: 100%; }

/* ---------- barra de contato ---------- */
.topbar { display: none; background: var(--navy-900); color: #AFC0DA; font-size: .9375rem; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.topbar li { display: flex; align-items: center; gap: 8px; }
.topbar .icon { width: 16px; height: 16px; color: var(--azure); }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-social { display: flex; gap: 2px; }
.topbar-social a { display: grid; place-items: center; width: 34px; height: 34px; }
.topbar-social .icon { color: inherit; width: 17px; height: 17px; }
@media (min-width: 1024px) { .topbar { display: block; } }

/* ---------- cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy-900); border-bottom: 1px solid rgba(255, 255, 255, .09); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.nav-toggle {
    display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -10px;
    border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer;
}
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .icon-close { display: none; }
.nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column;
    padding: 4px var(--gutter) 28px;
    background: var(--navy-900); border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .5);
}
.nav a:not(.btn) { padding: 15px 2px; font-size: 1.25rem; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.nav .nav-cta { margin-top: 22px; }
.site-header.nav-open .nav { display: flex; }
.site-header.nav-open .icon-menu { display: none; }
.site-header.nav-open .icon-close { display: block; }
@media (min-width: 1024px) {
    .brand img { height: 54px; }
    .nav-toggle { display: none; }
    .nav {
        position: static; display: flex; flex-direction: row; align-items: center; gap: 2px;
        padding: 0; background: none; border: 0; box-shadow: none;
    }
    .nav a:not(.btn) {
        position: relative; padding: 10px 14px; font-size: 1.0625rem; color: #DCE6F4; border: 0;
        transition: color .18s;
    }
    .nav a:not(.btn)::after {
        content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px;
        background: var(--azure); transform: scaleX(0); transform-origin: left; transition: transform .25s;
    }
    .nav a:not(.btn):hover, .nav a[aria-current="true"] { color: #fff; }
    .nav a:not(.btn):hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
    .nav .nav-cta { margin: 0 0 0 14px; min-height: 46px; padding: 0 22px; font-size: 1rem; }
}

/* ---------- abertura ---------- */
.hero { position: relative; isolation: isolate; display: grid; background: var(--navy-900); color: #fff; overflow: hidden; }
.hero-photo { position: relative; order: -1; height: clamp(250px, 68vw, 460px); }
.hero-photo picture, .hero-photo img { width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; object-position: 74% 50%; }
.hero-photo::after {
    content: ""; position: absolute; inset: 45% 0 -1px 0;
    background: linear-gradient(to bottom, rgba(7, 29, 63, 0), var(--navy-900) 96%);
}
.hero-text { position: relative; z-index: 1; margin-top: -72px; padding: 0 var(--gutter) clamp(84px, 16vw, 120px); }
.hero-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 1.0625rem; font-weight: 500; color: #DCE6F4; }
.hero h1 { color: #fff; margin-bottom: .42em; }
.hero-lead { max-width: 33em; margin-bottom: 1.1em; font-size: clamp(1.125rem, 1.03rem + .35vw, 1.25rem); color: var(--on-dark); }
.hero-tagline { margin-bottom: 1.6em; font-size: clamp(1.1875rem, 1.1rem + .4vw, 1.375rem); font-weight: 500; line-height: 1.35; color: #fff; }
.hero-tagline span { display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; width: 100%; height: clamp(40px, 7.4vw, 108px); pointer-events: none; }
.hero-wave .w-azul { fill: var(--azure); }
.hero-wave .w-branca { fill: var(--white); }
@media (max-width: 479.98px) { .hero-actions .btn { width: 100%; } }
@media (min-width: 960px) {
    .hero {
        grid-template-columns:
            minmax(var(--gutter), 1fr)
            minmax(0, calc(var(--container) * .47))
            minmax(0, calc(var(--container) * .53))
            minmax(var(--gutter), 1fr);
        min-height: 600px;
        min-height: clamp(600px, calc(100svh - var(--header-h) - 41px), 800px);
    }
    .hero-text { grid-column: 2; grid-row: 1; align-self: center; margin: 0; padding: 72px 56px clamp(120px, 11vw, 168px) 0; }
    .hero h1 { font-size: clamp(2.75rem, 4.6vw, 4.125rem); }
    .hero-photo { grid-column: 3 / 5; grid-row: 1; order: 0; height: auto; min-height: 100%; }
    .hero-photo picture, .hero-photo img { position: absolute; inset: 0; }
    .hero-photo img { object-position: 80% 50%; }
    .hero-photo::after { inset: 0 auto 0 -1px; width: 22%; background: linear-gradient(to right, var(--navy-900), rgba(7, 29, 63, 0)); }
}
@media (prefers-reduced-motion: no-preference) {
    .hero-text > * { animation: surgir .8s cubic-bezier(.2, .7, .2, 1) both; }
    .hero-text > :nth-child(2) { animation-delay: .07s; }
    .hero-text > :nth-child(3) { animation-delay: .14s; }
    .hero-text > :nth-child(4) { animation-delay: .21s; }
    .hero-text > :nth-child(5) { animation-delay: .28s; }
    @keyframes surgir { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

/* ---------- serviços ---------- */
.services-grid { display: grid; gap: 40px; }
.services-head h2 { margin-bottom: .4em; }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service {
    display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 18px; row-gap: 4px; align-items: start;
    padding: 24px 0; border-bottom: 1px solid var(--line);
}
.service .icon { grid-row: 1 / span 2; width: 30px; height: 30px; margin-top: 1px; color: var(--azure); }
.service h3 { margin: 0; }
.service p { margin: 0; color: var(--muted); }
@media (min-width: 720px) {
    .service { grid-template-columns: 30px minmax(0, 15.5rem) minmax(0, 1fr); column-gap: 22px; align-items: baseline; padding: 26px 0; }
    .service .icon { grid-row: auto; align-self: center; margin: 0; }
}
@media (min-width: 1080px) {
    .services-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; align-items: start; }
    .services-head { position: sticky; top: calc(var(--header-h) + 48px); }
}

/* ---------- PararangaSys ---------- */
.sys { background: var(--mist); }
.sys-banner { display: none; border-radius: 22px; overflow: hidden; box-shadow: 0 36px 70px -44px rgba(7, 29, 63, .6); }
.sys-banner img { width: 100%; }
.sys-brand { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 2px; font-size: 1.1875rem; font-weight: 600; color: var(--navy-700); }
.sys-tag { margin: 0 0 16px; color: var(--muted); }
.sys-title { margin: 0 0 .5em; font-size: clamp(2rem, 1.4rem + 2.3vw, 3rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--navy-700); text-wrap: balance; }
.check-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check { flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 2px; border-radius: 50%; background: var(--azure); color: #fff; }
.check .icon { width: 15px; height: 15px; }
.sys-mobile-art { border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 24px 44px -30px rgba(7, 29, 63, .6); }
.sys-mobile-art img { width: 100%; }
@media (min-width: 900px) {
    .sys-banner { display: block; }
    .sys-mobile { display: none; }
}

/* ---------- sobre ---------- */
.about-grid { display: grid; gap: 40px; align-items: center; }
.about-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy-800); }
.about-photo picture, .about-photo img { width: 100%; height: 100%; }
.about-photo img { object-fit: cover; }
.ficha { margin: 36px 0 0; border-top: 1px solid var(--line); }
.ficha div { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.ficha dt { color: var(--muted); }
.ficha dd { margin: 0; font-weight: 500; color: var(--navy-700); text-align: right; }
@media (min-width: 640px) and (max-width: 959.98px) {
    .about-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px; align-items: start; }
}
@media (min-width: 960px) {
    .about-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(56px, 7vw, 104px); }
}

/* ---------- um passeio pela marina ---------- */
.tour { background: var(--mist); }
.tour-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.tile {
    position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; margin: 0; padding: 0;
    border: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-800);
    color: #fff; font: inherit; text-align: left; cursor: zoom-in;
}
.tile picture, .tile img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile img { object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.035); }
.tile::after {
    content: ""; position: absolute; inset: 40% 0 0 0; pointer-events: none;
    background: linear-gradient(to top, rgba(5, 20, 46, .9) 0%, rgba(5, 20, 46, .6) 36%, rgba(5, 20, 46, 0) 100%);
}
.tile-caption { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1; display: grid; gap: 3px; }
.tile-caption strong { font-size: 1.3125rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; }
.tile-caption span { display: none; max-width: 34em; font-size: .9688rem; line-height: 1.4; color: #DCE6F4; }
.tile-count {
    position: absolute; top: 14px; right: 14px; z-index: 1;
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px;
    border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--navy-700);
    font-size: .875rem; font-weight: 500; line-height: 1;
}
.tile-count .icon { width: 16px; height: 16px; }
.tile-recepcao { aspect-ratio: 16 / 9; }
.tile-recepcao img { object-position: 86% 50%; }
.tile-galpao img { object-position: 50% 60%; }
.tile-lounge img { object-position: 50% 58%; }
@media (min-width: 640px) {
    .tour-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .tile-recepcao { grid-column: span 2; aspect-ratio: 2.226 / 1; }
    .tile-galpao { grid-column: span 2; aspect-ratio: 16 / 9; }
    .tile-caption { left: 24px; right: 24px; bottom: 20px; }
    .tile-caption span { display: block; }
}
@media (min-width: 1000px) {
    /* o galpão, que é o centro do serviço, vira a foto grande; a ordem de leitura continua começando pela recepção */
    .tour-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, 304px); gap: 20px; }
    .tile, .tile-recepcao, .tile-galpao { aspect-ratio: auto; height: 100%; }
    .tile-galpao { grid-column: 1 / span 2; grid-row: 1 / span 2; }
    .tile-recepcao { grid-column: 3; grid-row: 1; }
    .tile-recepcao img { object-position: 100% 50%; }
    .tile-jetskis { grid-column: 3; grid-row: 2; }
    .tile-galpao img { object-position: 50% 46%; }
    .tile-galpao .tile-caption strong { font-size: 1.625rem; }
    .tile-galpao .tile-caption span { font-size: 1.0625rem; }
}

/* ---------- orçamento ---------- */
.quote { background: var(--navy-700); color: var(--on-dark); }
.quote h2, .quote h3 { color: #fff; }
.quote .lead { color: var(--on-dark); }
.quote-grid { display: grid; gap: 36px; grid-template-areas: "intro" "form" "steps"; }
.quote-intro { grid-area: intro; }
.quote-intro h2 { margin-bottom: .4em; }
.form-card { grid-area: form; }
.steps { grid-area: steps; padding-top: 8px; }
@media (min-width: 960px) {
    .quote-grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto 1fr;
        grid-template-areas: "intro form" "steps form"; column-gap: clamp(56px, 7vw, 104px); row-gap: 44px;
    }
    .steps { padding-top: 0; }
}
.steps h3 { margin-bottom: 22px; font-size: 1.125rem; letter-spacing: 0; color: var(--azure-200); }
.steps-list { list-style: none; counter-reset: passo; margin: 0; padding: 0; }
.steps-list li { counter-increment: passo; position: relative; padding: 4px 0 28px 58px; }
.steps-list li:last-child { padding-bottom: 0; }
.steps-list li::before {
    content: counter(passo); position: absolute; left: 0; top: 0;
    display: grid; place-items: center; width: 38px; height: 38px;
    border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 50%;
    font-weight: 500; color: #fff;
}
.steps-list li::after { content: ""; position: absolute; left: 18.5px; top: 46px; bottom: 8px; width: 1px; background: rgba(255, 255, 255, .22); }
.steps-list li:last-child::after { display: none; }
.steps-list strong { display: block; margin-bottom: 2px; font-size: 1.25rem; font-weight: 500; line-height: 1.3; color: #fff; }
.steps-list span { display: block; max-width: 30em; }
.steps-direct { margin: 30px 0 0; padding-left: 58px; }
.steps-direct a { color: #fff; font-weight: 500; text-underline-offset: 4px; }
.steps-direct a:hover { color: var(--azure-200); }

.form-card { padding: 26px 22px; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); }
@media (min-width: 600px) { .form-card { padding: 40px; } }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: 1rem; font-weight: 500; color: var(--navy-700); }
.field input, .field select, .field textarea {
    display: block; width: 100%; min-height: 54px; padding: 0 16px;
    font: inherit; color: var(--ink); background-color: #fff;
    border: 1px solid #BFCBDB; border-radius: var(--r-md);
    transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 112px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.field select {
    -webkit-appearance: none; appearance: none; padding-right: 46px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2A5B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 20px;
}
.field ::placeholder { color: #8493AA; opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8FA3BD; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(14, 111, 190, .2); }
.field [aria-invalid="true"] { border-color: #C0341D; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-error { margin: 0 0 14px; font-weight: 500; color: #B42318; }
.form-note { margin: 14px 0 0; font-size: .9688rem; color: var(--muted); text-align: center; }

/* ---------- onde estamos ---------- */
.location-grid { display: grid; gap: 40px; }
.location address { font-size: 1.375rem; line-height: 1.4; font-weight: 500; color: var(--navy-700); }
.location-note { margin: 10px 0 0; color: var(--muted); }
.contact-list { list-style: none; margin: 30px 0 32px; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.contact-list .icon { width: 24px; height: 24px; margin-top: 4px; color: var(--azure); }
.contact-list a { font-size: 1.1875rem; font-weight: 500; color: var(--navy-700); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-list strong { font-size: 1.1875rem; font-weight: 500; color: var(--navy-700); }
.contact-list small { display: block; font-size: .9688rem; color: var(--muted); }
.map { aspect-ratio: 1 / 1; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (min-width: 640px) { .map { aspect-ratio: 16 / 10; } }
@media (min-width: 960px) {
    .location-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 88px); align-items: center; }
}

/* ---------- rodapé ---------- */
.site-footer { padding: 72px 0 28px; background: var(--navy-900); color: #AFC0DA; font-size: 1.0625rem; }
.footer-grid { display: grid; gap: 44px; }
.footer-brand img { height: 54px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 30em; margin: 0; }
.site-footer h2 { margin-bottom: 16px; font-size: 1.0625rem; font-weight: 500; letter-spacing: 0; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; color: #fff; transition: background-color .18s, border-color .18s; }
.footer-social a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9375rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 64px; } }

/* ---------- fotos ampliadas ---------- */
.lightbox { width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(5, 18, 40, .95); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox-figure { display: grid; justify-items: center; gap: 14px; margin: 0; padding: 0 16px; touch-action: pan-y; }
.lightbox-figure img { width: auto; height: auto; max-width: min(92vw, 1400px); max-height: 78vh; max-height: 78dvh; border-radius: var(--r-md); }
.lightbox-figure figcaption { max-width: 44em; color: #fff; text-align: center; font-size: 1.0625rem; }
.lightbox-figure small { display: block; margin-top: 2px; color: #9FB3D1; font-size: .9375rem; }
.lightbox-btn {
    position: fixed; display: grid; place-items: center; width: 48px; height: 48px;
    border: 0; border-radius: 50%; background: rgba(255, 255, 255, .96); color: var(--navy-900); cursor: pointer;
}
.lightbox-btn .icon { width: 24px; height: 24px; }
.lightbox-btn[hidden] { display: none; }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 639.98px) {
    .lightbox-prev, .lightbox-next { top: auto; bottom: 20px; transform: none; }
    .lightbox-prev { left: 20px; }
    .lightbox-next { right: 20px; }
    .lightbox-figure { padding-bottom: 72px; }
}

/* ---------- página de erro ---------- */
.erro { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 48px var(--gutter); background: var(--navy-900); color: var(--on-dark); text-align: center; }
.erro img { height: 64px; width: auto; margin: 0 auto 40px; }
.erro h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.3vw, 3rem); }
.erro p { max-width: 30em; margin: 0 auto 32px; }
.erro .hero-actions { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
