/* ============================================
   WITTY WHITE - Landing Climatização
   Paleta: Navy (autocolante/camisola) + gradiente
   "temperatura" frio → calor (#00B7F4 → #FF3C57)
   ============================================ */

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* ============== FONTES (alojadas no site, variáveis) ============== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/inter-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/inter-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: 'Sora';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('/fonts/sora-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('/fonts/sora-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;
}

:root {
  --navy-950: #070b26;
  --navy-900: #0b1033;
  --navy: #141c52;
  --navy-700: #1f2878;
  --brand: #2b3594;
  --brand-600: #232c80;
  --brand-soft: #eceefb;

  --ice: #00b7f4;
  --ice-600: #0090cc;
  --ice-soft: #e2f5fd;
  --heat: #ff3c57;
  --heat-600: #e2304a;
  --heat-soft: #ffe9ec;
  --violet: #a992d1;
  --lime: #bce600;
  --lime-600: #8fb000;
  --lime-soft: #f3fbd6;

  --grad-temp: linear-gradient(90deg, #00b7f4 0%, #a992d1 50%, #ff3c57 100%);
  --grad-temp-text: linear-gradient(90deg, #0090cc 0%, #7a66c8 50%, #e2304a 100%);

  --bg: #f6f8fc;
  --bg-soft: #eef1f8;
  --white: #ffffff;

  --ink: #0c1230;
  --ink-2: #232a4a;
  --ink-3: #50577a;
  --ink-4: #666d90;
  --line: #e0e4f0;

  --display: 'Sora', 'Segoe UI', sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(20, 28, 82, 0.05), 0 2px 8px rgba(20, 28, 82, 0.05);
  --shadow: 0 4px 12px rgba(20, 28, 82, 0.08), 0 14px 40px rgba(20, 28, 82, 0.12);

  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Modo do termóstato (hero / CTA) */
  --flow: var(--ice);
  --flow-rgb: 0, 183, 244;
}
body.mode-heat {
  --flow: var(--heat);
  --flow-rgb: 255, 60, 87;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
svg { flex-shrink: 0; }

p strong { font-weight: 700; color: var(--ink); }
.cta-card p strong, .hero-sub strong { color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============== LOADER ============== */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.loader.hide { opacity: 0; visibility: hidden; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.loader-logo {
  width: clamp(160px, 32vw, 220px);
  height: auto;
  opacity: 0;
  transform: translateY(14px);
  animation: load-in .8s var(--ease) .1s forwards;
}
.loader-bar {
  width: 140px;
  height: 4px;
  border-radius: 99px;
  background: var(--line);
  overflow: hidden;
}
.loader-bar span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--grad-temp);
  transform-origin: left;
  transform: scaleX(0);
  animation: load-bar 1.1s var(--ease) .25s forwards;
}
@keyframes load-in { to { opacity: 1; transform: translateY(0); } }
@keyframes load-bar { to { transform: scaleX(1); } }

/* ============== HEADER ============== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(246, 248, 252, 0.6);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: padding .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.header.scrolled {
  padding: 8px 0;
  background: rgba(246, 248, 252, 0.92);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo { display: inline-flex; align-items: center; }
.logo-img {
  height: 52px;
  width: auto;
  display: block;
  transition: transform .3s var(--ease), height .3s var(--ease);
}
.logo:hover .logo-img { transform: scale(1.04); }
.header.scrolled .logo-img { height: 44px; }

.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.nav-link {
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-3);
  position: relative;
  padding: 4px 0;
  transition: color .25s var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--grad-temp);
  transition: width .35s var(--ease);
}
.nav-link:hover { color: var(--brand); }
.nav-link:hover::after { width: 100%; }

/* Seletor de idioma */
.lang { position: relative; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-2);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.lang-toggle:hover, .lang.open .lang-toggle {
  border-color: rgba(43, 53, 148, .35);
  box-shadow: 0 4px 14px rgba(20, 28, 82, .1);
}
.lang-toggle .chev { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.lang.open .lang-toggle .chev { transform: rotate(180deg); }
.flag {
  width: 20px;
  height: 14px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(12, 18, 48, .1);
}
.lang-menu {
  list-style: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 180px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.97);
  transform-origin: top right;
  transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .25s;
  z-index: 10;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-2);
  text-align: left;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.lang-menu a:hover { background: var(--bg-soft); color: var(--brand); }
.lang-menu a[aria-current="true"] { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.lang-menu a[aria-current="true"]::after {
  content: '';
  margin-left: auto;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--navy);
}

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-toggle span {
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============== BUTTONS ============== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
/* Brilho que atravessa o botão (estilo uiverse) */
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg);
  z-index: -1;
  transition: left .7s var(--ease);
  pointer-events: none;
}
.btn:hover::after { left: 130%; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--navy-700) 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(43, 53, 148, 0.32);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ice-600) 0%, var(--brand) 100%);
  opacity: 0;
  z-index: -2;
  transition: opacity .35s var(--ease);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(43, 53, 148, 0.42);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary { z-index: 0; }
