/*
  Estilos do site da D&H Limp Service.

  A ordem segue a página: fontes e cores primeiro, depois base, botões e
  cabeçalho, e então cada seção de cima para baixo. As animações, os ajustes
  para telas menores e o modo de movimento reduzido ficam no fim do arquivo.
*/

/* Fontes. Os arquivos ficam em assets/fonts, então o site não depende do Google Fonts */
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Cores, raios, sombras e medidas usadas no site inteiro */
:root {
  --c-ink: #0b2a3c;          /* azul-petróleo do texto e dos fundos escuros */
  --c-ink-soft: #3d5868;     /* texto secundário */
  --c-bg: #f5f9fa;           /* fundo geral */
  --c-surface: #ffffff;      /* cartões */
  --c-mist: #e4f3f3;         /* fundo claro atrás dos ícones */
  --c-accent: #2ec4b6;       /* água-marinha, a cor da marca */
  --c-accent-ink: #0a6e66;   /* água-marinha escurecida, para texto ter contraste no fundo claro */
  --c-whats: #25d366;        /* verde oficial do WhatsApp */
  --c-whats-dark: #1ebe5b;
  --c-whats-ink: #05301a;
  --c-line: #d6e4e8;

  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgb(11 42 60 / 0.06), 0 2px 8px rgb(11 42 60 / 0.06);
  --shadow: 0 10px 30px -10px rgb(11 42 60 / 0.25);
  --shadow-lg: 0 30px 60px -20px rgb(11 42 60 / 0.35);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 128px);
  --header-h: 76px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 700;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

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

figure {
  margin: 0;
}

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

a {
  color: inherit;
}

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

/* Utilitários e botões */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--c-ink);
  color: #fff;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent-ink);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.eyebrow-light {
  color: var(--c-accent);
}

.btn {
  --btn-bg: var(--c-ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    background-color 0.2s,
    border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: none;
}

.btn-whats {
  --btn-bg: var(--c-whats);
  --btn-fg: var(--c-whats-ink);
}

.btn-whats:hover {
  --btn-bg: var(--c-whats-dark);
}

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--c-ink);
  border-color: var(--c-ink);
}

.btn-ghost:hover {
  --btn-bg: var(--c-ink);
  --btn-fg: #fff;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.9375rem;
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1.0625rem;
}

.btn-xl {
  padding: 18px 36px;
  font-size: 1.1875rem;
}

.btn-xl .icon {
  width: 1.5em;
  height: 1.5em;
}

/* Cabeçalho e menu */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(245 249 250 / 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  transition: transform 0.4s var(--ease-out);
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.05);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand-text strong {
  font-weight: 500;
  color: var(--c-accent-ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav ul {
  display: flex;
  gap: 28px;
}

.site-nav ul a {
  position: relative;
  padding: 6px 0;
  font-weight: 500;
  text-decoration: none;
  color: var(--c-ink-soft);
  transition: color 0.2s;
}

/* Linha que cresce da esquerda para a direita embaixo do link no hover */
.site-nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

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

.site-nav ul a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--c-mist);
  color: var(--c-ink);
  cursor: pointer;
}

.menu-bar,
.menu-bar::before,
.menu-bar::after {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.menu-bar {
  position: relative;
}

.menu-bar::before,
.menu-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-bar::before {
  top: -7px;
}

.menu-bar::after {
  top: 7px;
}

.menu-toggle[aria-expanded="true"] .menu-bar {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-bar::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bar::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  padding-block: clamp(40px, 6vw, 80px);
  background:
    radial-gradient(60% 60% at 85% 20%, rgb(46 196 182 / 0.18), transparent 70%),
    var(--c-bg);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.75rem);
  font-weight: 800;
  margin-bottom: 24px;
}

.hl {
  display: block;
  color: var(--c-accent-ink);
}

.lead {
  max-width: 34em;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--c-ink-soft);
  margin-bottom: 32px;
}

.lead strong {
  color: var(--c-ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-ink-soft);
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-facts .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--c-mist);
  color: var(--c-accent-ink);
}

.hero-media {
  position: relative;
}

.hero-photo {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.6;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
  transition: transform 1.2s var(--ease-out);
}

.hero-media:hover .hero-photo img {
  transform: scale(1.03);
}

.hero-badge {
  position: absolute;
  left: -28px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-radius: var(--radius);
  background: var(--c-surface);
  box-shadow: var(--shadow);
  font-size: 0.9375rem;
  line-height: 1.35;
  animation: float 5s ease-in-out infinite;
}

.hero-badge .icon {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 12px;
  background: var(--c-ink);
  color: var(--c-accent);
}

