:root {
  --navy: #071d33;
  --navy-2: #0b2f4f;
  --blue: #18abeb;
  --blue-dark: #0a7cb4;
  --aqua: #5fd4ff;
  --ink: #182634;
  --muted: #5a6b7b;
  --line: #e1e9f0;
  --soft: #f3f8fc;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(7, 29, 51, .08);
  --shadow-lg: 0 22px 50px rgba(7, 29, 51, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; color: var(--ink); background: var(--white); overflow-x: hidden;
  font: 17px/1.65 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.015em; text-wrap: balance; font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 860px; margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* aparição ao rolar (só quando o JS está ativo) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(7, 29, 51, .08); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 96px; transition: min-height .3s; }
.scrolled .bar { min-height: 74px; }
.brand { flex-shrink: 0; }
.brand img { width: 205px; transition: width .3s; }
.scrolled .brand img { width: 168px; }
.nav { display: flex; align-items: center; gap: 22px; }
.menu { display: flex; align-items: center; gap: 2px; }
.menu > li { position: relative; }
.menu a { display: block; padding: 9px 13px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 999px; transition: background .2s, color .2s; }
.menu > li > a:hover, .menu > li > a.active { background: var(--soft); color: var(--blue-dark); }
.menu .nav-cta a { background: var(--navy); color: #fff; padding: 9px 20px; margin-left: 8px; }
.menu .nav-cta a:hover, .menu .nav-cta a.active { background: var(--blue-dark); color: #fff; }
.sub { position: absolute; left: -8px; top: calc(100% + 6px); min-width: 310px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.sub a { display: flex; align-items: center; gap: 12px; font-weight: 550; border-radius: 10px; padding: 9px 12px; }
.sub a:hover { background: var(--soft); color: var(--blue-dark); }
.sub img { width: 26px; height: 26px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.langs { display: flex; gap: 2px; background: var(--soft); border-radius: 999px; padding: 3px; }
.langs a { padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; text-decoration: none; color: var(--muted); }
.langs a.active { background: #fff; color: var(--navy); box-shadow: 0 1px 4px rgba(7, 29, 51, .15); }
.nav-toggle { display: none; width: 46px; height: 46px; background: var(--soft); border: 0; border-radius: 12px; cursor: pointer; padding: 13px 12px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; margin-bottom: 7px; transition: transform .25s, opacity .25s; }
.nav-toggle span:last-child { margin: 0; }
.nav-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* botões */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--blue-dark); color: #fff; text-decoration: none; font-weight: 650; padding: 13px 26px; border-radius: 999px; transition: background .2s, transform .2s var(--ease), box-shadow .2s; }
.btn::after { content: "→"; transition: transform .25s var(--ease); }
.btn:hover { background: var(--navy); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(7, 29, 51, .2); }
.btn:hover::after { transform: translateX(4px); }
.btn-accent { background: var(--blue); color: var(--navy); }
.btn-accent:hover { background: #fff; color: var(--navy); }
.btn-ghost { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline { background: transparent; color: var(--blue-dark); box-shadow: inset 0 0 0 2px var(--blue-dark); }
.btn-outline:hover { background: var(--blue-dark); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue); color: var(--navy); }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-dark); margin-bottom: 14px; }

/* ondas animadas */
.waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; display: block; pointer-events: none; }
.waves path { animation: wave 22s linear infinite; }
.waves .w1 { fill: rgba(255, 255, 255, .14); animation-duration: 30s; }
.waves .w2 { fill: rgba(255, 255, 255, .28); animation-duration: 21s; animation-direction: reverse; }
.waves .w3 { fill: #fff; animation-duration: 14s; }
@keyframes wave { to { transform: translateX(-1440px); } }

/* hero */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slides i { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; animation: slide 32s linear infinite, drift 32s ease-in-out infinite alternate; }
.hero-slides .s1 { background-image: url(img/hero.jpg); background-position: right center; animation-delay: -1s, 0s; opacity: 1; }
.hero-slides .s2 { background-image: url(img/sol-nauticos.jpg); animation-delay: 7s, 0s; }
.hero-slides .s3 { background-image: url(img/sol-dragagem.jpg); animation-delay: 15s, 0s; }
.hero-slides .s4 { background-image: url(img/sol-portuaria.jpg); animation-delay: 23s, 0s; }
@keyframes slide { 0% { opacity: 0; } 4% { opacity: 1; } 25% { opacity: 1; } 30% { opacity: 0; } 100% { opacity: 0; } }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, var(--navy) 0%, var(--navy) 44%, rgba(7, 29, 51, .8) 58%, rgba(7, 29, 51, .12) 84%); }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.07) translateX(-1.2%); } }
.hero-in { padding: 120px 0 190px; max-width: 1200px; }
.hero-in > * { max-width: 640px; animation: rise .9s var(--ease) both; }
.hero-in > :nth-child(2) { animation-delay: .1s; }
.hero-in > :nth-child(3) { animation-delay: .2s; }
.hero-in > :nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
.hero .eyebrow { color: var(--aqua); }
.hero h1 { color: #fff; font-size: clamp(36px, 5.2vw, 64px); letter-spacing: -.03em; line-height: 1.05; margin-bottom: .45em; }
.hero p { font-size: clamp(17px, 1.6vw, 20px); color: #cfe2f1; margin-bottom: 1.8em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* números */
.statsband { position: relative; z-index: 2; margin-top: -76px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 30px 12px; }
.stat { text-align: center; padding: 6px 16px; border-left: 1px solid var(--line); }
.stat:first-child { border: 0; }
.stat strong { display: block; font-size: clamp(34px, 4vw, 50px); line-height: 1.05; color: var(--navy); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat strong::after { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--blue); margin: 10px auto 8px; }
.stat > span { color: var(--muted); font-size: 14.5px; }

/* seções */
.section { padding: 96px 0; position: relative; }
.section.alt { background: var(--soft); }
.head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.head.left { text-align: left; margin-left: 0; }
.head h2, .h-left { font-size: clamp(30px, 3.6vw, 44px); margin: 0; letter-spacing: -.025em; }
.h-left { margin-bottom: .5em; }
.subtitle { text-align: center; font-size: 26px; margin: 64px 0 30px; }
.lead { font-size: clamp(17.5px, 1.5vw, 19.5px); color: #33475a; }
.more-row { margin: 44px 0 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.top { grid-template-columns: 1fr auto; align-items: start; }
.links { margin: 6px 0 30px; border-top: 1px solid var(--line); }
.links a { display: flex; justify-content: space-between; align-items: center; padding: 13px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 600; transition: padding .25s var(--ease), color .2s; }
.links a::after { content: "→"; color: var(--blue); transition: transform .25s var(--ease); }
.links a:hover { padding-left: 12px; color: var(--blue-dark); }
.links a:hover::after { transform: translateX(4px); }
.ticks li { position: relative; padding-left: 26px; margin-bottom: .5em; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg) scale(.85); }
.ticks.cols { columns: 2; column-gap: 40px; }
.ticks.cols li { break-inside: avoid; }

/* mandala (arte original com areas clicaveis) */
.mandala { position: relative; width: min(600px, 100%); margin-inline: auto; }
.mandala img { width: 100%; height: auto; }
.hot { position: absolute; width: 19%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; transition: box-shadow .3s, background .3s; }
.hot:hover, .hot:focus-visible { box-shadow: 0 0 0 6px rgba(24, 171, 235, .35), 0 0 34px rgba(24, 171, 235, .55); background: rgba(24, 171, 235, .1); }
.hot.h1 { left: 45.5%; top: 10%; }
.hot.h2 { left: 81.5%; top: 29.3%; }
.hot.h3 { left: 81.1%; top: 67.4%; }
.hot.h4 { left: 46.2%; top: 85.6%; }
.hot.h5 { left: 12%; top: 68.1%; }
.hot.h6 { left: 10.5%; top: 29.3%; }

/* cartões de soluções */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s, opacity .7s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-img { overflow: hidden; aspect-ratio: 16 / 10; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-img img, .vessel:hover .card-img img, .case:hover .case-img img { transform: scale(1.07); }
.card-body { position: relative; padding: 34px 24px 24px; }
.card-body .ico { position: absolute; top: -32px; left: 22px; width: 60px; height: 60px; padding: 11px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); }
.card h3 { font-size: 20px; margin-bottom: .5em; }
.more { color: var(--blue-dark); font-weight: 650; font-size: 14.5px; }
.more::after { content: " →"; display: inline-block; margin-left: 4px; transition: transform .25s var(--ease); }
.card:hover .more::after { transform: translateX(5px); }

/* experiência */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 44px; }
.filters button { font: inherit; font-size: 14.5px; font-weight: 600; color: var(--navy); background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filters button:hover { border-color: var(--blue); }
.filters button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s, opacity .7s var(--ease); }
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-img { aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.case-img img.top { object-position: center 8%; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.case-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; border-top: 1px solid var(--line); }
.case h3 { font-size: 19px; }
.case p { font-size: 15.5px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; align-items: center; }
.chips a { font-size: 12.5px; font-weight: 650; text-decoration: none; color: var(--blue-dark); background: #e8f5fc; border-radius: 999px; padding: 4px 11px; transition: background .2s, color .2s; }
.chips a:hover { background: var(--blue-dark); color: #fff; }
.chips span { font-size: 13.5px; color: var(--muted); margin-right: 4px; }

/* mercados */
.mchips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mchip { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy); font-weight: 650; background: #fff; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s, opacity .7s var(--ease); }
.mchip b, .group b, .value > b, .tabs b { font-size: 13px; color: var(--blue); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.mchip:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: var(--shadow); color: var(--blue-dark); }
.tabs { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.tablist { display: none; flex-direction: column; gap: 6px; position: sticky; top: 100px; }
.js .tablist { display: flex; }
.tablist button { display: flex; gap: 14px; align-items: center; font: inherit; font-weight: 650; text-align: left; color: var(--navy); background: transparent; border: 1px solid transparent; border-radius: 12px; padding: 14px 18px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.tablist button:hover { background: var(--soft); }
.tablist button[aria-selected=true] { background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.tablist button[aria-selected=true] b { color: var(--aqua); }
.tabpanel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 40px; box-shadow: var(--shadow); margin-bottom: 24px; }
.tabpanel h2 { display: flex; align-items: baseline; gap: 14px; font-size: 28px; }
.tabpanel .chips { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.js .tabs.ready .tabpanel { display: none; margin: 0; }
.js .tabs.ready .tabpanel.on { display: block; animation: rise .5s var(--ease) both; }
html:not(.js) .tabs { grid-template-columns: 1fr; }

/* clientes */
.clients-strip { overflow: hidden; }
.clients-strip .head { margin-bottom: 36px; }
.clients-strip .head h2 { font-size: clamp(26px, 3vw, 36px); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track { display: flex; gap: 22px; width: max-content; animation: marquee 120s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 11px)); } }
.logo { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 18px; display: grid; place-items: center; }
.logo img { width: 170px; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s, transform .3s var(--ease); }
.logo:hover img { filter: none; opacity: 1; transform: scale(1.05); }
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.logos .logo img { width: 100%; }

/* empresa */
.quote blockquote { margin: 0 0 30px; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.35; color: var(--navy); font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel { background: #fff; border-radius: var(--radius); padding: 34px 36px; box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; overflow: hidden; }
.panel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(var(--blue), var(--blue-dark)); }
.panel h3 { font-size: 23px; }
.panel p:last-child { margin-bottom: 0; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { background: #fff; border-radius: var(--radius); padding: 26px 28px; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, opacity .7s var(--ease); }
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value h3 { font-size: 19px; margin-top: 8px; }
.value p { margin: 0; font-size: 15.5px; color: var(--muted); }
.photo { margin: 0; width: 340px; }
.photo img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.photo figcaption { font-size: 14px; color: var(--muted); margin-top: 14px; }
.curve { width: 340px; justify-self: center; }

/* banner das páginas internas */
.banner { position: relative; background: radial-gradient(120% 140% at 85% 0%, #0f5c8e 0%, var(--navy-2) 42%, var(--navy) 100%); color: #fff; padding: 84px 0 150px; overflow: hidden; }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .34; animation: drift 28s ease-in-out infinite alternate; }
.banner.has-img { background: var(--navy); padding: 130px 0 190px; }
.banner .wrap { position: relative; animation: rise .8s var(--ease) both; }
.crumbs { font-size: 13.5px; color: #a9c6dc; margin-bottom: 18px; }
.crumbs a { color: #a9c6dc; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs i { opacity: .5; margin: 0 6px; font-style: normal; }
.crumbs span { color: #fff; }
.banner h1 { color: #fff; font-size: clamp(34px, 5vw, 58px); letter-spacing: -.03em; margin: 0; text-shadow: 0 2px 18px rgba(0, 0, 0, .3); }
.banner p { margin: 18px 0 0; max-width: 720px; font-size: clamp(17px, 1.5vw, 19.5px); color: #d3e6f4; }

/* páginas de solução */
.intro { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; max-width: 960px; margin: 0 auto 56px; }
.intro img { width: 96px; height: 96px; padding: 18px; background: var(--soft); border-radius: 26px; }
.intro .lead { margin: 0; }
.groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s, opacity .7s var(--ease); }
.group:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #bfe3f6; }
.group h3 { font-size: 20px; margin-top: 6px; }
.group li, .work li, .tabpanel li { font-size: 16px; color: #33475a; }
.partner { display: flex; align-items: center; gap: 22px; margin-bottom: 36px; }
.partner img { width: 92px; height: 92px; }
.partner h2 { margin: 0; font-size: clamp(28px, 3.2vw, 40px); }
.fleet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vessel { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.vessel .card-img { aspect-ratio: 16 / 9; }
.vessel h4 { font-size: 19px; margin: 18px 22px 8px; }
.vessel dl { margin: 0 22px 20px; font-size: 14.5px; }
.vessel dt, .contact dt { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; margin-top: 10px; }
.vessel dd { margin: 0; font-weight: 600; }
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; background: #fff; }
.work h4 { font-size: 18px; margin: 8px 0 .6em; }
.work .when { display: inline-block; color: var(--blue-dark); background: #e8f5fc; border-radius: 999px; padding: 2px 11px; font-weight: 700; font-size: 13px; }
.work li { font-size: 15px; }

/* contato */
.contact h2 { font-size: 28px; margin-bottom: .1em; }
.contact .role { color: var(--muted); }
.contact dl { margin: 0 0 28px; }
.contact dd { margin: 0; font-size: 20px; font-weight: 600; }
.contact dd a { text-decoration: none; }

/* chamada final e rodapé */
.cta { position: relative; background: radial-gradient(120% 160% at 15% 0%, #0f5c8e 0%, var(--navy-2) 45%, var(--navy) 100%); color: #fff; text-align: center; padding: 90px 0 150px; overflow: hidden; }
.cta h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.025em; }
.cta p { color: #d3e6f4; font-size: 18.5px; margin-bottom: 30px; }
.cta .waves .w3 { fill: var(--navy); }
.cta .waves .w1, .cta .waves .w2 { fill: rgba(95, 212, 255, .12); }
.site-footer { background: var(--navy); color: #a9bfd1; font-size: 15px; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1.2fr; gap: 44px; padding: 40px 0 44px; }
.foot img { width: 190px; margin-bottom: 22px; }
.foot p { max-width: 320px; }
.foot h2 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.2em; }
.foot li { margin-bottom: .55em; }
.foot a { color: #a9bfd1; text-decoration: none; transition: color .2s; }
.foot a:hover { color: #fff; }
.copy { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 28px; font-size: 13.5px; }

/* barra de progresso de leitura */
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 60; background: linear-gradient(90deg, var(--blue), var(--aqua)); transform: scaleX(0); transform-origin: left; }

/* secao escura */
.section.dark { background: radial-gradient(110% 150% at 85% 0%, #0f5c8e 0%, var(--navy-2) 40%, var(--navy) 100%); overflow: hidden; }
.section.dark .head h2 { color: #fff; }
.section.dark .eyebrow { color: var(--aqua); }
.section.dark .mchip { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #fff; }
.section.dark .mchip b { color: var(--aqua); }
.section.dark .mchip:hover { background: #fff; color: var(--navy); border-color: #fff; }
.section.dark .mchip:hover b { color: var(--blue-dark); }

/* marca do logo ao fundo */
.banner::before, .cta::before, .section.dark::before { content: ""; position: absolute; right: -70px; top: 50%; width: 460px; aspect-ratio: 579 / 600; translate: 0 -50%; background: url(img/logo-mark-white.png) center / contain no-repeat; opacity: .07; pointer-events: none; animation: floaty 14s ease-in-out infinite alternate; }
.banner.has-img::before { opacity: .12; }
.cta::before { right: auto; left: -70px; }
@keyframes floaty { from { transform: translateY(-10px) rotate(-3deg); } to { transform: translateY(10px) rotate(3deg); } }
.banner .wrap, .cta .wrap, .section.dark .wrap { position: relative; }

/* ampliar imagem do projeto */
.js .case-img { cursor: zoom-in; position: relative; }
.js .case-img::after { content: "+"; position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(7, 29, 51, .72); color: #fff; font-size: 22px; line-height: 32px; text-align: center; opacity: 0; transform: scale(.7); transition: opacity .25s, transform .25s var(--ease); }
.js .case:hover .case-img::after { opacity: 1; transform: none; }
.lightbox { border: 0; padding: 0; background: #fff; border-radius: var(--radius); width: min(980px, 94vw); max-height: 92vh; overflow: auto; box-shadow: var(--shadow-lg); }
.lightbox::backdrop { background: rgba(7, 29, 51, .78); }
.lightbox[open] { animation: rise .35s var(--ease) both; }
.lightbox img { width: 100%; max-height: 62vh; object-fit: contain; background: #f3f8fc; }
.lightbox div { padding: 24px 30px 28px; }
.lightbox h3 { font-size: 24px; }
.lightbox p { margin: 0; color: #33475a; }
.lightbox button { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(7, 29, 51, .78); color: #fff; font-size: 22px; cursor: pointer; }

/* icones dos subgrupos e dos mercados */
.g-head { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.g-head h3 { margin: 2px 0 0; }
.g-ico { flex: none; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 20px; background: linear-gradient(145deg, #e8f5fc, #f6fbfe); box-shadow: inset 0 0 0 1px #d5ebf7; transition: transform .35s var(--ease), background .3s; }
.g-ico img { width: 42px; height: 42px; }
.group:hover .g-ico { transform: rotate(-4deg) scale(1.08); }
.mchip img { width: 40px; height: 40px; flex: none; }
.section.dark .mchip img { filter: brightness(0) invert(1); opacity: .92; transition: filter .3s; }
.section.dark .mchip:hover img { filter: none; opacity: 1; }
.tablist button img { width: 30px; height: 30px; flex: none; transition: filter .2s; }
.tablist button[aria-selected=true] img { filter: brightness(0) invert(1); }
.m-pic { position: relative; margin: -36px -40px 46px; height: 230px; }
.m-pic > img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.m-pic::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius) var(--radius) 0 0; background: linear-gradient(180deg, rgba(7, 29, 51, 0) 40%, rgba(7, 29, 51, .45)); }
.m-pic .g-ico { position: absolute; left: 40px; bottom: -30px; z-index: 1; background: #fff; box-shadow: var(--shadow); width: 76px; height: 76px; }
.m-pic .g-ico img { width: 48px; height: 48px; }
.tabpanel h2 { display: block; }

/* produtos */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.product { display: flex; flex-direction: column; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, opacity .7s var(--ease); }
.product::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--blue), var(--blue-dark)); }
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.p-logo { height: 62px; width: auto; margin-bottom: 26px; }
.p-name { display: flex; align-items: center; gap: 14px; font-size: 30px; font-weight: 700; color: var(--navy); letter-spacing: -.02em; margin-bottom: 26px; height: 62px; }
.p-name img { width: 54px; height: 54px; }
.product .ticks { margin-bottom: 26px; }
.product .btn, .product .badge { margin-top: auto; }
.badge { display: inline-block; padding: 8px 18px; border-radius: 999px; background: var(--soft); border: 1px dashed #a9cfe6; color: var(--blue-dark); font-weight: 650; font-size: 14.5px; }

/* contato: cartao e foto do mesmo tamanho, lado a lado */
.p-contato .split { align-items: stretch; gap: 32px; }
.p-contato .contact { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 400px; }
.side-fig { position: relative; margin: 0; min-height: 400px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.side-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 34% 38%; }
.side-fig figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 10px; font-size: 11.5px; color: rgba(255, 255, 255, .82); background: linear-gradient(180deg, transparent, rgba(7, 29, 51, .75)); }
.side-fig a { color: inherit; }

@media (max-width: 1100px) {
  .menu a { padding: 9px 9px; font-size: 14.5px; }
  .nav { gap: 12px; }
}
@media (max-width: 1200px) {
  .products { grid-template-columns: 1fr; }
  .side-fig { min-height: 0; aspect-ratio: 3 / 2; }
  .p-contato .contact { min-height: 0; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); flex-direction: column; align-items: stretch; gap: 14px; padding: 14px 20px 22px; max-height: calc(100vh - 70px); overflow: auto; }
  .nav.open { display: flex; animation: rise .3s var(--ease) both; }
  .menu { flex-direction: column; align-items: stretch; }
  .menu a { border-radius: 10px; }
  .menu .nav-cta a { margin: 8px 0 0; text-align: center; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 6px 10px; min-width: 0; }
  .sub a { padding: 7px 12px; font-size: 14.5px; color: var(--muted); }
  .langs { align-self: flex-start; }
  .cards, .cases, .values, .fleet, .works { grid-template-columns: repeat(2, 1fr); }
  .mchips { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
  .split, .split.top { grid-template-columns: 1fr; gap: 48px; }
  .curve { display: none; }
  .photo { width: min(340px, 100%); }
  .tabs { grid-template-columns: 1fr; gap: 22px; }
  .tablist { position: static; display: none; grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .js .tablist { display: grid; }
  .tablist button { background: var(--soft); padding: 12px 14px; gap: 10px; font-size: 15px; line-height: 1.25; min-width: 0; }
  .m-node { font-size: clamp(10px, 2vw, 13px); }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero-bg { background: linear-gradient(180deg, rgba(7, 29, 51, .92), rgba(7, 29, 51, .72)); }
  .hero-slides .s1 { background-position: 78% center; }
  .brand img { width: 178px; }
  .scrolled .brand img { width: 150px; }
  .hero-in { padding: 72px 0 170px; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 22px; padding: 24px 8px; }
  .stat:nth-child(3) { border: 0; }
  .cards, .cases, .values, .fleet, .works, .groups, .two, .foot, .mchips { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .ticks.cols { columns: 1; }
  .tabpanel { padding: 26px 22px; }
  .m-pic { margin: -26px -22px 44px; height: 180px; }
  .m-pic .g-ico { left: 22px; }
  .product { padding: 28px 24px; }
  .banner { padding: 56px 0 120px; }
  .banner.has-img { padding: 84px 0 140px; }
  .intro { grid-template-columns: 1fr; gap: 18px; }
  .intro img { width: 76px; height: 76px; padding: 14px; border-radius: 20px; }
  .waves { height: 60px; }
  .banner::before, .cta::before, .section.dark::before { width: 300px; }
}
/* Quem desativou animacoes no sistema: sem movimento continuo, mantendo apenas transicoes suaves */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .waves path, .banner > img, .banner::before, .cta::before, .section.dark::before, .hero-in > *, .banner .wrap { animation: none; }
  .hero-slides i { animation: slide 32s linear infinite; }
  .js .reveal { transform: none; }
}

/* equipe (pagina CoastalPort) */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; align-items: start; }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 32px; scroll-margin-top: 110px; }
.member header { display: flex; gap: 22px; align-items: center; padding-bottom: 22px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.member .avatar { flex: none; width: 112px; height: 112px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--blue); }
.member .initials { display: grid; place-items: center; font-size: 36px; font-weight: 700; letter-spacing: .02em; color: #fff; background: linear-gradient(135deg, var(--navy), var(--blue-dark)); }
.member h3 { font-size: 22px; margin: 0 0 2px; }
.member .role { margin: 0 0 10px; color: var(--blue-dark); font-weight: 650; font-size: 15px; line-height: 1.35; }
.member .li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 650; text-decoration: none; color: #0a66c2; }
.member .li:hover span { text-decoration: underline; }
.member h4 { font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 20px 0 8px; }
.member p { margin: 0; font-size: 15.5px; }
.member ul { list-style: none; margin: 0; padding: 0; }
.member .edu li { position: relative; padding-left: 18px; margin-bottom: 5px; font-size: 15px; }
.member .edu li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.member .spec { display: flex; flex-wrap: wrap; gap: 7px; }
.member .spec li { font-size: 13px; font-weight: 600; color: var(--blue-dark); background: #e8f5fc; border-radius: 999px; padding: 5px 12px; }
@media (max-width: 1000px) { .team { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .member { padding: 24px 20px; }
  .member header { gap: 16px; }
  .member .avatar { width: 84px; height: 84px; }
  .member .initials { font-size: 28px; }
}

/* mercados: abas em grade no celular (sem rolagem lateral) e enquadramento da foto de hidrovias */
@media (max-width: 860px) { .tablist { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) {
  .tablist { gap: 8px; }
  .tablist button { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; font-size: 14px; }
}
#m2 .m-pic > img { object-position: 50% 82%; }

/* mercados: no computador a foto usa a proporcao do arquivo (2,2:1), para nao cortar o assunto */
@media (min-width: 701px) { .m-pic { height: auto; aspect-ratio: 2.2 / 1; max-height: 420px; } }

/* telas de toque: links de rodapé, trilha e etiquetas com área de toque de 40 px (sem mudar o desenho) */
@media (pointer: coarse) {
  .foot a, .crumbs a, .chips a { display: inline-flex; align-items: center; min-height: 40px; }
  .foot li { margin-bottom: 0; }
  .chips a { padding: 4px 13px; }
}
