/* Layout corporativo: topbar de contatos → header branco → banner rotativo → blocos alternando claro/navy → grades de cards com foto */
:root {
  --navy: #0A174E;
  --navy-2: #071038;
  --gold: #FFD500;
  --gold-2: #F2B705;
  --blue: #1F6FC5;
  --blue-2: #175A9F;
  --sky: #E8F0F9;
  --bg: #FFFFFF;
  --bg-2: #F3F6FA;
  --text: #16243A;
  --muted: #5B6B80;
  --line: #DCE4EE;
  --f-display: "Barlow", "Segoe UI", Arial, sans-serif;
  --f-body: "Barlow", "Segoe UI", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1220px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; text-wrap: balance; line-height: 1.1; }
p { margin: 0; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Topbar */
.topbar { background: var(--navy-2); color: #C9D7E8; font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 8px; }
.topbar span { display: inline-flex; gap: 6px; align-items: center; }
.topbar a { text-decoration: none; color: #fff; font-weight: 600; }
.topbar .sep { opacity: .35; }

/* Header */
.head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img { width: 58px; height: auto; flex-shrink: 0; }
.foot .logo-img { width: 80px; }
.logo b { font: 800 24px/1 var(--f-display); letter-spacing: .02em; color: var(--navy); display: block; }
.logo small { font: 600 11.5px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); display: block; margin-top: 4px; }
.menu { display: flex; align-items: center; gap: 30px; }
.menu a { text-decoration: none; font-weight: 600; font-size: 15.5px; color: var(--navy); text-transform: uppercase; letter-spacing: .04em; }
.menu a:hover { color: var(--blue); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 4px; padding: 9px 14px; font: 600 14px var(--f-body); color: var(--navy); cursor: pointer; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 4px; font: 700 15px/1 var(--f-body); text-transform: uppercase; letter-spacing: .05em; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-blue { background: var(--blue); color: #fff !important; }
.btn-blue:hover { background: var(--blue-2); }
.btn-white { background: #fff; color: var(--navy) !important; }
.btn-white:hover { background: var(--sky); }
.btn-ghost { border-color: rgb(255 255 255 / .7); color: #fff !important; }
.btn-ghost:hover { background: rgb(255 255 255 / .1); }

/* Banner rotativo */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.slides { position: relative; min-height: clamp(420px, 52vw, 560px); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s, visibility .7s; display: flex; align-items: center; }
.slide.on { opacity: 1; visibility: visible; }
.slide .bg { position: absolute; inset: 0; background:
  linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px) 0 0 / 40px 40px,
  linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px) 0 0 / 40px 40px,
  radial-gradient(circle at 78% 50%, #1A3480 0, var(--navy) 60%); }
.slide .bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(10 23 78 / .92) 0%, rgb(10 23 78 / .7) 45%, rgb(10 23 78 / .15) 100%); }
.slide .wrap { position: relative; width: 100%; padding-block: 56px 88px; }
.slide .kicker { display: inline-block; background: var(--gold); color: var(--navy); font: 700 13px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; padding: 8px 12px; border-radius: 3px; margin-bottom: 20px; }
.slide h1, .slide h2 { font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.9rem); max-width: 15ch; }
.slide p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #D3E0EF; max-width: 36rem; margin-top: 18px; }
.slide .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.slide .ph-tag { position: absolute; right: var(--gutter); top: 20px; font: 600 11px var(--f-body); letter-spacing: .16em; color: rgb(255 255 255 / .35); text-transform: uppercase; }
.slide .bg:has(img) ~ .ph-tag { display: none; }
.ctrl { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 3; }
.ctrl .wrap { display: flex; align-items: center; gap: 16px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 34px; height: 5px; border: 0; border-radius: 3px; background: rgb(255 255 255 / .35); cursor: pointer; padding: 0; }
.dots button.on { background: var(--gold); }
.arrows { margin-left: auto; display: flex; gap: 8px; }
.arrows button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .5); background: transparent; color: #fff; font-size: 18px; cursor: pointer; }
.arrows button:hover { background: rgb(255 255 255 / .12); }

/* Seções */
.sec { padding-block: clamp(56px, 8vw, 96px); }
.sec-2 { background: var(--bg-2); }
.title { text-align: center; margin-bottom: 44px; }
.title small { display: block; font: 700 13px var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.title h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; color: var(--navy); }
.title h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--gold-2); margin: 16px auto 0; border-radius: 2px; }
.title p { color: var(--muted); max-width: 40rem; margin: 16px auto 0; }

/* Quem somos */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.about .title { text-align: left; margin-bottom: 24px; }
.about .title h2::after { margin-left: 0; }
.about .txt p { color: var(--muted); }
.about .txt p + p { margin-top: 14px; }
.about .txt .btn { margin-top: 28px; }
.ph { position: relative; background: var(--sky); overflow: hidden; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph::before { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 12px; font: 600 12px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: #8FA6C0;
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgb(31 111 197 / .06) 14px 15px); }
.about .ph { aspect-ratio: 4 / 3; max-width: 100%; border-radius: 6px; }

