/* ==========================================================
   MYLAN LIMPEZA E HIGIENIZAÇÃO — style.css  v2 "A Perícia"
   Mobile-first · Bricolage Grotesque + Instrument Sans + Plex Mono
   ========================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --azul: #0E7BD4;
  --verde: #19C37D;
  --verde-hover: #12996A;
  --petroleo: #0B3C5D;
  --abismo: #04222F;          /* seção-laudo, quase preto azulado */
  --claro: #7FF0C0;
  --menta: #BFF5DC;
  --agua: #EFF8F6;            /* fundo geral levemente lavado */
  --gelo: #E2F0EC;
  --texto: #1E3038;
  --texto-suave: #547585;
  --lodo: #C9A15E;            /* âmbar barrento — só nas etiquetas de amostra */
  --borda: #D5E5DF;
  --grad: linear-gradient(135deg, #0E7BD4, #19C37D);

  --f-display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  --f-corpo: 'Instrument Sans', 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', Consolas, monospace;

  --raio: 18px;
  --pill: 999px;
  --sombra: 0 6px 24px rgba(4, 34, 47, 0.10);
  --largura: 1140px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--f-corpo);
  color: var(--texto);
  background: var(--agua);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 { font-family: var(--f-display); color: var(--petroleo); line-height: 1.06; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.6rem, 8vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }

a { color: var(--azul); }

.container { max-width: var(--largura); margin: 0 auto; padding: 0 1.35rem; }

section { padding: 4.5rem 0; }

.mono {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--azul);
}

.cabecalho-secao { max-width: 680px; margin-bottom: 2.8rem; }
.cabecalho-secao .mono { display: block; margin-bottom: 0.9rem; }
.cabecalho-secao p { color: var(--texto-suave); margin-top: 0.9rem; font-size: 1.05rem; }
.cabecalho-secao.centro { margin-inline: auto; text-align: center; }

/* ---------- 3. Botões ---------- */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--verde);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.03rem;
  padding: 1rem 2.1rem;
  border-radius: var(--pill);
  box-shadow: 0 8px 24px rgba(25, 195, 125, 0.35);
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn-cta:hover, .btn-cta:focus-visible {
  background: var(--verde-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(25, 195, 125, 0.45);
}

.btn-fantasma {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--petroleo);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 1rem 1.4rem;
  text-decoration: none;
  border-radius: var(--pill);
}
.btn-fantasma:hover { background: rgba(14, 123, 212, 0.08); }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--azul);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 4. Header ---------- */
.cabecalho {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(239, 248, 246, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.25s ease;
}
.cabecalho.rolado { box-shadow: 0 2px 18px rgba(4, 34, 47, 0.08); }

.cabecalho-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}
.logo-link img { height: 42px; width: auto; }

.nav-desktop { display: none; }
.nav-desktop a {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--petroleo);
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: var(--pill);
}
.nav-desktop a:hover { background: rgba(14, 123, 212, 0.09); color: var(--azul); }

.cta-header { display: none; }

.btn-menu { background: none; border: none; cursor: pointer; padding: 0.5rem; color: var(--petroleo); display: inline-flex; }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.6rem 1.35rem 1.3rem;
  background: var(--agua);
  border-bottom: 1px solid var(--borda);
}
.nav-mobile.aberto { display: flex; }
.nav-mobile a {
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--petroleo);
  text-decoration: none;
  padding: 0.8rem 0.4rem;
  border-radius: 10px;
}
.nav-mobile a:hover { background: var(--gelo); }
.nav-mobile .btn-cta { justify-content: center; margin-top: 0.6rem; }

/* ---------- 5. Hero ---------- */
.hero { padding: 3.5rem 0 0; position: relative; }
.hero-inner { display: grid; gap: 2.8rem; }

.hero .mono { display: block; margin-bottom: 1.1rem; color: var(--verde-hover); }

