@font-face {
  font-family: "Outfit";
  src: url("../assets/Fontes/Outfit-VariableFont_wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../assets/Fontes/SourceSans3-VariableFont_wght.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-yellow: #f5c400;
  --color-yellow-hover: #e0b000;
  --color-yellow-soft: #fff6cc;
  --color-ink: #1a1a1a;
  --color-ink-soft: #252931;
  --color-text: #3a3a3a;
  --color-muted: #5c5c5c;
  --color-line: #e6e6e6;
  --color-surface: #f6f6f6;
  --color-white: #ffffff;
  --color-emergency: #d10a12;
  --color-emergency-hover: #b30810;
  --color-footer: #000000;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-pill: 999px;
  --shadow-card: 0 12px 32px rgba(26, 26, 26, 0.08);
  --header-h: 4.75rem;
  --container: 70rem;
  --space: clamp(1.25rem, 4vw, 2rem);
  --focus: 0 0 0 3px var(--color-white), 0 0 0 6px var(--color-ink);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
}

body.is-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

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

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
.btn {
  font-family: inherit;
}

:focus-visible {
  outline: 3px solid var(--color-ink);
  outline-offset: 3px;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

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

.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: 1rem;
  top: -100%;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--color-ink);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - (var(--space) * 2), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
}

.section--surface {
  background: var(--color-surface);
}

.gallery {
  background: var(--color-white);
}

#area {
  background: var(--color-surface);
}

.section__eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.section__title {
  font-size: clamp(2.25rem, 5.2vw, 3rem);
  font-weight: 800;
  max-width: 18ch;
}

.section__lead {
  margin-top: 0.85rem;
  max-width: 42ch;
  color: var(--color-muted);
}

.section__head {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section__head .section__title,
.section__head .section__lead {
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 1rem 2rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-yellow);
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn:hover {
  background: var(--color-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(26, 26, 26, 0.12);
}

.btn:active {
  transform: translateY(0);
}

.btn--ink {
  background: var(--color-ink);
  color: var(--color-white);
}

.btn--ink:hover {
  background: #000;
}

.btn--ghost {
  background: transparent;
  color: var(--color-ink);
  border: 2px solid var(--color-ink);
}

.btn--ghost:hover {
  background: var(--color-ink);
  color: var(--color-white);
}

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

.section-cta--start {
  justify-content: flex-start;
  margin-top: 1.5rem;
}

.btn--whatsapp svg,
.btn--instagram svg {
  width: 1.3rem;
  height: 1.3rem;
  color: currentColor;
}

.btn--ink.btn--whatsapp svg,
.btn--emergency.btn--whatsapp svg,
.btn--ghost:hover.btn--whatsapp svg {
  color: var(--color-white);
}

.btn--emergency {
  background: var(--color-emergency);
  color: var(--color-white);
}

.btn--emergency:hover {
  background: var(--color-emergency-hover);
  color: var(--color-white);
}

.btn--emergency svg {
  width: 1.3rem;
  height: 1.3rem;
  color: var(--color-white);
}

.btn--cookie {
  text-transform: none;
  letter-spacing: 0;
  min-height: 2.85rem;
}

.btn svg,
.icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--color-line);
}

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

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 2.75rem;
  width: auto;
  max-width: min(16rem, 68vw);
  object-fit: contain;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 0.6rem;
  background: var(--color-ink);
  color: var(--color-white);
  cursor: pointer;
}

.nav-toggle__bars {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  box-shadow: none;
  transform: rotate(45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  font-weight: 600;
  color: var(--color-ink-soft);
  transition: color 0.25s ease;
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background: var(--color-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover {
  color: var(--color-ink);
}

.site-nav a:not(.btn):hover::after {
  transform: scaleX(1);
}

.header-cta {
  flex-shrink: 0;
  min-height: 0;
  padding: 0.75rem 1.5rem;
}

.nav-cta {
  display: none;
}

/* Hero: copy à esquerda, foto à direita, círculo amarelo de fundo */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h)); /* svh evita salto com barra do navegador mobile */
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 50%; /* metade esquerda reservada ao texto */
  margin-inline: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: calc(100% - 96px);
  max-width: 34rem;
  margin-inline: 48px;
  padding-block: 2rem;
  text-align: left;
}

.hero h1 {
  position: relative;
  z-index: 0;
  font-size: clamp(2.35rem, 7vw, 4.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 14ch; /* quebra de linha controlada no título */
}

.hero__mark {
  position: relative;
  color: var(--color-ink);
  white-space: nowrap;
}

.hero__mark::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0.06em -0.38em 0.02em;
  background: var(--color-yellow);
  border-radius: var(--radius-pill); /* destaque amarelo em "sua casa" */
}

