/* Base comum aos dois sites do Grupo Sette. As cores e fontes de cada marca ficam em theme-*.css */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.menu-open { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: var(--display-tracking, -0.02em); color: var(--ink-strong); font-weight: var(--display-weight, 600); }
p { margin: 0; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink-strong); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-soft { background: var(--soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head { max-width: 720px; display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-title { font-size: clamp(2rem, 4.4vw, 3.25rem); }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.2rem); color: var(--muted); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), background-color .25s, color .25s, box-shadow .25s, border-color .25s;
}
.btn .icon { transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px var(--brand); }
.btn-primary:hover { background: var(--brand-ink); box-shadow: 0 16px 30px -14px var(--brand); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -12px var(--accent); }
.btn-accent:hover { filter: brightness(.94); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink-strong); background: transparent; }
.btn-ghost:hover { border-color: var(--ink-strong); }
.btn-light { background: #fff; color: var(--brand-ink); }
.btn-light:hover { background: var(--soft); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand); text-decoration: none; min-height: 44px; }
.link-arrow .icon { transition: transform .25s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Barra de topo (Sette Kids) */
.topbar { background: var(--brand-ink); color: #fff; font-size: .875rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; opacity: .92; }
.topbar a:hover { opacity: 1; text-decoration: underline; }
.topbar .topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .social { display: flex; gap: 4px; }
.topbar .social a { width: 36px; height: 36px; justify-content: center; }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgba(16, 24, 40, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: var(--logo-h, 140px); width: auto; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a.nav-link { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--ink); transition: background-color .2s, color .2s; }
.site-nav a.nav-link:hover { background: var(--soft); color: var(--brand-ink); }
.site-nav a.nav-link[aria-current="page"] { color: var(--brand); }
.site-nav .btn { margin-left: 10px; }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: #fff; align-items: center; justify-content: center; }
.menu-toggle .icon-close { display: none; }
html.menu-open .menu-toggle .icon-open { display: none; }
html.menu-open .menu-toggle .icon-close { display: block; }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: 0; top: var(--header-h, 120px); z-index: 39; background: var(--bg);
    flex-direction: column; align-items: stretch; gap: 4px; padding: 20px 20px 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  html.menu-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .site-nav a.nav-link { font-size: 1.375rem; padding: 14px 8px; border-radius: 12px; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin: 18px 0 0; }
}

/* Revelação ao rolar */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Cards de artigo */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -34px rgba(16,24,40,.45); }
.post-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .body { display: grid; gap: 12px; padding: 22px 24px 26px; flex: 1; align-content: start; }
.post-card .meta { display: flex; gap: 14px; font-size: .8125rem; color: var(--muted); font-weight: 600; }
.post-card .meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-card h3 { font-size: 1.25rem; line-height: 1.25; }
.post-card p { color: var(--muted); font-size: .9375rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.section-cta { display: flex; justify-content: center; margin-top: 48px; }

/* Cabeçalho das páginas internas */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); background: var(--soft); position: relative; overflow: hidden; }
.page-hero .container { display: grid; gap: 18px; max-width: 900px; }
.page-hero h1 { font-size: clamp(2.375rem, 5.6vw, 4.25rem); }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; text-decoration: none; min-height: 44px; }
.back-link:hover { color: var(--brand); }

/* Texto corrido */
.prose { max-width: 740px; margin-inline: auto; font-size: 1.125rem; line-height: 1.8; color: var(--ink); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-top: 2em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.8em; }
.prose h4 { font-size: 1.15rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--accent); }
.prose a:not(.btn) { color: var(--brand); font-weight: 600; }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--radius); width: 100%; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); font-style: italic; color: var(--ink-strong); }
.prose strong { color: var(--ink-strong); }