.btn-primary > * { position: relative; }

.btn-ghost {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--brand);
}
.btn-ghost::after { background: linear-gradient(100deg, transparent, rgba(43, 53, 148, .12), transparent); }
.btn-ghost:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}
.btn-light {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.btn-light::after { background: linear-gradient(100deg, transparent, rgba(0, 183, 244, .25), transparent); }
.btn-light:hover {
  color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26);
}
.btn-outline-light {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .35);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .7);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-xl { padding: 19px 34px; font-size: 1.04rem; }
.btn-header { padding: 10px 20px; }
.btn-block { width: 100%; }

/* ============== HERO ============== */
.hero {
  position: relative;
  padding: 150px 0 80px;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transition: opacity .8s var(--ease);
}
.hero::before {
  top: -12%; right: -6%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 183, 244, 0.16), transparent 62%);
}
.hero::after {
  bottom: 8%; left: -10%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255, 60, 87, 0.10), transparent 62%);
}
body.mode-heat .hero::before { opacity: .45; }
body:not(.mode-heat) .hero::after { opacity: .55; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.75);
}
.eyebrow.light {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.6vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -.035em;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero-title em,
.section-head h2 em {
  font-style: normal;
  background: var(--grad-temp-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.07rem;
  color: var(--ink-3);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.68;
}
.hero-sub strong { color: var(--ink-2); font-weight: 600; }

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-meta {
  display: flex;
  gap: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.hero-meta div { display: flex; flex-direction: column; gap: 6px; }
.hero-meta strong {
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -.03em;
}
.hero-meta span {
  font-size: .78rem;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: .07em;
  line-height: 1.35;
}

/* Hero visual */
.hero-visual { position: relative; height: 560px; }
.hero-img {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-1 {
  top: 0; right: 0;
  width: 72%; height: 76%;
  animation: float-slow 8s ease-in-out infinite;
}
.hero-img-2 {
  bottom: 0; left: 0;
  width: 54%; height: 46%;
  border: 6px solid var(--bg);
  animation: float-slow 8s ease-in-out infinite reverse;
  animation-delay: -4s;
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--flow-rgb), .14) 0%, transparent 55%);
  mix-blend-mode: soft-light;
  transition: background .8s var(--ease);
  pointer-events: none;
}

/* Fluxo de ar animado a sair do equipamento */
.airflow {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.airflow path {
  fill: none;
  stroke: var(--flow);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 110 190;
  opacity: .7;
  animation: airflow 2.6s linear infinite;
  transition: stroke .8s var(--ease);
}
.airflow path:nth-child(2) { animation-delay: -.6s; }
.airflow path:nth-child(3) { animation-delay: -1.3s; }
.airflow path:nth-child(4) { animation-delay: -.3s; }
.airflow path:nth-child(5) { animation-delay: -1.9s; }
@keyframes airflow {
  from { stroke-dashoffset: 300; }
  to { stroke-dashoffset: 0; }
}

.hero-chip {
  position: absolute;
  top: 34px; left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 18px 12px;
  background: var(--navy);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(20, 28, 82, .35);
  z-index: 3;
  animation: float-slow 9s ease-in-out infinite;
  animation-delay: -2s;
}
.hero-chip span {
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}
.hero-chip img { width: 132px; height: auto; }

/* Termóstato (toggle frio/calor) */
.thermo {
  position: absolute;
  bottom: 30px; right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px 10px 10px;
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow);
  z-index: 3;
  text-align: left;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.thermo:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(20, 28, 82, .18); }
.thermo-switch {
  position: relative;
  width: 64px; height: 34px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ice-soft), var(--heat-soft));
  box-shadow: inset 0 1px 3px rgba(12, 18, 48, .12);
  transition: background .5s var(--ease);
}
.thermo-knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--flow);
  box-shadow: 0 4px 10px rgba(var(--flow-rgb), .45);
  isolation: isolate;
  transition: transform .5s var(--ease), background .5s var(--ease);
}
/* Pulso do botão: transform + opacity (corre na GPU, não no processador principal) */
.thermo-knob::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--flow);
  z-index: -1;
  animation: knob-ring 2.2s var(--ease) infinite;
}
@keyframes knob-ring {
  0% { transform: scale(1); opacity: .45; }
  75%, 100% { transform: scale(1.9); opacity: 0; }
}
body.mode-heat .thermo-knob { transform: translateX(30px) rotate(180deg); }
.thermo-knob svg { position: absolute; width: 16px; height: 16px; transition: opacity .3s var(--ease), transform .5s var(--ease); }
.i-heat { opacity: 0; }
body.mode-heat .i-heat { opacity: 1; }
body.mode-heat .i-cool { opacity: 0; }
.thermo-text { display: flex; flex-direction: column; line-height: 1.15; }
.thermo-text small {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.thermo-text strong {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.02em;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--flow-rgb), .5), 0 4px 10px rgba(var(--flow-rgb), .4); }
  70% { box-shadow: 0 0 0 12px rgba(var(--flow-rgb), 0), 0 4px 10px rgba(var(--flow-rgb), .4); }
  100% { box-shadow: 0 0 0 0 rgba(var(--flow-rgb), 0), 0 4px 10px rgba(var(--flow-rgb), .4); }
}