.hero__text {
  margin-top: 1.15rem;
  max-width: 38ch; /* largura de leitura confortável */
  color: var(--color-muted);
  font-size: 1.125rem;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin-top: 1.5rem;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--color-ink);
  font-size: 0.95rem;
}

.check {
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--color-yellow);
  color: var(--color-ink);
  flex-shrink: 0;
}

.check svg {
  width: 0.75rem;
  height: 0.75rem;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
  max-width: 100%;
  gap: 0.7rem;
  margin-top: 1.75rem;
}

.hero__btns {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.hero__note {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
}

.hero__circle {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(130vh, 90vw); /* escala com a tela sem dominar o layout */
  height: min(130vh, 90vw);
  transform: translate(50%, 50%); /* círculo cortado na borda direita e inferior */
  color: var(--color-yellow);
  pointer-events: none;
  z-index: 0;
}

.hero__media {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%; /* foto ocupa a metade direita no desktop */
  pointer-events: none;
}

.hero__photo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center bottom; /* cintura do profissional alinhada à base */
  filter: drop-shadow(0 18px 28px rgba(26, 26, 26, 0.18)); /* separa a foto do fundo amarelo */
}

.cards {
  display: grid;
  gap: 1.25rem;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.4rem 1.6rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(26, 26, 26, 0.12);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 0.9rem;
  background: var(--color-yellow);
  color: var(--color-ink);
}

.card__icon svg {
  width: 1.55rem;
  height: 1.55rem;
}

.card--eletricos .card__icon,
.card--eletricos .check {
  background: #6d169c;
  color: #fff;
}

.card--hidraulicos .card__icon,
.card--hidraulicos .check {
  background: #323ec2;
  color: #fff;
}

.card--instalacoes .card__icon,
.card--instalacoes .check {
  background: #2dad17;
  color: #fff;
}

.card h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.card li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin-bottom: 0.55rem;
  color: var(--color-text);
}

.steps {
  display: grid;
  gap: 1.25rem;
}

.step {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid var(--color-line);
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: var(--color-yellow);
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-ink);
}

.step h3 {
  font-size: 1.4rem;
  margin-bottom: 0.45rem;
}

.proof {
  background: var(--color-surface);
  color: var(--color-ink);
}

.proof .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.proof h2 {
  font-size: clamp(2.2rem, 5.2vw, 2.9rem);
  max-width: 18ch;
}

.proof p {
  margin: 1.25rem 0 1.75rem;
  max-width: 38ch;
}

.proof__mark {
  color: var(--color-emergency);
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.stat {
  background: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1rem;
}

.stat svg {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.45rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-ink);
}

.metrics {
  background: var(--color-yellow);
}

.metrics .stats {
  justify-items: center;
}

.metrics .stat {
  width: 100%;
  max-width: 172px;
  box-shadow: var(--shadow-card);
}

.about__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.about__media {
  position: relative;
  min-height: 16rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.about__media picture,
.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.about__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.15), rgba(26, 26, 26, 0.55));
}

.about__text {
  margin-top: 1rem;
  max-width: 48ch;
}

.about__text + .about__text {
  margin-top: 0.85rem;
}

.testimonials {
  background: var(--color-surface);
}

.testimonials .section__title {
  max-width: none;
}

.testimonials__carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 38rem) auto;
  justify-content: center;
  align-items: center;
  gap: 0.85rem 1rem;
}

.testimonials__viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.testimonials__track {
  display: flex;
  align-items: stretch;
  will-change: transform;
}

.testimonials__slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 1.5rem 1.5rem 2.5rem;
  display: flex;
  overflow: visible;
}

.testimonial {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.6rem 1.45rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.testimonial__stars {
  display: flex;
  gap: 0.12rem;
  margin-bottom: 0.9rem;
  color: var(--color-yellow);
}

.testimonial__stars svg {
  width: 1.2rem;
  height: 1.2rem;
}

.testimonial blockquote {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin: 0;
}

.testimonial p {
  flex: 1;
  color: var(--color-text);
}

.testimonial footer {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.testimonial cite {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  color: var(--color-ink);
}

.testimonial__avatar {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--color-yellow);
  color: var(--color-ink);
  font-family: var(--font-display);
  font-weight: 800;
  flex-shrink: 0;
}

.testimonials__slide:nth-child(3n) .testimonial__avatar {
  background: var(--color-ink);
  color: var(--color-white);
}

.testimonials__slide:nth-child(3n + 2) .testimonial__avatar {
  background: #323ec2;
  color: var(--color-white);
}

.testimonials__nav {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-yellow);
  color: var(--color-ink);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonials__nav svg {
  width: 1.2rem;
  height: 1.2rem;
}

.testimonials__nav:hover {
  background: var(--color-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(26, 26, 26, 0.12);
}

.testimonials__nav:active {
  transform: translateY(0);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.gallery-grid figure {
  margin: 0;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-surface);
}

.gallery-grid picture {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.05);
}

.area__rule {
  width: 3.25rem;
  height: 1px;
  margin: 0 auto;
  border: 0;
  background: #d0d0d0;
}

#area .section__head {
  margin-bottom: 1.35rem;
}

.cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  justify-content: center;
  margin-top: 1.35rem;
}

.cities__note {
  margin-top: 1rem;
  color: var(--color-muted);
  text-align: center;
  font-weight: 600;
}

.chip {
  display: inline-block;
  padding: 0.22em 1rem;
  border-radius: var(--radius-pill);
  background: var(--color-yellow);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-ink);
  white-space: nowrap;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 46rem;
  margin-inline: auto;
}

.faq-list details {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 0.35rem 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-list details[open] {
  border-color: var(--color-yellow);
  box-shadow: 0 8px 20px rgba(26, 26, 26, 0.06);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-ink);
  padding: 0.9rem 0;
  list-style: none;
  transition: color 0.25s ease;
  font-size: 1.2rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  overflow: hidden;
  height: 0;
  transition: height 0.35s ease;
}

.faq-list details[open] .faq-answer,
.faq-list details.is-open .faq-answer {
  height: auto;
}

.faq-list details p {
  padding-bottom: 1rem;
  color: var(--color-muted);
}

.cta-final {
  position: relative;
  isolation: isolate;
  text-align: center;
  background-color: #000;
  background-image: image-set(
    url("../assets/ferramentas-fundo.webp") type("image/webp"),
    url("../assets/ferramentas-fundo.jpg") type("image/jpeg")
  );
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--color-white);
}

.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.8;
  z-index: 0;
  pointer-events: none;
}

.cta-final .container {
  position: relative;
  z-index: 1;
}

.cta-final h2 {
  color: var(--color-white);
  font-size: clamp(2.2rem, 5.2vw, 3rem);
  max-width: 18ch;
  margin-inline: auto;
}

.cta-final p {
  margin: 0.9rem auto 1.5rem;
  max-width: 42ch;
  color: #d7d7d7;
}

.site-footer {
  background: var(--color-footer);
  color: #d0d0d0;
  padding-block: 3rem 1.5rem;
  border-top: 1px solid #2c2c2c;
}

.footer__grid {
  display: grid;
  gap: 2rem;
}

.footer__brand img {
  height: 3.4rem;
  width: auto;
}

.footer__brand p {
  margin-top: 0.85rem;
  max-width: 28ch;
  font-size: 0.95rem;
}

.site-footer h2 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.site-footer a {
  color: var(--color-white);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer__legal {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #2c2c2c;
  text-align: center;
}

.footer__copy {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
}

.footer__cookies {
  display: inline-block;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-yellow);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.footer__credit {
  margin-top: 0.65rem;
  color: #8a8a8a;
  font-size: 0.75rem;
  font-weight: 400;
  text-align: center;
}

.footer__credit a {
  color: inherit;
  text-decoration: underline;
}

.footer__credit a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.whats-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: var(--color-white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, bottom 0.3s ease;
}

.whats-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.whats-float svg {
  width: 1.7rem;
  height: 1.7rem;
  color: var(--color-white);
}

.whats-float:focus-visible {
  outline-offset: 4px;
}

body.has-cookie-banner .whats-float {
  bottom: 8.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(0.9rem);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.btn.reveal {
  transition: opacity 0.55s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn.reveal.is-visible:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(26, 26, 26, 0.12);
}

.btn.reveal.is-visible:active {
  transform: translateY(0);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  display: flex;
  flex-direction: column;
  max-width: 44rem;
  max-height: calc(100dvh - 2rem);
  margin-inline: auto;
  padding: 1.25rem 1.35rem 1.35rem;
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-text);
  box-shadow: 0 18px 48px rgba(26, 26, 26, 0.22);
  overflow: hidden;
  animation: cookie-in 0.4s ease;
}

.cookie-banner__panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.cookie-banner__panel[hidden] {
  display: none;
}

.cookie-banner__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.cookie-banner__body::-webkit-scrollbar {
  width: 0.35rem;
}

.cookie-banner__body::-webkit-scrollbar-thumb {
  border-radius: var(--radius-pill);
  background: var(--color-line);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner h2 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

.cookie-banner p {
  font-size: 0.95rem;
  color: var(--color-muted);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  flex-shrink: 0;
  margin-top: 1.1rem;
  padding-top: 0.15rem;
}

.cookie-banner__actions .btn--cookie {
  flex: 1 1 10rem;
}

.cookie-banner__link {
  flex: 1 1 100%;
  border: 0;
  background: none;
  padding: 0.35rem 0;
  font: inherit;
  font-weight: 700;
  color: var(--color-ink);
  text-decoration: underline;
  cursor: pointer;
}

.cookie-cats {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0;
}

.cookie-cats li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0.85rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
}

.cookie-cats strong {
  color: var(--color-ink);
  font-family: var(--font-display);
}

.cookie-cats p {
  margin-top: 0.25rem;
  font-size: 0.9rem;
}

.cookie-cats__state {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-muted);
}

