/* Maxxi Refrigeração — estilos da landing page */

/* ---------- Fontes (servidas pelo site; só o conjunto latino, que cobre o português) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/poppins-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/poppins-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/poppins-800-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* Marca */
  --blue: oklch(51% .19 258);          /* azul principal */
  --blue-deep: oklch(42% .17 260);
  --blue-night: oklch(22% .08 262);    /* fundos escuros */
  --sky: #38bdf8;                      /* azul claro do logo */
  --sky-soft: oklch(86% .08 230);
  --wa: oklch(52% .15 150);            /* verde WhatsApp acessível com texto branco */
  --wa-hover: oklch(46% .14 150);
  --star: oklch(78% .16 75);
  --gold: oklch(84% .15 82);           /* selo de garantia sobre fundo escuro */
  --gold-ink: oklch(60% .14 65);       /* garantia sobre fundo claro */

  /* Neutros */
  --ink: oklch(25% .03 258);
  --ink-soft: oklch(45% .03 258);
  --surface: #fff;
  --tint: oklch(97% .016 250);
  --line: oklch(92% .015 255);

  /* Tipografia */
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Espaçamento (base 4px) */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.25rem;
  --s-6: 1.5rem; --s-8: 2rem; --s-10: 2.5rem; --s-12: 3rem; --s-16: 4rem;
  --s-20: 5rem; --s-24: 6rem;
  --section-y: clamp(4rem, 3rem + 4vw, 7rem);

  /* Forma e profundidade */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px oklch(30% .05 258 / .06), 0 4px 12px -4px oklch(40% .12 258 / .10);
  --shadow: 0 2px 4px oklch(30% .05 258 / .05), 0 14px 32px -12px oklch(40% .14 258 / .22);
  --shadow-lg: 0 4px 8px oklch(30% .05 258 / .06), 0 28px 60px -20px oklch(30% .14 258 / .38);

  --header-h: 4rem;
  --gutter: clamp(1rem, .5rem + 2.5vw, 2rem);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--s-4));
  scrollbar-color: oklch(75% .05 255) var(--tint);
  accent-color: var(--blue);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -.02em;
  text-wrap: balance;
}
p { text-wrap: pretty; }

::selection { background: oklch(85% .09 240); color: var(--blue-night); }

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visually-hidden {
  position: absolute; 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: var(--s-4); top: -100px; z-index: 100;
  padding: var(--s-3) var(--s-4); border-radius: var(--radius-sm);
  background: var(--blue-night); color: #fff; font-weight: 600;
}
.skip-link:focus { top: var(--s-4); }

.container {
  width: 100%;
  max-width: 76rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 50rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 3rem;
  padding: var(--s-3) var(--s-6);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .2s ease, transform .2s var(--ease-out), box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }

.btn-whatsapp {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 1px 2px oklch(30% .08 150 / .2), 0 12px 28px -12px oklch(45% .15 150 / .55);
}
.btn-whatsapp:hover { background: var(--wa-hover); }
.hero .btn-whatsapp,
.cta-panel .btn-whatsapp { box-shadow: 0 1px 2px oklch(15% .03 260 / .3), 0 12px 28px -12px oklch(12% .04 260 / .6); }
.btn-whatsapp .icon { width: 1.25rem; height: 1.25rem; }