.hero h1 .risco {
  position: relative;
  white-space: nowrap;
}
.hero h1 .risco::after {
  /* sublinhado orgânico tipo rastro de rodo */
  content: '';
  position: absolute;
  left: -2%;
  bottom: 0.04em;
  width: 104%;
  height: 0.28em;
  background: var(--grad);
  border-radius: var(--pill);
  opacity: 0.35;
  z-index: -1;
}

.hero .subtitulo {
  font-size: 1.14rem;
  color: var(--texto-suave);
  max-width: 30rem;
  margin: 1.4rem 0 2rem;
}
.hero .subtitulo strong { color: var(--petroleo); }

.hero-acoes { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }

.hero-notas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin-top: 2.2rem;
  padding: 0;
}
.hero-notas li {
  list-style: none;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texto-suave);
}
.hero-notas li::before { content: '● '; color: var(--verde); }

/* Foto em gota orgânica */
.hero-foto { position: relative; max-width: 520px; margin-inline: auto; width: 100%; }
.hero-foto .moldura {
  border-radius: 58% 42% 55% 45% / 52% 50% 50% 48%;
  overflow: hidden;
  aspect-ratio: 1 / 1.04;
  box-shadow: 0 30px 60px rgba(4, 34, 47, 0.25);
  animation: flutuar 9s ease-in-out infinite;
}
.hero-foto .moldura img { width: 100%; height: 100%; object-fit: cover; }
.hero-foto::before {
  content: '';
  position: absolute;
  inset: -7%;
  border-radius: 55% 45% 50% 50% / 48% 55% 45% 52%;
  background: var(--grad);
  opacity: 0.14;
  z-index: -1;
  animation: flutuar 11s ease-in-out infinite reverse;
}
.hero-foto .etiqueta-foto {
  position: absolute;
  bottom: 6%;
  left: -2%;
  background: #fff;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--petroleo);
  padding: 0.6rem 1rem;
  border-radius: var(--pill);
  box-shadow: var(--sombra);
}

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

/* ---------- 6. Marquee de cidades ---------- */
.faixa-cidades {
  background: var(--petroleo);
  padding: 0.85rem 0;
  overflow: hidden;
  margin-top: 4rem;
  transform: rotate(-1.2deg) scale(1.02);
}
.faixa-cidades .trilho {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: rolar 30s linear infinite;
}
.faixa-cidades span {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--menta);
  white-space: nowrap;
}
.faixa-cidades span b { color: var(--claro); font-weight: 400; }