/* Bolhas de sabão subindo no fundo. Tamanho, duração e atraso variam por bolha */
.bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bubbles span {
  position: absolute;
  bottom: -120px;
  width: var(--size, 60px);
  height: var(--size, 60px);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgb(255 255 255 / 0.9), rgb(46 196 182 / 0.12) 60%, rgb(46 196 182 / 0.25));
  border: 1px solid rgb(46 196 182 / 0.25);
  animation: bubble-rise var(--dur, 14s) linear infinite;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}

.bubbles span:nth-child(1) { left: 6%;  --size: 46px; --dur: 13s; --delay: 0s; }
.bubbles span:nth-child(2) { left: 22%; --size: 24px; --dur: 10s; --delay: 3s; }
.bubbles span:nth-child(3) { left: 41%; --size: 70px; --dur: 17s; --delay: 6s; }
.bubbles span:nth-child(4) { left: 58%; --size: 32px; --dur: 12s; --delay: 1.5s; }
.bubbles span:nth-child(5) { left: 76%; --size: 54px; --dur: 15s; --delay: 8s; }
.bubbles span:nth-child(6) { left: 92%; --size: 20px; --dur: 9s;  --delay: 4.5s; }

/* Faixa de serviços. Para ao passar o mouse */
.marquee {
  overflow: hidden;
  padding-block: 22px;
  background: var(--c-ink);
  color: #fff;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 600;
  white-space: nowrap;
}

.marquee span::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--c-accent);
}

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

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head h2 {
  margin-bottom: 18px;
}

.section-head p:last-child {
  font-size: 1.125rem;
  color: var(--c-ink-soft);
  margin: 0;
}

.photo {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.photo:hover img {
  transform: scale(1.03);
}

/* Sobre */
.about {
  background: var(--c-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.about-media {
  position: relative;
  padding-bottom: 64px;
}

.photo-tall {
  aspect-ratio: 4 / 4.4;
  box-shadow: var(--shadow);
}

.photo-small {
  position: absolute;
  right: -16px;
  bottom: 0;
  width: 48%;
  aspect-ratio: 4 / 3;
  border: 6px solid var(--c-surface);
  box-shadow: var(--shadow-lg);
}

.about-copy h2 {
  margin-bottom: 24px;
}

.about-copy > p {
  color: var(--c-ink-soft);
}

.values {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.values li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.values h3 {
  font-size: 1.125rem;
  margin-bottom: 2px;
}

.values p {
  margin: 0;
  font-size: 0.975rem;
  color: var(--c-ink-soft);
}

.value-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--c-mist);
  color: var(--c-accent-ink);
  transition: transform 0.3s var(--ease-out), background-color 0.3s, color 0.3s;
}

.values li:hover .value-icon {
  transform: translateY(-2px) rotate(-6deg);
  background: var(--c-ink);
  color: var(--c-accent);
}

/* Serviços */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-photo {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.service-card:hover .service-photo img {
  transform: scale(1.06);
}

.service-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 24px;
}

.service-body h3 {
  margin-bottom: 10px;
}

.service-body p {
  flex: 1;
  font-size: 0.9625rem;
  color: var(--c-ink-soft);
}

.service-link {
  align-self: flex-start;
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--c-accent-ink);
  text-decoration: none;
}

.service-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

.service-link:hover::after,
.service-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.service-link span {
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}

.service-link:hover span {
  transform: translateX(4px);
}

/* Como funciona */
.steps {
  background: var(--c-ink);
  color: #fff;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.steps h2 {
  margin-bottom: 40px;
}

.step-list {
  display: grid;
  gap: 26px;
}

.step-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-list h3 {
  margin-bottom: 4px;
}

.step-list p {
  margin: 0;
  color: rgb(255 255 255 / 0.75);
}

.step-num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--c-accent);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-accent);
  transition: background-color 0.3s, color 0.3s, transform 0.3s var(--ease-out);
}

.step-list li:hover .step-num {
  background: var(--c-accent);
  color: var(--c-ink);
  transform: scale(1.08);
}

.steps-photo {
  aspect-ratio: 4 / 4.4;
}

/* Dúvidas */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-surface);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-list details:hover {
  border-color: var(--c-accent);
}

.faq-list details[open] {
  box-shadow: var(--shadow-sm);
  border-color: var(--c-accent);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-mist);
  color: var(--c-accent-ink);
  font-size: 1.375rem;
  line-height: 1;
  transition: transform 0.3s var(--ease-out), background-color 0.3s, color 0.3s;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
  background: var(--c-ink);
  color: #fff;
}