.btn-sm { min-height: 2.5rem; padding: var(--s-2) var(--s-4); font-size: .875rem; }
.btn-lg { min-height: 3.5rem; padding: var(--s-4) var(--s-8); font-size: 1.0625rem; }
.btn-lg .icon { width: 1.5rem; height: 1.5rem; }
@media (max-width: 23.99rem) {
  .btn-extra-xs { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 39.99rem) {
  .btn-extra { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (max-width: 39.99rem) {
  .btn-lg { width: 100%; white-space: normal; text-align: center; padding-inline: var(--s-5); }
}

/* ---------- Marca ---------- */
.brand { display: flex; align-items: center; gap: var(--s-3); flex-shrink: 0; }
.brand-mark {
  width: 2.5rem; height: 2.5rem;
  stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 1px 2px oklch(40% .15 258 / .25));
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -.025em;
}
.brand-name span { color: var(--blue); }
.brand-tagline {
  margin-top: .3rem;
  font-size: .6875rem;
  letter-spacing: .16em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  background: oklch(100% 0 0 / .97);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid oklch(92% .015 255 / .7);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  height: var(--header-h);
}

.nav { display: none; gap: var(--s-8); }
.nav a,
.mobile-nav a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s ease;
}
.nav a:hover,
.mobile-nav a:hover { color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: var(--s-2); }

.menu-toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  display: grid;
  padding: var(--s-2) var(--gutter) var(--s-4);
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: var(--s-3) 0; font-size: 1rem; }
.mobile-nav a + a { border-top: 1px solid var(--line); }

/* No celular o header fica só com logo + menu; o CTA vive na barra inferior */
.header-actions .btn-sm { display: none; }

@media (min-width: 40rem) {
  .header-actions .btn-sm { display: inline-flex; padding: var(--s-2) var(--s-5); }
}
@media (min-width: 64rem) {
  .nav { display: flex; }
  .menu-toggle, .mobile-nav { display: none; }
  .mobile-nav:not([hidden]) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  padding-bottom: var(--s-20);
  overflow: hidden;
  color: #fff;
  background: var(--blue-night);
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg,
      oklch(22% .1 262 / .95) 0%,
      oklch(28% .14 260 / .88) 42%,
      oklch(34% .16 258 / .55) 75%,
      oklch(34% .16 258 / .35) 100%);
}

.hero-inner { padding-block: var(--s-10) var(--s-4); }

@media (min-width: 40rem) {
  .hero { min-height: min(56rem, 92svh); padding-bottom: var(--s-24); }
  .hero-inner { padding-block: var(--s-16) var(--s-8); }
}
.hero-copy { max-width: 42rem; }

.hero-title {
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.03em;
}

.hero-lead {
  max-width: 34rem;
  margin-top: var(--s-4);
  font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem);
  font-weight: 500;
  line-height: 1.4;
  color: oklch(92% .02 250);
}
.hero-lead strong { color: var(--gold); font-weight: 700; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-4) var(--s-6);
  margin-top: var(--s-8);
}
.hero-cta-note {
  font-size: .875rem;
  line-height: 1.5;
  color: oklch(88% .03 250);
  padding-left: var(--s-4);
  border-left: 1px solid oklch(100% 0 0 / .25);
}

.trust-item-guarantee .icon { color: var(--gold-ink); }

/* O momento de movimento da página: entrada do hero */
@media (prefers-reduced-motion: no-preference) {
  .hero-title, .hero-lead, .hero-cta {
    animation: rise .9s var(--ease-out) both;
  }
  .hero-lead { animation-delay: .08s; }
  .hero-cta { animation-delay: .16s; }
  .hero-media img { animation: settle 1.6s var(--ease-out) both; }
}
@keyframes rise {
  from { opacity: .01; transform: translateY(18px); filter: blur(6px); }
}
@keyframes settle {
  from { transform: scale(1.06); }
}

/* ---------- Faixa de confiança ---------- */
.trust { position: relative; z-index: 2; margin-top: calc(var(--s-16) * -1); }
.trust-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-4);
}
.trust-item:nth-child(even) { border-left: 1px solid var(--line); }
.trust-item:nth-child(n + 3) { border-top: 1px solid var(--line); }
.trust-item .icon { width: 1.5rem; height: 1.5rem; color: var(--blue); }
.trust-title { font-family: var(--font-display); font-weight: 600; font-size: .9375rem; line-height: 1.3; }
.trust-text { margin-top: .15rem; font-size: .8125rem; line-height: 1.45; color: var(--ink-soft); }

