/* ============================================================
   Connect Brain
   Minimalista: preto, branco quente e o azul do logo.
   Fonte única: Jost (geométrica e fina, próxima do logo).
   ============================================================ */

/* Jost servida pelo próprio site (fonte variável: um arquivo cobre 300 e 400) */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 400; font-display: swap; src: url("fonts/jost-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 400; font-display: swap; src: url("fonts/jost-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --black: #050506;
  --ink: #0c0c0e;
  --line: rgba(255, 255, 255, 0.1);
  --white: #f2f1ed;
  --muted: rgba(242, 241, 237, 0.66);
  --faint: rgba(242, 241, 237, 0.38);
  --blue: #2433a6;
  --blue-light: #5b6bff;
  --font: "Jost", "Avenir Next", "Avenir", system-ui, sans-serif;
  --pad: clamp(1.25rem, 5vw, 5rem);
  --gutter: max(var(--pad), calc((100vw - 1240px) / 2 + var(--pad))); /* alinha com o .container */
  --header: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Tipografia ---------- */
.label {
  font-size: 0.885rem; font-weight: 400; letter-spacing: 0.26em; text-transform: uppercase; color: var(--faint);
}
.h1 { font-weight: 300; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.12; letter-spacing: -0.01em; }
.h2 { font-weight: 300; font-size: clamp(1.5rem, 2.3vw, 2.1rem); line-height: 1.2; letter-spacing: -0.005em; }
.label + .h1, .label + .h2 { margin-top: 1rem; }
.lead { color: var(--muted); max-width: 32rem; }
.text { color: var(--muted); display: grid; gap: 1.1rem; }

.link {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.925rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase;
  padding-bottom: 0.35rem; border-bottom: 1px solid var(--line);
  transition: border-color 0.4s, gap 0.4s var(--ease);
}
.link:hover { border-color: var(--white); gap: 0.9rem; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 0.55rem; position: relative; z-index: 2; }
.logo__mark { width: 38px; height: 38px; }
.logo__img { height: 54px; width: auto; display: block; }
.footer .logo__img { height: 64px; }
.logo__type { display: flex; flex-direction: column; font-weight: 300; font-size: 1.3rem; line-height: 0.92; }
.logo__type small { font-size: 0.7rem; letter-spacing: 0.04em; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  transition: border-color 0.5s;
  border-bottom: 1px solid transparent;
}
/* O fundo desfocado fica num pseudo-elemento: backdrop-filter no próprio header
   prenderia o menu mobile (position: fixed) dentro da altura do header. */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(5, 5, 6, 0.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.header.is-solid, .header.is-scrolled { border-color: var(--line); }
.header.is-solid::before, .header.is-scrolled::before { opacity: 1; }
.nav { display: flex; gap: 2.6rem; }
.nav a {
  font-size: 0.8rem; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); padding: 0.3rem 0; transition: color 0.3s;
}
.nav a:hover, .nav a.is-active { color: var(--white); }
.nav a.is-active { box-shadow: 0 1px 0 var(--blue-light); }
.burger { display: none; background: none; border: 0; width: 30px; height: 30px; cursor: pointer; position: relative; z-index: 2; }
.burger span { position: absolute; left: 3px; right: 3px; height: 1px; background: var(--white); transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.burger span:first-child { top: 11px; }
.burger span:last-child { top: 19px; }
.menu-open .burger span:first-child { top: 15px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 15px; transform: rotate(-45deg); }

/* ---------- Seções ---------- */
.section { padding: clamp(5rem, 10vw, 8.5rem) 0; }
.section--ink { background: var(--ink); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3rem; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; display: flex; align-items: flex-end; }
.hero__slide, .hero__shade { position: absolute; inset: 0; }
.hero__slide {
  background: var(--img) center / cover no-repeat;
  opacity: 0; transform: scale(1.08);
  transition: opacity 2s var(--ease), transform 9s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__shade {
  background:
    linear-gradient(180deg, rgba(5,5,6,0.55) 0%, transparent 28%),
    radial-gradient(ellipse 68% 68% at 25% 83%, rgba(5,5,6,0.78) 0%, rgba(5,5,6,0.34) 58%, transparent 100%),
    linear-gradient(0deg, rgba(5,5,6,0.48) 0%, transparent 42%);
}
.hero__content { position: relative; z-index: 2; padding-bottom: clamp(4rem, 9vh, 6.5rem); }
.hero__copy {
  max-width: 760px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.9), 0 1px 3px rgba(0,0,0,0.95);
}
.hero__copy .label { color: rgba(255,255,255,0.94); }
.hero__copy .h1 { color: #fff; font-weight: 400; }
.hero__copy .lead { color: #fff; max-width: 40rem; font-weight: 400; line-height: 1.55; }
.hero__copy .link { border-color: rgba(255,255,255,0.7); }
.hero__content .h1 { margin: 1rem 0 1.2rem; }
.hero__content .link { margin-top: 2.2rem; }
.hero__dots { position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(4rem, 9vh, 6.5rem); display: flex; gap: 0.5rem; }
.hero__dots button {
  width: 22px; height: 13px; border: 0; padding: 6px 0; cursor: pointer;
  background: var(--faint); background-clip: content-box;
  transition: background-color 0.4s, width 0.4s var(--ease);
}
.hero__dots button.is-active { background-color: var(--white); width: 36px; }

/* ---------- Cards de soluções (home) ---------- */
.cards__frame { position: relative; }
.carousel__nav { display: flex; align-items: center; gap: 0.6rem; flex: none; }
.carousel__nav button {
  width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,0.38);
  background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.carousel__nav button:hover:not(:disabled) { background: var(--blue); border-color: var(--blue); }
.carousel__nav button:disabled { opacity: 0.28; cursor: default; }
.carousel__nav button:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.carousel__nav svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cards {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3rem) / 4); gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.cards::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; display: block; }
.card__img { aspect-ratio: 3 / 4; overflow: hidden; background: #111; }
.card__img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.86); transform: scale(1.06); transition: transform 1.2s var(--ease), filter 0.6s; }
.card:hover .card__img img { transform: scale(1.11); filter: brightness(1); }
.card[href$="#audio"] img { object-position: right center; }
.card[href$="#led"] img { object-position: center 28%; }
.card[href$="#automacao"] img { transform: translateX(-25%) scale(1.5); }
.card[href$="#automacao"]:hover img { transform: translateX(-25%) scale(1.55); }
.card[href$="#acessos"] img { object-position: center; }
.card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: 1rem; }
.card__meta h3 { font-weight: 300; font-size: 1.05rem; }
.card__meta span { font-size: 0.865rem; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; color: var(--muted); transition: color 0.3s; }
.card:hover .card__meta span { color: var(--white); }