/* Marquee */
.marquee {
  margin-top: 80px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg);
}
.marquee-track {
  display: flex;
  gap: 36px;
  width: max-content;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--navy);
}
.marquee-track span:nth-child(even) {
  color: var(--navy);
  font-size: 1rem;
  align-self: center;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============== SECTION DEFAULTS ============== */
.section { padding: 100px 0; position: relative; }

.section-head {
  max-width: 720px;
  margin-bottom: 60px;
}
.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 18px;
}
.section-head p {
  font-size: 1.05rem;
  color: var(--ink-3);
  max-width: 620px;
}
.section-head.center p { margin: 0 auto; }

/* Spotlight que segue o rato (cards) */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--spot-rgb, 0, 183, 244), .13), transparent 45%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  z-index: -1;
  pointer-events: none;
}
.spot::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--spot-rgb, 0, 183, 244), .7), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }

/* ============== ABOUT ============== */
.section-about { background: var(--bg-soft); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.about-media {
  position: relative;
  aspect-ratio: 4/5;
}
.about-img {
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.about-media:hover .about-img img { transform: scale(1.04); }
.about-stamp {
  position: absolute;
  top: 32px; right: -34px;
  animation: float-slow 9s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--navy);
  padding: 16px 20px 14px;
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(20, 28, 82, 0.35);
  z-index: 3;
}
.about-stamp span {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}
.about-stamp img { width: 170px; height: auto; transform: none !important; }

.about-text h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 24px;
}
.about-text p {
  font-size: 1.05rem;
  color: var(--ink-3);
  margin-bottom: 18px;
  line-height: 1.7;
}
.about-list {
  list-style: none;
  margin-top: 32px;
  display: grid;
  gap: 14px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: var(--ink-2);
}
.about-list li .icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
}
.about-list li .icon svg { width: 14px; height: 14px; display: block; }

/* ============== SERVICES ============== */
.section-services { background: var(--white); padding-bottom: 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  --tone: var(--ice-600);
  --tone-soft: var(--ice-soft);
  --spot-rgb: 0, 183, 244;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px 28px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.service-card[data-tone="heat"] { --tone: var(--heat-600); --tone-soft: var(--heat-soft); --spot-rgb: 255, 60, 87; }
.service-card[data-tone="lime"] { --tone: var(--lime-600); --tone-soft: var(--lime-soft); --spot-rgb: 143, 176, 0; }
.service-card[data-tone="brand"] { --tone: var(--brand); --tone-soft: var(--brand-soft); --spot-rgb: 43, 53, 148; }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
  background: var(--white);
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--tone-soft);
  color: var(--tone);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card:hover .service-icon {
  background: var(--tone);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}
.service-card h3 {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 10px;
}
.service-card p {
  font-size: .95rem;
  color: var(--ink-3);
  line-height: 1.6;
  flex: 1;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--tone);
  width: fit-content;
}
.service-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.service-link:hover svg { transform: translateX(5px); }

/* Faixa infinita de ambientes */
.ribbon {
  margin-top: 80px;
  padding-bottom: 100px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ribbon-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon img {
  width: 300px;
  height: 225px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), filter .5s var(--ease);
}
.ribbon img:nth-child(even) { transform: translateY(22px); }
.ribbon img:hover { transform: translateY(-6px) scale(1.03); }
.ribbon img:nth-child(even):hover { transform: translateY(16px) scale(1.03); }

/* ============== MARCAS / INSTALADOR AUTORIZADO ============== */
.section-brands { background: var(--bg-soft); overflow: hidden; }
.brands-layout {
  display: grid;
  grid-template-columns: 1.05fr auto 1fr;
  gap: 48px;
  align-items: stretch;
}

