/* ============================================================
   Juliana Seda Micropigmentação e Rejuvenescimento — Design System v2
   Paleta travada: #5A2132 (vinho) + #EFE9E9 (marfim) — sistema de
   2 cores de marca, expandido em profundidade (tons, glow, camada
   escura) mas sem introduzir uma terceira cor de destaque.
   Tipografia: Playfair Display (display) + Poppins (corpo) +
   Space Mono (rótulos/números — o contraste "conceitual").
   Mobile-first. Movimento sempre com motivo: hierarquia, feedback
   ou transição de estado — nunca decoração vazia.
   ============================================================ */

:root {
  --wine: #5a2132;
  --wine-dark: #3f1622;
  --wine-deep: #1e0a10;      /* quase-preto vinho — banda escura editorial */
  --wine-tint: #d9c4c9;      /* vinho diluído — badges, bordas de destaque */
  --wine-glow: rgba(90, 33, 50, .22);
  --cream: #efe9e9;          /* base da marca */
  --surface: #faf7f7;        /* cartões, um tom acima do cream */
  --ink: #241014;            /* texto principal — quase-preto quente, nunca #000 */
  --ink-soft: #6f565c;       /* texto secundário */
  --border: #e1d4d6;
  --shadow: 0 14px 34px rgba(36, 16, 20, 0.09);
  --radius: 20px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --font-display: "Playfair Display", "Georgia", serif;
  --font-body: "Poppins", "Segoe UI", sans-serif;
  --font-mono: "Space Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}
/* Textura de grão sutil — só decorativa, fixa, nunca custa repaint de
   scroll. Dá o acabamento "produto premium" em vez de flat demais. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 1000; pointer-events: none;
  opacity: .025; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0 0 .5em; color: var(--ink); letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 6.4vw, 3.35rem); line-height: 1.08; font-weight: 700; }
h2 { font-size: clamp(1.55rem, 4.8vw, 2.15rem); line-height: 1.16; }
h3 { font-size: 1.15rem; }
em { font-style: italic; color: var(--wine); }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 480px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
@media (min-width: 700px) { .container { max-width: 660px; } }
@media (min-width: 960px) { .container { max-width: 1120px; } }

/* Pequenos rótulos em mono — o contraste "conceitual" do sistema:
   serifa elegante (títulos) + sans limpa (corpo) + mono técnica
   (números, categorias, selos). Usado com moderação. */
.mono-label { font-family: var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 46px; background: linear-gradient(180deg, var(--surface), var(--cream)); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 620px; height: 620px; top: -220px; right: -180px; border-radius: 50%;
  background: radial-gradient(circle, var(--wine-glow), transparent 68%);
}
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .72rem;
  color: var(--wine); font-weight: 600; margin-bottom: 16px;
}
.hero .eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--wine); display: inline-block; }
.hero p.lead { font-size: 1.04rem; color: var(--ink-soft); max-width: 42ch; }
.hero-photo {
  position: relative; margin-top: 26px; aspect-ratio: 4/5;
}
.hero-photo::before {
  content: ""; position: absolute; z-index: 0; inset: -18px -14px -14px 18px;
  border: 1.5px solid var(--wine-tint); border-radius: var(--radius);
}
.hero-photo img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: top center;
  border-radius: var(--radius); box-shadow: var(--shadow);
}

/* Antes / depois — mesmo padrão visual do card do hub de serviços:
   imagem "colada" nas bordas arredondadas por dentro de um card com
   respiro, em vez de imagem solta com legenda por fora. */
.before-after {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); overflow: hidden; margin: 22px 0;
}
.before-after img {
  width: calc(100% + 45px); height: auto; margin: -22px -23px 16px; display: block; max-width: none; aspect-ratio: auto;
}
.before-after figcaption { padding: 0; font-size: .8rem; color: var(--ink-soft); }

.hero-cta { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: 26px; }
.hero-cta .btn { width: 100%; }
@media (min-width: 420px) {
  .hero-cta { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .hero-cta .btn { width: auto; }
}
@media (min-width: 860px) {
  .hero .grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
}

/* Faixa de confiança — vive ABAIXO do hero, nunca dentro dele */
.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 0; }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; }
.trust-strip .item { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .02em; color: var(--ink-soft); display: flex; align-items: center; gap: 7px; }
.trust-strip .item::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--wine); flex-shrink: 0; }
@media (min-width: 700px) { .trust-strip .container { justify-content: flex-start; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1.5px solid transparent; cursor: pointer; position: relative; overflow: hidden;
  transition: transform 220ms var(--ease-out), background 160ms ease, box-shadow 220ms var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97) translate(var(--mx, 0), var(--my, 0)); }
