/* ============================================================
   INOVETECH PELÍCULAS — style.css
   Identidade: vermelho #E01E25 · grafite/preto · off-white
   ============================================================ */

:root {
  --bg: #0b0b0d;
  --bg-2: #101013;
  --surface: #16161a;
  --surface-2: #1d1d22;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f3ef;
  --muted: #a3a3ac;
  --red: #e01e25;
  --red-hover: #f5323a;
  --red-deep: #a31217;
  --radius: 16px;
  --container: 1200px;
  --header-h: 76px;
  --font-display: "Archivo", "Arial Black", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font-family: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

section { scroll-margin-top: var(--header-h); }

::selection { background: var(--red); color: #fff; }

/* ---------- Tipografia utilitária ---------- */
.txt-red { color: var(--red); }

.section { padding: clamp(72px, 9vw, 130px) 0; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }

.section-head__eyebrow {
  font-family: var(--font-display);
  font-stretch: 110%;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-head__eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--red);
  display: inline-block;
}

.section-head__title {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.06;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.section-head__sub {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 640px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}
.btn--lg { padding: 18px 38px; font-size: 15px; }
.btn--red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 28px rgba(224, 30, 37, 0.35);
}
.btn--red:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(224, 30, 37, 0.45);
}
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: #fff; transform: translateY(-2px); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s, box-shadow 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(11, 11, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo { display: inline-flex; align-items: center; padding: 8px 0; }
.logo__img {
  width: auto;
  height: 34px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}
.logo__img--footer { height: 40px; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 9px 14px;
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}
.nav__link:hover { color: var(--text); }
.nav__link.is-active { color: var(--text); background: rgba(255, 255, 255, 0.06); }

.header__cta { padding: 12px 24px; font-size: 12.5px; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 0;
  padding: 10px;
  min-width: 46px;
  min-height: 46px;
  margin-left: auto;
}
.burger span {
  width: 26px; height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: min(100svh, 950px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.06);
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(11, 11, 13, 0.94) 18%, rgba(11, 11, 13, 0.55) 55%, rgba(11, 11, 13, 0.35) 100%),
    linear-gradient(0deg, var(--bg) 2%, transparent 34%);
}

.hero__content { padding-top: calc(var(--header-h) + 24px); }

.hero__title {
  font-family: var(--font-display);
  font-stretch: 122%;
  font-weight: 900;
  font-size: clamp(2.9rem, 9vw, 7rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  display: flex;
  flex-direction: column;
}
.hero__title-accent {
  color: var(--red);
  text-shadow: 0 10px 60px rgba(224, 30, 37, 0.35);
}

.hero__sub {
  max-width: 620px;
  margin-top: 26px;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(245, 243, 239, 0.85);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.hero__stats {
  margin-top: clamp(48px, 7vh, 90px);
  border-top: 1px solid var(--line);
  background: rgba(11, 11, 13, 0.55);
  backdrop-filter: blur(10px);
}
.hero__stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 26px 22px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.stat strong em { color: var(--red); font-style: normal; }
.stat > span { font-size: 13.5px; color: var(--muted); }

.hero__scroll {
  position: absolute;
  right: 40px;
  bottom: 130px;
  width: 30px; height: 52px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  display: none;
}
.hero__scroll span {
  position: absolute;
  top: 9px; left: 50%;
  width: 4px; height: 9px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--red);
  animation: scrollHint 1.8s infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(16px); opacity: 0; }
  100% { opacity: 0; }
}
@media (min-width: 1100px) { .hero__scroll { display: block; } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--red);
  overflow: hidden;
  padding: 16px 0;
  transform: rotate(-1.2deg) scale(1.02);
  margin: -14px 0 10px;
  box-shadow: 0 14px 50px rgba(224, 30, 37, 0.3);
  position: relative;
  z-index: 2;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-stretch: 120%;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.marquee i { color: rgba(255, 255, 255, 0.55); font-size: 9px; font-style: normal; }
@keyframes marquee { to { transform: translateX(-33.333%); } }

/* ============================================================
   SOBRE
   ============================================================ */
.about { background: var(--bg); position: relative; }

.about__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.about__text p { color: var(--muted); margin-bottom: 18px; }
.about__text strong { color: var(--text); font-weight: 600; }

