/* ==========================================================================
   MEGA REFRIGERAÇÃO — tema próprio
   Direção: grafite escuro + laranja de conversão + ciano técnico.
   Layout mais editorial, cantos retos, foco em dor do cliente e intenção
   de busca. Carregado depois de site.css e sobrescreve os tokens.
   ========================================================================== */

:root {
  --ink: #0b1220;
  --ink-soft: #2b3a4d;
  --txt: #0b1220;
  --txt-soft: #334155;
  --txt-mute: #5b6b7f;
  --txt-dim: #6b7a8d;

  --bg: #ffffff;
  --bg-alt: #f1f5f9;
  --bg-soft: #e2e8f0;
  --surface: #ffffff;

  --line: #e2e8f0;
  --line-700: #cbd5e1;
  --line-800: #e2e8f0;

  --brand: #0e7490;
  --brand-600: #0b5c72;
  --brand-300: #22b8d4;

  --green: #0d9488;
  --green-dark: #0f766e;
  --green-soft: rgba(13, 148, 136, .12);

  --accent: #f97316;
  --accent-600: #ea580c;
  --accent-soft: rgba(249, 115, 22, .14);

  --emerald-400: #0d9488;
  --emerald-500: #0d9488;
  --emerald-600: #0f766e;
  --amber-400: #d97706;
  --red-500: #b42318;

  --wrap: 1200px;
  --r-sm: 4px;
  --r: 6px;
  --r-lg: 10px;
  --r-full: 999px;
  --shadow: 0 12px 30px -20px rgba(2, 10, 20, .5);
  --shadow-md: 0 18px 40px -24px rgba(2, 10, 20, .55);
  --shadow-lg: 0 28px 60px -30px rgba(2, 10, 20, .6);
  --blue-tint: #ecfeff;
  --ring: 0 0 0 4px rgba(249, 115, 22, .22);
}

body {
  font-family: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

/* ---------- Header escuro ---------- */
.hdr {
  background: #0b1220;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: none;
}
.hdr-in { min-height: 76px; }
.brand-txt b { color: #fff; letter-spacing: -.02em; }
.brand-txt span { color: rgba(255, 255, 255, .62); }
.brand img { filter: drop-shadow(0 0 6px rgba(34, 184, 212, .35)); }
.nav > a, .nav .nav-link { color: rgba(255, 255, 255, .82); font-weight: 600; }
.nav > a:hover, .nav .nav-link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-item[open] > summary { color: #fff; background: rgba(255, 255, 255, .08); }
.dropdown {
  background: #0f1a2b; border-color: rgba(255, 255, 255, .1);
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .8);
}
.dropdown a { color: rgba(255, 255, 255, .86); }
.dropdown a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.dropdown .dropdown-all { color: #ffb27a; border-top-color: rgba(255, 255, 255, .12); }
.burger { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff; }
.hdr-cta .btn-tel { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.hdr-cta .btn-tel:hover { background: #fff; color: #0b1220; border-color: #fff; }
.hdr-cta .btn-wpp { background: var(--accent); box-shadow: 0 10px 24px -12px rgba(249, 115, 22, .9); }
.hdr-cta .btn-wpp:hover { background: var(--accent-600); }

/* ---------- Botões ---------- */
.btn { border-radius: var(--r); font-weight: 700; }
.btn-wpp { background: var(--accent); color: #fff; }
.btn-wpp:hover { background: var(--accent-600); color: #fff; }
.btn-tel { background: #fff; color: var(--ink); border-color: var(--line-700); }
.btn-tel:hover { color: var(--accent-600); border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--brand-600); border-color: var(--brand); }
.btn-ghost:hover { background: var(--blue-tint); color: var(--brand-600); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }

.eyebrow { color: var(--accent-600); letter-spacing: .14em; }
.sec-dark { background: #0b1220; }
.sec-dark .eyebrow { color: #ffb27a; }
.cta-band { background: #0b1220; border-radius: var(--r-lg); }

/* ---------- Hero da home ---------- */
.m-hero {
  position: relative; overflow: hidden; color: #fff;
  background: #0b1220;
  padding: clamp(2.4rem, 5vw, 4.6rem) 0;
}
.m-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 70% 20%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 0%, transparent 72%);
}
.m-hero::after {
  content: ""; position: absolute; right: -180px; top: -160px; z-index: 0;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, .22), transparent 62%);
}
.m-hero .wrap { position: relative; z-index: 1; }
.m-hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.8rem, 4vw, 3.4rem); align-items: center;
}
.m-hero__tag {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: #ffb27a; border: 1px solid rgba(249, 115, 22, .4);
  background: rgba(249, 115, 22, .1);
  padding: .4rem .85rem; border-radius: var(--r-sm); margin-bottom: 1.1rem;
}
.m-hero h1 {
  color: #fff; font-size: clamp(2rem, 4.4vw, 3.15rem); line-height: 1.08;
  letter-spacing: -.03em; margin-bottom: .9rem;
}
.m-hero h1 em { color: var(--accent); font-style: normal; }
.m-hero .m-lead { color: rgba(255, 255, 255, .88); font-size: clamp(1.05rem, 1.7vw, 1.22rem); max-width: 54ch; }
.m-hero .m-sub { color: rgba(255, 255, 255, .62); font-size: 1rem; max-width: 54ch; }
.m-hero .btn-row { margin: 1.5rem 0 1.3rem; }
.m-hero .btn-tel { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); }
.m-hero .btn-tel:hover { background: #fff; color: #0b1220; border-color: #fff; }
.m-hero .chip-row { margin-top: .3rem; }

.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .86rem; font-weight: 700; color: rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .05);
  padding: .38rem .75rem; border-radius: var(--r-sm);
}
.chip svg { width: 15px; height: 15px; color: #5eead4; }

/* ---------- Painel de diagnóstico ---------- */
.diag {
  background: #fff; color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .6);
  border-top: 4px solid var(--accent);
  border-radius: var(--r-lg);
  padding: clamp(1.3rem, 2.4vw, 1.9rem);
  box-shadow: 0 34px 80px -34px rgba(0, 0, 0, .8);
}
.diag h2 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); margin-bottom: .25rem; }
.diag__intro { font-size: .95rem; color: var(--txt-mute); margin-bottom: 1rem; }
.diag label { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--txt-mute); margin-bottom: .4rem; }
.diag select {
  width: 100%; min-height: 54px; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: .55rem .9rem; border: 2px solid var(--line-700); border-radius: var(--r-sm); background: #fff;
}
.diag select:focus { border-color: var(--accent); outline: none; box-shadow: var(--ring); }
.diag__result {
  margin-top: 1rem; border-left: 4px solid var(--brand-300);
  background: var(--blue-tint); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: .95rem 1rem; display: none;
}
.diag__result.is-on { display: block; }
.diag__result h3 { font-size: 1rem; margin-bottom: .35rem; color: var(--brand-600); }
.diag__result p { font-size: .95rem; color: var(--ink-soft); margin: 0 0 .5rem; }
.diag__result ul { margin: 0 0 .7rem; padding-left: 1.1rem; }
.diag__result li { font-size: .93rem; color: var(--ink-soft); margin-bottom: .2rem; }
.diag__cta { display: flex; gap: .6rem; flex-wrap: wrap; }
.diag__cta .btn { min-height: 46px; padding: .6rem 1.05rem; font-size: .95rem; }
.diag__note { margin: .9rem 0 0; font-size: .8rem; color: var(--txt-dim); display: flex; gap: .4rem; align-items: center; }
.diag__note svg { width: 15px; height: 15px; color: var(--green); }

