/* RJ Buco e Ortodontia — folha de estilo principal
   Base neutra e fria, com o dourado da logo como única cor de destaque.
   Destaques no texto são feitos por cor, nunca por itálico. */

:root {
  --ink: #0f1419;
  --ink-2: #1a2129;
  --ink-3: #252d37;
  --bg: #ffffff;
  --surface: #f4f5f7;
  --surface-2: #eceef1;
  --line: #e3e6ea;
  --line-dark: #2c3540;
  --muted: #5b6472;
  --muted-dark: #a9b1bc;
  --accent: #c49a5c;
  --accent-strong: #8f6c38;
  --accent-soft: #f6efe4;
  --wa: #15803d;
  --wa-hover: #106a31;

  --display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 16px;
  --radius-sm: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent-soft); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.3rem); font-weight: 650; letter-spacing: -0.015em; }
em { font-style: normal; }
h1 em, h2 em { color: var(--accent-strong); }
.dark h1 em, .dark h2 em, .hero h1 em { color: var(--accent); }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--bg); padding: 8px 14px; }

.label {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 1rem;
}
.label::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); }
.dark .label, .hero .label { color: var(--accent); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 38em; }
.dark .lead { color: var(--muted-dark); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.45em;
  border-radius: var(--radius-sm);
  font: 600 .95rem/1 var(--sans);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--bg); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.dark .btn-ghost, .hero .btn-ghost, .cta-band .btn-ghost { border-color: rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.dark .btn-ghost:hover, .hero .btn-ghost:hover, .cta-band .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.12); }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--accent-strong); }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }
.dark .link-arrow { color: var(--accent); }

/* ---------- Topo ---------- */

