/* Sul Marine Supply — paleta tirada do logo: marinho #081F3E + azul royal #0052A6 */
:root {
  --navy-950: #040c1c;
  --navy-900: #061730;
  --navy-800: #081f3e;
  --navy-700: #10305c;
  --blue: #0052a6;
  --blue-500: #1a6fd6;
  --sky: #8cc2ff;
  --ink: #0a1d36;
  --muted: #5a6a80;
  --line: #e2e8f1;
  --surface: #f4f7fb;
  --white: #fff;
  --grad: linear-gradient(135deg, #2a7fee 0%, #0052a6 100%);
  --grad-text: linear-gradient(100deg, #a9d2ff 0%, #4d95f5 100%);
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(6, 23, 48, .05), 0 18px 40px -18px rgba(6, 23, 48, .22);
  --glow: 0 14px 34px -12px rgba(26, 111, 214, .65);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--white); font: 400 16px/1.65 'DM Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: Manrope, system-ui, Arial, sans-serif; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.8vw, 60px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
p { color: var(--muted); text-wrap: pretty; }
em { font-style: normal; color: var(--blue); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.section { padding-block: clamp(80px, 11vw, 140px); }
.skip { position: fixed; top: -100px; left: 16px; z-index: 100; background: var(--white); padding: 12px 16px; border-radius: 8px; box-shadow: var(--shadow); }
.skip:focus { top: 12px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 7px 14px 7px 10px; border: 1px solid rgba(0, 82, 166, .18); border-radius: 999px; background: rgba(0, 82, 166, .05); font: 700 11.5px/1 Manrope, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(0, 82, 166, .18); }

/* Botões */
.button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border: 1px solid transparent; border-radius: 999px; background: var(--grad); color: var(--white); font: 700 15px/1 Manrope, sans-serif; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s; }
.button::after { content: '→'; transition: transform .25s var(--ease); }
.button:hover { transform: translateY(-2px); box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, .25); }
.button:hover::after { transform: translateX(4px); }
.button-small { min-height: 42px; padding: 0 20px; font-size: 14px; }
.button-small::after { content: none; }
.button-aqua { box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, .3); }
.button-outline { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .28); color: var(--white); backdrop-filter: blur(8px); box-shadow: none; }
.button-outline:hover { background: var(--white); color: var(--navy-900); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }
.underlined { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; padding-bottom: 4px; transition: gap .25s var(--ease), background-size .3s var(--ease); }
.underlined::after { content: '→'; }
.underlined:hover { gap: 12px; background-size: 40% 2px; }