@media (min-width: 40rem) {
  .trust-item { flex-direction: row; align-items: flex-start; gap: var(--s-3); padding: var(--s-5) var(--s-6); }
  .trust-item .icon { margin-top: .1rem; }
  .trust-title { font-size: 1rem; }
  .trust-text { font-size: .875rem; }
}
@media (min-width: 64rem) {
  .trust-bar { grid-template-columns: repeat(4, 1fr); }
  .trust-item { padding: var(--s-6); }
  .trust-item:nth-child(n + 3) { border-top: 0; }
  .trust-item + .trust-item { border-left: 1px solid var(--line); }
}

/* ---------- Seções ---------- */
.section { padding-block: var(--section-y); }
.section-tint { background: var(--tint); }

.section-head { max-width: 40rem; margin: 0 auto var(--s-12); text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.625rem); font-weight: 700; }
.section-head p { margin-top: var(--s-3); color: var(--ink-soft); font-size: 1.0625rem; }

.section-head-split { max-width: none; text-align: left; }
@media (min-width: 64rem) {
  .section-head-split {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: end;
    gap: var(--s-12);
  }
  .section-head-split h2 { max-width: 22ch; }
  .section-head-split p { margin-top: 0; max-width: 32ch; justify-self: end; }
}

/* ---------- Serviços ---------- */
.services {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
}
.service {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.service img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.service-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--s-6);
}
.service h3 { font-size: 1.1875rem; font-weight: 600; }
.service p { margin-top: var(--s-2); font-size: .9375rem; color: var(--ink-soft); }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  align-self: flex-start;
  margin-top: auto;
  padding-top: var(--s-5);
  font-weight: 600;
  font-size: .9375rem;
  color: var(--blue);
}
.service-link .icon { width: 1.125rem; height: 1.125rem; transition: transform .25s var(--ease-out); }
.service-link:hover { color: var(--blue-deep); }
.service-link:hover .icon { transform: translateX(4px); }

@media (hover: hover) {
  .service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .service:hover img { transform: scale(1.04); }
}

/* ---------- Diferenciais ---------- */
.why { display: grid; gap: var(--s-12); }
.why-intro h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.625rem); font-weight: 700; max-width: 18ch; }
.why-intro p { margin-top: var(--s-4); max-width: 36rem; font-size: 1.0625rem; color: var(--ink-soft); }
.why-intro .btn { margin-top: var(--s-8); }

.why-list { display: grid; grid-template-columns: 1fr; }
.why-list li {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding-block: var(--s-5);
  border-top: 1px solid oklch(88% .025 252);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.3;
}
.why-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  box-shadow: 0 6px 14px -6px oklch(45% .18 258 / .6);
}

@media (min-width: 40rem) {
  .why-list { grid-template-columns: 1fr 1fr; column-gap: var(--s-8); }
}
@media (min-width: 64rem) {
  .why { grid-template-columns: 1fr 1.15fr; align-items: center; gap: var(--s-16); }
}

/* ---------- Passos ---------- */
.steps {
  display: grid;
  gap: var(--s-10);
  counter-reset: step;
}
.step { position: relative; padding-left: var(--s-16); }
.step-num {
  position: absolute;
  left: 0;
  top: -.25rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 0 0 6px oklch(93% .04 250);
}
/* linha que liga os passos */
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: calc(1.375rem - 1px);
  top: 3rem;
  bottom: calc(var(--s-10) * -1 + .5rem);
  width: 2px;
  background: linear-gradient(var(--line), var(--line)) ;
}
.step h3 { font-size: 1.25rem; font-weight: 600; }
.step p { margin-top: var(--s-2); color: var(--ink-soft); max-width: 30ch; }

@media (min-width: 48rem) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s-8); }
  .step { padding-left: 0; padding-top: var(--s-16); }
  .step-num { top: 0; }
  .step:not(:last-child)::before {
    left: 3.75rem;
    right: calc(var(--s-8) * -1 + .5rem);
    top: calc(1.375rem - 1px);
    bottom: auto;
    width: auto;
    height: 2px;
  }
}