.btn-primary {
  background: var(--wine); color: var(--cream); box-shadow: 0 10px 24px rgba(90,33,50,.28);
  transform: translate(var(--mx, 0), var(--my, 0));
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.22) 40%, transparent 60%);
  transform: translateX(-120%); transition: transform 550ms var(--ease-in-out);
}
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary span, .btn-primary { z-index: 1; }
.btn-primary:hover { background: var(--wine-dark); }
.btn-outline { border-color: var(--wine); color: var(--wine); background: transparent; }
.btn-outline:hover { background: rgba(90,33,50,.06); }

/* ---------- Sections ---------- */
section { padding: 46px 0; }
.section-head { margin-bottom: 28px; }
.section-head .kicker { font-family: var(--font-mono); color: var(--wine); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .7rem; }

/* Banda escura — quebra de ritmo editorial deliberada, usada uma
   única vez na página (seção "Como funciona"), nunca repetida. */
.dark-band { background: var(--wine-deep); color: rgba(239,233,233,.9); }
.dark-band h2 { color: var(--cream); }
.dark-band .step p { color: rgba(239,233,233,.7); }
.dark-band .step h3 { color: var(--cream); }
.dark-band .step .num { background: var(--cream); color: var(--wine); }

/* ---------- Cards / Grids ---------- */
.grid-cards { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
@media (min-width: 640px) { .grid-cards.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid-cards.cols-3 { grid-template-columns: repeat(3,1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); overflow: hidden; position: relative;
  --rx: 0deg; --ry: 0deg; --lift: 0px;
  transform: perspective(900px) rotateX(var(--ry)) rotateY(var(--rx)) translateY(var(--lift));
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out), border-color 260ms ease;
}
.card::after {
  /* Spotlight que segue o cursor — só liga em telas com mouse fino. */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.4), transparent 65%);
  transition: opacity 260ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { --lift: -5px; border-color: var(--wine-tint); box-shadow: 0 20px 42px rgba(36,16,20,.14); }
  .card:hover::after { opacity: 1; }
}
.card > * { position: relative; z-index: 2; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: .93rem; margin-bottom: 12px; }
.card .card-link { font-size: .85rem; font-weight: 700; color: var(--wine); display: inline-block; transition: transform 200ms var(--ease-out); }
.card:hover .card-link { transform: translateX(3px); }
.card-thumb {
  width: calc(100% + 45px); height: auto; margin: -22px -23px 16px; display: block; max-width: none;
  aspect-ratio: auto; transition: transform 400ms var(--ease-out);
}
.card:hover .card-thumb { transform: scale(1.035); }
.service-icon { width: 40px; height: 40px; border-radius: 11px; background: var(--wine-tint); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 1.2rem; color: var(--wine); }

/* Reveal on scroll — motivo: guiar o olhar pela ordem de leitura da
   seção. Em grades de card, cada item entra em cascata (efeito
   dominó), não tudo de uma vez — mais vivo, sem custar performance
   (só transform + opacity, aceleradas por GPU). */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

.grid-cards.reveal, .steps.reveal { opacity: 1; transform: none; transition: none; }
.grid-cards.reveal .card, .grid-cards.reveal .testimonial,
.steps.reveal .step {
  opacity: 0; transform: translateY(20px) scale(.97);
  transition: opacity 550ms var(--ease-out), transform 550ms var(--ease-out);
}
.grid-cards.reveal.in-view .card, .grid-cards.reveal.in-view .testimonial,
.steps.reveal.in-view .step {
  opacity: 1; transform: translateY(0) scale(1);
}
.grid-cards .card:nth-child(1), .grid-cards .testimonial:nth-child(1), .steps .step:nth-child(1) { transition-delay: 0ms; }
.grid-cards .card:nth-child(2), .grid-cards .testimonial:nth-child(2), .steps .step:nth-child(2) { transition-delay: 80ms; }
.grid-cards .card:nth-child(3), .grid-cards .testimonial:nth-child(3), .steps .step:nth-child(3) { transition-delay: 160ms; }
.grid-cards .card:nth-child(4), .steps .step:nth-child(4) { transition-delay: 240ms; }
.grid-cards .card:nth-child(5) { transition-delay: 300ms; }
.grid-cards .card:nth-child(6) { transition-delay: 360ms; }
.grid-cards .card:nth-child(7) { transition-delay: 420ms; }
.grid-cards .card:nth-child(8) { transition-delay: 480ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .grid-cards.reveal .card, .grid-cards.reveal .testimonial, .steps.reveal .step {
    opacity: 1; transform: none; filter: none; transition: none;
  }
}