/* Card Ecoforhouse — inspirado na camisola, borda animada */
.eco-card {
  position: relative;
  border-radius: 28px;
  padding: 2px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 24px 60px rgba(20, 28, 82, .28);
}
.eco-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(from var(--angle), var(--lime), var(--ice), var(--violet), var(--heat), var(--lime));
  animation: spin-angle 6s linear infinite;
  z-index: -1;
}
@keyframes spin-angle { to { --angle: 360deg; } }
.eco-card-inner {
  height: 100%;
  border-radius: 26px;
  padding: 40px 40px 36px;
  background:
    radial-gradient(circle at 100% 0%, rgba(188, 230, 0, .16), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(0, 183, 244, .14), transparent 50%),
    var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
}
.eco-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.eco-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
}
.eco-seal {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--lime);
  background: rgba(188, 230, 0, .12);
  border: 1px solid rgba(188, 230, 0, .35);
}
.eco-seal svg { width: 24px; height: 24px; }
.eco-logo { width: 100%; max-width: 440px; height: auto; }
.eco-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .78);
  max-width: 420px;
}

.brands-divider {
  width: 5px;
  border-radius: 5px;
  background: var(--lime);
  box-shadow: 0 0 22px rgba(188, 230, 0, .5);
  transform-origin: top;
}
.brands-divider.reveal { transform: scaleY(0); opacity: 1; }
.brands-divider.reveal.in { transform: scaleY(1); transition: transform 1.2s var(--ease) .2s; }

.brands-list { display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.brands-list-label {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 2px;
}
.brand-row {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  align-items: center;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.brand-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--brand-c);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .45s var(--ease);
}
.brand-row:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: transparent; }
.brand-row:hover::before { transform: scaleY(1); }
.brand-logo { display: grid; place-items: center start; height: 48px; }
.brand-logo img { max-height: 40px; max-width: 150px; width: auto; height: auto; transition: transform .4s var(--ease); }
.brand-row:hover .brand-logo img { transform: scale(1.06); }
.brand-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-c);
  margin-bottom: 4px;
  filter: saturate(1.1) brightness(.85);
}
.brand-row p { font-size: .92rem; line-height: 1.55; color: var(--ink-3); }

/* ============== DIFERENCIAIS ============== */
.section-diff {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
  color: #fff;
  overflow: hidden;
}
.section-diff::before,
.section-diff::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.section-diff::before {
  top: -20%; right: -10%;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(0, 183, 244, .22), transparent 60%);
}
.section-diff::after {
  bottom: -25%; left: -10%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255, 60, 87, .14), transparent 60%);
}
.section-diff .container { position: relative; z-index: 1; }
.section-diff .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}
.section-diff .section-head h2 { color: #fff; }
.section-diff .section-head p { color: rgba(255, 255, 255, 0.75); }
.section-diff .section-head p strong { color: #fff; }

.diff-layout {
  display: grid;
  grid-template-columns: .9fr 1.2fr;
  gap: 32px;
  align-items: stretch;
}
.diff-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  min-height: 100%;
}
.diff-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.diff-media:hover img { transform: scale(1.05); }
.diff-media figcaption {
  position: absolute;
  left: 18px; bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(20, 28, 82, .18);
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
}
.diff-media .dot,
.work-chip::before {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--navy);
  outline: 0 solid rgba(20, 28, 82, .35);
  animation: dot-beat 2s var(--ease) infinite;
}
@keyframes dot-beat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.35); }
}
@keyframes pulse-navy {
  0% { box-shadow: 0 0 0 0 rgba(20, 28, 82, .5); }
  70% { box-shadow: 0 0 0 10px rgba(20, 28, 82, 0); }
  100% { box-shadow: 0 0 0 0 rgba(20, 28, 82, 0); }
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.diff-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  backdrop-filter: blur(6px);
  transition: transform .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
}
.diff-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 183, 244, .45);
}
.diff-num {
  font-family: var(--display);
  font-size: .95rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 18px;
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--ice);
  border: 1px solid rgba(0, 183, 244, 0.5);
}
.diff-card:nth-child(even) .diff-num { color: #ff8796; border-color: rgba(255, 60, 87, .5); }
.diff-card h3 {
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 10px;
}
.diff-card p {
  font-size: .94rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

/* ============== PROCESSO ============== */
.section-process { background: var(--bg-soft); }
.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-line {
  position: absolute;
  top: 55px;
  left: 12%; right: 12%;
  height: 3px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
  z-index: 0;
}
.process-line span {
  display: block;
  height: 100%;
  background: var(--navy);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.8s var(--ease) .3s;
}
.process-steps.in .process-line span { transform: scaleX(1); }
.step {
  position: relative;
  z-index: 1;
  padding: 32px 26px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step-num {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink-4);
  border: 2px solid var(--line);
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.process-steps.in .step-num {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 6px 16px rgba(20, 28, 82, 0.35);
}
.process-steps.in .step:nth-of-type(1) .step-num { transition-delay: .3s; }
.process-steps.in .step:nth-of-type(2) .step-num { transition-delay: .8s; }
.process-steps.in .step:nth-of-type(3) .step-num { transition-delay: 1.3s; }
.process-steps.in .step:nth-of-type(4) .step-num { transition-delay: 1.8s; }
.step h3 {
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 10px;
}
.step p { font-size: .94rem; color: var(--ink-3); line-height: 1.6; }

/* ============== TRABALHOS (galeria) ============== */
.section-work { background: var(--white); }
.work-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 18px;
}
.work-item {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-soft);
  text-align: left;
  box-shadow: var(--shadow-sm);
}
.work-item:nth-child(1) { grid-row: span 2; }
.work-item:nth-child(4) { grid-column: span 2; }
.work-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease), filter .6s var(--ease);
}
.work-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 16, 51, .78) 100%);
  transition: opacity .5s var(--ease);
}
.work-item:hover img { transform: scale(1.06); }
.work-chip {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(11, 16, 51, .2);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
}
.work-chip::before { content: ''; }
.work-cap {
  position: absolute;
  left: 20px; right: 20px; bottom: 18px;
  z-index: 2;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -.01em;
  transform: translateY(6px);
  transition: transform .5s var(--ease);
}
.work-item:hover .work-cap { transform: translateY(0); }
.work-item:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; }