/* ---------- Avaliações ---------- */
.reviews {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
}
.review {
  display: flex;
  flex-direction: column;
  padding: var(--s-6) var(--s-6) var(--s-5);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.stars { display: flex; gap: 2px; color: var(--star); }
.stars svg { width: 1.125rem; height: 1.125rem; }
.review blockquote { margin-top: var(--s-4); flex: 1; }
.review blockquote p { font-size: 1rem; line-height: 1.6; color: var(--ink); }
.review blockquote p::before { content: "“"; }
.review blockquote p::after { content: "”"; }
.review-author {
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9375rem;
}

/* ---------- Faixa de CTA ---------- */
.cta-band { padding-block: var(--section-y) 0; }
.cta-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  gap: var(--s-8);
  grid-template-columns: minmax(0, 1fr);
  padding: clamp(1.75rem, 1.25rem + 3.5vw, 4rem);
  border-radius: var(--radius-lg);
  color: #fff;
  background: linear-gradient(120deg, var(--blue-night) 0%, oklch(33% .15 260) 55%, var(--blue-deep) 100%);
  box-shadow: var(--shadow-lg);
}
.cta-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 34rem;
  height: 34rem;
  right: -10rem;
  top: -14rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, oklch(70% .13 235 / .28), transparent);
}
.cta-copy h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); font-weight: 700; letter-spacing: -.03em; }
.cta-copy p { margin-top: var(--s-3); max-width: 32rem; font-size: 1.125rem; color: oklch(94% .02 250); }
.cta-action { display: grid; gap: var(--s-3); justify-items: stretch; text-align: center; }
@media (min-width: 40rem) {
  .cta-action { justify-items: start; text-align: left; }
}
.cta-phone { font-size: .9375rem; color: oklch(92% .02 250); }
.cta-phone strong { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }

@media (min-width: 64rem) {
  .cta-panel { grid-template-columns: 1fr auto; align-items: center; gap: var(--s-12); }
  .cta-action { justify-items: center; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--s-3); }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: oklch(85% .05 255); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5) var(--s-6);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary .icon { color: var(--blue); transition: transform .3s var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p {
  padding: 0 var(--s-6) var(--s-6);
  max-width: 62ch;
  color: var(--ink-soft);
}
.faq-more { margin-top: var(--s-8); text-align: center; color: var(--ink-soft); }
.faq-more a {
  font-weight: 600;
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}
.faq-more a:hover { color: var(--blue-deep); }

/* ---------- Rodapé ---------- */
.site-footer {
  padding-top: var(--s-16);
  color: oklch(82% .03 255);
  background: var(--blue-night);
}
.footer-grid { display: grid; gap: var(--s-10); padding-bottom: var(--s-12); }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-name span { color: var(--sky); }
.brand-light .brand-tagline { color: oklch(75% .04 255); }
.site-footer .brand { min-height: 2.75rem; }
.footer-about p { margin-top: var(--s-5); max-width: 34rem; font-size: .9375rem; line-height: 1.7; }
.footer-col { display: grid; align-content: start; font-size: .9375rem; }
.footer-col a, .footer-col p { display: flex; align-items: center; min-height: 2.75rem; }
.footer-col h2 {
  margin-bottom: var(--s-2);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
}
.footer-col a { transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-6);
  padding-block: var(--s-6);
  border-top: 1px solid oklch(100% 0 0 / .1);
  font-size: .8125rem;
  color: oklch(70% .03 255);
}
.footer-credito { color: oklch(85% .03 255); border-bottom: 1px solid oklch(100% 0 0 / .25); transition: color .2s ease; }
.footer-credito:hover { color: #fff; }
/* espaço para o botão flutuante não cobrir o rodapé no celular */
.site-footer { padding-bottom: var(--s-20); }

@media (min-width: 48rem) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: var(--s-12); }
  .site-footer { padding-bottom: 0; }
}

