/* ============================================================
   HM Climatização — Hora Magnética Unipessoal LDA
   Sistema de Design
   ============================================================ */

:root {
  /* Cores */
  --color-primary: #2f6df6;
  --color-primary-dark: #1d4fd7;
  --color-primary-light: #6c9bff;
  --color-accent: #f97316;
  --color-accent-dark: #ea580c;
  --color-accent-light: #fb923c;
  --color-navy-900: #0b1220;
  --color-navy-800: #101a2e;
  --color-navy-700: #16233d;
  --color-navy-100: #e8edf5;
  --color-bg: #ffffff;
  --color-bg-alt: #f6f8fb;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --color-success: #16a34a;
  --color-error: #dc2626;
  --color-whatsapp: #25d366;

  /* Tipografia */
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Espaçamento */
  --container: 1180px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  /* Sombras */
  --shadow-sm: 0 1px 3px rgba(11, 18, 32, .08);
  --shadow-md: 0 8px 24px rgba(11, 18, 32, .10);
  --shadow-lg: 0 20px 50px rgba(11, 18, 32, .16);
  --shadow-glow: 0 8px 32px rgba(249, 115, 22, .35);

  /* Transições */
  --transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; color: var(--color-navy-900); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow { max-width: 820px; }

.text-gradient {
  background: linear-gradient(120deg, var(--color-primary), #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(249, 115, 22, .45); }
.btn--ghost {
  background: transparent;
  color: var(--color-navy-900);
  border: 1.5px solid var(--color-border);
}
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn--sm { padding: 10px 20px; font-size: .88rem; }
.btn--lg { padding: 16px 34px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.page--shop .header { position: relative; }
.header--scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: var(--shadow-glow);
}
.logo__text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-navy-900);
  line-height: 1.1;
}
.logo__text em { font-style: normal; color: var(--color-primary); }
.logo__text small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.nav { display: flex; align-items: center; gap: 32px; }
.nav__link {
  font-weight: 500;
  font-size: .95rem;
  color: var(--color-text);
  position: relative;
  transition: color .2s;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: width .3s;
}
.nav__link:hover { color: var(--color-primary); }
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }
.nav__link.active { color: var(--color-primary); }
.nav__cta { margin-left: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--color-navy-900);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  background: linear-gradient(180deg, #fdfbf8 0%, #f6f8fb 100%);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11,18,32,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,18,32,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.hero__glow--1 {
  width: 480px; height: 480px;
  top: -120px; right: -80px;
  background: rgba(47, 111, 246, .16);
  animation: float 9s ease-in-out infinite;
}
.hero__glow--2 {
  width: 380px; height: 380px;
  bottom: -100px; left: -100px;
  background: rgba(56, 189, 248, .12);
  animation: float 11s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-28px) scale(1.05); }
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 64px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--color-navy-800);
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}
.badge__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .45); }
  50% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); }
}

.hero__title {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}
.hero__subtitle {
  font-size: 1.12rem;
  color: var(--color-text-muted);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 52px; }

.hero__stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat__number {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--color-navy-900);
  line-height: 1;
}
.stat__label { font-size: .84rem; color: var(--color-text-muted); }
.stat__divider { width: 1px; height: 44px; background: var(--color-border); }

