/* ==========================================================================
   Master Porta Shaft: estilos
   ========================================================================== */

:root {
  --blue: #1238d6;
  --blue-600: #0b28a8;
  --blue-50: #eef2ff;
  --navy: #0a1430;
  --navy-2: #111d42;
  --ink: #0e1525;
  --text: #2b3346;
  --muted: #5d6679;
  --line: #e3e7ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --white: #ffffff;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 20, 48, .06), 0 2px 8px rgba(10, 20, 48, .05);
  --shadow: 0 10px 30px -12px rgba(10, 20, 48, .25);
  --shadow-lg: 0 30px 60px -20px rgba(10, 20, 48, .35);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-stretch: 85%;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: #9fb4ff; }

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: #c9d1e6; }
.section--dark h2, .section--dark h3 { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 700; margin: 16px 0 18px; }
.section-head p { font-size: clamp(16px, 1.6vw, 18px); color: var(--muted); }
.section--dark .section-head p { color: #aab5d0; }
.accent { color: var(--blue); }
.section--dark .accent { color: #7d98ff; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: .01em; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: var(--white); box-shadow: 0 10px 24px -10px rgba(18, 56, 214, .7); }
.btn--primary:hover { background: var(--blue-600); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }
.btn--outline { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn--outline:hover { border-color: var(--ink); }
.btn--white { background: var(--white); color: var(--blue); }
.btn--white:hover { background: var(--blue-50); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }

/* ---------- Topbar ---------- */
.topbar { background: #c9cacd; color: #1d2230; font-size: 13.5px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__info { display: flex; gap: 28px; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.topbar a:hover { color: var(--blue); }
.topbar strong { font-weight: 700; color: #0e1525; }
.topbar svg { width: 15px; height: 15px; color: var(--blue); }
.topbar__social { display: flex; gap: 16px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(10, 20, 48, .3); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__mark { width: 46px; height: 40px; color: var(--blue); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-display); font-stretch: 75%; font-weight: 800; font-size: 21px; letter-spacing: .04em; color: var(--ink); }
.logo__sub { font-family: var(--font-display); font-stretch: 75%; font-weight: 600; font-size: 12.5px; letter-spacing: .34em; color: var(--blue); margin-top: 4px; }
.logo--light .logo__name { color: var(--white); }
.logo--light .logo__sub { color: #9fb4ff; }
.logo--light .logo__mark { color: #7d98ff; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 14px; font-size: 15px; font-weight: 500; color: var(--text); border-radius: 8px;
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--blue); }
.nav a.is-active::after, .nav a:hover::after { transform: scaleX(1); }
.header__cta { display: flex; align-items: center; gap: 12px; }

.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: var(--white); border-radius: 12px; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(860px, calc(100svh - var(--header-h) - 40px)); display: flex; align-items: center; color: var(--white); isolation: isolate; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 15, 38, .94) 0%, rgba(8, 15, 38, .82) 38%, rgba(8, 15, 38, .25) 75%, rgba(8, 15, 38, .1) 100%),
    linear-gradient(0deg, rgba(8, 15, 38, .55) 0%, transparent 35%);
}
.hero .container { padding-top: 96px; padding-bottom: 160px; }
.hero__content { max-width: 660px; }
.hero h1 { color: var(--white); font-size: clamp(40px, 6.4vw, 76px); font-weight: 700; letter-spacing: -.03em; margin: 22px 0 22px; }
.hero h1 em { font-style: normal; color: #8ea6ff; }
.hero__lead { font-size: clamp(17px, 1.8vw, 20px); color: #d4dbef; max-width: 560px; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.features {
  position: relative; z-index: 2; margin-top: -96px;
}
.features__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.feature { padding: 34px 30px; position: relative; transition: background .3s; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature:hover { background: var(--bg-soft); }
.feature__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); margin-bottom: 20px; transition: background .3s, color .3s; }
.feature:hover .feature__icon { background: var(--blue); color: var(--white); }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ---------- Faixa de clientes ---------- */
.trust { padding: 64px 0 24px; }
.trust__label { text-align: center; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.trust__label strong { color: var(--ink); font-weight: 600; }
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 72px; width: max-content; animation: marquee 38s linear infinite; align-items: center; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img { height: 44px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .3s, opacity .3s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sobre / Bem-vindo ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.about__media { position: relative; padding: 0 0 64px 0; }
.about__media .img-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.2; }
.about__media .img-main img { width: 100%; height: 100%; object-fit: cover; }
.about__media .img-float {
  position: absolute; right: -24px; bottom: 0; width: 46%; border-radius: var(--radius); overflow: hidden;
  border: 6px solid var(--white); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3;
}
.about__media .img-float img { width: 100%; height: 100%; object-fit: cover; }
.about__badge {
  position: absolute; left: 24px; bottom: 24px; background: var(--blue); color: var(--white);
  padding: 18px 22px; border-radius: var(--radius); box-shadow: var(--shadow); max-width: 220px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; line-height: 1.35;
}
.about__badge svg { width: 26px; height: 26px; margin-bottom: 8px; opacity: .9; }
.about__content h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 700; margin: 16px 0 22px; }
.about__content > p { font-size: 17px; color: var(--muted); margin-bottom: 28px; }
.checklist { list-style: none; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink); font-size: 15.5px; line-height: 1.45; }
.checklist svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--blue); margin-top: 1px; }