.about__quote {
  margin-top: 30px;
  padding: 26px 30px;
  border-left: 3px solid var(--red);
  background: linear-gradient(90deg, rgba(224, 30, 37, 0.08), transparent 70%);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.08rem;
  font-style: italic;
  color: var(--text);
}
.about__quote cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.about__media {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.about__media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.about__media figcaption {
  position: absolute;
  left: 20px; right: 20px; bottom: 20px;
  background: rgba(11, 11, 13, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.about__media figcaption strong {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.about__media figcaption span { font-size: 12.5px; color: var(--red); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }

.pillars {
  margin-top: clamp(56px, 7vw, 90px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.pillar:hover {
  transform: translateY(-6px);
  border-color: rgba(224, 30, 37, 0.5);
  background: var(--surface-2);
}
.pillar__num {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(224, 30, 37, 0.75);
  display: block;
  margin-bottom: 18px;
}
.pillar h3 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: 16.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}
.pillar p { font-size: 14px; color: var(--muted); }

/* ============================================================
   PRODUTOS
   ============================================================ */
.products { background: var(--bg-2); }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.tab {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 13px 26px;
  transition: all 0.3s var(--ease);
}
.tab:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.25); }
.tab.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 8px 24px rgba(224, 30, 37, 0.35);
}

.line-intro {
  border-left: 3px solid var(--red);
  padding: 6px 0 6px 22px;
  margin-bottom: 38px;
  max-width: 780px;
}
.line-intro p { color: var(--muted); font-size: 1.05rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
  animation: cardIn 0.55s var(--ease) both;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(224, 30, 37, 0.45);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
}

.card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10.5; }
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.card:hover .card__media img { transform: scale(1.07); }
.card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(22, 22, 26, 0.85), transparent 45%);
}
.card__tag {
  position: absolute;
  left: 16px; bottom: 14px;
  z-index: 2;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 7px 14px;
  border-radius: 999px;
}

.card__body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card__title {
  font-family: var(--font-display);
  font-stretch: 116%;
  font-weight: 800;
  font-size: 21px;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.card__subtitle {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 5px;
}
.card__desc {
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 14px;
  flex: 1;
}

.card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
}
.chip strong { color: var(--red); font-weight: 700; }

.card__btn {
  margin-top: 22px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-stretch: 110%;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  background: none;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 11px 22px;
  transition: all 0.3s;
}
.card__btn::after { content: "→"; transition: transform 0.3s; }
.card__btn:hover { border-color: var(--red); color: var(--red); }
.card__btn:hover::after { transform: translateX(4px); }

.products__note {
  margin-top: 40px;
  font-size: 12.5px;
  color: rgba(163, 163, 172, 0.7);
  max-width: 720px;
}

/* ============================================================
   WHY / SOLENSE
   ============================================================ */
.why { background: var(--bg); }
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
}
.why__col .section-head__title { margin-bottom: 20px; }
.why__lead { font-size: 1.12rem; color: var(--text); margin-bottom: 20px; font-weight: 500; }
.why__col p { color: var(--muted); margin-bottom: 16px; }
.why__col p strong { color: var(--text); }

.checklist { list-style: none; display: grid; gap: 14px; margin-top: 26px; }
.checklist li {
  position: relative;
  padding: 18px 20px 18px 56px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14.5px;
  color: var(--muted);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.checklist li:hover { border-color: rgba(224, 30, 37, 0.45); transform: translateX(6px); }
.checklist li strong { color: var(--text); display: block; margin-bottom: 2px; }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 18px; top: 20px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(224, 30, 37, 0.15);
  color: var(--red);
  font-weight: 800;
  font-size: 13px;
  display: grid;
  place-items: center;
}

.why__media {
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.why__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ============================================================
   TREINAMENTOS
   ============================================================ */
.training { background: var(--bg-2); }

.training__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 16px;
}
.training__gallery figure {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.training__gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.training__gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s;
  filter: saturate(0.92);
}
.training__gallery figure:hover img { transform: scale(1.06); filter: saturate(1.05); }