/* Header */
.header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid rgba(6, 23, 48, .07); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 10px 30px -18px rgba(6, 23, 48, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.logo { width: auto; height: 52px; }
#navigation { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(244, 247, 251, .7); font-size: 14.5px; font-weight: 600; }
#navigation a { padding: 8px 16px; border-radius: 999px; color: #3b4e68; transition: background .2s, color .2s; }
#navigation a:hover { background: var(--white); color: var(--blue); box-shadow: 0 2px 8px -2px rgba(6, 23, 48, .15); }
.header-tools { display: flex; align-items: center; gap: 14px; }
.languages { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; font: 700 12px/1 Manrope, sans-serif; }
.languages span { display: none; }
.languages a { padding: 7px 10px; border-radius: 999px; color: var(--muted); }
.languages a[aria-current] { background: var(--navy-800); color: var(--white); }
.menu { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); padding: 0; position: relative; }
.menu span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease); }
.menu span:first-child { top: 17px; }
.menu span:last-child { top: 25px; }
.menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { position: relative; isolation: isolate; min-height: min(900px, calc(100svh - var(--header-h))); display: flex; padding-bottom: 72px; color: var(--white); background: var(--navy-950); overflow: hidden; }
.hero-photo { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse 60% 70% at 85% 10%, rgba(26, 111, 214, .45), transparent 60%), linear-gradient(90deg, rgba(4, 12, 28, .96) 0%, rgba(6, 23, 48, .82) 45%, rgba(6, 23, 48, .3) 100%), linear-gradient(0deg, rgba(4, 12, 28, .85) 0%, transparent 45%); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 72px 72px, linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 72px 72px; mask-image: radial-gradient(ellipse at 20% 40%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 20% 40%, #000 0%, transparent 70%); pointer-events: none; }
.hero-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); grid-template-areas: "top top" "msg ports" "bottom bottom"; grid-template-rows: auto 1fr auto; align-items: center; gap: 32px 56px; padding-block: 40px 28px; }
.hero-top { grid-area: top; }
.hero-message { grid-area: msg; }
.hero-bottom { grid-area: bottom; }
.hero-top { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.hero .eyebrow { margin: 0; color: var(--sky); border-color: rgba(140, 194, 255, .3); background: rgba(140, 194, 255, .08); backdrop-filter: blur(8px); }
.hero .eyebrow::before { box-shadow: 0 0 0 3px rgba(140, 194, 255, .25); }
.hero-service { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(255, 255, 255, .06); backdrop-filter: blur(10px); font-size: 14px; }
.hero-service::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .22); }
.hero-message { max-width: 760px; }
.hero h1 { font-size: clamp(46px, 6.6vw, 96px); font-weight: 800; letter-spacing: -.045em; line-height: .96; }
.hero h1 em { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .05em; }
.hero-message p { margin-top: 26px; max-width: 560px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .78); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 38px; }
.hero-actions .underlined { color: var(--white); }
.hero-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; letter-spacing: .04em; color: rgba(255, 255, 255, .6); }

