/* ==========================================================================
   CarreAir Climatização — estilos globais
   ========================================================================== */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --red: #e8141b;
  --red-600: #c40e14;
  --red-50: #fff0f0;
  --red-100: #ffdcdc;

  --ink: #0f1a2a;
  --ink-2: #1c2940;
  --text: #28334a;
  --muted: #5b6679;
  --line: #e3e8ef;
  --tint: #f1f6fb;
  --tint-2: #e4eef8;
  --white: #fff;
  --wa: #25d366;
  --wa-600: #1ebe5a;

  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgb(15 26 42 / .06), 0 2px 8px rgb(15 26 42 / .05);
  --shadow: 0 10px 30px -10px rgb(15 26 42 / .18);
  --shadow-lg: 0 30px 60px -20px rgb(15 26 42 / .28);

  --header-h: 80px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; letter-spacing: -.02em; }
p { text-wrap: pretty; }
h1, h2 { text-wrap: balance; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

.visually-hidden {
  position: absolute !important; 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: 16px; top: -100px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.text-red { color: var(--red); }
.nowrap { white-space: nowrap; }

/* ---------- Botões e links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.35em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { font-size: 1.0625rem; padding: .95em 1.6em; }
.btn--block { width: 100%; }
.btn--primary { background: var(--red); color: var(--white); box-shadow: 0 10px 24px -10px rgb(232 20 27 / .7); }
.btn--primary:hover { background: var(--red-600); }
.btn--ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: var(--white); color: var(--red-600); }
.btn--light:hover { background: var(--red-50); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgb(255 255 255 / .35); }
.btn--outline-light:hover { border-color: var(--white); background: rgb(255 255 255 / .06); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--font-head); font-weight: 600; color: var(--red); text-decoration: none;
}
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head); font-weight: 600; font-size: .8125rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--red);
  margin-bottom: 14px;
}

/* ---------- Seções ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section--tint { background: var(--tint); }
.section__head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section__title { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 700; }
.section__lead { margin-top: 16px; font-size: 1.0625rem; color: var(--muted); }

/* ==========================================================================
   Cabeçalho
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgb(255 255 255 / .86);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgb(15 26 42 / .5); }
.header:focus { outline: none; } /* recebe o foco após "Voltar ao topo" */
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.header__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.header__brand img { height: 58px; width: auto; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word__name { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; color: var(--red); }
.brand-word__sub { margin-top: 4px; font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; display: block; padding: 8px 12px;
  font-family: var(--font-head); font-weight: 500; font-size: .98rem; color: var(--ink-2); text-decoration: none;
  border-radius: 8px; transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--red); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--red); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { padding: .7em 1.2em; }

.header__toggle {
  display: none; place-items: center; width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; color: var(--ink);
}
.header__toggle .icon { width: 24px; height: 24px; }
.header__toggle .icon--close { display: none; }
.header__toggle[aria-expanded="true"] .icon--open { display: none; }
.header__toggle[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 1023px) {
  :root { --header-h: 70px; }
  .header__brand img { height: 52px; }
  .header__toggle { display: grid; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px var(--gutter) 28px;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgb(15 26 42 / .35);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s var(--ease); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: 14px 4px; font-size: 1.125rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link::after { display: none; }
  .nav__cta { width: 100%; padding: 1em; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(40px, 7vw, 96px) clamp(64px, 8vw, 112px);
  background:
    radial-gradient(900px 500px at 88% 10%, var(--tint-2), transparent 70%),
    radial-gradient(700px 480px at -10% 100%, var(--red-50), transparent 70%),
    var(--white);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero__title { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.04; }
.hero__eyebrow { display: flex; width: fit-content; line-height: 1.4; }
@media (max-width: 1023px) { .hero__eyebrow { margin-inline: auto; } }
.hero__lead { margin-top: 22px; max-width: 34em; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 40px; padding-top: 28px;
  border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted);
}
.hero__trust li { display: flex; align-items: center; gap: 10px; }
.hero__trust .icon { color: var(--red); width: 22px; height: 22px; }
.hero__trust strong { color: var(--ink); font-weight: 600; }

/* Foto circular com o "crescente" vermelho, inspirado no logo */
.hero__media { position: relative; width: min(100%, 520px); justify-self: center; }
.hero__orb { position: relative; aspect-ratio: 1; border-radius: 50%; }
.hero__orb::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: -26px 4px 0 0 var(--red);
  transform: rotate(-18deg);
}
.hero__orb::after {
  content: ""; position: absolute; inset: -22px; border-radius: 50%;
  border: 1.5px solid rgb(232 20 27 / .45);
}
.hero__orb img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover;
  border-radius: 50%; box-shadow: var(--shadow-lg);
}

.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 16px;
  background: rgb(255 255 255 / .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow); line-height: 1.25;
}
.float-card strong { display: block; font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); }
.float-card small { display: block; font-size: .8rem; color: var(--muted); }
.float-card__icon {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--red-50); color: var(--red);
}
.float-card--top { top: 6%; right: -4%; }
.float-card--bottom { bottom: 4%; left: -8%; }
.float-card--top .float-card__icon { background: var(--tint-2); color: #2b6cb0; }

@media (prefers-reduced-motion: no-preference) {
  .hero__content > * { animation: rise .7s var(--ease) both; }
  .hero__content > :nth-child(2) { animation-delay: .06s; }
  .hero__content > :nth-child(3) { animation-delay: .12s; }
  .hero__content > :nth-child(4) { animation-delay: .18s; }
  .hero__content > :nth-child(5) { animation-delay: .24s; }
  .hero__media { animation: fade 1s .15s var(--ease) both; }
  .float-card--top { animation: bob 6s ease-in-out infinite; }
  .float-card--bottom { animation: bob 6s 1.5s ease-in-out infinite; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade { from { opacity: 0; transform: scale(.97); } }
@keyframes bob { 50% { transform: translateY(-8px); } }

@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__content { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .hero__media { width: min(86%, 440px); margin-top: 8px; }
}
@media (max-width: 560px) {
  .hero__actions .btn { width: 100%; }
  .hero__trust { flex-direction: column; align-items: center; gap: 10px; }
  .hero__orb::before { box-shadow: -16px 3px 0 0 var(--red); }
  .hero__orb::after { inset: -14px; }
  .float-card { padding: 8px 12px 8px 8px; gap: 8px; }
  .float-card__icon { width: 34px; height: 34px; border-radius: 10px; }
  .float-card strong { font-size: .92rem; }
  .float-card small { display: none; }
  .float-card--top { right: -6%; }
  .float-card--bottom { left: -6%; }
}

/* ==========================================================================
   Marcas
   ========================================================================== */
.brands { border-block: 1px solid var(--line); background: var(--white); }
.brands__inner { display: flex; align-items: center; gap: 24px 48px; padding-block: 32px; }
.brands__title {
  flex: 0 0 auto; max-width: 15em;
  font-family: var(--font-body); font-size: .92rem; font-weight: 500; line-height: 1.45; letter-spacing: 0; color: var(--muted);
}
.brands__list { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.brands__list img { height: 34px; width: auto; opacity: .75; transition: opacity .2s; }
.brands__list li:nth-child(2) img, .brands__list li:nth-child(4) img { height: 48px; }
.brands__list img:hover { opacity: 1; }
@media (max-width: 860px) {
  .brands__inner { flex-direction: column; text-align: center; }
  .brands__title { max-width: none; }
  .brands__list { justify-content: center; width: 100%; }
  .brands__list img { height: 26px; }
  .brands__list li:nth-child(2) img, .brands__list li:nth-child(4) img { height: 38px; }
}

/* ==========================================================================
   Quem somos
   ========================================================================== */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 820 / 900; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about__badge {
  position: absolute; right: -18px; bottom: 32px;
  display: grid; place-items: center; align-content: center; width: 132px; aspect-ratio: 1; border-radius: 50%;
  background: var(--red); color: var(--white); text-align: center; box-shadow: 0 18px 40px -12px rgb(232 20 27 / .6);
  outline: 8px solid var(--white);
}
.about__badge-year { font-family: var(--font-head); font-size: 2.1rem; font-weight: 700; line-height: 1; order: 2; }
.about__badge-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; opacity: .9; order: 1; margin-bottom: 4px; }
.about__content > p { margin-top: 18px; font-size: 1.0625rem; }
.about__content .section__title { margin-bottom: 4px; }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.feature { display: flex; gap: 14px; }
.feature__icon {
  display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px;
  background: var(--red-50); color: var(--red);
}
.feature h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: -.01em; margin-top: 2px; }
.feature p { margin-top: 4px; font-size: .94rem; color: var(--muted); line-height: 1.55; }

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; margin-inline: auto; width: 100%; }
  .about__media img { aspect-ratio: 4 / 3.4; object-position: 60% 20%; }
  .about__badge { right: 12px; bottom: -28px; width: 112px; }
  .about__badge-year { font-size: 1.8rem; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Soluções
   ========================================================================== */
.solutions__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
.solution {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.solution:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.solution__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint-2); }
.solution__media img, .solution__video { width: 100%; height: 100%; object-fit: cover; }
.solution__media img { object-position: 50% 35%; }
/* Vídeo inteiro à vista (logo e frase do vídeo não são cortados);
   as laterais são preenchidas com o próprio quadro, desfocado */
.solution__media--video { position: relative; isolation: isolate; background: #2b2320; }
.solution__media--video::before {
  content: ""; position: absolute; inset: -30px; z-index: -1;
  background: url("../img/empresa-poster.webp") center / cover no-repeat;
  filter: blur(20px) brightness(.75) saturate(1.1);
}
.solution__media--video .solution__video { object-fit: contain; }
.solution__body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 40px clamp(24px, 3vw, 36px) 32px; }
.solution__icon {
  position: absolute; top: -28px; left: clamp(24px, 3vw, 36px);
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: var(--red); color: var(--white); box-shadow: 0 12px 24px -10px rgb(232 20 27 / .7);
}
.solution__icon .icon { width: 26px; height: 26px; }
.solution h3 { font-size: 1.6rem; font-weight: 700; }
.solution__body > p { margin-top: 10px; color: var(--muted); }
.checklist { display: grid; gap: 10px; margin: 20px 0 26px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; }
.checklist .icon { margin-top: 3px; width: 18px; height: 18px; color: var(--red); stroke-width: 2.6; }
.solution .link-arrow { margin-top: auto; }

@media (max-width: 860px) {
  .solutions__grid { grid-template-columns: 1fr; max-width: 600px; margin-inline: auto; }
}

/* ==========================================================================
   Produtos
   ========================================================================== */
.products__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product {
  display: flex; flex-direction: column; padding: 24px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.product:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.product__brand { height: 20px; width: auto; align-self: flex-start; opacity: .8; }
.product__brand--tall { height: 30px; margin-block: -5px; }
.product__media {
  display: grid; place-items: center; aspect-ratio: 16 / 11; margin: 20px 0;
  padding: 16px; border-radius: 16px;
  background: radial-gradient(circle at 50% 40%, var(--white), var(--tint) 70%);
}
.product__media img { width: 100%; transition: transform .4s var(--ease); }
.product:hover .product__media img { transform: scale(1.05); }
.product__name { font-size: 1.2rem; font-weight: 600; }
.product__desc { margin: 8px 0 18px; font-size: .94rem; color: var(--muted); line-height: 1.55; }
.product .link-arrow { margin-top: auto; }

@media (max-width: 1023px) { .products__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .products__grid { grid-template-columns: 1fr; } .product__media { aspect-ratio: 2 / 1; } }

/* Faixa de parcelamento */
.promo {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; gap: 24px;
  margin-top: clamp(48px, 6vw, 72px); padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 52px);
  border-radius: var(--radius-lg); color: var(--white);
  background: linear-gradient(120deg, var(--red) 0%, #b80d13 100%);
  box-shadow: 0 30px 60px -30px rgb(232 20 27 / .7);
}
.promo__flake {
  position: absolute; z-index: -1; right: -40px; top: 50%; width: 280px; height: 280px; transform: translateY(-50%);
  fill: none; stroke: rgb(255 255 255 / .14); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round;
}
.promo__icon {
  display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 18px;
  background: rgb(255 255 255 / .16);
}
.promo__icon .icon { width: 30px; height: 30px; }
.promo__text { flex: 1; }
.promo__title { font-family: var(--font-head); font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.promo__sub { margin-top: 6px; opacity: .88; }
@media (max-width: 760px) {
  .promo { flex-direction: column; text-align: center; }
  .promo .btn { width: 100%; }
}

/* ==========================================================================
   Portfólio
   ========================================================================== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery__item {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  aspect-ratio: 1; overflow: hidden; border-radius: 16px; background: var(--tint-2);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(15 26 42 / .55), transparent 55%);
  opacity: 0; transition: opacity .3s;
}
.gallery__item .icon {
  position: absolute; z-index: 1; right: 14px; bottom: 14px; width: 40px; height: 40px; padding: 9px;
  border-radius: 50%; background: var(--white); color: var(--red);
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease);
}
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.06); }
.gallery__item:hover::after, .gallery__item:focus-visible::after,
.gallery__item:hover .icon, .gallery__item:focus-visible .icon { opacity: 1; transform: none; }
@media (max-width: 1023px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } .gallery__item { border-radius: 12px; } }

.section__actions { display: flex; justify-content: center; margin-top: 40px; }
@media (min-width: 641px) { .gallery--3 { grid-template-columns: repeat(3, 1fr); } }

/* Lightbox */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; padding: 0; border: 0;
  background: transparent; color: var(--white); overflow: hidden;
}
.lightbox::backdrop { background: rgb(8 13 22 / .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__figure { display: grid; justify-items: center; gap: 14px; padding: 72px 72px 56px; max-width: 100%; }
.lightbox__img {
  max-width: min(100%, 860px); max-height: calc(100dvh - 180px); width: auto; height: auto;
  border-radius: 14px; box-shadow: 0 30px 80px rgb(0 0 0 / .5); user-select: none;
}
.lightbox__caption { font-size: .95rem; opacity: .85; text-align: center; max-width: 40em; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px;
  border: 0; border-radius: 50%; cursor: pointer; color: var(--white);
  background: rgb(255 255 255 / .12); transition: background-color .2s;
}
.lightbox__btn:hover { background: rgb(255 255 255 / .24); }
.lightbox__btn .icon { width: 24px; height: 24px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; top: 28px; left: 24px; font-size: .9rem; opacity: .7; }
@media (max-width: 640px) {
  .lightbox__figure { padding: 72px 12px 96px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
}

/* ==========================================================================
   Contato
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 40px); align-items: start; }

.contact__info {
  overflow: hidden; border-radius: var(--radius-lg);
  background: var(--ink); color: rgb(255 255 255 / .82);
}
.contact__photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.contact__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 15%; }
.contact__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink) 4%, transparent 60%); }
.contact__photo-caption {
  position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 16px;
  font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; line-height: 1.2; color: var(--white);
}
.contact__list { display: grid; gap: 22px; padding: 24px 28px 8px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list a { color: var(--white); text-decoration: none; font-weight: 500; overflow-wrap: break-word; }
.contact__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact__list span:not(.contact__label):not(.contact__icon) { color: var(--white); }
.contact__icon {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: rgb(255 255 255 / .08); color: #ff6b6f;
}
.contact__icon--wa { color: var(--wa); }
.contact__label { display: block; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: rgb(255 255 255 / .6); }

.social { padding: 20px 28px 28px; margin-top: 12px; border-top: 1px solid rgb(255 255 255 / .1); }
.social__list { display: flex; gap: 10px; margin-top: 12px; }
.social__list a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgb(255 255 255 / .08); color: var(--white); transition: background-color .2s, transform .2s var(--ease);
}
.social__list a:hover { background: var(--red); transform: translateY(-2px); }

.contact__form-wrap { border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form { padding: clamp(24px, 4vw, 44px); }
.form__title { font-size: 1.6rem; font-weight: 700; }
.form__intro { margin: 8px 0 28px; color: var(--muted); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .93rem; color: var(--ink); padding: 0; }
.req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fbfcfe;
  font-size: 1rem; line-height: 1.4; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6679' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px;
}
.field input::placeholder, .field textarea::placeholder { color: #98a1b1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c9d2de; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); background: var(--white); box-shadow: 0 0 0 4px rgb(232 20 27 / .12);
}
.field [aria-invalid="true"] { border-color: var(--red); background: var(--red-50); }
.field__error { min-height: 0; font-size: .85rem; color: var(--red-600); font-weight: 500; }
.field__error:empty { display: none; }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: 10px; padding: 13px 15px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fbfcfe; font-weight: 500; transition: border-color .2s, background-color .2s, color .2s;
}
.choice span .icon { color: var(--muted); }
.choice:hover span { border-color: #c9d2de; }
.choice input:checked + span { border-color: var(--red); background: var(--red-50); color: var(--ink); }
.choice input:checked + span .icon { color: var(--red); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px rgb(232 20 27 / .18); }
.field--choice.is-invalid .choice span { border-color: var(--red); }

.form .btn--block { margin-top: 6px; }
.form__status { margin-top: 14px; font-size: .92rem; color: var(--muted); text-align: center; }
.form__status:empty { display: none; }
.form__status a { color: var(--red); font-weight: 600; }

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .form__row, .choices { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Rodapé
   ========================================================================== */
.footer { background: var(--ink); color: rgb(255 255 255 / .7); padding-top: clamp(56px, 7vw, 88px); font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer__logo { display: inline-block; padding: 10px; border-radius: 22px; background: var(--white); }
.footer__logo img { height: 84px; width: auto; }
.footer__about p { margin-top: 18px; max-width: 30em; }
.footer__title { font-size: 1rem; font-weight: 600; color: var(--white); letter-spacing: 0; margin-bottom: 16px; }
.footer__col ul:not(.social__list) { display: grid; gap: 10px; }
.footer a { text-decoration: none; overflow-wrap: break-word; transition: color .2s; }
.footer a:hover { color: var(--white); }
.social__list--footer { margin-top: 20px; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-block: 24px; border-top: 1px solid rgb(255 255 255 / .1); font-size: .875rem;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } .footer__bottom { justify-content: center; text-align: center; } }

/* ==========================================================================
   WhatsApp flutuante
   ========================================================================== */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: var(--white); box-shadow: 0 12px 28px -8px rgb(37 211 102 / .7);
  transition: transform .2s var(--ease), background-color .2s;
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { background: var(--wa-600); transform: scale(1.06); }
@media (prefers-reduced-motion: no-preference) {
  .wa-float::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa);
    animation: pulse 2.4s ease-out infinite;
  }
}
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
@media (max-width: 560px) { .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; } }

/* ==========================================================================
   Animação de entrada (ativada pelo JS; sem JS o conteúdo aparece normalmente)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* ==========================================================================
   Páginas internas: topo com breadcrumb
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(48px, 7vw, 96px);
  background:
    radial-gradient(800px 420px at 85% 0%, var(--tint-2), transparent 70%),
    radial-gradient(600px 360px at 0% 100%, var(--red-50), transparent 70%),
    var(--white);
  border-bottom: 1px solid var(--line);
}
/* crescente vermelho inspirado no logo */
.page-hero::before, .page-hero::after {
  content: ""; position: absolute; z-index: -1; top: 50%; border-radius: 50%; aspect-ratio: 1;
}
.page-hero::before {
  right: -120px; width: 400px; transform: translateY(-50%) rotate(-18deg);
  box-shadow: -26px 4px 0 0 var(--red);
}
.page-hero::after {
  right: -142px; width: 444px; transform: translateY(-50%);
  border: 1.5px solid rgb(232 20 27 / .35);
}
.page-hero__inner { max-width: 1200px; }
.page-hero__title {
  max-width: 17em; font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.08;
}
.page-hero__lead { max-width: 38em; margin-top: 18px; font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: .88rem; color: var(--muted); list-style: none; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #b6bdc9; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb [aria-current="page"] { color: var(--red); font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
  .page-hero__inner > * { animation: rise .6s var(--ease) both; }
  .page-hero__inner > :nth-child(2) { animation-delay: .05s; }
  .page-hero__inner > :nth-child(3) { animation-delay: .1s; }
}
/* o crescente só aparece quando sobra espaço à direita do texto */
@media (max-width: 1279px) {
  .page-hero::before, .page-hero::after { display: none; }
}

/* Etapas do atendimento */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; padding: 0; list-style: none; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.step__num {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px;
  background: var(--red); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  box-shadow: 0 10px 20px -10px rgb(232 20 27 / .7);
}
.step h3 { font-size: 1.2rem; font-weight: 600; }
.step p { margin-top: 8px; font-size: .95rem; color: var(--muted); line-height: 1.55; }
@media (max-width: 1023px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .steps { grid-template-columns: 1fr; } }

/* Cartões das redes sociais */
.social-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; max-width: 640px; margin-inline: auto; }
.social-card {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 32px 20px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--white);
  text-align: center; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.social-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.social-card__icon {
  display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 12px; border-radius: 50%;
  background: var(--red-50); color: var(--red); transition: background-color .25s, color .25s;
}
.social-card__icon .icon { width: 28px; height: 28px; }
.social-card:hover .social-card__icon { background: var(--red); color: var(--white); }
.social-card__name { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.social-card__handle { font-size: .92rem; color: var(--muted); }
@media (max-width: 640px) { .social-cards { grid-template-columns: 1fr; } }

/* Faixa de chamada para contato (final das páginas) */
.cta-section { padding-bottom: clamp(64px, 8vw, 112px); }
.section--tint + .cta-section { padding-top: clamp(64px, 8vw, 112px); }
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-lg);
  background:
    radial-gradient(520px 260px at 100% 0%, rgb(232 20 27 / .38), transparent 70%),
    radial-gradient(420px 240px at 0% 100%, rgb(43 108 176 / .22), transparent 70%),
    var(--ink);
  color: rgb(255 255 255 / .75);
}
.cta-band__text { flex: 1 1 420px; }
.cta-band__title { color: var(--white); font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 700; line-height: 1.2; }
.cta-band__text p { margin-top: 10px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) {
  .cta-band { text-align: center; }
  .cta-band__actions, .cta-band__actions .btn { width: 100%; }
}

