/* Dra. Nashalie Alencar · Odontopediatra · estilos globais */
:root {
  --orange: #ff7b00;
  --orange-btn: #e2620a;
  --orange-btn-hover: #c95400;
  --orange-soft: #fff1e3;
  --teal: #3a9387;
  --teal-dark: #24675e;
  --teal-soft: #e6f3f1;
  --cream: #fffaf4;
  --yellow: #ffc93c;
  --yellow-soft: #fff5d6;
  --blue: #4d9de0;
  --blue-dark: #2b6ea8;
  --blue-soft: #e8f3fd;
  --teal-mid: #cfe9e4;
  --ink: #23313a;
  --ink-soft: #55636b;
  --line: #f0e4d6;
  --white: #fff;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px rgba(35, 49, 58, .08);
  --shadow-lg: 0 24px 60px rgba(35, 49, 58, .14);
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--cream); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.center { text-align: center; }
.mt-lg { margin-top: 2.2rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.eyebrow { font-family: var(--font-head); font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-btn); margin-bottom: .7rem; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--teal-dark); background: var(--teal-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: .7rem; }
.link-arrow { font-weight: 700; color: var(--teal-dark); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .2s; }
a:hover .link-arrow::after, .link-arrow:hover::after { transform: translateX(4px); }

/* Botões */
.btn { font: 700 1rem/1.2 var(--font-body); display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 28px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; transition: background .2s, transform .2s, box-shadow .2s; }
.btn-primary { background: var(--orange-btn); color: #fff; box-shadow: 0 8px 20px rgba(226, 98, 10, .28); }
.btn-primary:hover { background: var(--orange-btn-hover); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--orange-btn-hover); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--teal); }
.btn-sm { padding: 11px 20px; font-size: .95rem; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 244, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-tooth { width: 34px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-head); font-size: 1.05rem; }
.brand-text small { font-size: .8rem; color: var(--teal-dark); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--orange-btn); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .25s; }

