/* ==========================================================
   Integra IEA - Landing page
   Paleta extraída do cabeçalho da marca (ciano -> azul)
   ========================================================== */
:root {
  --cyan: #5FE0E8;
  --cyan-2: #3CC4DD;
  --blue: #1F6FE5;
  --blue-2: #0F56C8;
  --navy: #0A3E9C;
  --ink: #0B1B33;
  --ink-2: #13284A;
  --text: #2A3A55;
  --muted: #627089;
  --line: #E3E9F2;
  --bg: #FFFFFF;
  --bg-soft: #F4F7FB;
  --grad: linear-gradient(100deg, var(--cyan) 0%, var(--blue) 55%, var(--navy) 100%);
  --grad-text: linear-gradient(95deg, var(--cyan-2) 0%, var(--blue) 60%, var(--navy) 100%);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(11, 27, 51, .04), 0 12px 32px -12px rgba(11, 27, 51, .14);
  --shadow-lg: 0 30px 60px -20px color-mix(in srgb, var(--navy) 35%, transparent);

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --header-h: 76px;
}

*, *::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(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.grad-text-light {
  background: linear-gradient(95deg, var(--cyan) 0%, color-mix(in srgb, var(--cyan) 50%, #fff) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .76rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.eyebrow .dot { display: none; }
.eyebrow.light { color: var(--cyan); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; font-family: inherit;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--blue) 70%, transparent); }
.btn-primary:hover { background: var(--blue-2); transform: translateY(-2px); box-shadow: 0 16px 30px -12px color-mix(in srgb, var(--blue) 75%, transparent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--blue) 40%, transparent); outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); }
.brand-mark { width: 34px; height: 31px; }
.brand-mark .brand-dot { fill: var(--ink); }
.brand-name { font-weight: 800; font-size: 1.6rem; letter-spacing: -0.035em; color: var(--ink); }
.brand-light { color: var(--cyan); }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-dot { fill: #fff; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font-size: .94rem; font-weight: 600; color: var(--text); position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--ink); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, top .25s ease; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 72px) 0 96px;
  background:
    radial-gradient(900px 500px at 92% 10%, color-mix(in srgb, var(--cyan) 22%, transparent), transparent 60%),
    radial-gradient(700px 500px at 70% 90%, color-mix(in srgb, var(--blue) 12%, transparent), transparent 60%),
    var(--bg);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--blue) 7%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--blue) 7%, transparent) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 30%, transparent 75%);
}
.hero-blueprint {
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: min(760px, 62vw); height: auto; opacity: .55;
}
.bp-lines path { fill: none; stroke: var(--blue); stroke-width: 1.4; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 3.2s ease forwards; }
.bp-lines path:nth-child(n+4) { animation-delay: .6s; }
.bp-lines path:nth-child(n+8) { animation-delay: 1.1s; }
.bp-dims path { fill: none; stroke: var(--cyan-2); stroke-width: 1; stroke-dasharray: 4 4; opacity: 0; animation: fade 1s ease 2s forwards; }
.bp-label { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; fill: var(--blue); text-anchor: middle; opacity: 0; animation: fade 1s ease 2.4s forwards; }
.bp-node { fill: var(--cyan); opacity: 0; animation: fade .6s ease 2.6s forwards, pulse 2.4s ease-in-out 3s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes pulse { 50% { transform: scale(1.6); opacity: .5; } }

.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero-copy h1 { margin-bottom: 24px; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 560px; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero-pillars { list-style: none; padding: 0; margin: 0; display: flex; gap: 0; border-top: 1px solid var(--line); padding-top: 24px; max-width: 580px; }
.hero-pillars li { flex: 1; padding-right: 18px; }
.hero-pillars li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-pillars strong { display: block; color: var(--ink); font-size: 1rem; }
.hero-pillars span { font-size: .86rem; color: var(--muted); line-height: 1.4; display: block; }

.hero-card {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(227, 233, 242, .9);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
}
.hero-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--blue); background: color-mix(in srgb, var(--blue) 8%, transparent); padding: 5px 11px; border-radius: 999px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }

.timeline { list-style: none; padding: 0; margin: 0 0 20px; }
.timeline li {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 11px 0; font-weight: 600; font-size: .96rem; color: var(--muted);
}
.timeline li + li { border-top: 1px dashed var(--line); }
.timeline span {
  flex: none; width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: .75rem;
  border: 1.5px solid var(--line); color: var(--muted); background: #fff;
}
.timeline li.done { color: var(--ink); }
.timeline li.done span { background: var(--ink); border-color: var(--ink); color: #fff; }
.timeline li.active { color: var(--blue); }
.timeline li.active span { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--blue) 80%, transparent); }
.progress { height: 6px; background: var(--bg-soft); border-radius: 6px; overflow: hidden; margin-bottom: 14px; }
.progress-bar { height: 100%; width: 0; background: var(--grad); border-radius: 6px; animation: grow 2.2s cubic-bezier(.2, .8, .2, 1) .8s forwards; }
@keyframes grow { to { width: 58%; } }
.hero-card-foot { margin: 0; font-size: .88rem; color: var(--muted); }

/* ---------- Trust strip ---------- */
.trust { background: var(--ink); color: #DDE6F5; }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 26px 20px; font-weight: 600; font-size: .95rem; }
.trust-item + .trust-item { border-left: 1px solid rgba(255, 255, 255, .08); }
.trust-item svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-head { max-width: 720px; margin-bottom: 60px; }
.section-sub { font-size: 1.1rem; color: var(--muted); }
.section-head.light h2 { color: #fff; }
.section-head.light .section-sub { color: #A9B8D3; }
.section-head.light .eyebrow { color: var(--cyan); }

.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; font-weight: 600; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px;
  background: color-mix(in srgb, var(--blue) 10%, transparent);
}
.checklist li::after {
  content: ""; position: absolute; left: 3px; top: 6px; width: 14px; height: 14px; background: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- About ---------- */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-tile {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: 18px; margin: 0;
  display: flex; align-items: flex-end; color: #fff; background: var(--ink);
}
.about-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.about-tile:hover img { transform: scale(1.05); }
.about-tile::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 45%, color-mix(in srgb, var(--ink) 80%, transparent));
}
.about-tile span { position: relative; z-index: 2; }
/* Layout: foto larga em cima; embaixo, segunda foto + selo da empresa */
.about-tile.t1 { grid-column: span 2; aspect-ratio: 16 / 9; }
.about-tile.t2 { aspect-ratio: 4 / 3; }

/* ---------- Foto do hero ---------- */
.hero-side { position: relative; }
.hero-media {
  margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--ink);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-side .hero-card { position: relative; width: min(330px, 100%); margin: -96px 0 0 -40px; padding: 20px 22px; }
.hero-side .timeline li { padding: 7px 0; font-size: .9rem; }
.hero-side .timeline span { width: 28px; height: 28px; border-radius: 8px; }
.hero-side .hero-card-head { margin-bottom: 10px; }
.hero-side .timeline { margin-bottom: 14px; }
/* Selo da seção Sobre: logo oficial + frase */
.about-badge {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center;
  border-radius: var(--radius-lg); padding: 24px 20px 20px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  color: var(--ink); font-weight: 700; line-height: 1.25; font-size: 1.05rem; letter-spacing: -0.01em;
}
.about-badge::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad); }
.about-badge-logo { display: flex; align-items: center; justify-content: center; height: 96px; width: 100%; }
.about-badge-logo img { max-height: 100%; max-width: 85%; width: auto; object-fit: contain; }

/* Logos oficiais */
.brand-logo { display: block; height: var(--logo-h); width: auto; max-width: 220px; object-fit: contain; }
.group-logo { display: flex; align-items: center; height: 60px; margin-bottom: 18px; }
.group-logo img { max-height: 100%; max-width: 150px; width: auto; object-fit: contain; }
.group-card.current .group-logo {
  align-self: flex-start; height: 72px; padding: 10px 14px; border-radius: 14px; background: #fff;
}
.group-card .group-logo + .mono { margin-bottom: 14px; }
.footer-logos { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.footer-logo { display: flex; align-items: center; height: 68px; padding: 10px 16px; border-radius: 14px; background: #fff; }
.footer-logo img { max-height: 100%; max-width: 180px; width: auto; object-fit: contain; }

/* Selo com a inicial (empresas sem logo vetorizado ainda) */
.brand-badge {
  display: inline-grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 11px;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.04em;
}

/* Letra gigante de fundo no hero */
.hero-monograma {
  position: absolute; right: -2vw; top: 50%; transform: translateY(-52%);
  font-size: min(48vw, 620px); font-weight: 800; line-height: .8; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--blue) 22%, transparent);
  user-select: none; animation: fade 1.6s ease both;
}

