/* TecnoFrio — landing estática (mobile-first) */
:root {
  --color-primary: #0094ff;
  --color-primary-light: #59c7ff;
  --color-neon: #82e7ff;
  --color-bg-dark: #071520;
  --color-bg-secondary: #102434;
  --color-ice: #f5fbff;
  --color-text: #0a1620;
  --color-text-muted: rgba(10, 22, 32, 0.72);
  --color-white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glow: 0 0 25px rgba(0, 148, 255, 0.35);
  --glow-strong: 0 0 40px rgba(0, 148, 255, 0.45);
  --font-heading: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --header-h: 72px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg-dark);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(7, 21, 32, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.site-header__inner {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-ice);
  text-decoration: none;
}

.site-logo:hover {
  text-decoration: none;
  color: var(--color-primary-light);
}

.site-logo img {
  display: block;
  height: 40px;
  width: auto;
  max-width: min(220px, 42vw);
  object-fit: contain;
  border-radius: 6px;
}

.site-logo--footer img {
  height: 36px;
  max-width: min(200px, 50vw);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  cursor: pointer;
  color: var(--color-ice);
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.nav-toggle__bar {
  position: relative;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bar::before {
  top: -6px;
}

.nav-toggle__bar::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  padding: 1.25rem;
  background: rgba(7, 21, 32, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateY(-120%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s var(--ease), opacity 0.3s, visibility 0.3s;
}

.site-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-nav__list a {
  display: block;
  padding: 0.75rem 0.5rem;
  color: var(--color-ice);
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.site-nav__list a:hover {
  background: var(--glass-bg);
  text-decoration: none;
  color: var(--color-primary-light);
}

.site-nav__cta {
  text-align: center;
  justify-content: center;
}

@media (min-width: 880px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    background: transparent;
    border: none;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .site-nav__list {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--glow);
}

.btn--primary:hover {
  background: var(--color-primary-light);
  box-shadow: var(--glow-strong);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-ice);
  border-color: var(--glass-border);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: rgba(130, 231, 255, 0.45);
  color: var(--color-neon);
}

.btn--light {
  background: var(--color-white);
  color: var(--color-bg-dark);
}

.btn--light:hover {
  background: var(--color-ice);
}

.btn--lg {
  min-height: 48px;
  padding: 0.75rem 1.5rem;
}

.btn--xl {
  min-height: 52px;
  padding: 0.85rem 2rem;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
  min-height: min(100vh, 900px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, var(--color-bg-dark) 0%, var(--color-bg-secondary) 45%, #0a1f2e 100%);
  z-index: 0;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 60%;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 148, 255, 0.35), transparent 70%);
  pointer-events: none;
}

.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(130, 231, 255, 0.12) 0, transparent 2px),
    radial-gradient(circle at 80% 20%, rgba(89, 199, 255, 0.1) 0, transparent 2px),
    radial-gradient(circle at 40% 70%, rgba(0, 148, 255, 0.08) 0, transparent 2px);
  background-size: 120px 120px, 180px 180px, 200px 200px;
  animation: particleDrift 28s linear infinite;
  opacity: 0.6;
  pointer-events: none;
}

@keyframes particleDrift {
  to {
    transform: translate3d(-40px, -30px, 0);
  }
}

.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -12deg,
    transparent,
    transparent 48px,
    rgba(130, 231, 255, 0.03) 48px,
    rgba(130, 231, 255, 0.03) 49px
  );
  mask-image: linear-gradient(to bottom, black 0%, transparent 85%);
  animation: windShift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes windShift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(24px);
  }
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 4vw, 2rem);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary-light);
}

.hero h1 {
  color: var(--color-ice);
  margin-bottom: 0.75rem;
}