/* Portos no topo: mapa compacto no desktop, etiquetas no tablet/celular */
.hero-ports { grid-area: ports; padding: 18px 18px 16px; border: 1px solid rgba(140, 194, 255, .22); border-radius: var(--radius); background: rgba(4, 12, 28, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.hero-ports-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 2px 4px 10px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.hero-ports-head strong { font: 800 19px/1.2 Manrope, sans-serif; letter-spacing: -.01em; }
.hero-ports-head span { font: 700 11px/1 Manrope, sans-serif; letter-spacing: .14em; color: var(--sky); }
.hero-ports .ports-map-svg { display: block; width: 100%; height: auto; max-height: min(460px, 52svh); margin-top: 10px; overflow: visible; }
.hero-ports-chips { display: none; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.hero-ports-chips li { padding: 7px 12px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: 13px; font-weight: 600; }
.hero-ports-chips li:first-child { background: var(--grad); border-color: transparent; }
.hero-ports-chips small { margin-left: 4px; font: 800 10px/1 Manrope, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.hero-ports-link { display: inline-flex; gap: 6px; margin: 10px 4px 0; font-size: 13px; font-weight: 700; color: var(--sky); }
.hero-ports-link::after { content: '→'; transition: transform .25s var(--ease); }
.hero-ports-link:hover::after { transform: translateX(4px); }

/* Números — cartão de vidro sobre o hero */
.stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -72px; border: 1px solid rgba(255, 255, 255, .7); border-radius: var(--radius); background: rgba(255, 255, 255, .9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 60px -30px rgba(6, 23, 48, .45); }
.stats > div { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 32px; }
.stats > div + div::before { content: ''; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--line); }
.stats strong { order: -1; font: 800 clamp(38px, 4vw, 54px)/1 Manrope, sans-serif; letter-spacing: -.04em; background: linear-gradient(120deg, var(--navy-800), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stats sup { font-size: .5em; }
.stats span { font-size: 14px; color: var(--muted); line-height: 1.4; }

/* Faixa de portos */
.marquee { overflow: hidden; padding-block: clamp(48px, 7vw, 80px) 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 40px; font: 800 clamp(30px, 4.4vw, 60px)/1.1 Manrope, sans-serif; letter-spacing: -.03em; white-space: nowrap; }
.marquee-track span { color: transparent; -webkit-text-stroke: 1.5px rgba(0, 82, 166, .35); }
.marquee-track span:nth-of-type(even) { color: var(--navy-800); -webkit-text-stroke: 0; }
.marquee-track i { align-self: center; width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--grad); }

/* Cabeçalhos de seção */
.section-heading, .gallery-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 60px; }
.section-heading > p, .gallery-heading > p { font-size: 18px; max-width: 460px; }

/* Produtos — cartões com luz que segue o mouse */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product { --mx: 50%; --my: 0%; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(360px circle at var(--mx) var(--my), rgba(26, 111, 214, .1), transparent 45%), var(--white); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; overflow: hidden; }
.product::after { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.product:hover { transform: translateY(-6px); border-color: rgba(0, 82, 166, .25); box-shadow: var(--shadow); }
.product:hover::after { transform: scaleX(1); }
.product img { width: 64px; height: 64px; margin-bottom: 16px; filter: drop-shadow(0 10px 14px rgba(0, 82, 166, .25)); transition: transform .45s var(--ease); }
.product:hover img { transform: rotate(-6deg) scale(1.08); }
.product-index { position: absolute; top: 30px; right: 30px; font: 800 13px/1 Manrope, sans-serif; color: #b3c0d2; }
.product p { font-size: 15px; }
.custom { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 40px 44px; border-radius: var(--radius); background: var(--navy-800); color: var(--white); }
.custom::before { content: ''; position: absolute; z-index: -1; width: 520px; height: 520px; right: -140px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(26, 111, 214, .7), transparent 65%); }
.custom strong { font: 800 26px/1.2 Manrope, sans-serif; letter-spacing: -.02em; }
.custom p { margin-top: 6px; color: rgba(255, 255, 255, .72); }

/* Sobre */
.about { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-photo { position: relative; }
.about-photo::before { content: ''; position: absolute; inset: 24px -24px -24px 24px; z-index: 0; border-radius: var(--radius); background: var(--grad); opacity: .9; }
.about-photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.photo-caption { position: absolute; left: 20px; bottom: 20px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; }
.about-content > p { margin-top: 20px; font-size: 17px; }
.about-content h2 { margin-bottom: 8px; }
.about-content .underlined { margin-top: 28px; }
.heritage { display: flex; align-items: center; gap: 24px; margin-top: 40px; padding: 26px 30px; border-radius: var(--radius); background: var(--navy-800); box-shadow: var(--shadow); }
.heritage strong { flex: none; font: 800 60px/1 Manrope, sans-serif; letter-spacing: -.04em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.heritage p { font-size: 15px; color: rgba(255, 255, 255, .75); }

/* Operações */
.quality-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quality-grid article { position: relative; padding: 34px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .35s var(--ease), box-shadow .35s; }
.quality-grid article:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step { display: block; margin-bottom: 32px; font: 800 52px/1 Manrope, sans-serif; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quality-grid h3 { margin-bottom: 10px; }
.quality-grid p { font-size: 15px; }
.gallery-heading { margin-top: clamp(80px, 10vw, 140px); }
/* Bento: 3 destaques 2x2 + 8 fotos 1x1 = retângulo fechado (4x5 no desktop, 2x10 no tablet/celular) */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(170px, 21vw, 280px); grid-auto-flow: dense; gap: 16px; }
.gallery-photo { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; padding: 0; border: 0; border-radius: var(--radius); background: var(--navy-800); text-align: left; }
.gallery-photo:nth-child(1), .gallery-photo:nth-child(6), .gallery-photo:nth-child(9) { grid-column: span 2; grid-row: span 2; }
.gallery-photo:nth-child(1) { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.gallery-photo:nth-child(6) { grid-column: 3 / span 2; grid-row: 3 / span 2; }
.gallery-photo:nth-child(9) { grid-column: 1 / span 2; grid-row: 4 / span 2; }
.gallery-photo:nth-child(6) img { object-position: 50% 68%; }
.gallery-photo:nth-child(7) img { object-position: 50% 72%; }
.gallery-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .3s; }
.gallery-photo:hover img { transform: scale(1.06); opacity: .85; }
.gallery-photo span { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: end; gap: 12px; padding: 56px 20px 18px; background: linear-gradient(transparent, rgba(4, 12, 28, .88)); color: var(--white); font-size: 14px; font-weight: 600; }
.gallery-photo b { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--white); color: var(--blue); font-size: 16px; transition: transform .3s var(--ease); }
.gallery-photo:hover b { transform: rotate(90deg); }

/* Portos */
.ports { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-900); color: var(--white); }
.ports::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 60% at 0% 100%, rgba(26, 111, 214, .45), transparent 70%), radial-gradient(ellipse 40% 50% at 100% 0%, rgba(0, 82, 166, .35), transparent 70%), linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 64px 64px, linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 64px 64px; }
.ports p { color: rgba(255, 255, 255, .7); }
.ports .eyebrow { color: var(--sky); border-color: rgba(140, 194, 255, .3); background: rgba(140, 194, 255, .08); }
.ports em { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ports-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.ports-copy > p { margin-top: 20px; font-size: 17px; max-width: 480px; }
.address { margin-top: 28px; padding: 28px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); background: rgba(255, 255, 255, .05); backdrop-filter: blur(10px); }
.address strong { font: 700 18px/1.3 Manrope, sans-serif; }
.address p { margin-block: 10px 20px; }
.address .underlined { color: var(--sky); }
.port-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; }
.port-list li { display: flex; align-items: center; gap: 12px; padding: 13px 16px; cursor: default; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-sm); background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); transition: background .25s, border-color .25s, transform .3s var(--ease); }
.port-list li:hover, .port-list li.active, .port-list li:focus-visible { background: rgba(140, 194, 255, .1); border-color: rgba(140, 194, 255, .4); transform: translateX(4px); }
.port-list li:first-child { grid-column: 1 / -1; background: var(--grad); border-color: transparent; box-shadow: var(--glow); }
.port-list li:first-child .port-number, .port-list li:first-child .state { color: rgba(255, 255, 255, .85); }
.port-number { font: 700 12px/1 Manrope, sans-serif; color: rgba(255, 255, 255, .45); }
.port-list h3 { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 15.5px; }
.port-list small { padding: 4px 10px; border-radius: 999px; background: var(--white); color: var(--blue); font: 800 11px/1 Manrope, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.state { font: 700 12px/1 Manrope, sans-serif; letter-spacing: .1em; color: var(--sky); }

/* Mapa dos portos (SVG gerado a partir de coordenadas reais, contorno simplificado) */
.ports-map { margin: 0; padding: clamp(16px, 2.4vw, 28px); border: 1px solid rgba(140, 194, 255, .16); border-radius: var(--radius); background: linear-gradient(160deg, rgba(26, 111, 214, .14), rgba(4, 12, 28, .35)); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.ports-map svg { display: block; width: 100%; height: auto; overflow: visible; }
.ports-map figcaption { margin-top: 10px; font-size: 12px; color: rgba(255, 255, 255, .45); text-align: center; }
.map-grid { stroke: rgba(140, 194, 255, .08); stroke-width: 1; }
.map-deg { fill: rgba(140, 194, 255, .35); font: 600 12px Manrope, sans-serif; }
.map-land { fill: rgba(140, 194, 255, .1); stroke: rgba(140, 194, 255, .55); stroke-width: 1.5; stroke-linejoin: round; }
.map-border { fill: none; stroke: rgba(140, 194, 255, .3); stroke-width: 1; stroke-dasharray: 4 5; }
.map-state { fill: rgba(140, 194, 255, .3); font: 800 36px Manrope, sans-serif; letter-spacing: .1em; }
.map-port { cursor: pointer; outline: none; }
.map-leader { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1; transition: stroke .25s; }
.map-pin { fill: var(--blue-500); stroke: var(--white); stroke-width: 2; transition: r .25s var(--ease), fill .25s; }
.map-pulse { fill: rgba(26, 111, 214, .5); transform-box: fill-box; transform-origin: center; }
.map-label { fill: rgba(255, 255, 255, .85); font: 700 19px Manrope, sans-serif; transition: fill .25s; }
.map-num { fill: var(--sky); font-size: 14px; }
.map-uf { fill: rgba(140, 194, 255, .6); font-size: 14px; }
.map-hq { fill: var(--sky); font-size: 12px; letter-spacing: .14em; }
.map-port.is-hq .map-pin { fill: var(--white); stroke: var(--blue-500); stroke-width: 3; }
.map-port.is-hq .map-label { fill: var(--white); }
.map-port:hover .map-leader, .map-port.active .map-leader, .map-port:focus-visible .map-leader { stroke: var(--sky); }
.map-port:hover .map-pin, .map-port.active .map-pin, .map-port:focus-visible .map-pin { r: 8; fill: var(--sky); }
.map-port:hover .map-label, .map-port.active .map-label, .map-port:focus-visible .map-label { fill: var(--sky); }

/* Contato */
.contact-intro { max-width: 800px; margin-bottom: 60px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-info > p { font-size: 17px; margin-bottom: 28px; }
.contact-channel { display: flex; flex-direction: column; gap: 2px; padding: 18px 0; border-top: 1px solid var(--line); transition: padding .25s var(--ease); }
.contact-channel:hover { padding-left: 10px; }
.contact-channel span { font-size: 13px; color: var(--muted); }
.contact-channel strong { font: 700 clamp(17px, 1.8vw, 20px)/1.3 Manrope, sans-serif; overflow-wrap: anywhere; transition: color .2s; }
.contact-channel:hover strong { color: var(--blue); }
.contact-hours { display: flex; align-items: center; gap: 16px; margin-top: 12px; padding: 22px 26px; border-radius: var(--radius-sm); background: var(--navy-800); }
.contact-hours strong { font: 800 34px/1 Manrope, sans-serif; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.contact-hours span { font-size: 15px; color: rgba(255, 255, 255, .75); }
#quote { position: relative; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 40px 80px -40px rgba(6, 23, 48, .35); }
#quote::before { content: ''; position: absolute; inset: 0 32px auto; height: 3px; border-radius: 0 0 4px 4px; background: var(--grad); }
#quote h3 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
#quote > p { margin-top: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-block: 28px; }
.form-grid label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid #d6dfec; border-radius: var(--radius-sm); background: var(--surface); font-size: 16px; font-weight: 400; transition: border-color .2s, background .2s, box-shadow .2s; }
.form-grid textarea { resize: vertical; min-height: 120px; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: none; border-color: var(--blue-500); background: var(--white); box-shadow: 0 0 0 4px rgba(26, 111, 214, .15); }
.form-grid input:user-invalid, .form-grid select:user-invalid, .form-grid textarea:user-invalid { border-color: #c2410c; }
#quote .button { width: 100%; }
.form-note { margin-top: 14px; font-size: 13px; text-align: center; }
#form-status { margin-top: 10px; font-weight: 600; color: var(--blue); text-align: center; }
#form-status:empty { display: none; }

/* Rodapé */
footer { position: relative; overflow: hidden; background: var(--navy-950); color: rgba(255, 255, 255, .7); font-size: 15px; }
footer::before { content: ''; position: absolute; width: 700px; height: 700px; left: 50%; top: -520px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(26, 111, 214, .3), transparent 65%); pointer-events: none; }
.footer-main { position: relative; display: grid; grid-template-columns: 1.2fr .8fr 1fr 1.3fr; gap: 40px; padding-block: 80px 52px; }
.footer-main > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-main img { height: 96px; width: auto; padding: 14px 22px; border-radius: 18px; background: var(--white); margin-bottom: 12px; }
.footer-main span { font: 700 12px/1 Manrope, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-bottom: 6px; }
.footer-main a { overflow-wrap: anywhere; transition: color .2s; }
.footer-main a:hover { color: var(--white); }
footer p { color: inherit; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .5); }
.footer-bottom a:hover { color: var(--white); }

/* Links da home para as páginas de porto */
.port-list li { position: relative; }
.port-list h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.port-list h3 a:focus-visible { outline: none; }
.port-list li:has(a:focus-visible) { outline: 3px solid var(--sky); outline-offset: 2px; }
.ports-all { margin-top: 18px; color: var(--sky); }
.hero-ports-chips a { color: inherit; }
.hero-ports-chips a:hover { color: var(--sky); }
a.map-port { cursor: pointer; }
.map-port.is-current .map-pin { r: 9; fill: var(--sky); stroke: var(--white); stroke-width: 3; }
.map-port.is-current .map-label { fill: var(--sky); font-size: 21px; }
.map-port.is-current .map-leader { stroke: var(--sky); stroke-width: 1.5; }

/* Páginas de porto e índice de portos */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 96px); background: var(--navy-950); color: var(--white); }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 80% at 90% 0%, rgba(26, 111, 214, .45), transparent 60%), linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 64px 64px, linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 64px 64px; }
.page-hero .eyebrow { color: var(--sky); border-color: rgba(140, 194, 255, .3); background: rgba(140, 194, 255, .08); }
.page-hero h1 { max-width: 900px; font-size: clamp(38px, 5.6vw, 72px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.page-lead { max-width: 720px; margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .78); }
.page-hero .hero-actions .underlined { color: var(--white); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 28px; padding: 0; list-style: none; font-size: 13px; color: rgba(255, 255, 255, .55); }
.breadcrumb li + li::before { content: '›'; margin-right: 6px; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb [aria-current] { color: rgba(255, 255, 255, .9); }
.page-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.page-facts li { padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: 14px; font-weight: 600; }
.page-facts .is-badge { background: var(--grad); border-color: transparent; }
.page-section { padding-block: clamp(64px, 9vw, 112px); }
.page-section.is-alt { background: var(--surface); }
.page-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.page-split.is-hub { grid-template-columns: 1fr 1fr; }
.prose h2 { margin-bottom: 18px; }
.prose p { margin-top: 14px; font-size: 17px; }
.prose h3 { margin-top: 32px; font-size: 18px; }
.check-list { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 12px; align-items: baseline; font-weight: 600; }
.check-list li::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); transform: translateY(-1px); }
.page-map { position: sticky; top: calc(var(--header-h) + 24px); background: var(--navy-900) linear-gradient(160deg, rgba(26, 111, 214, .2), rgba(4, 12, 28, .2)); }
.vessel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.vessel-card { padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .35s var(--ease), box-shadow .35s; }
.vessel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.vessel-card h3 { margin-bottom: 10px; }
.vessel-card p { font-size: 15px; }
.supply-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.supply-list li { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.supply-list img { flex: none; width: 44px; height: 44px; }
.supply-list strong { display: block; font: 700 15px/1.3 Manrope, sans-serif; }
.supply-list span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.steps-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps-list li { padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.steps-list .step { margin-bottom: 22px; font-size: 40px; }
.steps-list h3 { margin-bottom: 8px; }
.steps-list p { font-size: 15px; }
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: rgba(0, 82, 166, .3); box-shadow: var(--shadow); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font: 700 16px/1.4 Manrope, sans-serif; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); color: var(--blue); font-size: 18px; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; font-size: 15.5px; }
.others-title { margin-bottom: 28px; font-size: clamp(26px, 3vw, 36px); }
.port-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.port-cards.is-stack { grid-template-columns: 1fr 1fr; }
.port-card { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px 12px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.port-card:hover, .port-card.active { transform: translateY(-3px); border-color: rgba(0, 82, 166, .3); box-shadow: var(--shadow); }
.port-card .port-number { color: #a3b1c4; }
.port-card strong { font: 700 17px/1.2 Manrope, sans-serif; }
.port-card small { margin-left: 6px; padding: 3px 8px; border-radius: 999px; background: var(--grad); color: var(--white); font: 800 10px/1 Manrope, sans-serif; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.port-card .state { color: var(--blue); }
.port-card p { grid-column: 1 / -1; font-size: 13.5px; }
.port-card-go { grid-column: 1 / -1; font-size: 13px; font-weight: 700; color: var(--blue); }
.port-card-go::after { content: ' →'; }
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(56px, 8vw, 88px); background: var(--navy-800); color: var(--white); }
.cta-band::before { content: ''; position: absolute; z-index: -1; width: 640px; height: 640px; right: -160px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(26, 111, 214, .65), transparent 65%); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { font-size: clamp(30px, 4vw, 48px); }
.cta-band p { margin-top: 10px; max-width: 560px; color: rgba(255, 255, 255, .75); }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cta-link { font-weight: 700; color: var(--sky); }
.cta-link:hover { color: var(--white); }

/* Galeria ampliada */
.lightbox { max-width: min(1100px, 94vw); padding: 0; border: 0; border-radius: var(--radius); background: var(--navy-900); color: var(--white); overflow: hidden; }
.lightbox::backdrop { background: rgba(4, 12, 28, .85); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; }
.lightbox p { padding: 16px 20px; color: rgba(255, 255, 255, .8); }
.lightbox-nav { position: absolute; top: 40%; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy-900); font-size: 28px; line-height: 1; transition: background .2s, transform .2s var(--ease); }
.lightbox-nav:hover { background: var(--white); transform: scale(1.08); }
.lightbox-nav.prev { left: 12px; }
.lightbox-nav.next { right: 12px; }
.lightbox-count { position: absolute; top: 18px; left: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(4, 12, 28, .7); font: 700 13px/1 Manrope, sans-serif; }
.lightbox-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy-900); font-size: 24px; line-height: 1; }

