:root {
  --ink: #1f1a17;
  --ink-2: #4a413c;
  --cream: #f8f3ee;
  --sand: #efe4da;
  --white: #ffffff;
  --rose: #9b5f52;
  --rose-dark: #7c463b;
  --gold: #c4a07a;
  --wpp: #1f8f4e;
  --wpp-dark: #187240;
  --radius: 18px;
  --max: 1120px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section.alt { background: var(--white); }
.section.dark { background: var(--ink); color: var(--cream); }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--rose); margin-bottom: 12px;
}
.dark .eyebrow { color: var(--gold); }
.lead { font-size: 1.12rem; color: var(--ink-2); }
.center { text-align: center; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }

/* Placeholder: dado que a Dra. ainda vai mandar */
.ph {
  background: #fff3b0; color: #6b4e00; border: 1px dashed #c9a400;
  border-radius: 6px; padding: 0 6px; font-weight: 600; font-style: normal;
}

/* Header */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .25s, box-shadow .25s;
}
.header.solid { background: rgba(248, 243, 238, .96); box-shadow: 0 1px 0 rgba(0,0,0,.06); backdrop-filter: blur(8px); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.logo small { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--rose); font-weight: 600; margin-top: -2px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; font-size: .9rem; font-weight: 500; }
.nav a:hover { color: var(--rose); }
.nav .btn { padding: 10px 18px; font-size: .88rem; }
@media (max-width: 900px) { .nav a:not(.btn) { display: none; } }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--wpp); color: #fff; text-decoration: none; font-weight: 600;
  padding: 16px 28px; border-radius: 999px; font-size: 1rem; border: 0; cursor: pointer;
  box-shadow: 0 10px 24px rgba(31, 143, 78, .28); transition: transform .15s, background .15s;
}
.btn:hover { background: var(--wpp-dark); transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: none; border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }

/* Topo (hero) */
.hero { padding: 110px 0 64px; background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero p.lead { margin-bottom: 20px; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 8px; font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--rose) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}
.rating { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .92rem; color: var(--ink-2); }
.rating .stars { color: #e3a008; letter-spacing: 2px; }
.hero-img { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4/5; background: var(--sand); box-shadow: 0 30px 60px rgba(31, 26, 23, .18); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img .badge {
  position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.94); border-radius: 14px;
  padding: 10px 14px; font-size: .82rem; line-height: 1.35;
}
.hero-img .badge strong { display: block; font-size: .95rem; }
@media (max-width: 860px) {
  .hero { padding-top: 92px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero-img { aspect-ratio: 4/3.4; max-height: 380px; }
  .hero-img img { object-position: center 25%; }
  .hero .btn { width: 100%; }
}

/* Listas e cards */
.pains { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 28px 0; }
.pain { background: var(--white); border-radius: var(--radius); padding: 20px 22px; border-left: 4px solid var(--rose); }
.section.alt .pain { background: var(--cream); }
@media (max-width: 700px) { .pains { grid-template-columns: 1fr; } }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.card {
  background: var(--cream); border-radius: var(--radius); padding: 28px 24px; text-decoration: none;
  display: flex; flex-direction: column; gap: 6px; transition: transform .2s, box-shadow .2s;
}
a.card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(0,0,0,.08); }
.card p { color: var(--ink-2); margin: 0; flex: 1; }
.card .more { color: var(--rose); font-weight: 600; font-size: .92rem; margin-top: 10px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; list-style: none; padding: 0; }
.steps.five { grid-template-columns: repeat(5, 1fr); }
.steps li { counter-increment: s; background: var(--white); border-radius: var(--radius); padding: 24px 20px; }
.section.alt .steps li { background: var(--cream); }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: var(--cream); font-family: var(--serif); font-size: 1.3rem; margin-bottom: 14px;
}
.steps strong { display: block; margin-bottom: 4px; }
.steps span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 1000px) { .steps, .steps.five { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps, .steps.five { grid-template-columns: 1fr; } }

/* Duas colunas texto + imagem */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .photo { border-radius: 24px; overflow: hidden; aspect-ratio: 4/5; background: var(--sand); }
.split .photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } .split .photo { max-height: 460px; } }