/* ---------- Quem somos ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2.5rem, 5vw, 5rem); }
.about__images { display: grid; gap: 1.25rem; }
.about__images img { width: 100%; height: auto; }
.about .text { margin-top: 2rem; }
.about .link { margin-top: 2.6rem; }

/* ---------- Clientes ---------- */
.marquee {
  position: relative; display: grid; gap: 1.25rem; padding: 0.5rem 0; overflow: hidden;
}
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 10%; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }
.marquee__track { display: flex; align-items: center; gap: 1.25rem; width: max-content; min-height: 150px; animation: marquee 60s linear infinite; }
.marquee__set { display: flex; align-items: center; gap: 1.25rem; flex: none; }
.marquee__track--rev { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img {
  width: 150px; height: 150px; box-sizing: border-box; object-fit: cover;
  border: 1px solid rgba(255,255,255,0.14); border-radius: 22px; flex: none;
}
.marquee__track img.logo--jardins { object-fit: contain; background: #fff; }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(-50% - 0.625rem), 0, 0); } }

/* ---------- Avaliações ---------- */
.testimonials { border-top: 1px solid var(--line); }
.testimonials .h2 { margin-top: 0.8rem; }
.testimonials__layout { position: relative; margin-top: 2.5rem; }
.testimonials__cards { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 1.25rem) / 2); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.testimonials__cards::-webkit-scrollbar { display: none; }
.testimonial { display: flex; flex-direction: column; min-height: 310px; padding: clamp(1.4rem, 2.5vw, 2.25rem); border: 1px solid var(--line); background: var(--ink); scroll-snap-align: start; }
.testimonial__stars { color: #dbbe76; letter-spacing: 0.22em; font-size: 1.1rem; line-height: 1; }
.testimonial blockquote { margin: 1.5rem 0 2rem; font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.65; flex: 1; }
.testimonial__author { display: flex; align-items: center; gap: 0.9rem; font-size: 0.9rem; font-weight: 400; }
.testimonial__author strong { font-weight: 400; }
.testimonial__initials { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #1a2247; color: #fff; font-size: 0.72rem; letter-spacing: 0.04em; }
.testimonials__nav { display: flex; justify-content: flex-end; gap: 0.6rem; margin-top: 1.4rem; }
.testimonials__nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.38); background: transparent; cursor: pointer; }
.testimonials__nav button:hover:not(:disabled) { background: var(--blue); border-color: var(--blue); }
.testimonials__nav button:disabled { opacity: 0.28; cursor: default; }
.testimonials__nav button:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

/* ---------- Citação ---------- */
.quote { position: relative; min-height: 115vh; display: grid; place-items: center; text-align: center; padding: 8rem var(--pad); isolation: isolate; overflow: hidden; }
.quote::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--black) 0%, rgba(5,5,6,0.38) 18%, rgba(5,5,6,0.38) 82%, var(--black) 100%); }
.quote p { font-weight: 300; font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1.45; max-width: 34ch; margin: 0 auto; }