/* WhatsApp flutuante — nas cores da marca */
.whatsapp-float { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 40; isolation: isolate; display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 15px; border-radius: 999px; background: var(--grad); color: #fff; font: 700 15px/1 Manrope, sans-serif; box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, .3); transition: transform .25s var(--ease), box-shadow .25s; }
.whatsapp-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s var(--ease), padding .35s; }
.whatsapp-float:hover { transform: translateY(-2px); }
.whatsapp-float:hover span, .whatsapp-float:focus-visible span { max-width: 180px; padding-right: 6px; }
.whatsapp-float::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--blue-500); }

/* Efeitos — só com JS ativo e sem "reduzir movimento" */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-photo { animation: hero-zoom 18s var(--ease) both; }
  .hero-message > * { animation: rise .9s var(--ease) both; }
  .hero-message > :nth-child(2) { animation-delay: .12s; }
  .hero-message > :nth-child(3) { animation-delay: .24s; }
  .hero-ports { animation: rise 1s var(--ease) .35s both; }
  .marquee-track { animation: marquee 45s linear infinite; }
  .whatsapp-float::before { animation: wa-pulse 2.6s ease-out 1.5s infinite; }
  .map-pulse { animation: map-pulse 2.4s ease-out infinite; }
  .map-port:nth-of-type(odd) .map-pulse { animation-delay: 1.2s; }
  .js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes map-pulse { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(3.2); opacity: 0; } }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(1.45); opacity: 0; } }

