:root {
  --navy-950: #0a0f33;
  --navy-900: #101650;
  --navy-800: #182070;
  --navy-700: #202a8c;
  --red: #e0242e;
  --red-dark: #bd1a24;
  --wpp: #1faa59;
  --wpp-dark: #188a49;
  --silver-100: #f3f4f7;
  --silver-200: #e3e5ec;
  --ink: #12162f;
  --muted: #55597a;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: #fff; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; line-height: .98; letter-spacing: .005em; }
h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; color: var(--navy-900); }
.container { width: min(1152px, 100% - 40px); margin-inline: auto; }

.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font: 700 .85rem var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.eyebrow::before { content: ""; width: 1.75rem; height: 3px; background: currentColor; }
.eyebrow-light { color: rgba(255,255,255,.9); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .8rem 1.4rem; border: 1px solid transparent; border-radius: 6px; font: 700 1rem var(--body); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s; }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-wpp { background: var(--wpp); color: #fff; }
.btn-wpp:hover { background: var(--wpp-dark); }
.btn-outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.icon-wpp { width: 1.4rem; height: 1.4rem; flex: none; }

/* Logo */
.logo { display: block; flex: none; width: var(--s); height: var(--s); }
.logo img { width: 100%; height: 100%; object-fit: contain; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(10,15,51,.96); color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(8px); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-text strong { display: block; font: 800 1.35rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.brand-text small { display: block; margin-top: 2px; font: 600 .7rem/1 var(--display); text-transform: uppercase; letter-spacing: .22em; color: rgba(255,255,255,.6); }
.nav-desktop { display: none; gap: 1.75rem; font-weight: 500; font-size: .95rem; }
.nav-desktop a { text-decoration: none; color: rgba(255,255,255,.8); }
.nav-desktop a:hover { color: #fff; }
.header-cta { display: none; gap: .75rem; }
.menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; background: transparent; color: #fff; cursor: pointer; }
.nav-mobile { padding: 0 20px 20px; border-top: 1px solid rgba(255,255,255,.1); background: var(--navy-950); }
.nav-mobile[hidden] { display: none; }
.nav-mobile li + li { border-top: 1px solid rgba(255,255,255,.1); }
.nav-mobile li a { display: block; padding: .9rem 0; text-decoration: none; font-weight: 500; color: rgba(255,255,255,.92); }
.nav-mobile .btn { margin-top: .75rem; }
@media (min-width: 1024px) {
  .nav-desktop, .header-cta { display: flex; }
  .menu-toggle, .nav-mobile { display: none !important; }
}

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-950); color: #fff; border-bottom: 6px solid var(--red); }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--navy-950) 0%, rgba(10,15,51,.85) 45%, rgba(10,15,51,.3) 100%); }
.hero-content { padding-block: 5rem 5.5rem; }
.hero h1 { max-width: 46rem; margin-top: 1.25rem; font-size: clamp(2.9rem, 9vw, 5.4rem); font-weight: 800; }
.hero h1 span { color: var(--red); }
.hero-lead { max-width: 36rem; margin-top: 1.5rem; font-size: 1.15rem; line-height: 1.6; color: rgba(255,255,255,.85); }
.hero-actions { display: flex; flex-direction: column; gap: .75rem; margin-top: 2.25rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } .hero-content { padding-block: 7rem 8rem; } }
@media (min-width: 1024px) { .hero-content { padding-block: 9rem 10rem; } }

/* Seções */
.section { padding-block: 5rem; }
.section-gray { background: var(--silver-100); }
.section-dark { background: var(--navy-950); color: #fff; }
.section-dark h2 { color: #fff; }
.section-head { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1rem; }
.section-head h2 { max-width: 42rem; }
.section-head p, .lead { color: var(--muted); max-width: 28rem; }
.lead { max-width: 36rem; margin-top: 1.25rem; }
.h2-wide { max-width: 48rem; margin-top: 1rem; }
@media (min-width: 1024px) { .section { padding-block: 6rem; } .section-head { flex-direction: row; justify-content: space-between; align-items: flex-end; } }

/* Cards */
.cards { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(16,22,80,.06); outline: 1px solid var(--silver-200); outline-offset: -1px; }
.card-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.05); }
.tag { position: absolute; top: .75rem; left: .75rem; padding: .25rem .6rem; border-radius: 4px; background: var(--red); color: #fff; font: 700 .75rem var(--display); text-transform: uppercase; letter-spacing: .12em; }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.card-body h3 { font-size: 1.6rem; font-weight: 700; color: var(--navy-900); }
.card-body p { flex: 1; margin-top: .75rem; font-size: .95rem; line-height: 1.6; color: var(--muted); }
.link-arrow { margin-top: 1.25rem; font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--navy-700); }
.link-arrow:hover { color: var(--red); }

.also { margin-top: 2.5rem; padding: 2rem; border-radius: 10px; background: var(--navy-900); color: #fff; }
.also h3 { font-size: 1.6rem; font-weight: 700; }
.also ul { display: grid; gap: .65rem 2rem; margin-top: 1rem; font-size: .95rem; color: rgba(255,255,255,.85); }
.also li { display: flex; gap: .65rem; }
.also li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .55rem; border-radius: 50%; background: var(--red); }
@media (min-width: 640px) { .also ul { grid-template-columns: 1fr 1fr; } }

.card-media-selo { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); }
.card-media-selo::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 18px, rgba(255,255,255,.04) 18px 36px); }
.selo { position: relative; z-index: 1; font: 800 clamp(2.6rem, 6vw, 3.4rem)/1 var(--display); text-transform: uppercase; letter-spacing: .04em; color: #fff; text-shadow: 0 3px 0 var(--red); }

/* Vídeo */
.video-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .video-grid { grid-template-columns: 1.2fr .8fr; gap: 4rem; } }
.video-section h2 { margin-top: 1rem; }
.video-cta { margin-top: 1.75rem; }
.video-frame { justify-self: center; width: min(100%, 330px); border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 24px 50px rgba(16,22,80,.3); outline: 6px solid var(--navy-900); }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 9/16; background: #000; }