/* ---------- Services ---------- */
.services { background: var(--bg-soft); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px 30px; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card svg { width: 44px; height: 44px; fill: none; stroke: var(--blue); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.service-card p { color: var(--muted); margin: 0; font-size: .97rem; }
.service-num { position: absolute; top: 26px; right: 26px; color: #B5C1D4; }

/* ---------- Method ---------- */
.method {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 400px at 100% 0%, color-mix(in srgb, var(--cyan) 18%, transparent), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, color-mix(in srgb, var(--blue) 25%, transparent), transparent 60%),
    var(--ink);
  color: #C6D2E6;
}
.method::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.method .container { position: relative; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step {
  position: relative; padding: 30px 26px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09);
  transition: background .3s ease, border-color .3s ease;
}
.step:hover { background: rgba(255, 255, 255, .07); border-color: color-mix(in srgb, var(--cyan) 35%, transparent); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 52px; right: -21px; width: 22px; height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.step-num {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--grad); color: #fff; font-family: var(--mono); font-weight: 500; margin-bottom: 22px;
}
.step h3 { color: #fff; }
.step p { margin: 0; font-size: .96rem; }

/* ---------- Segments ---------- */
.tabs { display: inline-flex; gap: 6px; padding: 6px; background: var(--bg-soft); border-radius: 999px; margin-bottom: 36px; border: 1px solid var(--line); }
.tabs button {
  font: inherit; font-weight: 700; font-size: .95rem; color: var(--muted);
  padding: 11px 24px; border-radius: 999px; border: 0; background: transparent; cursor: pointer;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.tabs button[aria-selected="true"] { background: #fff; color: var(--blue); box-shadow: 0 4px 14px -6px rgba(11, 27, 51, .25); }
.tab-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; animation: panelIn .45s ease; }
.tab-panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
.panel-copy p { color: var(--muted); font-size: 1.06rem; }
.panel-visual {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--ink); box-shadow: var(--shadow);
}
.panel-visual img { width: 100%; height: 100%; object-fit: cover; }
.panel-visual::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: var(--grad);
}

/* ---------- Group ---------- */
.group { background: var(--bg-soft); }
.group-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.group-card {
  display: flex; flex-direction: column;
  padding: 28px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.group-card .mono { color: var(--blue); display: block; margin-bottom: 26px; }
.group-card h3 { font-size: 1.4rem; }
.group-card p { color: var(--muted); margin: 0 0 22px; font-size: .95rem; }
.group-link { margin-top: auto; font-size: .85rem; font-weight: 700; color: var(--ink); display: inline-flex; gap: 6px; }
.group-link::after { content: "↗"; transition: transform .2s ease; }
.group-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.group-card:hover .group-link::after { transform: translate(2px, -2px); }
.group-card.current { grid-row: span 2; background: var(--grad); border: 0; color: #E8F3FF; padding: 34px 30px; }
.group-card.current h3 { color: #fff; font-size: 2.2rem; }
.group-card.current p { font-size: 1.05rem; }
.group-card.current p, .group-card.current .mono, .group-card.current .group-link { color: rgba(255, 255, 255, .9); }

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(800px 500px at 0% 0%, color-mix(in srgb, var(--cyan) 20%, transparent), transparent 60%),
    linear-gradient(135deg, var(--navy), var(--ink));
  color: #C6D2E6;
}
.contact-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.contact h2 { color: #fff; }
.contact-copy > p { font-size: 1.1rem; }
.contact-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 16px; }
.contact-list li, .contact-list a { display: flex; align-items: center; gap: 14px; font-weight: 600; color: #fff; }
.contact-list a { transition: color .2s ease; }
.contact-list a:hover { color: var(--cyan); }
.contact-list svg { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .08); fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.contact-form { background: #fff; border-radius: var(--radius-lg); padding: 36px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: .86rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-soft);
  transition: border-color .2s ease, background .2s ease;
  width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background: #fff; outline: none; }
.field.invalid input, .field.invalid select { border-color: #D64545; }
.form-note { margin: 14px 0 0; font-size: .82rem; color: var(--muted); text-align: center; }
.form-note.error { color: #C03636; }
.form-note.success { color: #17834A; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Modal currículo ---------- */
/* Compacto para caber na tela sem rolagem; só rola em telas muito baixas, sem barra visível */
.modal {
  width: min(760px, calc(100% - 32px)); max-height: calc(100dvh - 24px);
  padding: 0; border: 0; border-radius: var(--radius-lg); background: transparent;
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
}
.modal::-webkit-scrollbar { display: none; }
.modal::backdrop { background: rgba(11, 27, 51, .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal[open] { animation: panelIn .3s ease; }
.modal-card { position: relative; background: #fff; padding: 30px 32px 24px; }
.modal-card .eyebrow { margin-bottom: 8px; }
.modal-card h2 { font-size: 1.6rem; margin-bottom: 4px; }
.modal-sub { color: var(--muted); margin-bottom: 18px; font-size: .95rem; }
.modal-card .field { margin-bottom: 12px; gap: 5px; }
.modal-card .field-row { gap: 14px; }
.modal-card .field input, .modal-card .field select, .modal-card .field textarea { padding: 10px 13px; font-size: .95rem; }
.modal-card .file-drop { padding: 10px 13px; }
.modal-card textarea { min-height: 0; }
.modal-card .check { margin: 2px 0 14px; }
.modal-card .form-note { margin-top: 10px; }
.modal-card .form-note:empty { display: none; }
body:has(.modal[open]) { overflow: hidden; }
.modal-close {
  position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: var(--bg-soft); cursor: pointer; display: grid; place-items: center;
}
.modal-close svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.file-drop {
  display: flex !important; align-items: center; gap: 12px; cursor: pointer;
  padding: 16px; border: 1.5px dashed #C8D3E3; border-radius: 12px; background: var(--bg-soft);
  font-weight: 600 !important; color: var(--muted) !important; font-size: .95rem !important;
  transition: border-color .2s ease;
}
.file-drop:hover, .file-drop.has-file { border-color: var(--blue); color: var(--blue) !important; }
.file-drop svg { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.field input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.field.invalid .file-drop { border-color: #D64545; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 4px 0 20px; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--blue); width: 17px; height: 17px; flex: none; }
.check.invalid span { color: #C03636; }

/* ---------- Consentimento ---------- */
.consent {
  position: fixed; left: 22px; bottom: 22px; z-index: 60; max-width: 420px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow-lg); font-size: .9rem;
}
.consent[hidden] { display: none; }
.consent p { margin: 0 0 14px; }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------- Careers ---------- */
.careers { padding: 56px 0; border-bottom: 1px solid var(--line); }
.careers-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.careers h2 { font-size: 1.6rem; margin-bottom: 4px; }
.careers p { margin: 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9AAAC6; padding: 64px 0 28px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-tag { margin: 0; max-width: 380px; }
.footer-links a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: #fff; transition: color .2s ease; }
.footer-links a:hover { color: var(--cyan); }
.footer-links svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.footer-bottom { padding-top: 24px; font-size: .86rem; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 520px; }
  .hero-side { max-width: 620px; }
  .hero-side .hero-card { margin: -80px 0 0 20px; }
  .hero-blueprint { opacity: .25; }
  .about-inner, .contact-inner, .tab-panel { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { max-width: 560px; }
  .services-grid, .group-grid { grid-template-columns: repeat(2, 1fr); }
  .group-card.current { grid-row: auto; grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px 24px 24px;
    box-shadow: 0 20px 30px -20px rgba(11, 27, 51, .25);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; }
  .nav-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav-open .site-header { background: #fff; }
}

@media (max-width: 640px) {
  .brand-logo { height: calc(var(--logo-h) * .85); max-width: 170px; }
  .about-badge-logo { height: 64px; }
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 84px 0; }
  .hero { padding: calc(var(--header-h) + 40px) 0 64px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-pillars { flex-direction: column; gap: 14px; }
  .hero-pillars li, .hero-pillars li + li { padding: 0; border: 0; }
  .services-grid, .steps, .group-grid { grid-template-columns: 1fr; }
  .group-card.current { grid-column: auto; }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-item, .trust-item + .trust-item { border-left: 0; padding: 16px 0; }
  .trust-item + .trust-item { border-top: 1px solid rgba(255, 255, 255, .08); }
  .about-visual { gap: 10px; }
  .hero-side .hero-card { margin: -48px 12px 0; width: auto; }
  .about-badge { padding: 16px; font-size: 1rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px; }
  .modal-card { padding: 22px 18px 18px; }
  .modal-card .field-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .modal-card .field-row.stack { grid-template-columns: 1fr; gap: 0; }
  .hero-monograma { font-size: 90vw; opacity: .5; }
  .consent { left: 16px; right: 16px; bottom: 16px; max-width: none; }
  .tabs { display: flex; width: 100%; }
  .tabs button { flex: 1; padding: 11px 8px; font-size: .88rem; }
}