/* ---------- Por que escolher ---------- */
.why { position: relative; overflow: hidden; }
.why::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(18, 56, 214, .35), transparent 70%),
    radial-gradient(500px 300px at 0% 100%, rgba(18, 56, 214, .2), transparent 70%);
}
.why .container { position: relative; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  position: relative; padding: 40px 34px 38px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .1);
  transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.pillar:hover { transform: translateY(-6px); border-color: rgba(125, 152, 255, .5); background: linear-gradient(180deg, rgba(18, 56, 214, .25), rgba(255, 255, 255, .02)); }
.pillar__num { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: #7d98ff; letter-spacing: .1em; }
.pillar__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--blue); color: var(--white); display: grid; place-items: center; margin: 22px 0 24px; box-shadow: 0 12px 30px -10px rgba(18, 56, 214, .9); }
.pillar__icon svg { width: 28px; height: 28px; }
.pillar h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.pillar p { color: #aab5d0; font-size: 16px; }

/* ---------- Quem somos ---------- */
.mvv-hero {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px;
  display: flex; align-items: flex-end; color: var(--white); isolation: isolate; margin-bottom: 28px;
}
.mvv-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mvv-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 15, 38, .9) 0%, rgba(8, 15, 38, .55) 50%, rgba(8, 15, 38, .1) 100%); }
.mvv-hero__content { padding: clamp(32px, 5vw, 64px); max-width: 640px; }
.mvv-hero h2 { color: var(--white); font-size: clamp(34px, 5vw, 56px); font-weight: 700; margin: 16px 0 16px; }
.mvv-hero p { color: #d4dbef; font-size: 17px; }

.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mvv__card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 32px;
  transition: box-shadow .3s, transform .3s var(--ease), border-color .3s;
}
.mvv__card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.mvv__card .tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.mvv__card .tag span { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.mvv__card .tag svg { width: 22px; height: 22px; }
.mvv__card h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.mvv__card p { color: var(--muted); font-size: 15.5px; }

/* ---------- Galerias ---------- */
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.gallery-head .section-head { margin-bottom: 0; }
.gallery-count { font-family: var(--font-display); color: var(--muted); font-size: 15px; }
.gallery-count strong { font-size: 40px; color: var(--ink); font-weight: 700; margin-right: 6px; letter-spacing: -.02em; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery__item {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: #dfe3ec;
  border: 0; padding: 0; display: block; width: 100%;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 15, 38, .6), transparent 55%);
  opacity: 0; transition: opacity .4s;
}
.gallery__item .zoom {
  position: absolute; right: 14px; bottom: 14px; z-index: 1; width: 42px; height: 42px; border-radius: 50%;
  background: var(--white); color: var(--blue); display: grid; place-items: center;
  opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease);
}
.gallery__item .zoom svg { width: 20px; height: 20px; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; }
.gallery__item:hover .zoom, .gallery__item:focus-visible .zoom { opacity: 1; transform: none; }
.gallery__item--wide { grid-column: span 2; aspect-ratio: auto; }
.gallery__item.is-hidden { display: none; }
.gallery-more { display: flex; justify-content: center; margin-top: 44px; }