/* Missão, visão e valores */
.mvv { background: var(--silver-100); border-block: 1px solid var(--silver-200); }
.mvv-grid { display: grid; gap: 2rem; padding-block: 3rem; }
@media (min-width: 768px) { .mvv-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.mvv h3 { font-size: 1.5rem; font-weight: 800; color: var(--navy-900); padding-bottom: .5rem; margin-bottom: .75rem; border-bottom: 3px solid var(--red); display: inline-block; }
.mvv p, .mvv li { color: var(--muted); line-height: 1.6; }
.mvv li { padding-left: 1rem; position: relative; }
.mvv li::before { content: ""; position: absolute; left: 0; top: .6rem; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

/* Diferenciais */
.split { display: grid; gap: 4rem; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1.1fr; gap: 3.5rem; } }
.split-media { position: relative; }
.split-media > img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 35% center; border-radius: 10px; }
.badge-red { position: absolute; bottom: -1.25rem; right: 1rem; max-width: 15rem; padding: 1.25rem; border-radius: 6px; background: var(--red); color: #fff; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
.badge-red p { font: 800 1.5rem/1 var(--display); text-transform: uppercase; }
.badge-red span { display: block; margin-top: .5rem; font-size: .88rem; color: rgba(255,255,255,.9); }
@media (min-width: 640px) { .badge-red { right: -1.25rem; } }
.split h2 { margin-top: 1rem; }
.features { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.features > div { padding-left: 1rem; border-left: 4px solid var(--red); }
.features dt { font: 700 1.3rem/1.1 var(--display); text-transform: uppercase; color: var(--navy-900); }
.features dd { margin-top: .4rem; font-size: .95rem; line-height: 1.6; color: var(--muted); }

/* Galeria */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 3rem; }
.gallery li { position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 1; }
.gallery li.gallery-wide { grid-column: span 2; aspect-ratio: 16/9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery li:hover img { transform: scale(1.05); }
.gallery p { position: absolute; inset: auto 0 0 0; padding: 2.5rem .85rem .75rem; background: linear-gradient(to top, rgba(10,15,51,.92), transparent); font: 700 .9rem var(--display); text-transform: uppercase; letter-spacing: .07em; }
@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 15rem); }
  .gallery li, .gallery li.gallery-wide { aspect-ratio: auto; }
}

/* Clientes */
.clients { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 3rem; overflow: hidden; border-radius: 10px; background: var(--silver-200); outline: 1px solid var(--silver-200); }
@media (min-width: 640px) { .clients { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .clients { grid-template-columns: repeat(4, 1fr); } }
.clients li { display: grid; place-items: center; height: 7rem; padding: 1.25rem; background: #fff; }
.clients li.dark { background: var(--navy-900); }
.clients img { height: 3.25rem; width: auto; max-width: 100%; object-fit: contain; }
.clients span { text-align: center; font: 700 1.3rem/1.1 var(--display); text-transform: uppercase; color: var(--navy-800); }

/* Contato */
.contact { background: var(--red); color: #fff; padding-block: 5rem; }
.contact-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.2fr 1fr; } }
.contact h2 { margin-top: 1rem; color: #fff; font-size: clamp(2.4rem, 7vw, 4rem); }
.contact .lead { color: rgba(255,255,255,.92); font-size: 1.1rem; }
.cities { margin-top: 1.5rem; font-size: .9rem; color: rgba(255,255,255,.88); }
.contact-box { padding: 1.75rem; border-radius: 10px; background: #fff; color: var(--ink); box-shadow: 0 20px 40px rgba(0,0,0,.2); }
.contact-box dl { display: grid; gap: 1rem; margin-top: 1.5rem; }
.contact-box dt { font: 700 .85rem var(--display); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.contact-box dd { font-weight: 600; color: var(--navy-900); }
.contact-box dd a { text-underline-offset: 4px; }

/* Rodapé */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.7); }
.footer-row { display: flex; flex-direction: column; gap: 1.5rem; padding-block: 2.5rem; }
@media (min-width: 640px) { .footer-row { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-brand { display: flex; align-items: center; gap: .75rem; font-size: .9rem; }
.footer-nome { font: 700 1.2rem var(--display); text-transform: uppercase; color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .9rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-copy { padding: 1rem 20px; border-top: 1px solid rgba(255,255,255,.1); text-align: center; font-size: .75rem; }

.wpp-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 50; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--wpp); color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.3); transition: transform .2s; }
.wpp-float:hover { transform: scale(1.06); }
.wpp-float .icon-wpp { width: 1.9rem; height: 1.9rem; }

/* Área restrita (placeholder) */
.restricted { display: grid; place-items: center; min-height: calc(100vh - 72px); padding: 4rem 20px; background: var(--navy-950); color: #fff; text-align: center; }
.restricted-box { width: 100%; max-width: 28rem; display: grid; justify-items: center; gap: 1rem; }
.restricted h1 { margin-top: .75rem; font-size: 2.6rem; font-weight: 800; }
.restricted p { color: rgba(255,255,255,.75); }
.restricted .small { font-size: .9rem; color: rgba(255,255,255,.6); }
.restricted .btn { margin-top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}