/* Tabela resina x porcelana */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; margin: 28px 0 16px; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--sand); }
.compare thead th { background: var(--ink); color: var(--cream); font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.compare tbody th { font-weight: 600; width: 26%; color: var(--ink-2); }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
@media (max-width: 600px) { .compare th, .compare td { padding: 12px 10px; font-size: .9rem; } }

/* Galeria de resultados */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.gallery figure { margin: 0; border-radius: 16px; overflow: hidden; background: var(--sand); aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.note { font-size: .85rem; color: var(--ink-2); margin-top: 14px; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; gap: 10px; } }

/* Depoimentos */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.quote { background: var(--white); border-radius: var(--radius); padding: 26px 24px; margin: 0; }
.dark .quote { background: rgba(255,255,255,.06); }
.quote p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.35; margin-bottom: 14px; }
.quote footer { font-size: .88rem; font-weight: 600; color: var(--gold); }
.quote .stars { color: #e3a008; letter-spacing: 2px; font-size: .9rem; margin-bottom: 8px; }
.link-google { display: inline-block; margin-top: 24px; color: var(--gold); font-weight: 600; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* FAQ */
.faq { margin-top: 28px; }
.faq details { background: var(--white); border-radius: 14px; padding: 0 22px; margin-bottom: 12px; }
.section.alt .faq details { background: var(--cream); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: var(--rose); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; margin: 0; color: var(--ink-2); }

/* Endereço */
.local { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: stretch; }
.local .info p { margin-bottom: .6em; }
.local iframe { width: 100%; min-height: 320px; height: 100%; border: 0; border-radius: var(--radius); background: var(--sand); }
@media (max-width: 860px) { .local { grid-template-columns: 1fr; } }

/* Fechamento */
.closing { text-align: center; padding: 84px 0; background: var(--ink); color: var(--cream); }
.closing h2 { max-width: 760px; margin: 0 auto 24px; }

/* Rodapé */
.footer { background: #15110f; color: #cbbfb5; font-size: .88rem; padding: 40px 0 110px; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer a { color: #cbbfb5; }
.footer strong { color: var(--cream); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 6px; }
.footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; font-size: .78rem; }
@media (max-width: 760px) { .footer .wrap { grid-template-columns: 1fr; } }

/* Botão flutuante */
.float-wpp {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wpp); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.float-wpp svg { width: 32px; height: 32px; }

/* Aviso de cookies */
.cookie {
  position: fixed; left: 16px; right: 92px; bottom: 16px; z-index: 55; max-width: 560px;
  background: var(--white); border-radius: 14px; padding: 14px 16px; box-shadow: 0 10px 30px rgba(0,0,0,.18);
  font-size: .84rem; display: none; gap: 12px; align-items: center;
}
.cookie.show { display: flex; }
.cookie button { background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 8px 16px; font-weight: 600; cursor: pointer; flex: none; }

/* Animação ao rolar */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Página de texto (privacidade) */
.page-text { padding: 120px 0 64px; }
.page-text h2 { font-size: 1.6rem; margin-top: 1.6em; }

/* Ajustes finais de celular (ficam no fim para valer sobre as regras acima) */
@media (max-width: 480px) {
  .header .wrap { height: 60px; }
  .logo { font-size: 1.2rem; min-width: 0; }
  .logo small { font-size: .52rem; letter-spacing: .08em; }
  .nav .btn { padding: 9px 14px; font-size: .82rem; box-shadow: none; }
  .nav .btn svg { width: 16px; height: 16px; }
  h1 { font-size: 1.95rem; }
  .hero { padding-top: 80px; }
  .hero .lead { font-size: 1rem; }
  .cookie { left: 12px; right: 12px; bottom: 88px; padding: 10px 12px; font-size: .76rem; gap: 10px; }
  .cookie button { padding: 7px 12px; }
}