/* ---------- Clientes ---------- */
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.client {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.client:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.client__logo { height: 150px; display: grid; place-items: center; padding: 28px; }
.client__logo img { max-height: 70px; max-width: 80%; width: auto; object-fit: contain; }
.client__name { border-top: 1px solid var(--line); padding: 14px 20px; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; }
.client__name small { font-family: var(--font-body); font-weight: 500; font-size: 12px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--blue) 0%, #0a1f8f 100%);
  color: var(--white); padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, .06);
}
.cta::after {
  content: ""; position: absolute; right: 140px; bottom: -160px; width: 280px; height: 280px; border-radius: 50%;
  background: rgba(255, 255, 255, .05);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: var(--white); font-size: clamp(28px, 3.8vw, 42px); font-weight: 700; margin-bottom: 12px; }
.cta p { color: #d6defa; font-size: 17px; max-width: 560px; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact__info h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 700; margin: 16px 0 18px; }
.contact__info > p { color: var(--muted); font-size: 17px; margin-bottom: 36px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list a, .contact-list div {
  display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s;
}
.contact-list a:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.contact-list .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.contact-list strong { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--ink); word-break: break-word; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); transition: background .25s, color .25s; padding: 0; border: 0; }
.socials a:hover { background: var(--blue); color: var(--white); box-shadow: none; }
.socials svg { width: 19px; height: 19px; }