@keyframes rolar {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 7. A Perícia (assinatura) ---------- */
.pericia {
  background: var(--abismo);
  color: #C8DDE4;
  padding: 5.5rem 0 6rem;
  position: relative;
}
.pericia h2 {
  color: #fff;
  font-size: clamp(2.2rem, 6.5vw, 3.8rem);
  max-width: 14ch;
}
.pericia h2 em { font-style: normal; color: var(--claro); }
.pericia .cabecalho-secao .mono { color: var(--lodo); }
.pericia .cabecalho-secao p { color: #8FB2BE; }

.grade-amostras { display: grid; gap: 2.2rem; margin-top: 3rem; }

.amostra { display: grid; grid-template-columns: 132px 1fr; gap: 1.3rem; align-items: center; }
.amostra .placa {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(201, 161, 94, 0.5);
  box-shadow: 0 0 0 8px rgba(201, 161, 94, 0.07), 0 14px 30px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}
.amostra .placa img { width: 100%; height: 100%; object-fit: cover; }

.amostra .ficha { font-family: var(--f-mono); font-size: 0.78rem; line-height: 1.9; }
.amostra .ficha .id {
  color: var(--lodo);
  letter-spacing: 0.16em;
  display: block;
  border-bottom: 1px dashed rgba(201, 161, 94, 0.35);
  padding-bottom: 0.35rem;
  margin-bottom: 0.45rem;
}
.amostra .ficha .campo { color: #7FA3B0; }
.amostra .ficha .valor { color: #E4F1F0; }

.pericia .conclusao {
  margin-top: 3.5rem;
  border-left: 3px solid var(--claro);
  padding-left: 1.4rem;
  max-width: 620px;
}
.pericia .conclusao p { font-size: 1.15rem; color: #E4F1F0; font-family: var(--f-display); font-weight: 600; }
.pericia .conclusao .mono { color: var(--lodo); display: block; margin-top: 0.7rem; }
.pericia .btn-cta { margin-top: 2.2rem; }

/* Onda divisória */
.onda { display: block; width: 100%; height: 70px; }
.onda.topo { margin-bottom: -1px; }
.onda.base { margin-top: -1px; }

/* ---------- 8. Serviços ---------- */
.grade-servicos { display: grid; gap: 1.4rem; }

.card-servico {
  background: #fff;
  border-radius: var(--raio);
  overflow: hidden;
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-servico:hover { transform: translateY(-6px) rotate(-0.4deg); box-shadow: 0 18px 40px rgba(4, 34, 47, 0.16); }

.card-servico .foto { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.card-servico .foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.card-servico:hover .foto img { transform: scale(1.05); }

.card-servico .foto.ilustrada {
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-servico .foto.ilustrada svg { width: 46%; height: auto; }

.card-servico .conteudo { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card-servico .mono { font-size: 0.68rem; }
.card-servico p { font-size: 0.94rem; color: var(--texto-suave); flex: 1; }
.card-servico .chamada {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--verde-hover);
}
.card-servico:hover .chamada { text-decoration: underline; }

/* ---------- 9. Processo ---------- */
.processo { background: var(--gelo); }

.linha-processo { display: grid; gap: 0; position: relative; margin-top: 1rem; }

.passo {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.2rem;
  padding: 1.6rem 0;
  position: relative;
}
.passo:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 72px;
  bottom: -6px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--azul) 0 6px, transparent 6px 12px);
  opacity: 0.4;
}
.passo .gota {
  width: 56px;
  height: 56px;
  background: var(--grad);
  border-radius: 50% 50% 50% 4px;
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(14, 123, 212, 0.3);
}
.passo .gota span {
  transform: rotate(-45deg);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.25rem;
}
.passo h3 { margin-bottom: 0.3rem; }
.passo p { font-size: 0.95rem; color: var(--texto-suave); max-width: 46ch; }
.passo .mono { display: block; font-size: 0.68rem; margin-bottom: 0.2rem; color: var(--verde-hover); }

/* ---------- 10. Instagram / resultados ---------- */
.resultados .grade-insta { display: grid; gap: 1.1rem; }
.grade-insta figure {
  border-radius: var(--raio);
  overflow: hidden;
  position: relative;
  box-shadow: var(--sombra);
}
.grade-insta img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; transition: transform 0.3s ease; }
.grade-insta figure:hover img { transform: scale(1.05); }
.grade-insta figcaption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(4, 34, 47, 0.88));
  color: #fff;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 2rem 1rem 0.8rem;
}
.resultados .acao-insta { text-align: center; margin-top: 2rem; }

/* ---------- 11. Depoimentos ---------- */
.grade-depoimentos { display: grid; gap: 1.3rem; }
.card-depoimento {
  background: #fff;
  border-radius: var(--raio);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
}
.card-depoimento::before {
  content: '“';
  font-family: var(--f-display);
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--menta);
  position: absolute;
  top: -0.6rem;
  right: 1.2rem;
  line-height: 1;
}
.card-depoimento .estrelas { color: #F0A93C; letter-spacing: 3px; }
.card-depoimento blockquote { font-size: 0.98rem; flex: 1; }
.card-depoimento .autor { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.08em; color: var(--texto-suave); text-transform: uppercase; }
.card-depoimento .autor b { color: var(--petroleo); }

/* ---------- 12. FAQ ---------- */
.faq-wrap { max-width: 780px; margin: 0 auto; display: grid; gap: 0.7rem; }
.faq-wrap details {
  background: #fff;
  border-radius: var(--raio);
  box-shadow: var(--sombra);
  overflow: hidden;
}
.faq-wrap summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--petroleo);
  padding: 1.2rem 3.2rem 1.2rem 1.5rem;
  position: relative;
}
.faq-wrap summary::-webkit-details-marker { display: none; }
.faq-wrap summary::after {
  content: '↓';
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--verde);
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}
.faq-wrap details[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq-wrap .resposta { padding: 0 1.5rem 1.4rem; font-size: 0.95rem; color: var(--texto-suave); }

/* ---------- 13. CTA final ---------- */
.cta-final { position: relative; overflow: hidden; background: var(--petroleo); padding: 5rem 0; }
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(25, 195, 125, 0.25), transparent 40%),
    radial-gradient(circle at 88% 80%, rgba(14, 123, 212, 0.3), transparent 45%);
}
.cta-final .container { position: relative; text-align: center; }
.cta-final h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta-final p { color: var(--menta); max-width: 36rem; margin: 1rem auto 2rem; }
.cta-final .mono { color: var(--claro); display: block; margin-bottom: 1rem; }