/* Tablet */
@media (max-width: 1080px) {
  .product-grid, .quality-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3)::before { display: none; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .contact-grid, .ports-grid { grid-template-columns: 1fr; }
  .supply-list, .steps-list { grid-template-columns: repeat(2, 1fr); }
  .page-split, .page-split.is-hub, .faq { grid-template-columns: 1fr; }
  .page-map { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .hero-content { grid-template-columns: 1fr; grid-template-areas: "top" "msg" "ports" "bottom"; grid-template-rows: auto; gap: 28px; }
  .hero-ports { padding: 16px; background: rgba(4, 12, 28, .45); }
  .hero-ports .ports-map-svg { display: none; }
  .hero-ports-chips { display: flex; }
}

/* Menu móvel */
@media (max-width: 960px) {
  .menu { display: block; }
  #navigation { position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; gap: 0; padding: 8px 24px 24px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: var(--white); box-shadow: 0 24px 40px -20px rgba(6, 23, 48, .25); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
  #navigation.open { opacity: 1; visibility: visible; transform: none; }
  #navigation a { padding: 16px 0; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  #navigation a:hover { background: none; box-shadow: none; }
}
@media (max-width: 860px) {
  .header-tools .button-small { display: none; }
  .section-heading, .gallery-heading, .about-grid { grid-template-columns: 1fr; }
  .about-photo::before { inset: 16px -12px -16px 12px; }
  .about-photo img { aspect-ratio: 4 / 3; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(150px, 34vw, 280px); }
  .gallery-photo:nth-child(1), .gallery-photo:nth-child(6), .gallery-photo:nth-child(9) { grid-column: span 2; grid-row: span 2; }
}

/* Celular */
@media (max-width: 560px) {
  :root { --header-h: 68px; }
  .container { width: calc(100% - 32px); }
  .logo { height: 44px; }
  .hero { min-height: calc(100svh - var(--header-h)); padding-bottom: 56px; }
  .hero-shade { background: radial-gradient(ellipse 80% 50% at 100% 0%, rgba(26, 111, 214, .45), transparent 60%), linear-gradient(0deg, rgba(4, 12, 28, .97) 10%, rgba(6, 23, 48, .6) 100%); }
  .hero-bottom span:last-child { display: none; }
  .hero-actions .button { width: 100%; }
  .hero-content { gap: 18px; padding-block: 20px 22px; }
  .hero-top { gap: 8px; }
  .hero h1 { font-size: 42px; }
  .hero-message p { margin-top: 14px; font-size: 16px; }
  .hero-actions { margin-top: 20px; gap: 12px 24px; }
  .hero-ports { padding: 12px; }
  .hero-ports-head strong { font-size: 16px; }
  .hero-ports-chips { margin-top: 10px; gap: 5px; }
  .hero-ports-chips li { padding: 5px 10px; font-size: 12px; }
  .hero-ports-link { margin-top: 8px; }
  .stats { margin-top: -56px; }
  .stats > div { padding: 22px 20px; }
  .product-grid, .quality-grid, .form-grid, .footer-main, .supply-list, .steps-list, .port-cards.is-stack { grid-template-columns: 1fr; }
  .cta-actions .button { width: 100%; }
  .port-list li { padding: 12px; gap: 8px; }
  .ports-map { padding: 10px 6px 12px; border-radius: var(--radius-sm); }
  .port-list h3 { font-size: 14px; }
  .gallery { gap: 10px; grid-auto-rows: 160px; }
  .gallery-photo { border-radius: var(--radius-sm); }
  .gallery-photo span { padding: 40px 12px 12px; font-size: 12px; }
  .gallery-photo b { display: none; }
  .custom { padding: 30px 24px; }
  .custom .button { width: 100%; }
  .heritage { flex-direction: column; align-items: flex-start; gap: 12px; }
  .whatsapp-float { height: 56px; padding: 0 13px; }
}