/* Card visual do hero */
.hero__visual { display: flex; justify-content: center; }
.hero-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 30px;
  animation: float 7s ease-in-out infinite;
}
.hero-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--color-border);
  margin-bottom: 20px;
}
.hero-card__icon {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: rgba(47, 111, 246, .12);
  color: var(--color-primary);
  flex-shrink: 0;
}
.hero-card__header strong { display: block; font-family: var(--font-display); font-size: .98rem; color: var(--color-navy-900); }
.hero-card__header small { color: var(--color-text-muted); font-size: .8rem; }
.hero-card__check {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(22, 163, 74, .12);
  color: var(--color-success);
}
.hero-card__list { display: flex; flex-direction: column; gap: 13px; margin-bottom: 24px; }
.hero-card__list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: .92rem;
  color: var(--color-text);
  font-weight: 500;
}
.check {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(22, 163, 74, .12);
  position: relative;
}
.check::after {
  content: '';
  position: absolute;
  left: 6px; top: 5px;
  width: 5px; height: 8px;
  border: solid var(--color-success);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.check--light { background: rgba(255, 255, 255, .16); }
.check--light::after { border-color: #fff; }
.hero-card__footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px dashed var(--color-border);
}
.hero-card__footer p { font-size: .86rem; color: var(--color-text-muted); }
.hero-card__footer strong { color: var(--color-navy-900); }
.avatar-stack { display: flex; }
.avatar {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  background: linear-gradient(135deg, var(--color-navy-700), var(--color-navy-900));
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  margin-left: -10px;
}
.avatar:first-child { margin-left: 0; }
.avatar:last-child { background: var(--color-primary); }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--color-text-muted);
  border-radius: 100px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
  opacity: .55;
  transition: opacity .2s;
}
.scroll-hint:hover { opacity: 1; }
.scroll-hint span {
  width: 4px; height: 9px;
  border-radius: 4px;
  background: var(--color-primary);
  animation: scrollDown 1.6s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trustbar {
  background: var(--color-navy-900);
  padding: 22px 0;
}
.trustbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.trustbar p {
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  font-weight: 600;
}
.trustbar__items {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.trustbar__items span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  color: rgba(255, 255, 255, .85);
}
.trustbar__items i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* ============================================================
   SEÇÕES
   ============================================================ */
.section { padding: 110px 0; }
.section--alt { background: var(--color-bg-alt); }
.section--dark {
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(47, 111, 246, .14), transparent),
    var(--color-navy-900);
}
.section--dark .section__title,
.section--dark h3 { color: #fff; }
.section--dark .section__subtitle { color: rgba(255, 255, 255, .6); }

.section__head { max-width: 700px; margin: 0 auto 64px; text-align: center; }
.section__tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(249, 115, 22, .1);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.section--dark .section__tag {
  background: rgba(249, 115, 22, .15);
  color: var(--color-accent-light);
}
.section__title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 18px;
}
.section__subtitle { font-size: 1.05rem; color: var(--color-text-muted); }

/* ===== Loja ===== */
.shop-hero {
  position: relative;
  padding: 80px 0 92px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 70% at 88% 10%, rgba(47, 111, 246, .16), transparent),
    linear-gradient(180deg, #fdfbf8 0%, #f6f8fb 100%);
}
.shop-hero__inner { position: relative; max-width: 900px; text-align: center; }
.shop-hero__title {
  max-width: 850px;
  margin: 0 auto 22px;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -.045em;
}
.shop-hero__subtitle {
  max-width: 660px;
  margin: 0 auto 32px;
  color: var(--color-text-muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}
.shop-hero__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.shop-trust {
  display: flex;
  justify-content: center;
  gap: 12px 26px;
  flex-wrap: wrap;
  margin-top: 42px;
  color: var(--color-text-muted);
  font-size: .92rem;
}
.shop-trust span::before { content: '✓'; margin-right: 8px; color: var(--color-success); font-weight: 800; }
.shop-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.shop-benefit {
  padding: 28px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.shop-benefit__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: rgba(47, 111, 246, .1);
  color: var(--color-primary);
}
.shop-benefit h3 { margin-bottom: 10px; font-size: 1.08rem; }
.shop-benefit p { color: var(--color-text-muted); font-size: .94rem; }
.shop-sizing {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 34px 40px;
  border: 1px solid rgba(47, 111, 246, .14);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(47, 111, 246, .07), rgba(56, 189, 248, .11));
}
.shop-sizing h2 { margin-bottom: 10px; font-size: 1.45rem; }
.shop-sizing p { max-width: 760px; color: var(--color-text-muted); }
.shop-sizing .btn { flex-shrink: 0; }
.shop-cta {
  padding: 60px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  background:
    radial-gradient(ellipse 70% 90% at 50% 0%, rgba(47, 111, 246, .2), transparent),
    var(--color-navy-900);
}
.shop-cta h2 { margin-bottom: 14px; color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.shop-cta p { max-width: 620px; margin: 0 auto 26px; color: rgba(255, 255, 255, .72); }
.shop-cta .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.shop-cta .btn--ghost:hover { border-color: #fff; color: #fff; }

/* ===== Features (Sobre) ===== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 64px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(47, 111, 246, .35);
}
.feature-card__icon {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(47, 111, 246, .12), rgba(47, 111, 246, .05));
  color: var(--color-primary);
  margin-bottom: 24px;
}
.feature-card h3 { font-size: 1.18rem; margin-bottom: 12px; }
.feature-card p { font-size: .94rem; color: var(--color-text-muted); }

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: linear-gradient(135deg, var(--color-navy-900), var(--color-navy-700));
  border-radius: var(--radius-lg);
  padding: 46px 40px;
  box-shadow: var(--shadow-lg);
}
.stats-band__item { text-align: center; }
.stats-band .stat__number {
  font-size: 2.5rem;
  background: linear-gradient(120deg, var(--color-primary-light), #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stats-band .stat__label { color: rgba(255, 255, 255, .65); }

/* ===== Serviços ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 64px;
}
.service-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}
.service-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .07);
  border-color: rgba(47, 111, 246, .45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}
.service-card__icon {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.service-card__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, .08);
  line-height: 1;
}
.service-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.service-card > p {
  font-size: .93rem;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 20px;
}
.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 28px;
  flex: 1;
}
.service-card__list li {
  position: relative;
  padding-left: 20px;
  font-size: .88rem;
  color: rgba(255, 255, 255, .78);
}
.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 2px;
  border-radius: 2px;
  background: var(--color-primary);
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  color: var(--color-primary-light);
  transition: gap .25s;
}
.service-card__link:hover { gap: 13px; }

/* ===== Chave na mão ===== */
.turnkey {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
  background: linear-gradient(135deg, rgba(47, 111, 246, .16), rgba(47, 111, 246, .04));
  border: 1px solid rgba(47, 111, 246, .25);
  border-radius: var(--radius-lg);
  padding: 56px;
}
.turnkey h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 16px; }
.turnkey p { color: rgba(255, 255, 255, .68); margin-bottom: 26px; }
.turnkey__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.turnkey__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .85);
  font-size: .95rem;
  font-weight: 500;
}
.turnkey__visual { display: flex; justify-content: center; }
.turnkey__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  width: 250px; height: 250px;
  justify-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .16), transparent),
    linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  box-shadow: var(--shadow-glow), inset 0 0 0 10px rgba(255, 255, 255, .1);
  animation: float 8s ease-in-out infinite;
}