@media (max-width: 920px) {
  .m-hero__grid { grid-template-columns: 1fr; }
  .diag { max-width: 560px; }
}

/* ---------- Caixa de resposta direta (GEO / IA) ---------- */
.answer {
  border: 1px solid var(--line); border-left: 5px solid var(--accent);
  background: #fff; border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: clamp(1.4rem, 3vw, 2rem);
}
.answer__label {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-600); margin-bottom: .6rem;
}
.answer h2 { margin-bottom: .7rem; }
.answer > p { font-size: 1.08rem; color: var(--ink-soft); }
.answer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem; margin-top: 1.4rem;
}
.answer-item { border-top: 2px solid var(--line); padding-top: .8rem; }
.answer-item b { display: block; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-600); margin-bottom: .25rem; }
.answer-item span { color: var(--ink-soft); font-size: 1rem; }

/* ---------- Dores do cliente ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 960px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pain-grid { grid-template-columns: 1fr; } }
.pain-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.4rem 1.3rem; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.pain-card__sintoma {
  display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start;
  font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-600); background: var(--accent-soft);
  padding: .28rem .6rem; border-radius: var(--r-sm); margin-bottom: .7rem;
}
.pain-card h3 { font-size: 1.12rem; margin-bottom: .6rem; }
.pain-card dl { margin: 0 0 .9rem; }
.pain-card dt { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--txt-dim); margin-top: .6rem; }
.pain-card dd { margin: .15rem 0 0; font-size: .96rem; color: var(--ink-soft); }
.pain-card .svc-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 800; color: var(--brand-600); text-decoration: none; font-size: 1rem;
}
.pain-card .svc-link svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .18s ease; }
.pain-card:hover .svc-link svg { transform: translateX(4px); }
.pain-card .svc-link:hover { color: var(--accent-600); }

/* ---------- Intenções de busca (acordeão) ---------- */
.intent-list { display: grid; gap: .7rem; max-width: 980px; margin-inline: auto; }
.intent-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
}
.intent-item[open] { border-color: var(--brand-300); box-shadow: var(--shadow); }
.intent-item > summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: .8rem;
  padding: 1.05rem 1.25rem; font-weight: 700; font-size: 1.06rem; color: var(--ink);
}
.intent-item > summary::-webkit-details-marker { display: none; }
.intent-item > summary .q {
  flex-shrink: 0; width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: var(--r-sm); background: var(--bg-alt); color: var(--brand-600);
  font-size: .8rem; font-weight: 900;
}
.intent-item > summary::after {
  content: "+"; margin-left: auto; color: var(--accent-600); font-size: 1.4rem; font-weight: 700; line-height: 1;
}
.intent-item[open] > summary::after { content: "−"; }
.intent-answer { padding: 0 1.25rem 1.2rem; }
.intent-answer p { margin: 0 0 .6rem; color: var(--ink-soft); font-size: 1.03rem; }
.intent-answer p:last-child { margin-bottom: 0; }
.intent-answer strong { color: var(--ink); }