/* Lightbox */
.lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
  display: none;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(7, 11, 38, .88); backdrop-filter: blur(6px); }
.lightbox figure { max-width: min(1100px, 88vw); animation: lb-in .4s var(--ease); }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 16px; }
.lightbox figcaption { margin-top: 14px; text-align: center; color: rgba(255, 255, 255, .85); font-weight: 500; }
@keyframes lb-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.lb-btn {
  position: fixed;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.lb-btn:hover { background: rgba(255, 255, 255, .24); transform: scale(1.06); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; margin-top: -25px; }
.lb-next { right: 22px; top: 50%; margin-top: -25px; }

/* ============== AUDIENCE ============== */
.section-audience { background: var(--bg-soft); }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.audience-card {
  --spot-rgb: 43, 53, 148;
  text-align: center;
  padding: 44px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.audience-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.audience-icon {
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.audience-icon svg { width: 30px; height: 30px; }
.audience-card:hover .audience-icon { background: var(--brand); color: #fff; transform: scale(1.06); }
.audience-card h3 {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 10px;
}
.audience-card p { font-size: .95rem; color: var(--ink-3); line-height: 1.6; }
.audience-note {
  margin: 36px auto 0;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-2);
}
.audience-note img { border-radius: 3px; box-shadow: 0 0 0 1px rgba(12, 18, 48, .1); }
.audience-note img + img { margin-left: -4px; }

/* ============== FAQ ============== */
.section-faq { background: var(--white); }
.faq-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.faq-grid .section-head { position: sticky; top: 110px; margin-bottom: 0; }
.faq-grid .section-head h2 { margin-bottom: 28px; }
.faq-list { display: grid; gap: 14px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.faq-item[open] { background: var(--white); box-shadow: var(--shadow-sm); border-color: rgba(43, 53, 148, .2); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--brand-soft);
  flex-shrink: 0;
  transition: background .3s var(--ease), transform .4s var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--brand);
  transition: transform .4s var(--ease), background .3s var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--brand); transform: rotate(180deg); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding: 0 24px 22px; }
.faq-item[open] .faq-a { animation: faq-in .45s var(--ease); }
.faq-a p { font-size: .98rem; color: var(--ink-3); line-height: 1.68; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ============== CTA ============== */
.section-cta { padding: 80px 0; background: var(--bg); }
.cta-card {
  background:
    radial-gradient(circle at 88% -20%, rgba(var(--flow-rgb), .38), transparent 55%),
    radial-gradient(circle at 0% 120%, rgba(169, 146, 209, .22), transparent 50%),
    var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 60px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: background .8s var(--ease);
}
.cta-content { position: relative; }
.cta-card h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 600;
  color: #fff;
  margin: 12px 0 30px;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-aside { display: grid; place-items: center; }

/* Mostrador de termóstato */
.dial {
  position: relative;
  width: 210px; height: 210px;
  display: grid;
  place-items: center;
  animation: float-slow 7s ease-in-out infinite;
}
.dial-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from var(--angle), var(--ice), var(--violet), var(--heat), transparent 75%, var(--ice));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9px));
  animation: spin-angle 5s linear infinite;
  filter: drop-shadow(0 0 14px rgba(var(--flow-rgb), .5));
}
.dial-ticks {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: repeating-conic-gradient(rgba(255, 255, 255, .28) 0 1.2deg, transparent 1.2deg 10deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 calc(100% - 7px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 calc(100% - 7px));
}
.dial-face {
  position: relative;
  width: 138px; height: 138px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03) 60%);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, .25);
}
.dial-icon {
  position: absolute;
  top: 26px;
  width: 20px; height: 20px;
  color: var(--flow);
  transition: opacity .4s var(--ease), color .6s var(--ease);
}
.dial-face strong {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1;
  margin-top: 12px;
}
.dial-face sup { font-size: .9rem; font-weight: 500; margin-left: 2px; color: rgba(255, 255, 255, .7); vertical-align: super; }