.hero__lead {
  margin: 0 0 1.5rem;
  color: rgba(245, 251, 255, 0.85);
  font-size: 1.05rem;
  max-width: 36ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.hero__image-wrap {
  position: relative;
  max-width: 560px;
  margin-inline: auto;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  overflow: visible;
  box-shadow: none;
}

/* Brilho que segue o recorte da imagem (PNG sem fundo) */
.hero__image-wrap::after {
  content: "";
  position: absolute;
  inset: 10% 5% 15%;
  z-index: -1;
  background: radial-gradient(ellipse 70% 60% at 50% 55%, rgba(0, 148, 255, 0.35), transparent 72%);
  filter: blur(28px);
  pointer-events: none;
}

.hero__image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 0;
  filter:
    drop-shadow(0 0 32px rgba(0, 148, 255, 0.38))
    drop-shadow(0 0 60px rgba(130, 231, 255, 0.15))
    drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}

.float-y {
  animation: floatY 5s ease-in-out infinite;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Sections */
.section {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.section--ice {
  background: var(--color-ice);
  color: var(--color-text);
}

.section--dark {
  background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-dark) 100%);
  color: var(--color-ice);
}

.section__head {
  margin-bottom: 2rem;
  max-width: 52ch;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
  max-width: 56ch;
}

.section__sub {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.section--dark .section__sub {
  color: rgba(245, 251, 255, 0.75);
}

/* Cards */
.cards {
  display: grid;
  gap: 1.25rem;
}

.cards--services {
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .cards--services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .cards--services {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(0, 148, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 148, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 148, 255, 0.18);
}

.card__icon {
  margin-bottom: 1rem;
}

.card__title {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.card__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Differentials */
.diff-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
}

.diff-strip__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-weight: 500;
  font-size: 0.95rem;
}

.diff-strip__item img {
  flex-shrink: 0;
  opacity: 0.95;
}

/* About */
.about {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .about {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.about__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--glow);
  border: 1px solid rgba(0, 148, 255, 0.2);
}

.about__media img {
  display: block;
  width: 100%;
  height: auto;
}

.about__text p {
  color: var(--color-text-muted);
  margin: 0 0 1.25rem;
}

/* Brands marquee */
.section--brands {
  background: var(--color-bg-secondary);
  color: var(--color-ice);
  padding-block: 2.5rem;
}

.brands-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.brands-marquee__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.brands-marquee:hover .brands-marquee__track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.brands-marquee__item {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  letter-spacing: 0.06em;
  color: rgba(245, 251, 255, 0.85);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
}

/* CTA */
.cta-final {
  padding: clamp(3rem, 10vw, 5rem) 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, #0078d4 50%, var(--color-primary-light) 100%);
  text-align: center;
  color: var(--color-white);
}

.cta-final h2 {
  margin: 0 auto 1.5rem;
  max-width: 20ch;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

/* Footer */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(245, 251, 255, 0.88);
  padding: 3rem 0 1.5rem;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .site-footer__grid {
    grid-template-columns: 1.2fr 1fr 0.6fr;
  }
}

.site-footer__tagline {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  opacity: 0.8;
}

.site-footer__heading {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem;
  color: var(--color-primary-light);
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__list li {
  margin-bottom: 0.5rem;
}

.site-footer__list a {
  color: var(--color-ice);
}

.site-footer__list a:hover {
  color: var(--color-neon);
}

.site-footer__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.75rem;
}

.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none;
}

.site-footer__social a:hover {
  border-color: var(--color-primary-light);
  color: var(--color-neon);
}

.site-footer__copy {
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

.site-footer__credit {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.65;
}

.site-footer__credit-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.site-footer__credit-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.site-logo--footer {
  color: var(--color-ice);
}

/* WhatsApp FAB + dica periódica */
.wa-fab-wrap {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  pointer-events: none;
}

.wa-fab-wrap .wa-fab {
  pointer-events: auto;
}

.wa-fab-hint {
  display: block;
  max-width: min(200px, 70vw);
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  color: #071520;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(37, 211, 102, 0.35);
  opacity: 0;
  transform: translateY(6px) scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.wa-fab-hint.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.wa-fab {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wa-fab:hover {
  transform: scale(1.06) translateY(-3px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
  text-decoration: none;
}

/* Fade-in (JS adds .is-visible) */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.fade-in.is-visible {
  opacity: 1;
  transform: none;
}