/* Fundos em movimento: zoom lento + leve parallax ao rolar (o JS ajusta --shift) */
.quote__bg, .pillars__bg {
  position: absolute; inset: -12% 0; z-index: -2;
  background: var(--img) center / cover no-repeat;
  translate: 0 var(--shift, 0px);
  animation: drift 26s ease-in-out infinite alternate;
  will-change: translate, scale;
}
@keyframes drift { from { scale: 1; } to { scale: 1.12; } }
.quote cite { display: block; margin-top: 1.8rem; font-style: normal; }

/* ---------- Capa das páginas internas ---------- */
.page-intro { display: grid; grid-template-columns: 1fr 1fr; min-height: 88vh; padding-top: var(--header); }
.page-intro__text { display: flex; flex-direction: column; justify-content: center; padding: 4rem var(--pad) 4rem var(--gutter); }
.page-intro__text .text { margin-top: 2rem; }
.page-intro__img { background: var(--img) center / cover no-repeat; }
.page-intro--solutions { grid-template-columns: minmax(0, 42%) minmax(0, 58%); height: max(720px, 100svh); min-height: 0; }
.page-intro--solutions .page-intro__text { padding-right: clamp(2rem, 4vw, 4rem); }
.page-intro__reel { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; overflow: hidden; isolation: isolate; background: #101116; }
.page-intro__reel::before { content: ""; position: absolute; inset: -2rem; z-index: -2; background: url('media/reels/capa-solucoes.jpg') center / cover no-repeat; filter: blur(32px) brightness(0.38); transform: scale(1.08); }
.page-intro__reel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,5,6,.62), transparent 40%, rgba(5,5,6,.4)); }
.page-intro__reel-card { display: flex; flex-direction: column; width: auto; height: min(760px, calc(100% - 1.5rem)); max-width: calc(100% - 1.5rem); aspect-ratio: 9 / 18.5; overflow: hidden; background: #09090b; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 0 0 1px rgba(36,51,166,.35), 0 24px 80px rgba(0,0,0,.65); }
.page-intro__reel-card video { display: block; flex: 1; min-height: 0; width: 100%; object-fit: contain; background: #08080a; }
.page-intro__reel-card .solution__post-cta { flex: none; }
.page-intro--about { min-height: 0; }
.page-intro--about .page-intro__text { padding-right: clamp(1.25rem, 2.5vw, 2.5rem); }
.page-intro--about .page-intro__img { display: flex; align-items: center; padding: 4rem 0; background: none; }
.page-intro--about .page-intro__img img { display: block; width: 100%; height: auto; }

/* ---------- Soluções (página) ---------- */
.subnav {
  position: sticky; top: var(--header); z-index: 20;
  background: rgba(5,5,6,0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.subnav .container { display: flex; gap: 2.2rem; overflow-x: auto; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { padding: 1.1rem 0; white-space: nowrap; font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); transition: color 0.3s; }
.subnav a:hover, .subnav a.is-active { color: var(--white); }

.solution {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center;
  padding: clamp(4rem, 8vw, 7rem) 0; scroll-margin-top: calc(var(--header) + 50px);
}
.solution + .solution { border-top: 1px solid var(--line); }
.solution:nth-child(even) .solution__img, .solution:nth-child(even) .solution__post { order: 2; }
.solution__img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #111; }
.solution__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.07); }
.solution__img video { display: block; width: 100%; height: 100%; object-fit: cover; }
#projetos, #audio, #led, #video, #automacao, #acessos { --post-width: min(360px, max(220px, calc(56.25svh - 164px))); grid-template-columns: minmax(0, var(--post-width)) minmax(0, 1fr); padding-top: clamp(3.75rem, 6vh, 4.5rem); }
#audio, #video, #acessos { grid-template-columns: minmax(0, 1fr) minmax(0, var(--post-width)); }
.solution__post { width: 100%; max-width: var(--post-width); overflow: hidden; background: #111114; border: 1px solid var(--line); }
.solution__post-header { display: flex; align-items: center; gap: 0.55rem; min-height: 52px; padding: 0.45rem 0.65rem; color: var(--white); }
.solution__post-avatar { width: 36px; height: 36px; flex: none; border-radius: 50%; object-fit: cover; background: #fff; }
.solution__post-account { display: flex; flex: 1; align-items: center; line-height: 1.2; }
.solution__post-account strong { font-size: 0.9rem; font-weight: 600; }
.solution__post-icon { width: 23px; height: 23px; flex: none; color: var(--white); }
.solution__post video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: contain; background: #08080a; }
.solution__post-cta { display: flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 36px; background: var(--blue); color: var(--white); font-size: 0.77rem; font-weight: 500; letter-spacing: 0.04em; }
.solution__post-cta:hover, .solution__post-cta:focus-visible { background: var(--blue-light); }
.solution__post-header:hover .solution__post-account strong { color: #fff; text-decoration: underline; }
#audio .solution__img img { object-position: right center; }
#acessos .solution__img img { object-position: 28% center; }
.solution__text .h2 { margin: 1rem 0 0.4rem; }
.solution__sub { color: var(--white); margin-bottom: 1.8rem; }

/* ---------- Sobre ---------- */
.narrow { max-width: 820px; }
.narrow .text { margin-top: 2.2rem; }
.pillars { position: relative; isolation: isolate; overflow: hidden; min-height: 110vh; display: flex; align-items: center; padding: clamp(6rem, 12vw, 10rem) 0; }
.pillars::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,5,6,0.84) 0%, rgba(5,5,6,0.78) 55%, rgba(5,5,6,0.82) 100%); }
.pillars__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.pillars__list { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem 3rem; }
.pillar { padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,0.22); }
.pillar h3 { font-weight: 400; font-size: 0.98rem; letter-spacing: 0.18em; text-transform: uppercase; }
.pillar p { color: rgba(255,255,255,0.84); margin-top: 0.6rem; }
.pillars__purpose .label { color: rgba(255,255,255,0.76); }
.pillars__purpose .text { margin-top: 1.4rem; color: var(--white); gap: 1.6rem; }

.values { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); margin-top: 3rem; }
.value { padding: 2rem 1.6rem 0 0; }
.value + .value { padding-left: 1.6rem; border-left: 1px solid var(--line); }
.value span { font-size: 0.885rem; letter-spacing: 0.2em; color: var(--blue-light); }
.value h3 { font-weight: 400; font-size: 1.05rem; margin: 1rem 0 0.4rem; }
.value p { color: var(--muted); }

