/**
 * RefrioTech — estilos (layout navy / ciano / verde WA)
 */

:root {
  --navy: #06263b;
  --navy-deep: #031923;
  --blue: #0a8dd8;
  --cyan: #39c2d7;
  --wa: #08b53f;
  --wa-dark: #069933;
  --bg: #f4f8fb;
  --white: #ffffff;
  --text: #0b2537;
  --muted: #536675;
  --border: #d9e4ec;
  --radius: 16px;
  --shadow: 0 14px 36px rgba(6, 38, 59, 0.1);
  --header-h: 88px;
  --container: 1200px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section { padding: 5rem 0; }
.section-muted { background: var(--bg); }

.section-tag {
  margin: 0 0 0.7rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-tag.light { color: var(--cyan); }

.section-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--navy);
}

.section-title.light { color: var(--white); }

.section-lead {
  margin: 0;
  color: var(--muted);
  max-width: 640px;
}

.section-lead.light { color: rgba(255,255,255,0.78); }

.section-head { margin-bottom: 2.25rem; }
.section-head.centered { text-align: center; }
.section-head.centered .section-lead { margin-inline: auto; }

.pill {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(57, 194, 215, 0.18);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 0;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn:focus-visible,
.carousel-btn:focus-visible,
.nav a:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgba(57, 194, 215, 0.55);
  outline-offset: 2px;
}

.btn-wa {
  background: var(--wa);
  color: #fff !important;
}

.btn-wa:hover {
  background: var(--wa-dark);
  color: #fff !important;
}

.nav .btn-wa,
.nav a.btn-wa {
  color: #fff !important;
}

.btn-wa-outline {
  background: transparent;
  border: 1.5px solid #fff;
  color: #fff !important;
}

.btn-wa-outline:hover {
  background: var(--wa);
  border-color: var(--wa);
  color: #fff !important;
  transform: none;
}

.btn-lg { min-height: 54px; padding-inline: 1.5rem; font-size: 0.92rem; }
.btn-nav { min-height: 42px; font-size: 0.78rem; text-transform: uppercase; }

.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0a3a57, #06263b);
  color: rgba(255,255,255,0.55);
  font-weight: 700;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(6, 38, 59, 0.08);
  border-color: var(--border);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img {
  width: 190px;
  max-width: min(190px, 48vw);
  height: auto;
  display: block;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero — fullbleed + texto à esquerda (padrão LEVALOG) */
.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  background: linear-gradient(
    90deg,
    rgba(6, 38, 59, 0.94) 0%,
    rgba(6, 38, 59, 0.78) 40%,
    rgba(6, 38, 59, 0.35) 72%,
    rgba(6, 38, 59, 0.12) 100%
  );
}

.hero-copy-inner {
  width: min(100% - 2.5rem, var(--container));
  margin: 0 auto;
  padding: 4.5rem 0;
  text-align: left;
}

.hero-copy-inner .pill,
.hero-copy-inner h1,
.hero-copy-inner .hero-text,
.hero-copy-inner .btn {
  text-align: left;
}

.hero-copy-inner h1 {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.12;
  font-weight: 800;
}

.hero-text {
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  max-width: 36ch;
}

/* Equipamentos */
.equip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.equip-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.equip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(6, 38, 59, 0.14);
}

.equip-media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.equip-media img,
.equip-media .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equip-body { padding: 1.15rem 1.2rem 1.45rem; }

.equip-body h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  color: var(--cyan);
}

.equip-body p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.btn-outline-equip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.55rem 1.1rem;
  border: 1.5px solid var(--wa);
  border-radius: 999px;
  background: transparent;
  color: var(--wa);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-outline-equip i {
  font-size: 1.05em;
}

.btn-outline-equip:hover {
  background: var(--wa);
  border-color: var(--wa);
  color: #fff;
  transform: none;
}

/* Depoimentos — card 100% padrão Great Power + carrossel 3/vez */
.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 1.25rem;
  will-change: transform;
}