/* ===== Processo ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 26px 30px;
  text-align: center;
  transition: var(--transition);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step__number {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: var(--shadow-glow);
}
.step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.step p { font-size: .9rem; color: var(--color-text-muted); }
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 60px;
  right: -26px;
  width: 26px;
  border-top: 2px dashed var(--color-border);
}

/* ===== FAQ ===== */
.accordion { display: flex; flex-direction: column; gap: 14px; }
.accordion__item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.accordion__item[open] {
  border-color: rgba(47, 111, 246, .4);
  box-shadow: var(--shadow-md);
}
.accordion__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-navy-900);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__icon {
  flex-shrink: 0;
  position: relative;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(47, 111, 246, .1);
  transition: var(--transition);
}
.accordion__icon::before,
.accordion__icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.accordion__icon::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
.accordion__icon::after { width: 2px; height: 12px; transform: translate(-50%, -50%); }
.accordion__item[open] .accordion__icon { background: var(--color-primary); }
.accordion__item[open] .accordion__icon::before,
.accordion__item[open] .accordion__icon::after { background: #fff; }
.accordion__item[open] .accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.accordion__content { padding: 0 26px 24px; }
.accordion__content p { color: var(--color-text-muted); font-size: .95rem; }

/* ===== Contacto ===== */
.contacto {
  background:
    radial-gradient(ellipse 50% 40% at 15% 20%, rgba(47, 111, 246, .07), transparent),
    var(--color-bg-alt);
}
.contacto__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contacto__info .section__title,
.contacto__info .section__subtitle { text-align: left; }
.contacto__info .section__head { margin: 0; }
.contacto__info .section__tag { margin-bottom: 18px; }
.contacto__info .section__subtitle { margin-bottom: 40px; }

.contacto__list { display: flex; flex-direction: column; gap: 24px; }
.contacto__list li { display: flex; align-items: center; gap: 18px; }
.contacto__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.contacto__list small {
  display: block;
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 600;
}
.contacto__list a, .contacto__list span:not(.contacto__icon) {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-navy-900);
  transition: color .2s;
}
.contacto__list a:hover { color: var(--color-primary); }