/* ---------- Steps ---------- */
.steps { display: grid; gap: 18px; position: relative; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step .num {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--wine); color: var(--cream);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem;
  font-family: var(--font-mono);
}

/* ---------- Testimonials ---------- */
.testimonial { background: var(--surface); border-radius: var(--radius); padding: 22px; border: 1px solid var(--border); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.testimonial .stars { color: var(--wine); letter-spacing: 2px; margin-bottom: 8px; font-size: .85rem; }
.testimonial p { font-family: var(--font-display); font-size: 1.04rem; color: var(--ink); font-style: italic; }
.testimonial .who { font-family: var(--font-mono); font-weight: 400; margin-top: 10px; font-size: .74rem; letter-spacing: .03em; color: var(--ink-soft); text-transform: uppercase; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq-item summary {
  cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--wine); font-size: 1.25rem; flex-shrink: 0; line-height: 1;
  transition: transform 260ms var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin-top: 10px; color: var(--ink-soft); font-size: .92rem;
  transition: opacity 320ms ease;
}
.faq-item[open] p { opacity: 1; }
@starting-style {
  .faq-item[open] p { opacity: 0; }
}

/* ---------- Contact / Map ---------- */
.contact-box { background: var(--wine-deep); color: var(--cream); border-radius: var(--radius); padding: 32px 26px; position: relative; overflow: hidden; }
.contact-box::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 420px; height: 420px; bottom: -200px; right: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,196,201,.18), transparent 70%);
}
.contact-box > * { position: relative; z-index: 1; }
.contact-box h2 { color: var(--cream); }
.contact-box .line { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-size: .93rem; color: rgba(239,233,233,.85); }
.contact-box a { text-decoration: underline; color: var(--cream); }
.contact-box .btn-primary { background: var(--cream); color: var(--wine); box-shadow: none; }
.contact-box .btn-primary:hover { background: #fff; }
.map-embed { border-radius: var(--radius); overflow: hidden; margin-top: 18px; border: 1px solid rgba(239,233,233,.18); }
.map-embed iframe { width: 100%; height: 260px; border: 0; display: block; filter: grayscale(0.15) contrast(1.02); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-family: var(--font-mono); font-size: .74rem; color: var(--ink-soft); margin-bottom: 20px; }
.breadcrumb a { color: var(--wine); font-weight: 700; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--wine-tint); padding: 44px 0 100px; }
.site-footer h3 { color: var(--cream); font-size: 1.05rem; }
.site-footer a { color: var(--wine-tint); opacity: .9; transition: opacity 160ms ease; }
.site-footer a:hover { opacity: 1; }
.footer-grid { display: grid; gap: 26px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(3,1fr); } }
.footer-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(239,233,233,.12); font-size: .76rem; font-family: var(--font-mono); opacity: .6; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 200; background: #25D366; color: #fff;
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.25); font-size: 1.5rem;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.wa-float:active { transform: scale(0.93); }
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover { transform: scale(1.07); box-shadow: 0 14px 30px rgba(0,0,0,.3); }
}

/* ---------- Article ---------- */
.article-body { font-size: 1rem; color: var(--ink); }
.article-body h2 { margin-top: 1.6em; font-size: 1.3rem; }
.article-body ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.article-body li { margin-bottom: .4em; }
.meta-line { font-family: var(--font-mono); color: var(--ink-soft); font-size: .78rem; margin-bottom: 22px; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.tag { display: inline-block; font-family: var(--font-mono); color: var(--wine); font-size: .72rem; font-weight: 400; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 10px; }