/* ---------- 14. Footer ---------- */
.rodape { background: var(--abismo); color: #8FB2BE; padding: 3.5rem 0 5.5rem; font-size: 0.92rem; }
.rodape-grid { display: grid; gap: 2.2rem; margin-bottom: 2.5rem; }
.rodape img { height: 44px; width: auto; margin-bottom: 1rem; }
.rodape h3 { color: #fff; font-size: 0.9rem; margin-bottom: 0.9rem; font-family: var(--f-mono); font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; }
.rodape ul { list-style: none; display: grid; gap: 0.5rem; }
.rodape a { color: #8FB2BE; text-decoration: none; }
.rodape a:hover { color: var(--claro); }
.rodape .creditos {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: #5E8391;
  text-align: center;
}

/* ---------- 15. WhatsApp: flutuante + barra mobile ---------- */
.zap-flutuante {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(18, 140, 70, 0.45);
  transition: transform 0.15s ease;
}
.zap-flutuante:hover { transform: scale(1.1); }
.zap-flutuante svg { width: 31px; height: 31px; fill: #fff; }

.barra-zap {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(4, 34, 47, 0.92);
  backdrop-filter: blur(10px);
  transform: translateY(110%);
  transition: transform 0.3s ease;
}
.barra-zap.visivel { transform: none; }
.barra-zap a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #25D366;
  color: #fff;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem;
  border-radius: var(--pill);
  text-decoration: none;
}
.barra-zap svg { width: 22px; height: 22px; fill: #fff; }

/* ---------- 16. Animações de entrada ---------- */
.revelar { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.revelar.visivel { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .revelar { opacity: 1; transform: none; transition: none; }
  .hero-foto .moldura, .hero-foto::before { animation: none; }
  .faixa-cidades .trilho { animation: none; }
  .card-servico, .btn-cta, .barra-zap { transition: none; }
}

/* ---------- 17. Breakpoints ---------- */
@media (min-width: 640px) {
  .grade-servicos { grid-template-columns: repeat(2, 1fr); }
  .grade-insta { grid-template-columns: repeat(3, 1fr); }
  .grade-depoimentos { grid-template-columns: repeat(2, 1fr); }
  .grade-amostras { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .btn-menu, .nav-mobile { display: none !important; }
  .nav-desktop { display: flex; gap: 0.2rem; }
  .cta-header { display: inline-flex; font-size: 0.9rem; padding: 0.72rem 1.5rem; }

  .barra-zap { display: none; }
  .zap-flutuante { display: flex; }

  .hero { padding-top: 4.5rem; }
  .hero-inner { grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 4rem; }

  .grade-servicos { grid-template-columns: repeat(4, 1fr); }
  .grade-amostras { grid-template-columns: repeat(4, 1fr); }
  .amostra { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 1rem; }
  .grade-depoimentos { grid-template-columns: repeat(3, 1fr); }

  .rodape-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
  .rodape { padding-bottom: 2.5rem; }
}