@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--cream); flex-direction: column; align-items: stretch; padding: 18px 16px 26px; gap: 14px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility .3s; }
  .nav.open { transform: none; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

.breadcrumb { font-size: .88rem; color: var(--ink-soft); padding-top: 18px; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb span { margin: 0 4px; }

/* Seções */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: #fff; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* Hero */
.hero { position: relative; padding: clamp(28px, 5vw, 64px) 0 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 720px; height: 720px; right: -160px; top: -120px; background: radial-gradient(circle, var(--orange-soft) 0 60%, transparent 61%); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
.hero-text { padding-bottom: clamp(40px, 7vw, 96px); }
.hero-text h1 span { color: var(--orange-btn); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.hero-badges li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .9rem; font-weight: 700; }
.hero-badges li::before { content: "✓ "; color: var(--teal); }
.hero-media { position: relative; align-self: end; }
.hero-media img { width: 100%; max-width: 500px; margin-left: auto; filter: drop-shadow(0 20px 40px rgba(35, 49, 58, .15)); }
.hero-blob { position: absolute; inset: 18% 4% 0 10%; background: var(--orange); border-radius: 48% 52% 0 0 / 40% 40% 0 0; z-index: -1; }
.hero-card { position: absolute; left: -6%; bottom: 14%; background: #fff; border-radius: var(--radius-sm); padding: 14px 18px; box-shadow: var(--shadow-lg); font-size: .9rem; line-height: 1.35; max-width: 220px; }
.hero-card strong { display: block; font-family: var(--font-head); color: var(--teal-dark); font-size: 1rem; }

/* Hero de landing page */
.lp-hero { padding: clamp(30px, 5vw, 60px) 0 clamp(56px, 8vw, 96px); }
.lp-hero .split { align-items: center; }
.lp-hero .split-media img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-reverse .split-text { order: 0; }
.split-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow); }
.split-media.portrait img { aspect-ratio: 3/4; }

/* Cards de serviço */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.service-card { background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.service-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.service-body p { color: var(--ink-soft); flex: 1; }

/* Diferenciais */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.diff { background: #fff; border-radius: var(--radius-sm); padding: 26px; border: 1px solid var(--line); }
.diff-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--orange-soft); color: var(--orange-btn); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 14px; }
.diff p { color: var(--ink-soft); margin: 0; }

/* Sedação */
.sedacao { background: linear-gradient(180deg, var(--teal-soft), #fff); }
.sedacao .split-media img { aspect-ratio: 3/4; max-height: 640px; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.mini-card { background: #fff; border-radius: var(--radius-sm); padding: 20px; box-shadow: var(--shadow); }
.mini-card h3 { font-size: 1rem; color: var(--teal-dark); }
.mini-card p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.note { font-size: .95rem; color: var(--ink-soft); border-left: 3px solid var(--orange); padding-left: 14px; }

/* Sobre */
.sobre { background: #fff; }
.sobre-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.sobre-photos { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.sobre-photos img { border-radius: var(--radius); aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.credenciais { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0; }
.credenciais div { background: var(--orange-soft); border-radius: var(--radius-sm); padding: 16px; text-align: center; }
.credenciais strong { display: block; font-family: var(--font-head); color: var(--orange-btn-hover); font-size: 1.05rem; }
.credenciais span { font-size: .85rem; color: var(--ink-soft); }
.quote { font-family: var(--font-head); font-size: 1.25rem; line-height: 1.5; color: var(--teal-dark); border-left: 4px solid var(--teal); padding-left: 20px; margin: 28px 0; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; }
.check-list li { padding-left: 32px; position: relative; margin-bottom: 10px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' stroke='%23fff' stroke-width='2.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Galeria */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; margin-top: 40px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.gallery .tall { grid-row: span 2; }

/* Passos */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 36px; list-style: none; padding: 0; }
.steps li { background: #fff; border-radius: var(--radius-sm); padding: 26px 22px; box-shadow: var(--shadow); position: relative; }
.steps li::before { counter-increment: step; content: counter(step); font-family: var(--font-head); font-weight: 700; width: 38px; height: 38px; border-radius: 50%; background: var(--orange-btn); color: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.steps h3 { font-size: 1.05rem; }
.steps p { color: var(--ink-soft); margin: 0; font-size: .97rem; }

/* Conteúdo de texto (LP e blog) */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; font-size: 1.2rem; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose .box { background: #fff; border-radius: var(--radius-sm); padding: 22px 24px; border: 1px solid var(--line); margin: 1.6em 0; }
.prose .box-alert { background: #fff4ec; border-color: #ffd5b5; }
.prose .box-teal { background: var(--teal-soft); border-color: #cfe7e3; }
.prose .box > :last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; background: #fff; border-radius: var(--radius-sm); overflow: hidden; }
.prose th, .prose td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--orange-soft); font-family: var(--font-head); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.inline-cta { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 28px; margin: 2.4em 0; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.inline-cta p { margin: 0; font-family: var(--font-head); font-size: 1.15rem; max-width: 460px; }

.lp-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.lp-aside { position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.lp-aside h2 { font-size: 1.2rem; }
.lp-aside ul { padding-left: 1.1em; margin: 0 0 1.2em; color: var(--ink-soft); font-size: .95rem; }

/* Avaliações */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.review-card { background: #fff; border-radius: var(--radius); padding: 28px; margin: 0; box-shadow: var(--shadow); }
.review-card .stars { color: #f5a524; letter-spacing: 3px; margin-bottom: 10px; }
.review-card blockquote { margin: 0 0 16px; color: var(--ink-soft); }
.review-card.placeholder { border: 2px dashed #f0b58a; background: #fffaf6; }

/* FAQ */
.faq-list { margin-top: 30px; display: grid; gap: 12px; }
.faq-item { background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.02rem; font-family: var(--font-body); font-weight: 700; }
.faq-icon { position: absolute; right: 20px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--orange-soft); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 6px; right: 6px; top: 11px; height: 2px; background: var(--orange-btn); transition: transform .2s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-answer { padding: 0 22px 20px; color: var(--ink-soft); }
.faq-answer p { margin: 0; }

/* Local */
.info-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 16px; }
.info-list strong { display: block; font-family: var(--font-head); font-size: .9rem; color: var(--teal-dark); }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3.4; background: var(--teal-soft); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* Faixa CTA */
.cta-band { background: var(--orange); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(255, 255, 255, .1); right: -80px; top: -140px; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: .3em; color: #fff; }
.cta-band p { margin: 0; max-width: 560px; font-size: 1.08rem; color: #fff; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s; }
.post-card:hover { transform: translateY(-4px); }
.post-card a { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; height: 100%; }
.post-card img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.post-card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card-body h3 { font-size: 1.08rem; }
.post-card-body p { color: var(--ink-soft); font-size: .94rem; flex: 1; }
.post-header { padding: 30px 0 10px; }
.post-header h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); max-width: 860px; }
.post-meta { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: .92rem; }
.post-meta img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.post-cover { border-radius: var(--radius); aspect-ratio: 16/8; object-fit: cover; width: 100%; margin: 26px 0 10px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-bottom: 70px; }
.author-box { display: flex; gap: 18px; align-items: center; background: #fff; border-radius: var(--radius); padding: 22px; margin-top: 2.6em; box-shadow: var(--shadow); }
.author-box img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; }
.author-box p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

/* Rodapé */
.site-footer { background: var(--teal-dark); color: #e9f4f2; padding: 64px 0 100px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer-logo { width: 170px; margin-bottom: 14px; }
.footer-title { font-size: 1rem; color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.site-footer a { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 40px; padding-top: 20px; font-size: .85rem; color: #bcd9d4; }

/* Botão flutuante */
.float-cta { position: fixed; right: 18px; bottom: 18px; z-index: 60; background: #1fa855; color: #fff; border: 0; border-radius: 999px; padding: 12px 20px 12px 14px; display: flex; align-items: center; gap: 8px; font: 700 1rem var(--font-body); cursor: pointer; box-shadow: 0 10px 28px rgba(31, 168, 85, .4); transition: transform .2s; }
.float-cta:hover { transform: scale(1.05); }
.float-cta svg { width: 28px; height: 28px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(23, 33, 39, .6); backdrop-filter: blur(3px); animation: fade .2s; }
.modal-card { position: relative; background: #fff; border-radius: var(--radius); padding: 34px 30px 26px; width: min(440px, 100%); box-shadow: var(--shadow-lg); animation: pop .25s ease-out; max-height: calc(100vh - 32px); overflow-y: auto; }
.modal-card h2 { font-size: 1.5rem; }
.modal-sub { color: var(--ink-soft); font-size: .97rem; }
.modal-close { position: absolute; top: 12px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--cream); font-size: 1.5rem; cursor: pointer; color: var(--ink); }
#form-agendar label { display: block; font-weight: 700; font-size: .92rem; margin: 14px 0 6px; }
#form-agendar input { width: 100%; font: inherit; padding: 14px 16px; border-radius: 12px; border: 2px solid var(--line); background: var(--cream); transition: border-color .2s; }
#form-agendar input:focus { outline: none; border-color: var(--teal); background: #fff; }
#form-agendar input[aria-invalid="true"] { border-color: #d64545; }
#form-agendar .btn { margin-top: 20px; }
.form-erro { color: #c03a3a; font-size: .9rem; margin: 10px 0 0; }
.form-lgpd { font-size: .8rem; color: var(--ink-soft); margin: 14px 0 0; text-align: center; }
.btn[disabled] { opacity: .7; cursor: wait; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
body.modal-open { overflow: hidden; }

/* Responsivo */
@media (max-width: 960px) {
  .hero-grid, .split, .sobre-grid, .lp-body, .post-layout { grid-template-columns: 1fr; }
  .hero-text { padding-bottom: 10px; }
  .hero-media img { margin: 0 auto; max-width: 400px; }
  .hero-card { left: 0; }
  .split-reverse .split-text { order: 0; }
  .service-grid, .reviews, .post-grid, .diff-grid { grid-template-columns: 1fr 1fr; }
  .sobre-photos { position: static; grid-template-columns: 1fr 1fr; }
  .lp-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .service-grid, .reviews, .post-grid, .diff-grid, .cards-2, .footer-grid { grid-template-columns: 1fr; }
  .credenciais { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .hero-actions .btn { width: 100%; }
  .brand-text strong { font-size: .98rem; }
  .cta-band-inner .btn { width: 100%; }
  .float-cta span { display: none; }
  .float-cta { padding: 14px; }
  .inline-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* =========================================================
   Camada de cor: paleta do consultório (laranja, verde, amarelo, azul)
   ========================================================= */

/* Logo no topo */
.brand-logo { height: 62px; width: auto; }
.site-header { background: rgba(255, 255, 255, .94); }
.site-header::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--orange) 0 25%, var(--teal) 25% 50%, var(--yellow) 50% 75%, var(--blue) 75%); }
@media (max-width: 640px) { .brand-logo { height: 52px; } }

/* Hero mais vivo */
.hero { background: linear-gradient(160deg, #fff 0%, var(--orange-soft) 55%, var(--yellow-soft) 100%); }
.hero::before { background: radial-gradient(circle, rgba(255, 201, 60, .35) 0 60%, transparent 61%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(circle at 6% 22%, var(--teal) 0 7px, transparent 8px),
    radial-gradient(circle at 44% 10%, var(--yellow) 0 10px, transparent 11px),
    radial-gradient(circle at 52% 86%, var(--blue) 0 6px, transparent 7px),
    radial-gradient(circle at 3% 78%, var(--orange) 0 9px, transparent 10px),
    radial-gradient(circle at 92% 12%, var(--teal) 0 6px, transparent 7px); }
.hero-text h1 span, .lp-hero h1 { background: linear-gradient(transparent 70%, rgba(255, 201, 60, .55) 70%); padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lp-hero h1 { background: none; }
.lp-hero { background: linear-gradient(160deg, #fff 0%, var(--orange-soft) 60%, var(--teal-soft) 100%); position: relative; }
.hero-badges li:nth-child(1) { background: var(--teal-soft); border-color: var(--teal-mid); }
.hero-badges li:nth-child(2) { background: var(--yellow-soft); border-color: #ffe7a3; }
.hero-badges li:nth-child(3) { background: var(--blue-soft); border-color: #cfe4f8; }
.hero-card { border-top: 5px solid var(--teal); }

/* Serviços: fundo verde claro e cada card com sua cor */
.servicos { background: var(--teal-soft); }
.service-card { border-top: 6px solid var(--orange); }
.service-card:nth-child(2) { border-top-color: var(--blue); }
.service-card:nth-child(3) { border-top-color: var(--teal); }
.service-card:nth-child(1) .tag { background: var(--orange-soft); color: var(--orange-btn-hover); }
.service-card:nth-child(2) .tag { background: var(--blue-soft); color: var(--blue-dark); }

/* Diferenciais: fundo laranja suave e ícones coloridos */
#diferenciais { background: var(--orange-soft); }
.diff { border: 0; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.diff::after { content: ""; position: absolute; right: -26px; bottom: -26px; width: 80px; height: 80px; border-radius: 50%; background: var(--orange-soft); }
.diff:nth-child(4n+2) .diff-icon, .diff:nth-child(4n+2)::after { background: var(--teal-soft); }
.diff:nth-child(4n+3) .diff-icon, .diff:nth-child(4n+3)::after { background: var(--yellow-soft); }
.diff:nth-child(4n+4) .diff-icon, .diff:nth-child(4n+4)::after { background: var(--blue-soft); }

/* Sedação: cards com cor */
.mini-card { border-left: 5px solid var(--teal); }
.mini-card:nth-child(2) { border-left-color: var(--blue); }
.mini-card:nth-child(2) h3 { color: var(--blue-dark); }

/* Sobre: credenciais coloridas e foto com moldura */
.credenciais div:nth-child(2) { background: var(--teal-soft); }
.credenciais div:nth-child(2) strong { color: var(--teal-dark); }
.credenciais div:nth-child(3) { background: var(--blue-soft); }
.credenciais div:nth-child(3) strong { color: var(--blue-dark); }
.sobre-photos img:first-child { box-shadow: 14px 14px 0 var(--yellow); }
.sobre-photos img:last-child { box-shadow: -14px 14px 0 var(--teal-mid); }
.split-media img { box-shadow: 16px 16px 0 var(--orange-soft), var(--shadow); }
.sedacao .split-media img { box-shadow: 16px 16px 0 var(--teal-mid), var(--shadow); }
.lp-hero .split-media img { box-shadow: 18px 18px 0 var(--yellow), var(--shadow-lg); }
.sobre-resumo .split-media img { box-shadow: -16px 16px 0 var(--blue-soft), var(--shadow); }

/* Consultório: fundo amarelo suave */
#consultorio { background: var(--yellow-soft); }

/* Avaliações: fundo azul suave */
.avaliacoes { background: var(--blue-soft); }
.review-card { border-top: 5px solid var(--yellow); }

/* FAQ: destaque ao abrir */
.faq { background: #fff; }
.faq-item { transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: #ffd5b5; box-shadow: inset 5px 0 0 var(--orange); }
.faq-item:nth-child(3n+2)[open] { border-color: var(--teal-mid); box-shadow: inset 5px 0 0 var(--teal); }
.faq-item:nth-child(3n+3)[open] { border-color: #cfe4f8; box-shadow: inset 5px 0 0 var(--blue); }

/* Passo a passo com números coloridos */
.steps li:nth-child(2)::before { background: var(--teal); }
.steps li:nth-child(3)::before { background: var(--blue-dark); }
.steps li:nth-child(4)::before { background: #d99a00; }
.steps li { border-bottom: 5px solid var(--orange-soft); }
.steps li:nth-child(2) { border-bottom-color: var(--teal-soft); }
.steps li:nth-child(3) { border-bottom-color: var(--blue-soft); }
.steps li:nth-child(4) { border-bottom-color: var(--yellow-soft); }

/* Blog: tags em cores alternadas */
.post-card:nth-child(4n+1) .tag { background: var(--orange-soft); color: var(--orange-btn-hover); }
.post-card:nth-child(4n+3) .tag { background: var(--blue-soft); color: var(--blue-dark); }
.post-card:nth-child(4n+4) .tag { background: var(--yellow-soft); color: #8a5b00; }
.post-card { border-bottom: 5px solid transparent; transition: transform .25s, border-color .25s; }
.post-card:hover { border-bottom-color: var(--orange); }
.post-header .tag { background: var(--orange-soft); color: var(--orange-btn-hover); }
.prose h2::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--orange) 50%, var(--teal) 50%); margin-bottom: 14px; }
.prose .box h2::before { display: none; }
.prose th { background: var(--teal-soft); }

/* Localização e faixa final */
.local { background: linear-gradient(180deg, #fff, var(--teal-soft)); }
.cta-band { background: linear-gradient(120deg, var(--orange) 0%, #ff9a2e 100%); }
.cta-band::before { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 201, 60, .5); left: -40px; bottom: -70px; }
.inline-cta { background: linear-gradient(120deg, var(--teal-dark), var(--teal)); }

/* Rodapé com faixa colorida */
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--orange) 0 25%, var(--yellow) 25% 50%, var(--blue) 50% 75%, var(--teal) 75%); }

/* Modal com toque de cor */
.modal-card { border-top: 6px solid var(--orange); }
.hero { isolation: isolate; }
@media (max-width: 960px) { .hero::after { display: none; } }
.img-foco-direita { object-position: 78% 40%; }
.img-foco-urgencia { object-position: 58% 50%; }
.titulo-alerta { display: flex; align-items: center; gap: 10px; }
.icon-alerta { width: 30px; height: 30px; flex: none; }
.lp-aside:has(.titulo-alerta) { border-top: 6px solid var(--yellow); }

/* Topo do artigo: texto + capa lado a lado (capas quase quadradas) */
.post-header { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: 30px 0 50px; }
.post-header-text .lead { font-size: 1.08rem; margin: 0 0 22px; }
.post-cover { margin: 0; width: 100%; max-width: 520px; justify-self: end; aspect-ratio: 6 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: 18px 18px 0 var(--yellow), var(--shadow-lg); }
@media (max-width: 960px) {
  .post-header { grid-template-columns: 1fr; padding-bottom: 36px; }
  .post-cover { justify-self: start; max-width: 100%; }
}

.img-foco-menina, .img-foco-menino { object-position: 72% 40%; }
img[src*="urgencia-dente-infantil"] { object-position: 58% 50%; }
img[src*="blog-carie-chocolate"] { object-position: 45% 35%; }
/* Foto do hero (horizontal, com girafa à esquerda) */
.hero-media img[src*="dra-nashalie-hero"] { max-width: 720px; width: 122%; margin-right: -10%; }
.hero-media:has(img[src*="dra-nashalie-hero"]) .hero-blob { inset: 16% 0 0 18%; }
.hero-media:has(img[src*="dra-nashalie-hero"]) .hero-card { left: auto; right: 0; bottom: 8%; }
@media (max-width: 960px) { .hero-media img[src*="dra-nashalie-hero"] { width: 100%; margin: 0 auto; } }
/* Foto do hero (retrato com girafa à direita) */
.hero-media img[src*="dra-nashalie-destaque"] { max-width: 520px; }

/* ---------- Ortopedia: galeria de aparelhos e diagrama da PPM ---------- */
img[src*="ortopedia-infantil-menina"], img[src*="primeira-consulta-menino"] { object-position: 72% 40%; }
.aparelhos-galeria { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0 8px; }
.aparelhos-galeria figure { margin: 0; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 20px rgba(36,103,94,.10); }
.aparelhos-galeria img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: 0; border-radius: 0; }
.aparelhos-galeria figcaption { padding: 10px 14px 12px; font-size: .92rem; color: var(--teal-dark); font-weight: 600; }
.nota-legenda { font-size: .9rem; color: #5b6b6a; margin-top: 6px; }

.ppm-figura { margin: 22px 0 24px; padding: 28px 22px 30px; background: var(--teal); color: #fff; border-radius: 22px; text-align: center; }
.ppm-figura .ppm-titulo { font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; line-height: 1.45; max-width: 30em; margin: 0 auto 10px; color: #fff; }
.ppm-figura mark { background: var(--orange-btn); color: #fff; padding: 0 .12em 0 .3em; font-weight: 700; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ppm-diagrama { display: grid; grid-template-columns: 1fr minmax(0, 1.5fr) 1fr; grid-template-areas: "esq img dir" ". baixo ."; align-items: center; gap: 4px 10px; }
.ppm-diagrama .ppm-img { grid-area: img; width: 100%; height: auto; margin: 0; border-radius: 0; filter: drop-shadow(0 10px 14px rgba(0,0,0,.18)); }
.ppm-figura .ppm-nota { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: .98rem; line-height: 1.3; color: #fff; position: relative; }
.ppm-esq { grid-area: esq; padding-top: 46px; }
.ppm-dir { grid-area: dir; padding-bottom: 46px; }
.ppm-baixo { grid-area: baixo; padding-top: 46px; }
.ppm-seta { position: absolute; width: 52px; height: 36px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ppm-esq .ppm-seta { top: 4px; right: 4px; transform: scaleX(-1) rotate(-10deg); }
.ppm-dir .ppm-seta { bottom: 2px; left: 0; transform: rotate(-35deg); }
.ppm-baixo .ppm-seta { top: 2px; left: 50%; margin-left: -26px; transform: rotate(80deg); }
@media (max-width: 640px) {
  .aparelhos-galeria { grid-template-columns: 1fr; }
  .ppm-figura { padding: 22px 14px 24px; }
  .ppm-diagrama { grid-template-columns: 1fr 1fr; grid-template-areas: "img img" "esq dir" "baixo baixo"; gap: 14px 12px; }
  .ppm-diagrama .ppm-img { max-width: 300px; margin: 4px auto 0; }
  .ppm-esq, .ppm-dir, .ppm-baixo { padding: 40px 0 0; }
  .ppm-esq .ppm-seta, .ppm-dir .ppm-seta, .ppm-baixo .ppm-seta { top: 0; bottom: auto; left: 50%; right: auto; margin-left: -20px; width: 40px; height: 30px; transform: rotate(-80deg); }
  .ppm-figura .ppm-nota { font-size: .9rem; }
}