.faq-list details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--c-ink-soft);
  animation: fade-down 0.35s var(--ease-out);
}

/* Chamada final */
.cta {
  padding-top: 0;
}

.cta-box {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 104px) clamp(24px, 6vw, 80px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 90% at 100% 0%, rgb(46 196 182 / 0.35), transparent 60%),
    var(--c-ink);
  color: #fff;
  text-align: center;
}

.cta-box > * {
  position: relative;
}

.cta-box .eyebrow {
  justify-content: center;
}

.cta-box h2 {
  max-width: 16ch;
  margin: 0 auto 18px;
}

.cta-box p:not(.eyebrow) {
  max-width: 36em;
  margin: 0 auto 36px;
  font-size: 1.125rem;
  color: rgb(255 255 255 / 0.8);
}

.cta-box .btn-whats {
  animation: pulse-ring 2.8s ease-out infinite;
}

.bubbles-cta {
  position: absolute;
}

/* Rodapé e botão do WhatsApp */
.site-footer {
  padding-top: 64px;
  background: #071d2a;
  color: rgb(255 255 255 / 0.8);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 40px;
}

.brand-footer .brand-text {
  color: #fff;
}

.brand-footer .brand-text strong {
  color: var(--c-accent);
}

.footer-text {
  max-width: 34em;
  margin-top: 16px;
  font-size: 0.9375rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.footer-links a {
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--c-accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.6);
}

.footer-bottom p {
  margin: 0;
}

.whats-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--c-whats);
  color: #fff;
  box-shadow: 0 10px 25px -5px rgb(37 211 102 / 0.55);
  transition: transform 0.3s var(--ease-out);
  animation: pulse-ring 2.8s ease-out infinite;
}

.whats-float .icon {
  width: 32px;
  height: 32px;
}

.whats-float:hover {
  transform: translateY(-3px) scale(1.06);
}

.whats-float:active {
  transform: scale(0.96);
}

/* Animações */
@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes bubble-rise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translateY(-55vh) translateX(18px); }
  90% { opacity: 0.8; }
  100% { transform: translateY(-110vh) translateX(-12px); opacity: 0; }
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgb(37 211 102 / 0.55); }
  70% { box-shadow: 0 0 0 18px rgb(37 211 102 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(37 211 102 / 0); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* Os itens do hero entram um depois do outro */
.anim-in {
  animation: rise-in 0.9s var(--ease-out) both;
}

.hero-copy .anim-in:nth-child(1) { animation-delay: 0.05s; }
.hero-copy .anim-in:nth-child(2) { animation-delay: 0.15s; }
.hero-copy .anim-in:nth-child(3) { animation-delay: 0.25s; }
.hero-copy .anim-in:nth-child(4) { animation-delay: 0.35s; }
.hero-copy .anim-in:nth-child(5) { animation-delay: 0.45s; }
.hero-media.anim-in { animation-delay: 0.3s; }

/* As seções só começam escondidas quando o main.js carregou e pôs a classe
   .js no <html>. Se o script falhar, a página aparece inteira do mesmo jeito. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* Depois que o cartão aparece, o hover volta a usar a transição curta */
.js .service-card.reveal.is-visible {
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), opacity 0.8s var(--ease-out);
}

.js .service-card.reveal.is-visible:hover {
  transform: translateY(-4px);
}

/* Tablets e celulares */
@media (max-width: 1080px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 68px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 32px var(--gutter);
    background: var(--c-bg);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s, transform 0.3s var(--ease-out), visibility 0.3s;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .site-nav ul a {
    display: block;
    padding: 14px 0;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--c-ink);
    border-bottom: 1px solid var(--c-line);
  }

  .site-nav ul a::after {
    display: none;
  }

  .site-nav .btn {
    padding: 16px;
    font-size: 1.0625rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .about-grid,
  .steps-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    aspect-ratio: 16 / 11;
  }

  .hero-badge {
    left: 16px;
    bottom: -20px;
  }

  .about-media {
    max-width: 640px;
  }

  .photo-small {
    right: 0;
  }

  .steps-photo {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 1rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .cta-box .btn {
    width: 100%;
  }

  .hero-facts {
    flex-direction: column;
  }

  .hero-badge {
    padding: 12px 16px;
    font-size: 0.875rem;
  }

  .footer-bottom {
    flex-direction: column;
    padding-bottom: 96px; /* sobra espaço para o botão do WhatsApp não cobrir o texto */
  }
}

/* Quem ativou "reduzir movimento" no sistema vê a página sem animações */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .bubbles {
    display: none;
  }

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