.depoimento-card {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  background: var(--white);
  border-radius: 14px;
  padding: 1.5rem 1.4rem 1.55rem;
  box-shadow: 0 6px 18px rgba(6, 38, 59, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-height: 100%;
  box-sizing: border-box;
}

.depoimento-topo {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.depoimento-foto {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid rgba(6, 38, 59, 0.12);
}

.depoimento-foto-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
  border: none;
}

.depoimento-pessoa {
  min-width: 0;
}

.depoimento-nome {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.depoimento-cargo {
  margin: 0.2rem 0 0.45rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
}

.depoimento-estrelas {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  color: #fbbc04;
  font-size: 0.92rem;
  line-height: 1;
}

.depoimento-google {
  margin-left: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.depoimento-texto {
  margin: 0;
  position: relative;
}

.depoimento-texto::before {
  content: "“";
  position: absolute;
  top: -0.55rem;
  left: -0.15rem;
  font-size: 2.4rem;
  line-height: 1;
  color: rgba(6, 38, 59, 0.16);
  font-weight: 700;
}

.depoimento-texto p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.carousel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.carousel-arrows {
  display: flex;
  gap: 0.55rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}

.carousel-btn:hover {
  background: var(--blue);
}

.carousel-dots {
  display: flex;
  gap: 0.4rem;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: #c5d3de;
  padding: 0;
  cursor: pointer;
}

.carousel-dots button.is-active {
  background: var(--navy);
}

/* Marcas */
.brands-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.15rem;
}

.brand-pill {
  flex: 1 1 160px;
  max-width: 200px;
  min-width: 160px;
  min-height: 110px;
  padding: 1.35rem 1.5rem;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 8px 22px rgba(6, 38, 59, 0.07);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  color: var(--navy);
  text-align: center;
  line-height: 1.2;
}

.brand-pill span {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.brand-pill img {
  max-height: 58px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Processo */
.processo {
  background: var(--navy);
  color: var(--white);
  padding: 5rem 0;
}

.processo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  position: relative;
}

.processo-grid li {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.proc-num {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.processo-grid h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.processo-grid p {
  margin: 0;
  color: rgba(255,255,255,0.75);
}

.processo-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.processo-faixa {
  margin: 2.25rem 0 0;
  text-align: center;
  font-weight: 400;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  color: #f5c518;
}

/* CTA final — mesmo padrão do hero */
.cta-final {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.cta-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  background: linear-gradient(
    90deg,
    rgba(6, 38, 59, 0.94) 0%,
    rgba(6, 38, 59, 0.78) 45%,
    rgba(6, 38, 59, 0.3) 100%
  );
}

.cta-copy-inner {
  width: min(100% - 2.5rem, var(--container));
  margin: 0 auto;
  padding: 4rem 0;
  text-align: left;
}

.cta-copy-inner h2 {
  margin: 0 0 0.9rem;
  max-width: 18ch;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  text-align: left;
}

.cta-copy-inner p {
  margin: 0 0 1.5rem;
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.82);
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-logo {
  width: 180px;
  max-width: 100%;
  height: auto;
  margin-bottom: 0.85rem;
  display: block;
}

.site-footer h3 {
  margin: 0 0 0.85rem;
  color: var(--white);
  font-size: 0.95rem;
}

.site-footer ul { display: grid; gap: 0.45rem; }
.site-footer a:hover { color: var(--cyan); }
.site-footer a.btn-wa-outline:hover { color: #fff !important; }

.footer-contacts li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.footer-contacts .btn-wa-outline {
  margin-top: 0.15rem;
}

.footer-contacts i { color: var(--cyan); margin-top: 0.2rem; }
.footer-contacts .btn-wa-outline i {
  color: inherit;
  margin-top: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 0;
  font-size: 0.85rem;
}

.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
  z-index: 60;
}

.whatsapp-float:hover { transform: scale(1.05); }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .carousel-track { transition: none !important; }
}

@media (max-width: 1100px) {
  .equip-grid { grid-template-columns: repeat(2, 1fr); }
  .depoimento-card { flex-basis: calc((100% - 1.25rem) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero { min-height: 580px; }
  .processo-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0.35rem; }
  .nav a { display: block; padding: 0.75rem 0.25rem; }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 767px) {
  .equip-grid { grid-template-columns: 1fr; }
  .depoimento-card { flex-basis: 100%; }
  .section { padding: 3.5rem 0; }
  .hero { min-height: 520px; }
  .hero-copy-inner, .cta-copy-inner { padding: 3rem 0; }
  .btn-lg { width: 100%; }
  .brands-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
  }
  .brand-pill { flex: 0 0 auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .processo-faixa { font-size: 0.75rem; letter-spacing: 0.02em; }
}