.form { background: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form h3 { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.form > p { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label span { color: var(--blue); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--ink);
  padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-soft);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(18, 56, 214, .12); }
.field input::placeholder, .field textarea::placeholder { color: #9aa2b4; }
.form__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.form__note { font-size: 13px; color: var(--muted); max-width: 300px; }
.form__status { margin-top: 16px; font-size: 14px; color: var(--blue); font-weight: 500; min-height: 1em; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #a6b0c9; padding: 80px 0 0; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer__about p { margin-top: 20px; max-width: 320px; line-height: 1.7; }
.footer h4 { color: var(--white); font-size: 16px; font-weight: 700; margin-bottom: 20px; letter-spacing: 0; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--white); }
.footer .socials a { background: rgba(255, 255, 255, .08); color: var(--white); }
.footer .socials a:hover { background: var(--blue); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: var(--white); display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7); transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(6, 11, 28, .94);
  display: flex; align-items: center; justify-content: center; padding: 64px 72px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transform: scale(.97); transition: transform .35s var(--ease); }
.lightbox.is-open .lightbox__img { transform: none; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: var(--white); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lightbox button svg { width: 24px; height: 24px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__counter { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #c3cbe0; font-size: 14px; font-family: var(--font-display); letter-spacing: .08em; }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

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

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .nav a { padding: 10px 10px; font-size: 14.5px; }
  .header__cta .btn--phone { display: none; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3) { border-left: 0; }
  .feature:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: calc(var(--header-h)) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 12px var(--gutter) 24px; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -20px rgba(10, 20, 48, .3);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a::after { display: none; }
  .about, .contact { grid-template-columns: 1fr; }
  .about__media { max-width: 640px; }
  .pillars, .mvv { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .cta { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .topbar__info a:nth-child(2), .topbar__social { display: none; }
  .header__cta .btn { display: none; }
  .logo__mark { width: 40px; height: 35px; }
  .logo__name { font-size: 19px; }
  .hero .container { padding-top: 64px; padding-bottom: 72px; }
  .hero::before { background: linear-gradient(0deg, rgba(8, 15, 38, .95) 0%, rgba(8, 15, 38, .75) 60%, rgba(8, 15, 38, .55) 100%); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero .container { padding-bottom: 104px; }
  .features { margin-top: -64px; }
  .features__grid { grid-template-columns: 1fr 1fr; gap: 10px; background: none; box-shadow: none; border-radius: 0; overflow: visible; }
  .feature { padding: 18px 16px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 28px -16px rgba(10, 20, 48, .35); }
  .feature + .feature, .feature:nth-child(n+3) { border: 1px solid var(--line); }
  .feature__icon { width: 40px; height: 40px; border-radius: 11px; margin-bottom: 14px; }
  .feature__icon svg { width: 21px; height: 21px; }
  .feature h3 { font-size: 15.5px; line-height: 1.25; margin-bottom: 6px; }
  .feature p { font-size: 13px; line-height: 1.5; }
  .trust { padding-top: 48px; }
  .checklist { grid-template-columns: 1fr; }
  .about__media .img-float { right: -8px; width: 52%; }
  .about__badge { left: 12px; bottom: 12px; max-width: 170px; font-size: 13.5px; padding: 14px 16px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery__item .zoom { display: none; }
  .clients { gap: 12px; }
  .client__logo { height: 110px; padding: 18px; }
  .client__logo img { max-height: 50px; }
  .client__name { padding: 12px 14px; font-size: 14px; }
  .client__name small { display: none; }
  .form__grid { grid-template-columns: 1fr; }
  .form__footer .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .lightbox { padding: 64px 12px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; transform: none; }
  .lightbox__counter { bottom: 28px; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

/* ---------- Logo original (vetorizado) ---------- */
.logo__svg { height: 46px; width: auto; display: block; overflow: visible; }
.logo--light .logo__svg { height: 44px; }
.logo--light .logo__svg g { fill: #4f7cff; stroke: #4f7cff; }
.logo--light .logo__svg text { fill: #ffffff; }
@media (max-width: 640px) { .header .logo__svg { height: 38px; } }

/* ---------- Banner das páginas internas ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; color: var(--white); min-height: 420px; display: flex; align-items: flex-end; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8, 15, 38, .92) 0%, rgba(8, 15, 38, .7) 45%, rgba(8, 15, 38, .25) 100%),
              linear-gradient(0deg, rgba(8, 15, 38, .5) 0%, transparent 50%);
}
.page-hero .container { padding-top: 96px; padding-bottom: 72px; }
.page-hero h1 { color: var(--white); font-size: clamp(42px, 6.4vw, 76px); font-weight: 700; letter-spacing: -.03em; margin: 18px 0 16px; }
.page-hero h1 em { font-style: normal; color: #8ea6ff; }
.page-hero p { color: #d4dbef; font-size: clamp(16px, 1.7vw, 19px); max-width: 600px; }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 14px; color: #aab5d0; }
.breadcrumb a { color: #d4dbef; transition: color .2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span:last-child { color: #8ea6ff; font-weight: 600; }

/* ---------- Cartões de soluções (início) ---------- */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.service { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service__img { aspect-ratio: 16 / 10; overflow: hidden; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service:hover .service__img img { transform: scale(1.05); }
.service__body { padding: 30px 32px 32px; }
.service h3 { font-size: 26px; font-weight: 700; margin-bottom: 10px; }
.service p { color: var(--muted); margin-bottom: 20px; }
.service__link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 600; }
.service__link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.service:hover .service__link svg { transform: translateX(4px); }

@media (max-width: 960px) { .services { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .page-hero { min-height: 340px; }
  .page-hero::before { background: linear-gradient(0deg, rgba(8, 15, 38, .95) 0%, rgba(8, 15, 38, .65) 100%); }
  .page-hero .container { padding-top: 72px; padding-bottom: 48px; }
  .service__body { padding: 24px; }
}