/* Formulário */
.form {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.form h3 { font-size: 1.35rem; margin-bottom: 6px; }
.form__subtitle { font-size: .9rem; color: var(--color-text-muted); margin-bottom: 28px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__group { margin-bottom: 18px; position: relative; }
.form__group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-navy-900);
  margin-bottom: 7px;
}
.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  font: inherit;
  font-size: .94rem;
  color: var(--color-text);
  background: var(--color-bg-alt);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  transition: var(--transition);
  appearance: none;
}
.form__group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.4' 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 16px center;
  padding-right: 44px;
}
.form__group textarea { resize: vertical; min-height: 110px; }
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47, 111, 246, .12);
}
.form__group.invalid input,
.form__group.invalid select,
.form__group.invalid textarea {
  border-color: var(--color-error);
  background: #fef2f2;
}
.form__error {
  display: none;
  font-size: .78rem;
  color: var(--color-error);
  margin-top: 5px;
  font-weight: 500;
}
.form__group.invalid .form__error { display: block; }
.form__group--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}
.form__group--checkbox input {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
  cursor: pointer;
}
.form__group--checkbox label {
  font-size: .84rem;
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  margin: 0;
}

/* Estado de envio */
.btn__spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn.is-loading .btn__label { opacity: .65; }
.btn.is-loading .btn__spinner { display: inline-block; }
.btn.is-loading { pointer-events: none; }

.form__success {
  display: none;
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  animation: fadeIn .4s ease;
}
.form__success.show { display: flex; }
.form__success svg { color: var(--color-success); margin-bottom: 18px; }
.form__success h4 { font-size: 1.25rem; margin-bottom: 10px; }
.form__success p { color: var(--color-text-muted); font-size: .95rem; }
@keyframes fadeIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: scale(1); } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-navy-900);
  color: rgba(255, 255, 255, .65);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 80px 24px 56px;
}
.footer .logo__text { color: #fff; }
.footer .logo__text small { color: rgba(255, 255, 255, .45); }
.footer__col--brand p { font-size: .92rem; margin: 20px 0 24px; max-width: 300px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .75);
  transition: var(--transition);
}
.footer__social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: translateY(-3px);
}
.footer__col h4 {
  color: #fff;
  font-size: .95rem;
  margin-bottom: 22px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 13px; }
.footer__col ul a {
  font-size: .92rem;
  transition: color .2s, padding-left .2s;
}
.footer__col ul a:hover { color: var(--color-primary-light); padding-left: 5px; }
.footer__contact li { font-size: .92rem; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; }
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .84rem;
}
.footer__credits { color: rgba(255, 255, 255, .4); }

/* ============================================================
   ELEMENTOS FLUTUANTES
   ============================================================ */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: #fff;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
  transition: var(--transition);
  animation: float 5s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }

.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 96px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-navy-900);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* ============================================================
   ANIMAÇÕES DE ENTRADA
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--delay, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

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

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 52px; }
  .hero__visual { order: -1; }
  .hero-card { max-width: 480px; animation: none; }
  .hero { padding-top: 120px; min-height: auto; }
  .features { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px; }
  .step:not(:last-child)::after { display: none; }
  .turnkey { grid-template-columns: 1fr; padding: 44px; }
  .turnkey__visual { order: -1; }
  .contacto__grid { grid-template-columns: 1fr; gap: 48px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .shop-benefits { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1200px) {
  .page--shop .header__inner { height: 68px; }
  .page--shop .hamburger { display: flex; }
  .page--shop .nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    padding: 20px 24px 26px;
    transform: translateY(-130%);
    transition: transform .4s cubic-bezier(.22, 1, .36, 1);
    z-index: 99;
  }
  .page--shop .nav.open { transform: translateY(0); }
  .page--shop .nav__link { padding: 12px 4px; font-size: 1.02rem; border-bottom: 1px solid var(--color-bg-alt); }
  .page--shop .nav__link::after { display: none; }
  .page--shop .nav__cta { margin: 12px 0 0; text-align: center; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 76px; }
  .header__inner { height: 68px; }
  .hamburger { display: flex; }
  .nav {
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    padding: 20px 24px 26px;
    transform: translateY(-130%);
    transition: transform .4s cubic-bezier(.22, 1, .36, 1);
    z-index: 99;
  }
  .nav.open { transform: translateY(0); }
  .nav__link { padding: 12px 4px; font-size: 1.02rem; border-bottom: 1px solid var(--color-bg-alt); }
  .nav__link::after { display: none; }
  .nav__cta { margin: 12px 0 0; text-align: center; }

  .section { padding: 76px 0; }
  .hero__stats { gap: 20px; }
  .stat__divider { display: none; }
  .features, .services-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; gap: 34px; padding: 38px 28px; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .form { padding: 28px 22px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; padding: 56px 24px 40px; }
  .footer__bottom-inner { justify-content: center; text-align: center; }
  .shop-hero { padding: 56px 0 70px; }
  .shop-sizing { grid-template-columns: 1fr; padding: 28px 24px; }
  .shop-sizing .btn { justify-self: start; }
  .shop-cta { padding: 44px 24px; }
  .whatsapp-float { right: 18px; bottom: 18px; width: 52px; height: 52px; }
  .back-to-top { right: 20px; bottom: 84px; }
  .scroll-hint { display: none; }
}