.cta { border-top: 1px solid var(--line); padding: clamp(5rem, 9vw, 7.5rem) 0; }
.cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; padding-top: var(--header); }
.contact__info { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; padding: 4rem var(--pad) 4rem var(--gutter); }
.contact__info::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover no-repeat; }
.contact__info::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(5,5,6,0.74); }
.contact__list { margin-top: 2.4rem; display: grid; gap: 1.4rem; }
.contact__list .label { display: block; margin-bottom: 0.2rem; }
.contact__list p, .contact__list a { color: var(--muted); transition: color 0.3s; }
.contact__list a:hover { color: var(--white); }
.contact__form { display: flex; flex-direction: column; justify-content: center; padding: 4rem var(--gutter) 4rem var(--pad); font-size: 1.04rem; }
.contact__form .label { font-size: 0.82rem; letter-spacing: 0.22em; color: rgba(242,241,237,0.52); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1.6rem; margin-top: 2.6rem; }
.field { display: grid; gap: 0.3rem; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
  background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0.6rem 0; outline: none; resize: vertical;
  transition: border-color 0.3s;
}
.field input:focus, .field textarea:focus { border-color: var(--white); }
.field input::placeholder { color: var(--faint); }
.form button {
  grid-column: 1 / -1; justify-self: start; margin-top: 0.6rem; cursor: pointer;
  background: var(--white); color: var(--black); border: 0; border-radius: 999px; padding: 0.95rem 2.2rem;
  font-size: 0.87rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; transition: background 0.3s, color 0.3s;
}
.form button:hover { background: var(--blue); color: var(--white); }
.form__note { grid-column: 1 / -1; color: var(--muted); font-size: 1rem; min-height: 1.4em; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-top: 4.5rem; background: var(--ink); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 3rem; }
.footer h4 { font-weight: 400; font-size: 0.885rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--faint); margin-bottom: 1.2rem; }
.footer__col > a, .footer__col > p { display: block; font-size: 1.075rem; padding: 0.25rem 0; color: var(--muted); transition: color 0.3s; }
.footer__col > a:hover { color: var(--white); }
.footer__brand p { color: var(--muted); font-size: 1.075rem; margin-top: 1.6rem; }
.footer__map { margin-top: 1.4rem; height: 150px; max-width: 290px; overflow: hidden; border: 1px solid var(--line); }
.footer__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(0.85); }
.socials { display: flex; gap: 1.1rem; margin-top: 1.4rem; }
.socials a { color: var(--muted); transition: color 0.3s; }
.socials a:hover { color: var(--white); }
.socials svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.footer__bottom { display: flex; justify-content: space-between; margin-top: 4rem; padding-top: 1.6rem; padding-bottom: 1.6rem; border-top: 1px solid var(--line); font-size: 0.945rem; color: var(--faint); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 40; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue); transition: transform 0.4s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float img { width: 25px; height: 25px; filter: brightness(0) invert(1); }
.socials img { width: 17px; height: 17px; filter: brightness(0) invert(1); opacity: 0.7; }
.socials a:hover img { opacity: 1; }