/* ============== CONTACTO ============== */
.section-contact { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: start;
}
.contact-text { position: sticky; top: 110px; }
.contact-text h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 20px;
}
.contact-text > p {
  font-size: 1.05rem;
  color: var(--ink-3);
  margin-bottom: 32px;
}
.contact-info {
  list-style: none;
  display: grid;
  gap: 18px;
  padding: 24px;
  background: var(--bg-soft);
  border-radius: var(--radius);
}
.contact-info li { display: flex; align-items: flex-start; gap: 16px; }
.contact-info li > div { display: flex; flex-direction: column; gap: 2px; }
.info-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--brand);
  flex-shrink: 0;
}
.info-icon svg { width: 18px; height: 18px; }
.contact-info strong {
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-4);
  font-weight: 600;
}
.contact-info span, .contact-info a {
  font-size: 1rem;
  color: var(--ink-2);
  font-weight: 500;
}
.contact-info a { color: var(--brand); transition: color .25s var(--ease); }
.contact-info a:hover { color: var(--ice-600); }

/* Formulário → WhatsApp */
.quote-form {
  position: relative;
  padding: 38px 34px 30px;
  background: var(--grad-temp) top / 100% 4px no-repeat, var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}
.form-head { margin-bottom: 6px; }
.form-head h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 4px;
}
.form-head p { font-size: .93rem; color: var(--ink-3); }
.field { position: relative; }
.field input,
.field textarea,
.select-trigger {
  width: 100%;
  padding: 24px 16px 10px;
  font: inherit;
  font-size: .98rem;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  outline: none;
  resize: vertical;
  appearance: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.field textarea { min-height: 120px; }
.field label,
.field .field-label {
  position: absolute;
  left: 17px; top: 17px;
  font-size: .98rem;
  color: var(--ink-4);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .25s var(--ease), color .25s var(--ease);
}
.field input:focus,
.field textarea:focus,
.select-trigger:focus-visible,
.field-select.open .select-trigger {
  border-color: var(--brand);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(43, 53, 148, .1);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field-select .field-label {
  transform: translateY(-9px) scale(.76);
  color: var(--brand);
  font-weight: 600;
}
.field-select::after {
  content: '';
  position: absolute;
  right: 18px; top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.field-select.open::after { transform: translateY(-25%) rotate(-135deg); border-color: var(--brand); }

/* Dropdown de serviço (substitui o select nativo) */
.field-select { z-index: 2; }
.field-select.open { z-index: 30; }
.select-trigger {
  display: block;
  min-height: 60px;
  text-align: left;
  cursor: pointer;
  padding-right: 46px;
}
.select-value { display: block; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.select-value.placeholder { color: var(--ink-4); }
.select-menu {
  list-style: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  max-height: 380px;
  overflow-y: auto;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  outline: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.98);
  transform-origin: top center;
  transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s linear .25s;
}
.field-select.open .select-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s;
}
.select-menu li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.select-menu li.active { background: var(--bg-soft); color: var(--brand); }
.select-menu li[aria-selected="true"] { background: var(--brand-soft); color: var(--navy); font-weight: 600; }
.select-menu li[aria-selected="true"]::after {
  content: '';
  margin-left: auto;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--navy);
}
.opt-icon {
  --tone: var(--ice-600);
  --tone-soft: var(--ice-soft);
  width: 32px; height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--tone);
  background: var(--tone-soft);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.opt-icon[data-tone="heat"] { --tone: var(--heat-600); --tone-soft: var(--heat-soft); }
.opt-icon[data-tone="lime"] { --tone: var(--lime-600); --tone-soft: var(--lime-soft); }
.opt-icon[data-tone="brand"] { --tone: var(--brand); --tone-soft: var(--brand-soft); }
.opt-icon svg { width: 17px; height: 17px; }
.select-menu li.active .opt-icon,
.select-menu li[aria-selected="true"] .opt-icon { background: var(--tone); color: #fff; }

.field.error input,
.field.error .select-trigger { border-color: var(--heat); box-shadow: 0 0 0 4px rgba(255, 60, 87, .1); animation: shake .4s; }
@keyframes shake {
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
.form-note { font-size: .8rem; color: var(--ink-4); text-align: center; }

/* ============== FOOTER ============== */
.footer {
  background: var(--navy-950);
  color: rgba(246, 248, 252, 0.7);
  padding: 80px 0 32px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-temp);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-logo { width: 160px; height: auto; }
.footer-brand p {
  margin-top: 20px;
  max-width: 400px;
  font-size: .95rem;
  line-height: 1.6;
}
.footer-eco {
  margin-top: 26px;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: rgba(255, 255, 255, .03);
}
.footer-eco span {
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.footer-eco img { width: 150px; height: auto; }
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.footer-cols h4 {
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
}
.footer-cols a, .footer-cols > div > span {
  display: block;
  font-size: .95rem;
  color: rgba(246, 248, 252, 0.65);
  margin-bottom: 10px;
  transition: color .25s var(--ease);
}
.footer-cols a:hover { color: var(--ice); }
.contact-line {
  display: flex !important;
  align-items: center;
  gap: 10px;
  width: fit-content;
}
.contact-line svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: var(--ice);
}
.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  color: rgba(246, 248, 252, 0.62);
}
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(246, 248, 252, 0.6);
  transition: color .25s var(--ease);
}
.footer-credit:hover { color: var(--ice); }
.footer-credit-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
  transition: transform .3s var(--ease);
}
.footer-credit:hover .footer-credit-logo { transform: scale(1.18); }