.header { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }
.brand img { height: 58px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .3rem; }
.nav a { display: block; text-decoration: none; font-size: .93rem; font-weight: 500; padding: .55em .85em; border-radius: 8px; color: var(--ink-3); }
.nav a:hover { background: var(--surface); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-strong); }
.header .btn { padding: .8em 1.15em; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- Hero com vídeo de fundo ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff; background: var(--ink);
  min-height: clamp(470px, calc(100svh - 330px), 610px);
  display: flex; align-items: center;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,14,19,.86) 0%, rgba(10,14,19,.62) 45%, rgba(10,14,19,.12) 100%),
    linear-gradient(0deg, rgba(10,14,19,.5), transparent 35%);
}
.hero .wrap { position: relative; width: 100%; }
.hero-content { max-width: 640px; }
.hero h1 { margin-bottom: .4em; font-size: clamp(2.3rem, 4.4vw, 3.6rem); color: #fff; }
.hero h1 em { display: block; }
.hero .lead { color: #d3d8df; margin-bottom: 1.8rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.6rem; }
.hero-team { position: absolute; right: var(--gutter); bottom: 0; display: grid; gap: .3rem; font-size: .82rem; color: #d3d8df; text-align: right; }
.hero-team b { color: #fff; font-weight: 600; }
.video-toggle {
  position: absolute; right: var(--gutter); top: 0;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); background: rgba(10,14,19,.4); color: #fff;
  display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px);
}
.video-toggle svg { width: 14px; height: 14px; fill: currentColor; }

.hero .hero-content { max-width: 800px; }
.hero .g-summary { margin-bottom: 1.1rem; padding: .45rem .9rem; }
.hero .lead { max-width: 47em; font-size: .98rem; line-height: 1.55; margin-bottom: 1.1rem; }
.hero .hero-cta { margin-bottom: 0; }
.hero-sed { display: flex; align-items: center; gap: .9rem; width: fit-content; max-width: 100%; margin-bottom: 1.2rem; padding: .75rem 1.1rem; border-radius: var(--radius-sm); background: var(--accent); color: var(--ink); text-decoration: none; transition: background .2s; }
.hero-sed:hover { background: #d3ac70; color: var(--ink); }
.hero-sed svg { width: 28px; height: 28px; flex: none; }
.hero-sed b { display: block; font: 700 1.08rem/1.25 var(--display); }
.hero-sed small { display: block; font-size: .85rem; line-height: 1.35; }
.hero-sed .go { margin-left: .8rem; font-weight: 600; font-size: .88rem; white-space: nowrap; }
.hero-sed .go::after { content: " →"; }

/* Resumo do Google na primeira dobra */
.g-summary { display: inline-flex; align-items: center; gap: .8rem; flex-wrap: wrap; padding: .7rem 1rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); }
.g-badge { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .92rem; }
.g-badge svg { width: 18px; height: 18px; }
.stars { color: #f5b301; letter-spacing: 1px; font-size: 1rem; line-height: 1; }
.g-summary .t { font-size: .88rem; color: #d3d8df; }
.g-summary a { font-size: .88rem; font-weight: 600; color: #fff; }

/* Faixa de avaliações */
.reviews-band { background: var(--surface); border-bottom: 1px solid var(--line); }
.reviews-band .wrap { position: relative; padding-top: 1.5rem; padding-bottom: 1.8rem; }
.reviews-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; gap: 1rem; }
.reviews-head h2 { font-size: 1.15rem; margin: 0; letter-spacing: -0.01em; display: flex; align-items: center; gap: .55rem; }
.reviews-head h2 svg { width: 20px; height: 20px; }
.reviews-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 1rem) / 3);
  gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.25rem; }
.review header { display: flex; align-items: center; gap: .75rem; margin-bottom: .6rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; flex: none; object-fit: cover; background: var(--surface-2); }
.review .name { font-weight: 600; font-size: .95rem; line-height: 1.25; }
.review .src { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: .35rem; }
.review .src svg { width: 12px; height: 12px; }
.review .g-mark { margin-left: auto; width: 20px; height: 20px; flex: none; }
.review p { font-size: .93rem; line-height: 1.6; margin: .5rem 0 0; color: var(--ink-3);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.review.open p { -webkit-line-clamp: unset; }
.review button.more { background: none; border: 0; padding: 0; margin-top: .35rem; font: 600 .85rem var(--sans); color: var(--accent-strong); cursor: pointer; }
.reviews-nav { display: flex; gap: .5rem; }
.reviews-nav button {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg);
  cursor: pointer; font-size: 1rem; color: var(--ink); transition: border-color .2s;
}
.reviews-nav button:hover { border-color: var(--ink); }

/* ---------- Seções ---------- */
section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.dark { background: var(--ink); color: #e6e9ed; }
.dark h2, .dark h3 { color: #fff; }
.tint { background: var(--surface); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.video-frame { position: relative; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.video-frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #111; }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .7rem; }
.ticks li { padding: .9rem 1rem .9rem 2.8rem; border-radius: var(--radius-sm); background: var(--ink-2); border: 1px solid var(--line-dark); position: relative; font-size: .97rem; }
.ticks li::before {
  content: ""; position: absolute; left: 1rem; top: 1.15rem; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230f1419' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.tint .ticks li, .ticks.light li { background: var(--bg); border-color: var(--line); }

/* Serviços */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.service { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.service:hover { border-color: var(--accent); transform: translateY(-2px); }
.service .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-strong); font: 700 .9rem var(--display); }
.service h3 { margin-top: 1.1rem; font-size: 1.3rem; }
.service > p { color: var(--muted); font-size: .96rem; }
.service ul { list-style: none; padding: 0; margin: .4rem 0 1.4rem; flex: 1; }
.service li { padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.service li:last-child { border-bottom: 0; }

/* Equipe */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.doc { display: grid; grid-template-columns: 210px 1fr; gap: 1.6rem; align-items: start; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.doc img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: center 15%; border-radius: 12px; }
.doc > div { padding: .4rem .4rem 0 0; }
.doc .cro { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .04em; color: var(--accent-strong); background: var(--accent-soft); padding: .25rem .6rem; border-radius: 999px; margin-bottom: .8rem; }
.doc h3 { font-size: 1.4rem; }
.doc ul { padding-left: 1.1rem; margin: 0 0 1.2rem; color: var(--ink-3); font-size: .95rem; }
.doc li { margin-bottom: .3rem; }
.doc li::marker { color: var(--accent); }

/* Missão */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: p; }
.pillar { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 1.8rem; }
.pillar::before { counter-increment: p; content: "0" counter(p); display: block; font: 700 .85rem var(--display); color: var(--accent); letter-spacing: .1em; margin-bottom: 1.6rem; }
.pillar p { color: var(--muted-dark); margin: 0; }

/* Galeria */
/* fotos verticais em blocos verticais: nada de cabeça cortada */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.gallery figure { aspect-ratio: 2 / 3; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.03); }

/* Pagamento */
.pay { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(2rem, 5vw, 3.5rem); }
.pay .big { font: 800 clamp(2.6rem, 6vw, 4.4rem)/1 var(--display); letter-spacing: -0.04em; margin: 0 0 .35em; }
.pay .big em { color: var(--accent-strong); }
.pay-methods { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.pay-methods span { border: 1px solid var(--line); padding: .4em .9em; border-radius: 999px; font-size: .86rem; font-weight: 500; background: var(--bg); }
.pay img { max-width: 220px; margin-left: auto; }

.wrap.pay { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--wrap) - 2 * var(--gutter)); }

/* FAQ */
.faq { max-width: 860px; display: grid; gap: .7rem; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s; }
.faq details[open] { border-color: var(--accent); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 3.2rem 1.15rem 1.3rem; font: 600 1.05rem/1.4 var(--display); letter-spacing: -0.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font: 500 1.1rem/1 var(--sans); color: var(--accent-strong); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 1.3rem 1.2rem; color: var(--ink-3); max-width: 46em; }
.faq details > div p { margin: 0; }

/* Contato */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); }
.nap { font-style: normal; margin: 1.5rem 0; }
.nap dt { margin-top: 1.1rem; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.nap dd { margin: .3rem 0 0; font-size: 1rem; }
.nap a { color: #fff; }
.map { border: 0; width: 100%; height: 100%; min-height: 380px; border-radius: var(--radius); background: var(--ink-2); }
.form { display: grid; gap: .9rem; margin-top: 2rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.form label { display: grid; gap: .4rem; font-size: .84rem; font-weight: 500; color: var(--muted-dark); }
.form input, .form textarea, .form select {
  font: inherit; font-size: 1rem; color: #fff;
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius-sm);
  padding: .75rem .9rem;
}
.form select option { color: var(--ink); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); }
.form textarea { min-height: 100px; resize: vertical; }
.form .note { font-size: .8rem; color: #7d8794; margin: 0; }

/* ---------- Páginas internas ---------- */
.page-hero { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 4vw, 3.5rem); background: var(--surface); border-bottom: 1px solid var(--line); }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1.4rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent-strong); }
.crumbs span[aria-hidden] { margin: 0 .5em; color: #b6bcc5; }
.page-hero h1 { max-width: 16em; }

.toc { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; padding: 0; list-style: none; }
.toc a { display: inline-block; text-decoration: none; font-weight: 500; font-size: .92rem; padding: .5em 1em; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.toc a:hover { border-color: var(--accent); color: var(--accent-strong); }

.svc-block { display: grid; grid-template-columns: 360px 1fr; gap: clamp(2rem, 5vw, 5rem); padding: clamp(3rem, 6vw, 5rem) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.svc-block:last-of-type { border-bottom: 0; }
.svc-block > figure { margin: 0; position: sticky; top: 100px; align-self: start; }
.svc-block > figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 20%; border-radius: var(--radius); }
.svc-items { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-top: 2rem; }
.svc-item { padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); scroll-margin-top: 90px; transition: border-color .2s; }
.svc-item:hover, .svc-item:target { border-color: var(--accent); }
.svc-item h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.svc-item p { font-size: .93rem; color: var(--muted); margin: 0; }

.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose p, .prose li { font-size: 1.05rem; line-height: 1.75; color: #232b35; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--accent); }
.prose blockquote { margin: 2rem 0; padding: 1.4rem 1.6rem; border-radius: var(--radius-sm); background: var(--accent-soft); border-left: 3px solid var(--accent); font: 500 1.15rem/1.55 var(--display); letter-spacing: -0.01em; color: var(--ink); }
.prose .callout { background: var(--surface); border: 1px solid var(--line); padding: 1.3rem 1.5rem; border-radius: var(--radius-sm); margin: 2rem 0; font-size: 1rem; }

.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 300px; gap: clamp(2rem, 5vw, 5rem); padding-top: 3rem; justify-content: space-between; }
.byline { display: flex; align-items: center; gap: .9rem; margin-top: 1.6rem; font-size: .9rem; color: var(--muted); }
.byline img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.byline a { color: var(--ink); font-weight: 600; text-decoration: none; }
.aside-card { position: sticky; top: 100px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; font-size: .94rem; }
.aside-card h3 { font-size: 1.15rem; }
.aside-card .btn { width: 100%; justify-content: center; margin-top: .6rem; }
.author-box { display: grid; grid-template-columns: 88px 1fr; gap: 1.3rem; background: var(--surface); border-radius: var(--radius); padding: 1.5rem; margin: 3rem 0; }
.author-box img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.author-box p { margin: .3rem 0 .6rem; font-size: .95rem; color: var(--ink-3); }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.5rem; }
.post-card { display: flex; flex-direction: column; text-decoration: none; }
.post-card figure { margin: 0 0 1.1rem; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); }
.post-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 12%; transition: transform .5s; }
.post-card.featured img { aspect-ratio: 5 / 4; object-position: center 10%; }
.post-card:hover img { transform: scale(1.03); }
.post-card:hover h2, .post-card:hover h3 { color: var(--accent-strong); }
.post-card .meta { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: .6rem; }
.post-card h2, .post-card h3 { font-size: 1.3rem; margin-bottom: .5rem; transition: color .2s; }
.post-card p { font-size: .94rem; color: var(--muted); margin-bottom: .8rem; }
.post-card .by { font-size: .84rem; color: var(--muted); margin-top: auto; }
.post-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; }
.post-card.featured figure { margin: 0; }
.post-card.featured h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }

.profile { display: grid; grid-template-columns: 380px 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.profile > figure { margin: 0; position: sticky; top: 100px; }
.profile > figure img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: center 15%; border-radius: var(--radius); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 2rem 0; }
.facts div { padding: 1rem 1.1rem; background: var(--surface); border-radius: var(--radius-sm); }
.facts dt { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: .3rem 0 0; font: 650 1.02rem var(--display); letter-spacing: -0.01em; }

.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; list-style: none; padding: 0; margin: 0; }
.areas li { padding: .75rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); display: flex; justify-content: space-between; align-items: center; gap: .6rem; font-size: .95rem; font-weight: 500; background: var(--bg); }
.areas li small { color: var(--muted); font-weight: 400; font-size: .76rem; white-space: nowrap; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.how > div { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.how h3 { font-size: 1.15rem; }
.how p { font-size: .95rem; color: var(--muted); margin: 0; }

.cta-band { background: var(--ink); color: #e6e9ed; padding: clamp(3rem, 6vw, 4.5rem) 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 1px solid rgba(196,154,92,.25); box-shadow: 0 0 0 60px rgba(196,154,92,.04); pointer-events: none; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band h2 { margin: 0; color: #fff; max-width: 18em; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.cta-band h2 em { color: var(--accent); }

/* ---------- Rodapé ---------- */
.footer { background: #0a0e12; color: #8f98a4; font-size: .9rem; padding: 4rem 0 6rem; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1.15fr 1.25fr .9fr; gap: 2.5rem; }
.footer address { font-style: normal; margin-bottom: 1em; }
.footer h4 a { color: inherit; }
.footer h4 { font: 600 .75rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .45rem; }
.footer a { color: #d6dbe1; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .logo-mark { width: 54px; margin-bottom: 1rem; }
.footer .legal { border-top: 1px solid #1d242c; margin-top: 3rem; padding-top: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; }
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; background: #151b22; border-radius: 10px; transition: background .2s; }
.social a:hover { background: var(--ink-3); }
.social svg { width: 16px; height: 16px; fill: currentColor; }

.mobile-bar { display: none; }

/* ---------- Multipáginas ---------- */
.nav .has-sub { position: relative; }
.nav .has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: .5em; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-3px) rotate(45deg); }
.nav .has-sub ul { display: none; position: absolute; left: 0; top: 100%; min-width: 250px; flex-direction: column; gap: .1rem; padding: .5rem; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(15,20,25,.3); }
.nav .has-sub:hover ul, .nav .has-sub:focus-within ul { display: flex; }
.card-link { text-decoration: none; }
.card-link p { flex: 1; }
.treat { display: grid; grid-template-columns: 1fr 1.7fr; gap: 1rem 2rem; padding: 2rem 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.treat:first-child { border-top: 0; padding-top: 0; }
.treat h2 { font-size: 1.3rem; margin: 0; }
.treat .when { margin: 0; font-size: .93rem; color: var(--muted); }
.treat .when strong { display: block; color: var(--accent-strong); }
a.svc-item { text-decoration: none; display: block; }
.svc-items.three { grid-template-columns: repeat(3, 1fr); margin-top: 1rem; }
.local-cat + .local-cat { margin-top: 3rem; }
.local-cat .cat { font-size: 1.5rem; margin: 0; }
.local-hero > figure { margin: 0; }
.local-hero > figure img { width: 100%; aspect-ratio: 4 / 5; max-height: 400px; object-fit: cover; object-position: center 22%; border-radius: var(--radius); }
.page-hero:has(.local-hero) { padding: 2.2rem 0; }
.local-hero .hero-cta { margin: 1.5rem 0 0; }
.units { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.unit-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.unit-card address { font-style: normal; color: var(--muted); margin-bottom: 1rem; }
.map-empty { display: grid; place-items: center; min-height: 440px; background: var(--surface-2); color: var(--muted); }
.gallery.six { grid-template-columns: repeat(3, 1fr); }
.pillar h3 a { text-decoration: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .doc { grid-template-columns: 1fr; }
  .doc img { max-height: 420px; aspect-ratio: 4 / 5; object-position: center 12%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .areas { grid-template-columns: repeat(3, 1fr); }
  .hero-team { display: none; }
}
@media (max-width: 1180px) and (min-width: 901px) {
  .nav a { padding: .5em .5em; font-size: .87rem; }
  .header .wrap { gap: .6rem; }
  .header .btn { padding: .75em .8em; font-size: .85rem; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .header .btn { display: none; }
  .nav { position: fixed; inset: 76px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: .2rem; padding: .6rem var(--gutter) 1rem; }
  .nav a { padding: .85rem .9rem; }
  .nav { max-height: calc(100vh - 76px); overflow-y: auto; padding-bottom: 5rem; }
  .nav .has-sub ul { display: flex; position: static; border: 0; box-shadow: none; padding: 0 0 .4rem 1rem; }
  .nav .has-sub > a::after { display: none; }
  .treat, .units, .svc-items.three { grid-template-columns: 1fr; }
  .gallery.six { grid-template-columns: 1fr 1fr; }
  .split, .contact, .pay, .sec-head, .team, .profile, .article-layout, .svc-block { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(10,14,19,.72) 0%, rgba(10,14,19,.86) 100%); }
  .reviews-track { grid-auto-columns: 86%; }
  .services, .pillars, .how, .posts { grid-template-columns: 1fr; }
  .post-card.featured { grid-template-columns: 1fr; gap: 1.2rem; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .tall { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
  .gallery .tall img { object-position: center 10%; }
  .svc-block > figure, .profile > figure, .aside-card { position: static; }
  .svc-block > figure img { aspect-ratio: 4 / 3; max-width: 520px; }
  .profile > figure img { aspect-ratio: 4 / 5; max-height: 560px; object-position: center 10%; }
  .svc-items { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr 1fr; }
  .pay img { margin-left: 0; }
  .footer { padding-bottom: 7rem; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--ink); border-top: 1px solid var(--line-dark);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem; color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; }
  .mobile-bar a.wa { background: var(--wa); }
  .mobile-bar svg { width: 18px; height: 18px; }
}
@media (max-width: 560px) {
  .hero-sed .go { display: none; }
  .hero .g-summary { max-width: calc(100% - 46px); gap: .45rem; padding: .45rem .7rem; flex-wrap: nowrap; }
  .hero .g-summary .stars { font-size: .85rem; letter-spacing: 0; }
  .hero .g-summary a { font-size: .76rem; white-space: nowrap; }
  .hero .g-badge { font-size: .84rem; }
  .hero-sed { width: 100%; }
  body { font-size: 16px; }
  /* telefone e WhatsApp já ficam na barra fixa; liberamos espaço para as avaliações */
  .header .wrap { height: 64px; }
  .brand img { height: 46px; }
  .nav { inset: 64px 0 auto 0; }
  .hero { padding: 2.2rem 0 1.3rem; }
  .hero .label { margin-bottom: .6rem; }
  .hero h1 { font-size: 2.05rem; }
  .hero .lead { font-size: .95rem; margin-bottom: 1.1rem; }
  .hero-cta .btn-ghost { display: none; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .hero-cta { margin-bottom: 1rem; }
  .g-summary { gap: .5rem .7rem; padding: .55rem .9rem; }
  .g-summary .t { display: none; }
  .video-toggle { top: 2px; width: 32px; height: 32px; }
  .video-toggle svg { width: 11px; height: 11px; }
  .reviews-head h2 { font-size: 1rem; }
  .reviews-nav button { width: 34px; height: 34px; }
  .reviews-band .wrap { padding-top: 1.1rem; }
  .form .row { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .author-box { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Notebook: hero mais baixo para as avaliações entrarem na primeira dobra */
@media (min-width: 1081px) {
  .hero { padding: 1.5rem 0; min-height: 0; }
  .hero .hero-content { max-width: 920px; }
  .hero .lead { max-width: 60em; }
  .hero h1 { font-size: clamp(2.3rem, 3.6vw, 3.4rem); }
  .hero::before { background: linear-gradient(90deg, rgba(10,14,19,.9) 0%, rgba(10,14,19,.78) 60%, rgba(10,14,19,.2) 100%); }
  .hero + .reviews-band .wrap { padding-top: 1rem; }
  .hero + .reviews-band .reviews-head { margin-bottom: .6rem; }
}

/* WhatsApp flutuante: só no desktop (no celular já existe a barra fixa) */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 55; display: inline-flex; align-items: center; height: 60px; padding: 0 15px; border-radius: 30px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 10px 28px -8px rgba(0,0,0,.45); transition: background .2s; }
.wa-float:hover { background: var(--wa-hover); color: #fff; }
.wa-float svg { width: 30px; height: 30px; flex: none; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s, margin .3s; }
.wa-float:hover span, .wa-float:focus-visible span { max-width: 180px; margin: 0 .4rem 0 .6rem; }
@media (max-width: 900px) { .wa-float { display: none; } }
@media (min-width: 901px) { .footer { padding-bottom: 7rem; } }
.sec-what { display: grid; grid-template-columns: 1fr 1.6fr; gap: 1.5rem 4rem; }
.sec-what .prose > :last-child { margin-bottom: 0; }
#enxertos { scroll-margin-top: 100px; }
.sed-faq { margin-top: 3rem; }
.sed-faq .faq { max-width: none; grid-template-columns: 1fr 1fr; align-items: start; color: var(--ink); }
@media (max-width: 900px) { .sec-what, .sed-faq .faq { grid-template-columns: 1fr; } }

/* Cookies, mapas bloqueados e páginas legais */
[hidden] { display: none !important; }
.map-box { min-height: 440px; height: 100%; }
.map-box .map { min-height: 440px; }
.map-ask { min-height: 440px; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 2rem; text-align: center; border-radius: var(--radius); background: var(--surface-2); color: var(--ink); }
.map-ask p { margin: 0; max-width: 24em; }
.dark .map-ask .btn-ghost { color: var(--ink); background: #fff; border-color: var(--line); }
.cookie-bar { position: fixed; left: 24px; bottom: 24px; z-index: 70; width: min(440px, calc(100% - 48px)); padding: 1.3rem 1.4rem; border-radius: var(--radius); background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 24px 60px -18px rgba(0,0,0,.5); font-size: .92rem; line-height: 1.5; }
.cookie-bar p { margin: 0 0 1rem; }
.cookie-bar strong { display: block; margin-bottom: .3rem; font: 700 1.08rem var(--display); }
.cookie-bar > div { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.cookie-bar .btn { justify-content: center; background: var(--ink); color: #fff; }
.cookie-bar .btn:hover { background: var(--ink-3); }
.legal-links { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; }
.legal-links button { padding: 0; border: 0; background: none; color: #d6dbe1; font: inherit; cursor: pointer; }
.legal-links button:hover { color: #fff; }
.legal-text > :nth-child(2) { margin-top: 1rem; }
.table-scroll { overflow-x: auto; margin-bottom: 1.5rem; }
.table-scroll table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; }
.table-scroll th, .table-scroll td { padding: .8rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-scroll th { background: var(--surface); }
@media (max-width: 900px) { .cookie-bar { left: 12px; bottom: 68px; width: calc(100% - 24px); padding: 1rem 1.1rem; } }
.faq summary h3 { margin: 0; font: inherit; letter-spacing: inherit; color: inherit; }