/* ---------- Pop-up de saída (só computador) ---------- */
.saida {
  width: min(28rem, calc(100% - 2 * var(--gutter)));
  margin: auto;
  padding: var(--s-10) var(--s-8) var(--s-8);
  border: 0;
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.saida::backdrop { background: oklch(22% .08 262 / .55); }
.saida h2 { padding-inline: var(--s-6); font-size: 1.5rem; line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.saida p { margin-top: var(--s-3); color: var(--ink-soft); line-height: 1.55; }
.saida .btn { margin-top: var(--s-6); width: 100%; justify-content: center; }
.saida-depois {
  margin-top: var(--s-3);
  padding: var(--s-2) var(--s-4);
  font-size: .9375rem;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.saida-fechar {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  color: var(--ink-soft);
}
.saida-fechar:hover, .saida-depois:hover { color: var(--ink); }

/* ---------- Botões flutuantes: Ligar + WhatsApp (fixos, sempre na tela) ---------- */
.contato-float {
  position: fixed;
  left: var(--gutter);
  right: var(--gutter);
  bottom: max(.75rem, env(safe-area-inset-bottom));
  z-index: 50;
  display: flex;
  gap: var(--s-2);
}

.call-float {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  height: 3.25rem;
  padding-inline: 1.125rem 1.25rem;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 2px 4px oklch(30% .1 258 / .2), 0 16px 32px -12px oklch(35% .15 258 / .55);
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  transition: background-color .2s ease;
}
.call-float:hover { background: var(--blue-deep); }
.call-float .icon { width: 1.25rem; height: 1.25rem; stroke-width: 2.25; }

.wa-float {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  height: 3.25rem;
  padding-inline: 1rem;
  border-radius: 999px;
  color: #fff;
  background: var(--wa);
  box-shadow: 0 2px 4px oklch(30% .08 150 / .2), 0 16px 32px -12px oklch(35% .12 150 / .55);
  transition: background-color .2s ease;
}
.wa-float:hover { background: var(--wa-hover); }
.wa-float .icon { width: 1.5rem; height: 1.5rem; }
.wa-float-label { font-weight: 600; font-size: 1rem; white-space: nowrap; }
/* Com o "Ligar" ao lado, o verde fica só "Pedir orçamento" (o ícone já diz WhatsApp) */
.wa-float { min-width: 0; }
.wa-float-extra { display: none; }
/* Celular bem estreito: "Ligar" vira só o ícone (o nome fica no aria-label) */
@media (max-width: 22.49rem) {
  .call-float { padding-inline: 1rem; }
  .call-float span { display: none; }
}


@media (min-width: 40rem) {
  .contato-float { left: auto; right: 1.5rem; bottom: 1.5rem; }
  .wa-float { flex: none; height: 3.5rem; padding-inline: 1.125rem 1.375rem; }
  .call-float { height: 3.5rem; font-size: .9375rem; }
  .wa-float-label { font-size: .9375rem; }
}
/* Computador: "Ligar" não discaria nada, fica só o WhatsApp */
@media (min-width: 64rem) {
  .call-float { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .wa-float::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: var(--wa);
    animation: ping 2.4s var(--ease-out) 1s 3;
    opacity: 0;
  }
}
@keyframes ping {
  0% { transform: scale(1); opacity: .45; }
  100% { transform: scale(1.08, 1.5); opacity: 0; }
}

/* ---------- Celular: layouts próprios, não só empilhados ---------- */
@media (max-width: 39.99rem) {
  /* Serviços em lista compacta: foto à esquerda, texto à direita */
  .services { gap: var(--s-3); }
  .service { flex-direction: row; }
  .service img {
    width: 7.25rem;
    flex-shrink: 0;
    aspect-ratio: auto;
    align-self: stretch;
    object-fit: cover;
  }
  .service-body { padding: var(--s-4); }
  .service h3 { font-size: 1.0625rem; }
  .service p { margin-top: var(--s-1); font-size: .875rem; line-height: 1.5; }
  .service-link { padding-top: var(--s-2); min-height: 2.75rem; }

  /* Avaliações em carrossel com deslize */
  .reviews {
    display: flex;
    gap: var(--s-3);
    margin-inline: calc(var(--gutter) * -1);
    padding: var(--s-1) var(--gutter) var(--s-6);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .reviews::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 86%; scroll-snap-align: start; }

  .section-head { margin-bottom: var(--s-8); }
  .cta-panel { padding: var(--s-8) var(--s-6); }
}