.article-cover { width: min(1040px, 100% - 40px); margin: -12px auto 0; position: relative; z-index: 1; }
.article-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: calc(var(--radius) + 6px); box-shadow: 0 40px 70px -50px rgba(16,24,40,.6); }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-weight: 600; font-size: .9375rem; }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-end { max-width: 740px; margin: 56px auto 0; padding: 32px; border-radius: var(--radius); background: var(--soft); display: grid; gap: 18px; justify-items: start; }
.article-end h2 { font-size: 1.5rem; }

/* Faixa de contato */
.contact-band { background: var(--brand-ink); color: #fff; border-radius: calc(var(--radius) + 10px); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; overflow: hidden; }
.contact-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.contact-band .eyebrow { color: var(--accent-on-dark, #fff); }
.contact-band .contact-list { display: grid; gap: 4px; }
.contact-list a, .contact-list div { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; text-decoration: none; transition: background-color .2s; line-height: 1.45; }
.contact-list a:hover { background: rgba(255,255,255,.08); }
.contact-list .icon { margin-top: 2px; opacity: .9; }
.contact-list small { display: block; font-size: .8125rem; opacity: .7; font-weight: 600; letter-spacing: .02em; }

/* Rodapé */
.site-footer { background: var(--footer-bg); color: rgba(255,255,255,.86); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: auto 1fr 1fr; gap: 48px; align-items: start; }
.footer-brand img { height: 140px; width: auto; }
.footer-col { display: grid; gap: 10px; font-size: .9375rem; }
.footer-col h2 { font-family: var(--font-body); font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-weight: 700; margin-bottom: 6px; }
.footer-col a { text-decoration: none; display: inline-flex; gap: 10px; align-items: flex-start; min-height: 32px; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-col p { display: flex; gap: 10px; }
.footer-group { display: flex; align-items: center; gap: 18px; margin-top: 8px; }
.footer-group img { height: 72px; width: auto; }
.footer-social { display: flex; gap: 8px; margin-top: 6px; }
.footer-social a { width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); justify-content: center; align-items: center; }
.footer-social a:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.footer-legal { margin-top: 56px; border-top: 1px solid rgba(255,255,255,.14); padding: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: .8125rem; color: rgba(255,255,255,.7); }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-legal a, .footer-legal button { color: inherit; text-decoration: none; background: none; border: 0; padding: 0; font-size: inherit; min-height: 32px; }
.footer-legal a:hover, .footer-legal button:hover { color: #fff; text-decoration: underline; }

/* Botão flutuante de WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 30px -10px rgba(0,0,0,.4);
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s;
}
.wa-float:hover { transform: scale(1.07); box-shadow: 0 18px 36px -10px rgba(0,0,0,.45); }

/* Aviso de cookies */
.cookie-banner { position: fixed; left: 16px; bottom: 16px; z-index: 50; width: min(440px, calc(100% - 32px)); background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; box-shadow: 0 30px 60px -30px rgba(16,24,40,.45); display: grid; gap: 14px; font-size: .9375rem; line-height: 1.5; }
.cookie-banner[hidden] { display: none; }
.cookie-banner a { color: var(--brand); font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { min-height: 44px; padding: 0 20px; font-size: .9375rem; }

/* Páginas legais */
.legal { max-width: 780px; margin-inline: auto; }
.legal h2 { font-size: 1.4rem; margin-top: 2.2em; }
.legal .updated { color: var(--muted); font-weight: 600; }
.legal table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.table-wrap { overflow-x: auto; }

/* 404 */
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.not-found .container { display: grid; gap: 20px; justify-items: center; }
.not-found h1 { font-size: clamp(2.5rem, 6vw, 4rem); }

@media (max-width: 960px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { width: min(1200px, 100% - 32px); }
  .post-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .header-inner { min-height: 84px; }
  .btn { white-space: normal; text-align: center; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .cookie-banner { left: 12px; bottom: 12px; width: calc(100% - 24px - 68px); }
  .prose { font-size: 1.0625rem; }
}

/* Bloco de texto e imagem lado a lado */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: calc(var(--radius) + 8px); }
.split-media.tall img { aspect-ratio: 4 / 5; }
.split-media::after { content: ""; position: absolute; inset: auto -14px -14px auto; width: 46%; height: 46%; border-radius: calc(var(--radius) + 8px); background: var(--accent-soft); z-index: -1; }
.split-copy { display: grid; gap: 20px; justify-items: start; }
.split-copy p { color: var(--ink); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media::after { inset: auto -8px -8px auto; }
}

/* Clínica Sette: azul e rosa do Grupo Sette, tom calmo e acolhedor */
:root {
  --brand: #0f69b3; --brand-ink: #0b4f8a; --accent: #e93462; --accent-soft: #fde4ea; --accent-on-dark: #ffb3c6;
  --bg: #fbfaf8; --soft: #eef5fc; --ink: #33404f; --ink-strong: #0f2238; --muted: #5d6b7b;
  --line: #e3e8ef; --line-strong: #c9d3df; --footer-bg: #0c2742;
  --radius: 22px;
  --font-display: 'Fraunces', Georgia, serif; --display-weight: 500; --display-tracking: -0.025em;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --logo-h: 140px; --header-h: 164px;
}
.header-inner { min-height: 164px; }
@media (max-width: 640px) { :root { --logo-h: 104px; --header-h: 124px; } .header-inner { min-height: 124px; } }

.cs-hero { padding: clamp(28px, 4vw, 56px) 0 clamp(72px, 9vw, 120px); overflow: hidden; }
.cs-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.cs-hero-copy { display: grid; gap: 26px; justify-items: start; }
.cs-hero h1 { font-size: clamp(2.75rem, 6.4vw, 5.25rem); line-height: 1.02; }
.cs-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cs-hero-media { position: relative; }
.cs-hero-media > img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 60% center; border-radius: 34px 34px 160px 34px; box-shadow: 0 50px 80px -60px rgba(15, 34, 56, .7); }
.cs-float { position: absolute; display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 20px; padding: 14px 18px; box-shadow: 0 24px 50px -28px rgba(15, 34, 56, .55); font-size: .9375rem; line-height: 1.35; color: var(--ink-strong); }
.cs-float strong { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.cs-float-a { left: -28px; bottom: 48px; animation: cs-bob 7s ease-in-out infinite; }
.cs-float-b { right: 18px; top: 22px; font-weight: 600; animation: cs-bob 8s ease-in-out -2s infinite; }
.cs-float-b .icon { color: var(--accent); }
.cs-float-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand); color: #fff; }
@keyframes cs-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.cs-services { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cs-service { background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: clamp(28px, 4vw, 44px); display: grid; gap: 18px; justify-items: start; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.cs-service:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -40px rgba(15, 34, 56, .5); }
.cs-service h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.cs-service p { color: var(--muted); }
.cs-service-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--soft); color: var(--brand); }
.cs-service-icon .icon { width: 28px; height: 28px; }
.cs-service-alt .cs-service-icon { background: var(--accent-soft); color: var(--accent); }

.cs-testimonials { background: linear-gradient(180deg, var(--bg), #fff4f7 60%, var(--bg)); }
.cs-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cs-quote { margin: 0; background: #fff; border-radius: calc(var(--radius) + 4px); padding: 32px 30px; border: 1px solid var(--line); display: grid; gap: 18px; align-content: start; }
.cs-quote-mark { color: var(--accent); }
.cs-quote-mark .icon { width: 34px; height: 34px; }
.cs-quote blockquote { margin: 0; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.5; color: var(--ink-strong); }
.cs-quote figcaption { font-weight: 700; color: var(--brand); }

@media (max-width: 960px) {
  .cs-hero-grid { grid-template-columns: 1fr; }
  .cs-hero-media { max-width: 560px; }
  .cs-quotes { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .cs-services { grid-template-columns: 1fr; }
  .cs-float-a { left: 10px; bottom: 16px; }
  .cs-float-b { right: 10px; top: 12px; }
  .cs-hero-media > img { border-radius: 26px 26px 100px 26px; }
}