/* ---------- Comparativo ---------- */
.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
.compare table { width: 100%; border-collapse: collapse; min-width: 620px; background: #fff; }
.compare th, .compare td { text-align: left; padding: .95rem 1.1rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
.compare thead th { background: #0b1220; color: #fff; font-size: .84rem; letter-spacing: .08em; text-transform: uppercase; }
.compare thead th:nth-child(2) { color: #7dd3fc; }
.compare thead th:nth-child(3) { color: #ffb27a; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 700; color: var(--ink); }

/* ---------- Figuras de página (imagens para indexação) ---------- */
.fig-page {
  margin: 0; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; background: var(--bg-alt);
}
.fig-page img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.fig-page figcaption { font-size: .9rem; color: var(--txt-mute); padding: .7rem 1rem; }
.fig-galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 860px) { .fig-galeria { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .fig-galeria { grid-template-columns: 1fr; } }

/* ---------- KPIs ---------- */
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.kpi { text-align: center; padding: 1.1rem .8rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.kpi b { display: block; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; color: var(--brand-600); letter-spacing: -.02em; }
.kpi span { font-size: .9rem; color: var(--txt-mute); font-weight: 600; }

/* ---------- Ajustes em componentes herdados ---------- */
.svc-card, .diff-card, .review-card, .equip-tile, .card { border-radius: var(--r-lg); }
.svc-card__icon, .diff-card__ico { border-radius: var(--r-sm); }
.svc-card__icon { background: var(--blue-tint); border-color: #bae6fd; color: var(--brand-600); }
.svc-card__img {
  width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--r-sm); margin-bottom: 1.05rem; background: var(--bg-alt); display: block;
}
.svc-card.is-green .svc-card__icon { background: var(--green-soft); color: var(--green-dark); }
.diff-card__ico { background: var(--blue-tint); color: var(--brand-600); border-radius: var(--r-sm); }
.diff-card.is-green .diff-card__ico { background: var(--green-soft); color: var(--green-dark); }
.review-card .avatar { border-radius: var(--r-sm); background: #0b1220; }
.rating-badge .big { color: var(--accent-600); }
.trust { background: #0b1220; border-radius: var(--r-lg); }
.trust b { color: #fff; }
.step-num { border-radius: var(--r-sm); background: var(--blue-tint); color: var(--brand-600); }
.faq details { border-radius: var(--r-lg); }
.faq summary::after { background: var(--accent-soft); color: var(--accent-600); border-radius: var(--r-sm); }
.ft { background: #0b1220; border-top: 0; color: rgba(255, 255, 255, .8); }
.ft h4 { color: #fff; }
.ft strong { color: #fff; }
.ft a, .ft li { color: rgba(255, 255, 255, .72); }
.ft a:hover { color: #fff; }
.ft-calls { border-bottom-color: rgba(255, 255, 255, .12); }
.ft-calls-title { color: #fff; }
.ft-calls-sub { color: rgba(255, 255, 255, .6); }
.ft-tel { color: #ffb27a; }
.ft-info, .ft-about, .ft-legal { border-top-color: rgba(255, 255, 255, .12); }
.ft-about strong { color: #fff; }
.ft-info-list svg { color: #5eead4; }
.ft-info-list b { color: #fff; }
.ft-info-list li { color: rgba(255, 255, 255, .72); }
.ft-seals span { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #fff; }
.ft-seals svg { color: #5eead4; }
.suprema .pill { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .8); }
.suprema a { color: #ffb27a; }
.ft-legal { color: rgba(255, 255, 255, .55); }
.ft-calls .btn-tel { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.ft-calls .btn-tel:hover { background: #fff; color: #0b1220; }

@media (prefers-reduced-motion: reduce) {
  .pain-card { transition: none; }
}