.training__cta {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(100deg, rgba(224, 30, 37, 0.14), rgba(224, 30, 37, 0.04));
  border: 1px solid rgba(224, 30, 37, 0.3);
  border-radius: var(--radius);
  padding: 30px 36px;
}
.training__cta p {
  font-family: var(--font-display);
  font-stretch: 114%;
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ============================================================
   CTA / CONTATO
   ============================================================ */
.cta {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(224, 30, 37, 0.16), transparent),
    var(--bg);
  border-top: 1px solid var(--line);
}
.cta__inner { max-width: 900px; }
.cta__text h2 {
  font-family: var(--font-display);
  font-stretch: 120%;
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.cta__text p { color: var(--muted); font-size: 1.1rem; max-width: 640px; }

.cta__cards {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
  overflow-wrap: anywhere;
}
.contact-card:hover {
  transform: translateY(-6px);
  border-color: var(--red);
  background: var(--surface-2);
}
.contact-card__label {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--red);
}
.contact-card__value { font-weight: 600; font-size: 15.5px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #08080a;
  border-top: 1px solid var(--line);
  padding-top: clamp(56px, 6vw, 80px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer__brand p {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
  max-width: 320px;
}
.footer__nav { display: flex; flex-direction: column; gap: 12px; }
.footer__nav h4 {
  font-family: var(--font-display);
  font-stretch: 114%;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 6px;
}
.footer__nav a { font-size: 14px; color: var(--muted); transition: color 0.25s; width: fit-content; }
.footer__nav a:hover { color: var(--red); }
.footer__unit { font-size: 14px; color: var(--muted); }
.footer__unit strong { color: var(--text); }

.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
.footer__bottom strong { color: var(--text); }

/* ============================================================
   BOTÃO FLUTUANTE WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 150;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.wa-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 38px rgba(37, 211, 102, 0.55), 0 6px 16px rgba(0, 0, 0, 0.4);
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: waPing 2.4s ease-out infinite;
}
@keyframes waPing {
  0% { transform: scale(1); opacity: 0.5; }
  75%, 100% { transform: scale(1.55); opacity: 0; }
}
.wa-float__tip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s var(--ease);
}
.wa-float:hover .wa-float__tip,
.wa-float:focus-visible .wa-float__tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.contact-card--wa:hover { border-color: #25d366; }
.contact-card--wa .contact-card__label { color: #25d366; }

/* ============================================================
   MODAL
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 5, 7, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn 0.25s;
}
.modal__panel {
  position: relative;
  width: min(860px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
  animation: modalIn 0.35s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(0.98); } }

.modal__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  transition: all 0.25s;
}
.modal__close:hover { background: var(--red); border-color: var(--red); transform: rotate(90deg); }

.modal__eyebrow {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.modal__title {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 26px;
}

.spec-group + .spec-group { margin-top: 34px; }
.spec-group h4 {
  font-family: var(--font-display);
  font-stretch: 114%;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
  margin-bottom: 16px;
}

.spec-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 460px; }
.spec-table th, .spec-table td { padding: 11px 16px; text-align: left; white-space: nowrap; }
.spec-table thead th {
  font-family: var(--font-display);
  font-stretch: 110%;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
}
.spec-table thead th:first-child { background: var(--surface-2); color: var(--text); }
.spec-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.03); }
.spec-table tbody td:first-child { color: var(--muted); white-space: normal; min-width: 200px; }
.spec-table tbody td:not(:first-child) { font-weight: 600; font-variant-numeric: tabular-nums; }

.modal__note { margin-top: 26px; font-size: 12px; color: rgba(163, 163, 172, 0.7); }

/* ============================================================
   REVEAL (scroll animations)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }

.no-anim, .no-anim * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
.no-anim { scroll-behavior: auto; }
.no-anim .reveal { opacity: 1; transform: none; }

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

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { position: static; max-width: 520px; }
  .why__grid { grid-template-columns: 1fr; }
  .hero__stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 22px 18px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  :root { --header-h: 64px; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    background: rgba(11, 11, 13, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 18px 6vw 26px;
    gap: 6px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s var(--ease);
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__link { font-size: 17px; padding: 13px 6px; border-radius: 10px; }
  .header__cta { display: none; }
  .burger { display: flex; }
  .header { background: rgba(11, 11, 13, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .logo__img { height: 28px; }
  .training__gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .cta__cards { grid-template-columns: 1fr; margin-top: 36px; }
  .marquee { transform: rotate(0) scale(1); margin: 0; }
  .about__quote { padding: 22px 20px; font-size: 1rem; }
  .why__col--solense { padding-top: 10px; border-top: 1px solid var(--line); }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .pillars { grid-template-columns: 1fr; gap: 14px; }
  .pillar { padding: 24px 22px; }
  .pillar__num { font-size: 36px; margin-bottom: 12px; }

  .hero { min-height: min(100svh, 780px); }
  .hero__content { padding-top: calc(var(--header-h) + 16px); }
  .hero__eyebrow { font-size: 11px; letter-spacing: 0.22em; padding: 9px 16px; margin-bottom: 22px; }
  .hero__sub { margin-top: 20px; }
  .hero__actions { margin-top: 30px; flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__stats { margin-top: 40px; }
  .hero__stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px 14px; }
  .stat strong { font-size: 1.55rem; }
  .stat > span { font-size: 12.5px; }

  .marquee { padding: 12px 0; }
  .marquee span { font-size: 13px; letter-spacing: 0.16em; }

  .section-head__title { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .section-head__sub { font-size: 0.98rem; }

  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: -4vw;
    padding-inline: 4vw;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; padding: 12px 20px; }
  .line-intro { margin-bottom: 28px; }
  .cards { grid-template-columns: 1fr; gap: 18px; }
  .card__body { padding: 22px 20px 24px; }

  .checklist li { padding: 16px 16px 16px 52px; }
  .checklist li::before { left: 16px; top: 18px; }

  .training__gallery { grid-auto-rows: 150px; gap: 10px; }
  .training__gallery figure:first-child { grid-column: span 2; }
  .training__cta { justify-content: center; text-align: center; padding: 26px 22px; }
  .training__cta .btn { width: 100%; }

  .cta__text p { font-size: 1rem; }
  .contact-card { padding: 22px 20px; }

  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__nav { gap: 2px; }
  .footer__nav h4 { margin-bottom: 8px; }
  .footer__nav a { padding: 10px 0; }
  .footer__bottom { justify-content: center; text-align: center; }

  .modal { padding: 12px 0 0; align-items: end; }
  .modal__panel { padding: 26px 18px 30px; max-height: 90vh; border-radius: 18px 18px 0 0; width: 100%; }
  .modal__close { top: 12px; right: 12px; }
  .spec-table th, .spec-table td { padding: 9px 12px; }
  .spec-table tbody td:first-child { min-width: 150px; }

  .wa-float {
    width: 54px; height: 54px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
  .wa-float__tip { display: none; }
}
