/* ==========================================================================
   Alpha Dive — estilos do site (baseado no Figma "Site Alpha DIve", desktop 1920)
   ========================================================================== */

:root {
  --navy: #002347;
  --navy-deep: #000d21;
  --lime: #cedc00;
  --text: #43474e;
  --muted: #718bb5;
  --border: #c4c6cf;
  --slate: #94a3b8;
  --slate-light: #cbd5e1;
  --bg-soft: #f7f9fb;
  --bg-light: #f2f4f6;
  --bg-gray: #eceef0;
  --bg-chip: #e6e8ea;
  --white: #ffffff;
  --container: 1120px;
  --header-h: 85px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }
.flip { transform: scaleY(-1); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Tipografia compartilhada ---------- */
.h2 { font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -0.36px; color: var(--navy); }
.eyebrow { font-size: 32px; line-height: 1.1; font-weight: 600; letter-spacing: 3.2px; text-transform: uppercase; color: var(--lime); }
.eyebrow--regular { font-weight: 400; }
.bar { width: 96px; height: 4px; background: var(--lime); }
.bar--sm { width: 80px; }
.text-center { text-align: center; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--lime); color: var(--navy);
  font-weight: 700; font-size: 16px; line-height: 24px; letter-spacing: 1.6px; text-transform: uppercase;
  padding: 16px 40px; border: 0; border-radius: 2px;
  transition: filter .2s, transform .2s;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1448px; }
.header__logo img { width: 159px; height: 53px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { white-space: nowrap; }
.nav a {
  font-size: 18px; line-height: 20px; font-weight: 500; letter-spacing: .7px; text-transform: uppercase; color: var(--navy);
  padding-bottom: 6px; border-bottom: 2px solid transparent; transition: border-color .2s;
}
.nav a:hover { border-color: rgba(206, 220, 0, .5); }
.nav a.is-active { font-weight: 700; border-color: var(--lime); }
.header__cta { padding: 8px 24px; font-size: 18px; line-height: 20px; letter-spacing: .7px; text-transform: none; border-radius: 0; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--navy); }

/* Menu mobile (frame "menu" do Figma) */
.mobile-menu {
  position: fixed; inset: 0; z-index: 100; background: var(--navy-deep);
  padding: 24px 32px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__close { display: block; margin-left: auto; background: none; border: 0; color: #fff; padding: 8px; }
.mobile-menu ul { margin-top: 16px; }
.mobile-menu li + li { border-top: 1px solid rgba(255, 255, 255, .12); }
.mobile-menu a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; color: #fff; font-size: 18px; font-weight: 500; letter-spacing: 1.8px; text-transform: uppercase;
}
.mobile-menu a.is-active { color: var(--lime); font-weight: 700; }
.mobile-menu a .check { display: none; }
.mobile-menu a.is-active .check { display: block; transform: scaleY(-1); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: min(921px, calc(100vh - var(--header-h)));
  padding: 120px 0;
  background: var(--navy) url("../img/hero.jpg") center / cover no-repeat;
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 35, 71, .8), rgba(0, 35, 71, .4)); }