/* ---------- Páginas institucionais ---------- */
.legal { padding: calc(var(--header) + 4rem) var(--pad) 6rem; }
.legal__inner { max-width: 820px; margin: 0 auto; }
.legal__inner h1 { margin: 0.8rem 0 1rem; }
.legal__meta { color: var(--muted); font-size: 0.95rem; margin-bottom: 2rem; }
.legal__notice { border-left: 2px solid var(--blue-light); background: var(--ink); padding: 1rem 1.25rem; color: var(--white); margin-bottom: 3rem; }
.legal__content h2 { font-size: 1.35rem; font-weight: 400; margin: 2.5rem 0 0.8rem; }
.legal__content h3 { font-size: 1.1rem; font-weight: 400; margin: 1.8rem 0 0.6rem; }
.legal__content p, .legal__content li { color: var(--muted); }
.legal__content p + p { margin-top: 1rem; }
.legal__content ul { padding-left: 1.35rem; margin: 0.8rem 0 1.2rem; }
.legal__content li + li { margin-top: 0.25rem; }
.legal__content a { text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .cards { grid-auto-columns: calc((100% - 1rem) / 2.3); }
  .testimonials__cards { grid-auto-columns: minmax(0, 68%); }
  .pillars__grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .value, .value + .value { padding: 1.8rem 1.4rem 1.8rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --header: 68px; }
  .marquee__track { min-height: 110px; }
  .marquee__track img { width: 110px; height: 110px; }
  .marquee__track img { border-radius: 16px; }
  .logo__img { height: 44px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 1.8rem; padding: 0 var(--pad);
    background: var(--black); opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease);
  }
  .nav a { font-size: 1.3rem; letter-spacing: 0.08em; }
  .nav a.is-active { box-shadow: none; }
  .menu-open .nav { opacity: 1; pointer-events: auto; }
  body.menu-open { overflow: hidden; }
  .hero__dots { display: none; }
  .hero__copy { max-width: none; }
  .hero__copy .lead { font-size: 1rem; }
  .cards { grid-auto-columns: 78%; }
  .testimonials__cards { grid-auto-columns: 88%; }
  .testimonial { min-height: 330px; }
  .carousel__nav button { width: 40px; height: 40px; }
  .page-intro, .contact { grid-template-columns: 1fr; }
  .page-intro__img { min-height: 46vh; }
  .page-intro--solutions { display: flex; flex-direction: column; height: auto; min-height: 0; }
  .page-intro--solutions .page-intro__reel { order: -1; height: min(76svh, 650px); min-height: 530px; }
  .page-intro--solutions .page-intro__text { padding: 2.75rem var(--pad) 3rem; }
  .about { grid-template-columns: 1fr; }
  .about__images { order: 2; }
  .page-intro--about .page-intro__text { padding-right: var(--pad); padding-bottom: 2.5rem; }
  .page-intro--about .page-intro__img { min-height: 0; padding: 0 var(--pad) 3rem; }
  .solution { grid-template-columns: 1fr; }
  #projetos, #audio, #led, #video, #automacao, #acessos { grid-template-columns: 1fr; }
  #projetos .solution__post, #audio .solution__post, #led .solution__post, #video .solution__post, #automacao .solution__post, #acessos .solution__post { margin: 0 auto; }
  .solution:nth-child(even) .solution__img, .solution:nth-child(even) .solution__post { order: 0; }
  .pillars__list, .values, .form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 0.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.form button:disabled { opacity: 0.5; cursor: wait; }
.form__note a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