/* ============================================================
   SOBRE — Carta de apresentação
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 64px;
}
.about-letter {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 44px 46px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.about-letter::before {
  content: '';
  position: absolute;
  top: 0; left: 46px; right: 46px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--color-primary), #38bdf8);
}
.about-letter__greeting {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-navy-900);
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.about-letter p {
  color: var(--color-text-muted);
  font-size: .97rem;
  margin-bottom: 16px;
}
.about-letter p strong { color: var(--color-navy-900); font-weight: 600; }
.about-letter__closing {
  font-style: italic;
  color: var(--color-text) !important;
  padding-top: 6px;
}
.about-signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px dashed var(--color-border);
}
.about-signature__avatar {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}
.about-signature strong {
  display: block;
  font-family: var(--font-display);
  color: var(--color-navy-900);
  font-size: 1rem;
}
.about-signature span {
  display: block;
  font-size: .86rem;
  color: var(--color-primary);
  font-weight: 600;
  margin: 2px 0;
}
.about-signature small {
  font-size: .8rem;
  color: var(--color-text-muted);
}

.about-side__card {
  background: linear-gradient(160deg, var(--color-navy-900), var(--color-navy-700));
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 110px;
}
.about-side__card h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 22px;
}
.about-side__list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 28px;
}
.about-side__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .89rem;
  color: rgba(255, 255, 255, .82);
  line-height: 1.45;
}
.about-side__list .check { margin-top: 1px; }

/* Responsivo do Sobre */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-side__card { position: static; }
}
@media (max-width: 768px) {
  .about-letter { padding: 32px 24px; }
  .about-letter::before { left: 24px; right: 24px; }
  .about-signature { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   IDENTIDADE VISUAL OFICIAL — HM Climatização
   Frio (azul/ciano) + Calor (laranja) — como no logo
   ============================================================ */

/* Logo no header */
.logo__img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 12px;
  transition: transform .3s ease;
}
.logo:hover .logo__img { transform: scale(1.06); }

/* Logo completo no footer (card branco sobre fundo escuro) */
.logo__card {
  display: inline-block;
  background: #fff;
  border-radius: var(--radius);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
}
.logo__card img { width: 190px; height: auto; }

.footer__col--brand p strong { color: #fff; }

/* Grade de 4 serviços */
.services-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Ícones dos serviços: frio (azul/ciano) e calor (laranja) */
.service-card__icon--cold {
  background: linear-gradient(135deg, #2f6df6, #38bdf8);
  box-shadow: 0 8px 32px rgba(47, 111, 246, .4);
}
.service-card__icon--hot {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  box-shadow: 0 8px 32px rgba(249, 115, 22, .4);
}

/* Links dos cards quentes usam laranja no hover */
.service-card__link:hover { color: #fff; }

/* Selo de especialidades no hero-card */
.hero-card__icon {
  background: linear-gradient(135deg, rgba(47, 111, 246, .12), rgba(56, 189, 248, .08));
  color: var(--color-primary);
}

/* Responsivo da grade de 4 */
@media (max-width: 1200px) {
  .services-grid--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .services-grid--4 { grid-template-columns: 1fr; }
  .logo__img { width: 44px; height: 44px; }
  .logo__card img { width: 160px; }
}


/* ============================================================
   Melhorias: acessibilidade, performance e polimento
   ============================================================ */

/* Skip link (acessibilidade por teclado) */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--color-navy-900);
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* Foco visível e consistente em toda a página */
:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}
.nav__link:focus-visible,
.btn:focus-visible,
.whatsapp-float:focus-visible,
.back-to-top:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

/* Respeitar preferência de movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Animação de entrada do link ativo na navegação */
.nav__link { position: relative; }
.nav__link.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

/* Seleção de texto com a cor da marca */
::selection {
  background: var(--color-primary);
  color: #fff;
}