/* Hero com vídeo (navio na Baía de Guanabara). A imagem é a mesma do 1º quadro do vídeo. */
.hero--video { background-image: url("../img/hero-navio.jpg"); background-position: 65% center; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.hero--video::before { z-index: 1; background: linear-gradient(90deg, rgba(0, 35, 71, .88) 0%, rgba(0, 35, 71, .62) 42%, rgba(0, 35, 71, .12) 100%); }
.hero--video .container { z-index: 2; }
.hero--video h1 { max-width: 620px; }
.hero--video .hero__lead { max-width: 600px; }
.hero--video .hero__sub { max-width: 560px; }
@media (max-width: 720px) {
  .hero--video::before { background: linear-gradient(to bottom, rgba(0, 35, 71, .85) 0%, rgba(0, 35, 71, .55) 60%, rgba(0, 35, 71, .35) 100%); }
}
.hero .container { position: relative; }
.hero h1 { font-size: 60px; line-height: 72px; font-weight: 700; letter-spacing: -1.2px; color: #fff; max-width: 680px; }
.hero__lead { margin-top: 24px; max-width: 960px; font-size: 24px; line-height: 28px; font-weight: 900; color: #e2e8f0; }
.hero__sub { margin-top: 16px; max-width: 780px; font-size: 20px; line-height: 24px; font-weight: 500; font-style: italic; color: var(--slate-light); }

/* ==========================================================================
   Faixas de título (Quem Somos, Serviços, Portfólio, Clientes, Contato)
   ========================================================================== */
.band { position: relative; padding: 80px 0; background: var(--navy); overflow: hidden; }
.band__bg { position: absolute; inset: 0; background-position: center; background-size: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 35, 71, .7), rgba(0, 35, 71, .85)); }
.band .container { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 24px; }
.band h2 { font-size: 40px; line-height: 72px; font-weight: 700; letter-spacing: -1.2px; color: #fff; margin-bottom: -24px; }
.band h2 + .bar { margin-top: 24px; }
.band p { padding-top: 8px; font-size: 18px; line-height: 28px; color: var(--muted); max-width: 1120px; }
.band p.band__italic { padding-top: 0; font-size: 20px; font-weight: 600; font-style: italic; }

/* ==========================================================================
   Sobre
   ========================================================================== */
.about { padding: 64px 0; background: #fff; }
.about h2 { font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -.36px; color: var(--navy); }
.about__text { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.about p { font-size: 16px; line-height: 26px; }
.about h3 { margin-top: 32px; font-size: 32px; line-height: 1.1; font-weight: 600; letter-spacing: .7px; text-transform: uppercase; color: var(--lime); }
.about h3 + p { margin-top: 24px; max-width: 820px; }

/* ==========================================================================
   Cards genéricos (Áreas, Serviços)
   ========================================================================== */
.section { padding: 64px 0; }
.section--80 { padding: 80px 0; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.area-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.area-card img { width: 100%; height: 256px; object-fit: cover; }
.area-card__body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.area-card h3 { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--navy-deep); }
.area-card p { font-size: 18px; line-height: 24px; }
.areas .grid-3 { margin-top: 32px; }

/* Como atuamos */
.how { background: var(--navy); padding: 80px 0; }
.how .section-head { gap: 16px; }
.how .section-head h2 { font-size: 40px; line-height: 44px; font-weight: 900; letter-spacing: -.36px; color: #fff; }
.how .section-head p { font-size: 18px; line-height: 29.25px; color: var(--muted); max-width: 820px; }
.how .grid-3 { margin-top: 48px; align-items: stretch; } /* cards com a mesma altura */
.how-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 25px 25px 49px; border-radius: 4px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(2px);
}
.how-card img { width: 36px; height: 44px; margin: -2px 0; }
.how-card h3 { padding-top: 8px; font-size: 24px; line-height: 32px; font-weight: 600; color: #fff; }
.how-card p { font-size: 18px; line-height: 24px; color: var(--muted); }

/* CTA dentro de caixa branca */
.cta-box-wrap { background: var(--bg-light); padding: 80px 0; }
.cta-box {
  background: #fff; border: 1px solid var(--border); padding: 49px;
  display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
}
.cta-box .eyebrow { font-size: 32px; letter-spacing: 1.4px; line-height: 1.1; }
.cta-box h2 { font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -.36px; color: var(--navy); }
.cta-box p:not(.eyebrow) { font-size: 20px; line-height: 24px; font-style: italic; max-width: 640px; }

/* ==========================================================================
   Serviços
   ========================================================================== */
.services { background: var(--bg-soft); padding: 80px 0; }
.services .section-head { gap: 16px; }
.services .grid-3 { margin-top: 64px; gap: 32px; align-items: stretch; }
.service-card {
  background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
  padding: 1px 21px 33px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  display: flex; flex-direction: column;
}
.service-card__img { margin: -1px -21px 0; height: 260px; overflow: hidden; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; }
.service-card h3 { padding: 16px 0; font-size: 24px; line-height: 31.2px; font-weight: 600; color: var(--navy); }
.service-card p { font-size: 18px; line-height: 24px; }

/* Card de serviço com página própria (começa pelo ROV; repetir a classe nos próximos) */
.service-card--link { position: relative; border: 2px solid var(--lime); box-shadow: 0 12px 28px -10px rgba(0, 35, 71, .35); transition: transform .2s, box-shadow .2s; }
.service-card--link:hover { transform: translateY(-4px); box-shadow: 0 20px 36px -12px rgba(0, 35, 71, .45); }
.service-card--link .service-card__img { position: relative; margin: -1px -21px 0; }
.service-card--link:hover .service-card__img img { transform: scale(1.04); }
.service-card__img img { transition: transform .4s; }
.service-card__badge {
  position: absolute; top: 14px; left: 14px; z-index: 1; padding: 6px 12px;
  background: var(--lime); color: var(--navy); font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
}
.service-card__btn { margin-top: auto; align-self: stretch; gap: 10px; padding: 14px 20px; font-size: 15px; letter-spacing: 1.2px; white-space: nowrap; }
.service-card--link p { padding-bottom: 24px; }
.service-card__btn::after { content: ""; position: absolute; inset: 0; } /* o card inteiro fica clicável */
.service-card__btn svg { transition: transform .2s; }
.service-card--link:hover .service-card__btn svg { transform: translateX(4px); }

/* Faixa Trabalhe Conosco (fim da área de serviços) */
.careers-cta {
  margin-top: 64px; padding: 40px 48px; border-radius: 8px;
  background: var(--navy) url("../img/bg-servicos.jpg") center / cover no-repeat; background-blend-mode: multiply;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.careers-cta__text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.careers-cta__eyebrow { font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--lime); }
.careers-cta h3 { font-size: 30px; line-height: 36px; font-weight: 700; color: #fff; }
.careers-cta p { font-size: 17px; line-height: 26px; color: var(--slate-light); max-width: 620px; }
.careers-cta .btn { flex: none; gap: 10px; white-space: nowrap; }
@media (max-width: 720px) {
  .careers-cta { margin-top: 40px; padding: 32px 20px; flex-direction: column; align-items: stretch; text-align: left; }
  .careers-cta h3 { font-size: 24px; line-height: 30px; }
  .careers-cta .btn { padding: 16px 20px; }
}

/* Serviços especializados */
.specialized { background: var(--bg-gray); padding: 80px 0; }
.specialized .grid-3 { margin-top: 48px; gap: 48px; align-items: stretch; }
.spec-card {
  background: #faf9fc; border: 1px solid var(--border); border-radius: 4px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05); padding-bottom: 25px;
}
.spec-card__head {
  min-height: 112px; display: flex; align-items: center; gap: 16px; padding: 24px 24px 25px;
  background: var(--navy); border-bottom: 1px solid var(--border);
}
.spec-card__head h3 { font-size: 24px; line-height: 31.2px; font-weight: 600; color: var(--muted); }
.spec-card ul { margin: 24px auto 0; width: 292px; max-width: calc(100% - 48px); display: flex; flex-direction: column; gap: 16px; }
.spec-card li { display: flex; align-items: center; gap: 16px; font-size: 16px; line-height: 24px; }
.spec-card li img { width: 20px; height: 20px; flex: none; }

/* Operações TFO / FPSO */
/* Só em cima e embaixo: as laterais vêm do .container (senão o texto encosta na borda no celular) */
.ops { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 96px; }
.op { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.op__text { display: flex; flex-direction: column; gap: 8px; }
.op__text .eyebrow { font-weight: 400; line-height: 24px; }
.op__text h2 { font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -.36px; color: var(--navy); }
.op__text > p:not(.eyebrow) { padding-top: 16px; font-size: 16px; line-height: 24px; }
.op__chips { padding-top: 16px; display: flex; gap: 16px; }
.op__chip { flex: 1; background: var(--bg-chip); border-radius: 4px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.op__chip strong { display: flex; align-items: center; gap: 20px; font-size: 18px; line-height: 28px; color: var(--navy-deep); }
.op__chip span { font-size: 14px; line-height: 20px; }
.op__list { padding-top: 16px; display: flex; flex-direction: column; gap: 16px; }
.op__list li { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 24px; }
.op__list img { width: 24px; height: 28px; margin: -2px 0; }

.video-card {
  position: relative; display: block; width: 100%; height: 301.5px; padding: 0; border: 0;
  border-radius: 8px; overflow: hidden; background: var(--navy); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
}
.video-card > img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform .4s; }
.video-card:hover > img { transform: scale(1.03); }
.video-card__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 80px; height: 80px; border-radius: 12px; background: var(--lime);
  display: flex; align-items: center; justify-content: center;
}
.video-card__play img { width: 36px; height: 44px; }
.video-card__tag {
  position: absolute; right: 16px; bottom: 16px; padding: 4px 12px;
  background: rgba(0, 13, 33, .8); backdrop-filter: blur(4px);
  font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #fff;
}

/* Materiais */
.materials { background: #fff; border-top: 1px solid var(--border); padding: 81px 0 80px; }
.materials .section-head { gap: 8px; }
.materials .section-head .eyebrow { font-weight: 400; line-height: 24px; }
.materials .section-head p:not(.eyebrow) { padding-top: 8px; max-width: 672px; font-size: 16px; line-height: 24px; }
.materials__grid { margin: 48px auto 0; max-width: 931px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 16px; row-gap: 50px; }
.material { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.material__img { width: 100%; height: 114px; border: 1px solid var(--border); overflow: hidden; background: #fff; }
.material__img img { width: 100%; height: 100%; object-fit: cover; }
.material span { font-size: 16px; line-height: 24px; text-transform: uppercase; color: var(--navy); text-align: center; }

/* ==========================================================================
   Diferenciais
   ========================================================================== */
.why { background: var(--navy); padding: 80px 0; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.why h2 { font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -.36px; color: #fff; }
.why__intro { margin-top: 32px; font-size: 16px; line-height: 24px; color: var(--slate-light); }
.why__list { margin-top: 32px; padding-top: 16px; display: flex; flex-direction: column; gap: 32px; }
.why__item { display: flex; align-items: center; gap: 16px; }
.why__icon { flex: none; background: var(--lime); padding: 10px 12px; display: flex; }
.why__icon img { width: 24px; height: 28px; }
.why__item h3 { font-size: 18px; line-height: 28px; font-weight: 400; color: #fff; }
.why__item p { margin-top: 8px; font-size: 16px; line-height: 20px; color: var(--slate); }
.why__visual { position: relative; min-height: 600px; height: 704px; background: #1e293b; overflow: hidden; }
.why__visual img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.why__badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  border: 2px solid var(--lime); padding: 34px; backdrop-filter: blur(2px);
  display: flex; flex-direction: column; gap: 16px; white-space: nowrap;
}
.why__badge strong { font-size: 36px; line-height: 40px; font-weight: 900; color: #fff; }
.why__badge span { font-size: 16px; line-height: 24px; font-weight: 700; letter-spacing: 1.6px; color: var(--lime); }

/* Visão, missão e valores */
.mvv { background: var(--bg-soft); padding: 80px 0; }
.mvv .grid-3 { margin-top: 48px; align-items: stretch; }
.mvv-card { background: #fff; border: 1px solid var(--border); padding: 25px 25px 49px; }
.mvv-card__icon { width: 64px; height: 64px; border-radius: 12px; background: var(--bg-light); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.mvv-card__icon img { width: 30px; height: 36px; }
.mvv-card h3 { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.mvv-card p { font-size: 16px; line-height: 26px; }

/* CTA escuro */
.cta-dark { background: var(--navy); padding: 80px 0; text-align: center; }
.cta-dark .container { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta-dark h2 { font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -.36px; color: #fff; }
.cta-dark p { font-size: 16px; line-height: 24px; color: #fff; opacity: .8; padding-bottom: 8px; }
.cta-dark p.muted { font-size: 18px; line-height: 28px; color: var(--muted); opacity: 1; padding-bottom: 32px; }
.cta-dark .btn--sm { font-size: 14px; line-height: 20px; letter-spacing: 1.4px; padding: 16.5px 40px 17.5px; border-radius: 4px; }

/* CTA claro */
.cta-light { background: var(--bg-gray); padding: 80px 0; text-align: center; }
.cta-light .container { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-light h2 { font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -.36px; color: var(--navy); }
.cta-light p { font-size: 16px; line-height: 24px; }
.cta-light .btn { margin-top: 16px; padding: 13px 32px; border-radius: 0; }

/* ==========================================================================
   Portfólio
   ========================================================================== */
.portfolio { background: #fff; padding: 80px 0; }
.portfolio__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.project { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.project__img { height: 301px; overflow: hidden; }
.project__img img { width: 100%; height: 100%; object-fit: cover; }
.project__body { flex: 1; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.project__place { font-size: 16px; line-height: 24px; color: var(--lime); }
.project h3 { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--navy); }
.project p { font-size: 16px; line-height: 20px; }
.project__date {
  margin-top: auto; padding-top: 20px; border-top: 1px solid #f1f5f9;
  display: flex; align-items: center; gap: 4px; font-size: 12px; line-height: 16px; color: #74777f;
}
.project__date img { width: 14px; height: 16px; }

/* Carrossel (Certificados e Clientes) */
.carousel-section { background: #f4f3f7; padding: 64px 0; }
.carousel-section--clients { background: var(--bg-light); padding: 80px 0; }
.carousel-head { display: flex; flex-direction: column; gap: 16px; }
.carousel-head .h2 + .bar { border-radius: 12px; }
.carousel { margin-top: 80px; }
.carousel__track {
  display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { flex: none; scroll-snap-align: start; }
.carousel__controls { margin-top: 48px; display: flex; align-items: center; justify-content: space-between; }
.carousel__dots { display: flex; gap: 8px; }
.carousel__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #8d8d8d; opacity: .5; }
.carousel__dots button.is-active { background: var(--navy); opacity: 1; }
.carousel__arrows { display: flex; gap: 15px; }
.carousel__arrows button { width: 48px; height: 48px; border: 1px solid #000; border-radius: 50%; background: transparent; display: flex; align-items: center; justify-content: center; }
.carousel__arrows button:disabled { opacity: .3; cursor: default; }
.carousel__arrows img { width: 24px; height: 24px; }

.cert { width: 300px; height: 420px; background: #fff; overflow: hidden; }
.cert img { width: 100%; height: 100%; object-fit: cover; }
.certs-wrap { margin-top: 0; }
.certs-wrap .carousel { margin-top: 80px; }

.client { width: 166.667px; height: 146px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.client img { width: 150px; height: 150px; max-width: none; object-fit: cover; }

/* Números */
.stats { background: #fff; border-bottom: 1px solid var(--bg-chip); padding: 80px 0 81px; }
.stats .grid-3 { gap: 48px; }
.stat { border-left: 4px solid var(--lime); padding: 16px 0 16px 28px; }
.stat strong { display: block; font-size: 48px; line-height: 72px; font-weight: 700; color: var(--navy); }
.stat span { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; }

/* ==========================================================================
   Contato
   ========================================================================== */
.contact { background: var(--bg-soft); padding: 80px 0; }
.contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.contact-form {
  grid-column: 1 / span 7; background: #fff; border: 1px solid var(--border);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .05)); padding: 49px;
}
.contact-form h2 { font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -.36px; color: var(--navy); margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.field label { display: block; font-size: 16px; line-height: 20px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 18px; line-height: 24px; color: #191c1e;
  background: #fff; border: 1px solid var(--border); border-radius: 0; padding: 13px 17px; outline: none;
  transition: border-color .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #6b7280; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); }
.field select { appearance: none; -webkit-appearance: none; background: #fff url("../img/ic-select.svg") right 9px center / 24px no-repeat; padding-right: 40px; cursor: pointer; }
.field textarea { min-height: 136px; resize: vertical; }
.field--full { margin-bottom: 24px; }
.form-hp { position: absolute; left: -9999px; }
.contact-form .btn { padding: 16px 48px; font-size: 16px; line-height: 20px; letter-spacing: 1.4px; border-radius: 0; }
.form-status { margin-top: 16px; font-size: 15px; line-height: 22px; min-height: 22px; }
.form-status.is-ok { color: #2e7d32; }
.form-status.is-error { color: #c62828; }

.contact__side { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 24px; }
.info-card { background: var(--navy); padding: 48px; }
.info-card h2 { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--lime); }
.info-list { margin-top: 24px; display: flex; flex-direction: column; gap: 24px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item > img { width: 24px; height: 28px; margin-top: -2px; flex: none; }
.info-item small { display: block; font-size: 18px; line-height: 24px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.info-item p, .info-item a { font-size: 18px; line-height: 24px; color: #fff; overflow-wrap: anywhere; }
.info-item a:hover { color: var(--lime); }
.socials { margin-top: 32px; padding-top: 33px; border-top: 1px solid rgba(255, 255, 255, .1); }
.socials small { display: block; font-size: 18px; line-height: 24px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.socials ul { display: flex; justify-content: space-between; }
.socials a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.socials a:hover { transform: scale(1.1); }
.socials img { width: 44px; height: 44px; max-width: none; object-fit: contain; }

.map-card { position: relative; flex: 1; min-height: 300px; background: var(--bg-gray); overflow: hidden; display: block; }
.map-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-card__overlay { position: absolute; inset: 0; background: rgba(0, 35, 71, .2); backdrop-filter: blur(1px); display: flex; align-items: center; justify-content: center; }
.map-card__pin {
  background: #fff; padding: 16px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
  font-size: 16px; line-height: 24px; color: var(--navy); transition: transform .2s;
}
.map-card:hover .map-card__pin { transform: translateY(-3px); }
.map-card__pin img { width: 36px; height: 44px; margin: -2px 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--navy); border-top: 1px solid #334155; }
.footer__top { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; padding: 64px 0; }
.footer__brand strong { display: block; font-size: 20px; line-height: 28px; color: var(--lime); }
.footer__brand p { margin-top: 22.75px; font-size: 14px; line-height: 22.75px; color: var(--slate-light); max-width: 230px; }
.footer__nav { grid-column: 4; }
.footer__nav h4 { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #fff; margin-bottom: 15px; }
.footer__nav ul { display: flex; flex-direction: column; gap: 7px; }
.footer__nav a { font-size: 14px; line-height: 22.75px; color: var(--slate-light); text-transform: uppercase; }
.footer__nav a:hover, .footer__nav a.is-active { color: var(--lime); }
.footer__nav a.is-active { font-weight: 700; }
.footer__bottom { border-top: 1px solid #334155; padding: 33px 0 32px; display: flex; justify-content: space-between; gap: 16px; font-size: 12px; line-height: 16px; color: var(--slate); }
.footer__bottom a:hover { color: #fff; }

/* WhatsApp flutuante */
.whatsapp-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 64px; height: 64px; border-radius: 32px; background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25); transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.07); }
.whatsapp-float img { width: 32px; height: 32px; }

/* Seletor de idioma */
.header__actions { display: flex; align-items: center; gap: 20px; }
.lang { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; letter-spacing: .7px; color: var(--muted); }
.lang a { color: var(--muted); padding: 4px 2px; }
.lang a:hover { color: var(--navy); }
.lang a[aria-current="true"] { color: var(--navy); border-bottom: 2px solid var(--lime); }
.mobile-menu .lang { margin-top: 32px; font-size: 16px; color: var(--muted); }
.mobile-menu .lang a { color: #fff; padding: 4px; }
.mobile-menu .lang a[aria-current="true"] { color: var(--lime); }

/* Aviso de cookies */
.cookie-banner {
  position: fixed; left: 24px; right: 104px; bottom: 24px; z-index: 70; max-width: 760px;
  background: var(--navy-deep); color: var(--slate-light); padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .3); font-size: 14px; line-height: 20px;
}
.cookie-banner a { color: var(--lime); text-decoration: underline; }
.cookie-banner div { display: flex; gap: 12px; flex: none; }
.cookie-banner .btn { padding: 10px 20px; font-size: 13px; letter-spacing: 1px; }
.cookie-no { background: none; border: 1px solid rgba(255, 255, 255, .3); color: #fff; padding: 10px 16px; font-size: 13px; }
@media (max-width: 720px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 84px; flex-direction: column; align-items: stretch; }
  .cookie-banner div { justify-content: flex-end; }
}

/* Página ROV */
.media-card { position: relative; width: 100%; height: 340px; border-radius: 8px; overflow: hidden; background: var(--navy); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25); }
.media-card img { width: 100%; height: 100%; object-fit: cover; }
.media-card .video-card__tag { position: absolute; }
.badge-soon { align-self: flex-start; display: inline-block; padding: 4px 12px; background: var(--lime); color: var(--navy); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.rov-apps { padding: 80px 0; background: var(--bg-soft); }
.rov-apps .grid-3 { margin-top: 48px; }
.rov-app { background: #fff; border: 1px solid var(--border); border-radius: 4px; padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.rov-app h3 { font-size: 20px; line-height: 28px; font-weight: 600; color: var(--navy); }
.rov-app p { font-size: 16px; line-height: 24px; }
@media (max-width: 720px) {
  .rov-apps { padding: 56px 0; }
  .media-card { height: 240px; }
}

/* Modal de vídeo */
.video-modal { position: fixed; inset: 0; z-index: 200; background: rgba(0, 13, 33, .9); display: none; align-items: center; justify-content: center; padding: 24px; }
.video-modal.is-open { display: flex; }
.video-modal__inner { position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; background: #000; }
.video-modal__inner iframe, .video-modal__inner video { width: 100%; height: 100%; border: 0; display: block; }
.video-modal__close { position: absolute; top: -48px; right: 0; background: none; border: 0; color: #fff; padding: 8px; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1500px) {
  .nav { gap: 18px; }
  .nav a, .header__cta { font-size: 15px; letter-spacing: .4px; }
  .header__actions { gap: 14px; }
}

/* Menu com 8 itens: abaixo de 1280px vira menu hambúrguer */
@media (max-width: 1279px) {
  :root { --header-h: 72px; }
  .nav, .header__cta, .header__actions .lang { display: none; }
  .menu-toggle { display: block; }
  .header__logo img { width: 130px; height: 44px; }
}

@media (max-width: 1024px) {

  .hero h1 { font-size: 44px; line-height: 52px; }
  .hero__lead { font-size: 20px; line-height: 26px; }
  .hero__sub { font-size: 17px; }

  .h2, .about h2, .how .section-head h2, .cta-box h2, .op__text h2, .why h2, .cta-dark h2, .cta-light h2, .contact-form h2 { font-size: 32px; line-height: 38px; }
  .eyebrow, .about h3, .cta-box .eyebrow { font-size: 22px; letter-spacing: 2px; }
  .band h2 { font-size: 34px; line-height: 56px; }

  .grid-3, .services .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specialized .grid-3 { gap: 24px; }
  .op { grid-template-columns: 1fr; gap: 32px; }
  .op--reverse .video-card { order: 2; }
  .why__grid { grid-template-columns: 1fr; gap: 48px; }
  .why__visual { height: 480px; min-height: 0; }
  .materials__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .contact-form, .contact__side { grid-column: 1 / -1; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__nav { grid-column: auto; }
}

@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .hero { padding: 80px 0; min-height: 560px; }
  .hero h1 { font-size: 34px; line-height: 40px; }
  .hero__lead { font-size: 18px; line-height: 24px; }
  .hero__sub { font-size: 16px; line-height: 22px; }

  .h2, .about h2, .how .section-head h2, .cta-box h2, .op__text h2, .why h2, .cta-dark h2, .cta-light h2, .contact-form h2 { font-size: 28px; line-height: 34px; }
  .eyebrow, .about h3, .cta-box .eyebrow { font-size: 18px; letter-spacing: 1.6px; }
  .band { padding: 56px 0; }
  .band h2 { font-size: 30px; line-height: 48px; }
  .band p { font-size: 16px; line-height: 24px; }

  .section, .section--80, .how, .services, .specialized, .materials, .why, .mvv, .cta-dark, .cta-light, .portfolio, .contact, .cta-box-wrap, .stats, .carousel-section--clients { padding-top: 56px; padding-bottom: 56px; }
  .ops { padding-top: 56px; padding-bottom: 56px; gap: 64px; }
  .grid-3, .services .grid-3, .specialized .grid-3, .portfolio__grid, .stats .grid-3 { grid-template-columns: 1fr; }
  .services .grid-3 { margin-top: 40px; gap: 24px; }
  .area-card img { height: 220px; }
  .cta-box { padding: 32px 20px; }
  .cta-box p:not(.eyebrow) { font-size: 17px; }
  .op__chips { flex-direction: column; }
  .video-card { height: 220px; }
  .materials__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__item { align-items: flex-start; }
  .why__visual { height: 360px; }
  .why__badge { padding: 24px; }
  .why__badge strong { font-size: 28px; line-height: 32px; }
  .project__img { height: 220px; }
  .carousel { margin-top: 40px; }
  .certs-wrap .carousel { margin-top: 40px; }
  .carousel__track { gap: 16px; }
  .cert { width: 240px; height: 336px; }
  .client { width: 140px; height: 124px; }
  .client img { width: 128px; height: 128px; }
  .stat strong { font-size: 40px; line-height: 56px; }
  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 24px; }
  .contact-form .btn { width: 100%; }
  .info-card { padding: 32px 24px; }
  .info-item p, .info-item a, .info-item small, .socials small { font-size: 16px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .footer__bottom { flex-direction: column; }
  .whatsapp-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}

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