/* Números */
.nums { background: var(--navy); color: #fff; }
.nums .wrap { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.num { padding: 36px 20px; text-align: center; }
.num + .num { border-left: 1px solid rgb(255 255 255 / .22); }
.num b { color: var(--gold); display: block; white-space: nowrap; font: 800 clamp(1.7rem, 3vw, 2.5rem)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.num span { display: block; margin-top: 8px; font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: #DCE9F7; }

/* Abas e cards */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tabs button { font: 700 14px var(--f-body); letter-spacing: .08em; text-transform: uppercase; padding: 12px 22px; border-radius: 4px; border: 2px solid var(--line); background: var(--bg); color: var(--navy); cursor: pointer; }
.tabs button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgb(13 42 74 / .12); }
.card .ph { aspect-ratio: 16 / 10; max-width: 100%; }
.card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .div { font: 700 12px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.card h3 { font-size: 1.3rem; font-weight: 700; color: var(--navy); }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.5; flex: 1; }
.card .more { margin-top: 8px; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.card[hidden] { display: none !important; }

/* Produtos */
.prods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.prods .card.weg { border: 2px solid var(--blue); }
.badge { align-self: flex-start; background: var(--sky); color: var(--blue-2); font: 700 11.5px var(--f-body); letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 3px; }

/* Galeria */
.gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gal .ph { aspect-ratio: 4 / 3; max-width: 100%; margin: 0; border-radius: 6px; }
.gal figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; color: #fff; font-weight: 600; font-size: 15px; background: linear-gradient(transparent, rgb(7 16 56 / .85)); }
.gal .ph:not(:has(img)) figcaption { color: var(--navy); background: none; }

/* Faixa CTA */
.cta { background: var(--navy); color: #fff; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 48px; }
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.cta p { color: #C9D7E8; margin-top: 8px; }
.cta .acts { display: flex; flex-wrap: wrap; gap: 12px; }

/* Contato */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 56px); }
.info { display: grid; gap: 14px; align-content: start; }
.info-box { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
.info-box i { width: 40px; height: 40px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; }
.info-box i svg { width: 19px; height: 19px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.info-box b { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 2px; }
.info-box a { text-decoration: none; font-weight: 600; color: var(--navy); }
.info-box a:hover { color: var(--blue); }
form { background: var(--bg); border: 1px solid var(--line); border-top: 4px solid var(--gold-2); border-radius: 6px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; }
form h3 { font-size: 1.4rem; color: var(--navy); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--navy); }
input, select, textarea { font: 400 16px var(--f-body); color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; width: 100%; min-width: 0; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); background: var(--bg); }
textarea { min-height: 110px; resize: vertical; }
.form-err { color: #B3261E; font-size: 14px; font-weight: 600; }
.form-note { color: var(--muted); font-size: 13.5px; }

/* Rodapé */
.foot { background: var(--navy-2); color: #B9C9DC; font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; padding-block: 56px 40px; }
.foot h4 { margin: 0 0 14px; font: 700 14px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
.foot .logo b { color: #fff; }
.foot .logo small { color: var(--gold); }
.foot .about-f { margin-top: 14px; }
.foot .bottom { border-top: 1px solid rgb(255 255 255 / .1); }
.foot .bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px; font-size: 13.5px; color: #8EA3BC; }

.wa { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 6px 20px rgb(0 0 0 / .25); transition: transform .15s; }
.wa:hover { transform: scale(1.06); }
.wa svg { width: 30px; height: 30px; fill: #fff; }

/* Responsivo */
@media (max-width: 1000px) {
  .prods { grid-template-columns: 1fr 1fr; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .gal { grid-template-columns: 1fr 1fr; }
  .menu { display: none; }
  .menu.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 16px var(--gutter) 20px; gap: 16px; box-shadow: 0 10px 20px rgb(13 42 74 / .08); }
  .menu.open .btn { justify-content: center; }
  .menu-btn { display: inline-block; }
  .about, .contact { grid-template-columns: minmax(0, 1fr); }
  .nums .wrap { grid-template-columns: 1fr 1fr; }
  .num:nth-child(odd) { border-left: 0; }
  .num:nth-child(n+3) { border-top: 1px solid rgb(255 255 255 / .22); }
  .num:last-child { grid-column: 1 / -1; }
  .topbar .hide-m { display: none; }
}
@media (max-width: 560px) {
  .prods, .foot .cols, .row2 { grid-template-columns: minmax(0, 1fr); }
  .arrows { display: none; }
  .slide .ph-tag { display: none; }
}