/* ==========================================================================
   Páginas de conteúdo (split inverter, cassete, empresas)
   ========================================================================== */
.content-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.content-grid__media img, .content-grid__media video {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.content-grid__media--video video { aspect-ratio: 4 / 3; background: #2b2320; }
.prose > * + * { margin-top: 16px; }
.prose p { font-size: 1.0625rem; }
.prose h3 { font-size: 1.25rem; font-weight: 600; margin-top: 28px; }
.prose .checklist { margin: 14px 0 0; }
.prose a:not(.btn) { color: var(--red); font-weight: 600; text-underline-offset: 3px; }
.narrow { max-width: 820px; margin-inline: auto; }
@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr; }
  .content-grid__media { max-width: 520px; margin-inline: auto; width: 100%; }
  .content-grid__media img { aspect-ratio: 4 / 3; }
}

.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.benefit { padding: 28px 24px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.benefit .feature__icon { margin-bottom: 16px; }
.benefit h3 { font-size: 1.15rem; font-weight: 600; }
.benefit p { margin-top: 8px; font-size: .95rem; color: var(--muted); line-height: 1.55; }

/* Tipos de ar-condicionado (cartões com link) */
.types__title { text-align: center; font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 700; margin: clamp(48px, 6vw, 72px) 0 24px; }
.types { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.type-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow-sm); text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.type-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.type-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.type-card__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.type-card__title { font-size: 1.2rem; font-weight: 600; }
.type-card__text { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.type-card .link-arrow { margin-top: auto; padding-top: 6px; }

/* Perguntas frequentes */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item { border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.section--tint .faq__item { border-color: transparent; box-shadow: var(--shadow-sm); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px;
  list-style: none; cursor: pointer; font-family: var(--font-head); font-size: 1.08rem; font-weight: 600; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--red-50); color: var(--red); font-size: 1.35rem; line-height: 1; transition: transform .25s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--red); }
.faq__answer { padding: 0 22px 20px; color: var(--muted); }
.faq__answer p + p { margin-top: 10px; }
.faq__answer a { color: var(--red); font-weight: 600; }

/* Página 404 */
.notfound { min-height: 100dvh; display: grid; place-items: center; text-align: center; background: var(--tint); }
.notfound__inner { max-width: 640px; }
.notfound__logo { height: 120px; width: auto; margin: 0 auto 28px; }
.notfound__actions { justify-content: center; }