/* ============== FLOATING WHATSAPP ============== */
.float-wpp {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  z-index: 99;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.float-wpp::before,
.float-wpp::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  opacity: .55;
  animation: wpp-pulse 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.float-wpp::after { animation-delay: 1.2s; }
.float-wpp:hover {
  transform: scale(1.08) rotate(-6deg);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.6);
}
@keyframes wpp-pulse {
  0%   { transform: scale(1);   opacity: .55; }
  80%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ============== BACK TO TOP ============== */
.back-to-top {
  position: fixed;
  bottom: 96px; right: 30px;
  width: 48px; height: 48px;
  background: var(--white);
  color: var(--brand);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 99;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), visibility .3s var(--ease), transform .3s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(43, 53, 148, 0.35);
}
.back-to-top svg { width: 20px; height: 20px; }

/* ============== HERO: entrada só em CSS (não depende do JS) ============== */
.hero-in { animation: hero-rise .9s var(--ease) both; }
.hero-img.hero-in, .hero-chip.hero-in { animation: hero-fade .9s var(--ease) both, float-slow 8s ease-in-out infinite; }
.hero-img-2.hero-in { animation: hero-fade .9s var(--ease) .15s both, float-slow 8s ease-in-out -4s infinite reverse; }
.hero-chip.hero-in { animation: hero-fade .9s var(--ease) .3s both, float-slow 9s ease-in-out -2s infinite; }
.hero-sub.hero-in { animation-delay: .08s; }
.hero-cta.hero-in { animation-delay: .16s; }
.hero-meta.hero-in, .thermo.hero-in { animation-delay: .24s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes hero-fade { from { opacity: 0; } }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Animações contínuas pausadas enquanto a secção está fora do ecrã (poupa CPU/bateria) */
.marquee.anim-off .marquee-track,
.ribbon.anim-off .ribbon-track,
.eco-card.anim-off::before,
.diff-media.anim-off .dot,
.work-grid.anim-off .work-chip::before,
.cta-card.anim-off .dial,
.cta-card.anim-off .dial-ring {
  animation-play-state: paused;
}

/* ============== REVEAL ANIMATION ============== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
/* Cards em grelha entram em cascata */
.services-grid .reveal:nth-child(3n+2), .diff-grid .reveal:nth-child(2n),
.process-steps .reveal:nth-of-type(2), .audience-grid .reveal:nth-child(2) { transition-delay: .08s; }
.services-grid .reveal:nth-child(3n), .process-steps .reveal:nth-of-type(3),
.audience-grid .reveal:nth-child(3) { transition-delay: .16s; }
.process-steps .reveal:nth-of-type(4) { transition-delay: .24s; }

/* ============== SUGESTÃO DE IDIOMA ============== */
.lang-toast {
  position: fixed;
  left: 20px; bottom: 22px;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 440px;
  padding: 12px 12px 12px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(20, 28, 82, .18);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .45s var(--ease);
}
.lang-toast.show { opacity: 1; transform: none; pointer-events: auto; }
.lang-toast img { border-radius: 3px; box-shadow: 0 0 0 1px rgba(12, 18, 48, .1); flex-shrink: 0; }
.lang-toast p { font-size: .88rem; line-height: 1.35; color: var(--ink-2); }
.lang-toast-cta {
  flex-shrink: 0;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.lang-toast-cta:hover { background: var(--brand); transform: translateY(-1px); }
.lang-toast-close {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--ink-4);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.lang-toast-close:hover { background: var(--bg-soft); color: var(--ink); }
.lang-toast-close svg { width: 16px; height: 16px; }
@media (max-width: 720px) {
  .lang-toast { left: 12px; right: 84px; bottom: 16px; flex-wrap: wrap; gap: 8px 10px; padding: 12px; }
  .lang-toast p { flex: 1 1 140px; }
}

/* ============== RESPONSIVE ============== */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .nav-link { font-size: .88rem; }
}

@media (max-width: 980px) {
  .hero { padding: 120px 0 60px; }
  .hero-inner { display: flex; flex-direction: column; gap: 28px; }
  .hero-content { display: contents; }
  .hero-title { order: 2; margin-bottom: 0; }
  .hero-visual { order: 3; height: 440px; width: 100%; align-self: stretch; }
  .hero-sub { order: 4; margin-bottom: 0; }
  .hero-cta { order: 5; margin-bottom: 0; }
  .hero-meta { order: 6; gap: 12px; justify-content: space-between; width: 100%; align-self: stretch; padding-top: 24px; }
  .hero-meta div { flex: 1 1 0; }
  .hero-meta strong { font-size: 1.6rem; }
  .hero-meta span { font-size: .7rem; letter-spacing: .04em; }

  .about-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media { aspect-ratio: auto; max-width: 620px; }
  .about-img { aspect-ratio: 4/3.2; }
  .about-img img { object-position: 60% 62%; }
  .about-stamp { position: relative; top: auto; right: auto; width: fit-content; margin: -42px 18px 0 auto; animation: none; }
  .contact-text, .faq-grid .section-head { position: static; top: auto; }

  .services-grid, .process-steps, .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-line { display: none; }

  .brands-layout { grid-template-columns: 1fr; gap: 28px; }
  .brands-divider { width: 100%; height: 5px; transform-origin: left; }
  .brands-divider.reveal { transform: scaleX(0); }
  .brands-divider.reveal.in { transform: scaleX(1); }

  .diff-layout { grid-template-columns: 1fr; }
  .diff-media { aspect-ratio: 16/10; }

  .work-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 220px 220px; }
  .work-item:nth-child(1) { grid-row: auto; grid-column: span 2; }
  .work-item:nth-child(4) { grid-column: auto; }

  .cta-card { grid-template-columns: 1fr; padding: 44px 32px; gap: 28px; }
  .cta-aside { display: none; }

  .hero-cta { flex-direction: column; align-items: stretch; width: 100%; align-self: stretch; }
  .hero-cta .btn { width: 100%; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .lang { margin-left: auto; }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 26px 24px 30px;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow);
    gap: 18px;
    margin: 0;
    animation: menu-in .35s var(--ease);
  }
  .nav.open .nav-link { font-size: 1.1rem; }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 720px) {
  .btn-header { display: none; }
  .logo-img { height: 42px; }
  .header.scrolled .logo-img { height: 38px; }

  .section { padding: 72px 0; }
  .section-services { padding-bottom: 0; }
  .ribbon { margin-top: 56px; padding-bottom: 72px; }
  .ribbon img { width: 220px; height: 165px; border-radius: 16px; }
  .section-head { margin-bottom: 44px; }

  .hero-visual { height: 400px; }
  .hero-img-1 { width: 80%; height: 74%; }
  .hero-img-2 { width: 58%; height: 42%; }
  .hero-chip { display: none; }
  .thermo { right: 8px; bottom: 18px; padding: 8px 16px 8px 8px; gap: 10px; }
  .thermo-text strong { font-size: 1.15rem; }

  .services-grid, .process-steps, .audience-grid, .diff-grid {
    grid-template-columns: 1fr;
  }

  .eco-card-inner { padding: 30px 26px; }
  .brand-row { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .brand-row:hover { transform: translateY(-3px); }

  .work-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
  .work-item:nth-child(1) { grid-column: auto; }

  .cta-actions .btn { width: 100%; }
  .quote-form { padding: 30px 22px 24px; }

  .footer-cols { grid-template-columns: 1fr; gap: 28px; }

  .float-wpp { width: 54px; height: 54px; bottom: 18px; right: 18px; }
  .float-wpp svg { width: 24px; height: 24px; }
  .back-to-top { width: 44px; height: 44px; bottom: 84px; right: 23px; }

  .marquee { margin-top: 60px; }
  .marquee-track { font-size: 1.15rem; gap: 24px; animation-duration: 24s; }
}

@media (max-width: 400px) {
  .lang-toggle #langCode { display: none; }
  .hero-meta strong { font-size: 1.35rem; }
}

@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; }
  .airflow { display: none; }
}