.cookie-banner__rights {
  margin-top: 0.5rem;
}

.cookie-banner__rights a {
  color: var(--color-ink);
  font-weight: 700;
}

.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.switch input {
  position: absolute;
  opacity: 0;
  width: 2.75rem;
  height: 1.6rem;
  margin: 0;
  cursor: pointer;
}

.switch__ui {
  width: 2.75rem;
  height: 1.6rem;
  border-radius: var(--radius-pill);
  background: #cfcfcf;
  transition: background 0.25s ease;
}

.switch__ui::after {
  content: "";
  position: absolute;
  top: 0.18rem;
  left: 0.18rem;
  width: 1.24rem;
  height: 1.24rem;
  border-radius: 50%;
  background: var(--color-white);
  transition: transform 0.25s ease;
}

.switch input:checked + .switch__ui {
  background: var(--color-yellow);
}

.switch input:checked + .switch__ui::after {
  transform: translateX(1.15rem);
}

.switch input:focus-visible + .switch__ui {
  outline: 3px solid var(--color-ink);
  outline-offset: 2px;
}

@keyframes cookie-in {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 63.99rem) {
  .hero__btns {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 47.99rem) {
  .testimonials__carousel {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "view view"
      "prev next";
    gap: 1rem;
    padding-bottom: 2rem;
  }

  .testimonials__viewport {
    grid-area: view;
  }

  .testimonials__nav--prev {
    grid-area: prev;
    justify-self: end;
  }

  .testimonials__nav--next {
    grid-area: next;
    justify-self: start;
  }

  .hero {
    flex-direction: column;
    align-items: stretch;
    min-height: calc(100svh - var(--header-h));
    padding-top: 0.5rem;
  }

  .hero .container {
    order: 1; /* copy acima da foto no mobile */
    width: min(100% - (var(--space) * 2), var(--container));
    margin-inline: auto;
    display: flex;
    justify-content: center;
    flex: 0 0 auto;
  }

  .hero__copy {
    width: calc(100% - 32px);
    margin-inline: 16px;
    margin-bottom: 1.5rem;
    padding-block: 0;
  }

  .hero h1 {
    font-size: clamp(2rem, 8.5vw, 2.5rem);
    letter-spacing: -0.025em;
  }

  .hero__text {
    margin-top: 0.55rem;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .hero__actions {
    margin-top: 0.9rem;
    gap: 0.4rem;
  }

  .hero__btns {
    gap: 0.9rem;
  }

  .hero .btn {
    min-height: 2.45rem;
    padding: 0.65rem 1.15rem;
    font-size: 0.8125rem;
    gap: 0.4rem;
  }

  .hero .btn svg,
  .hero .btn--whatsapp svg,
  .hero .btn--emergency svg {
    width: 1.05rem;
    height: 1.05rem;
  }

  .hero__note {
    font-size: 0.8rem;
    gap: 0.3rem;
  }

  .hero__note svg {
    width: 14px;
    height: 14px;
  }

  .hero__circle {
    left: 50%;
    right: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    transform: translate(-50%, 50%); /* círculo centralizado atrás da foto no mobile */
  }

  .hero__media {
    order: 2;
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    flex: 1 1 0;
    min-height: 0;
    height: auto;
    display: block;
  }

  .hero__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 10px 16px rgba(26, 26, 26, 0.16));
  }

  .nav-toggle {
    display: inline-block;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem var(--space) 1.25rem;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--color-line);
  }

  .site-nav a:not(.btn)::after {
    display: none;
  }

  .site-nav .btn {
    margin-top: 0.85rem;
  }

  .nav-cta {
    display: inline-flex;
    width: 100%;
  }
}

@media (min-width: 40rem) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 48rem) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .metrics .stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .about__grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
  }

  .about__media {
    min-height: 22rem;
  }

  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

@media (min-width: 64rem) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .about__grid {
    gap: 4rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .logo img {
    height: 3.1rem;
    max-width: 18rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
