/* =======================================================================
   PSICOBREVE — Site styles
   Design system: warm paper surfaces, wine (#551C25) authority color,
   Fraunces serif display + Inter body. Fully responsive (mobile-first).
   ======================================================================= */

/* ---------- 1. Reset ---------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html, body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd {
  margin: 0;
}

ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

img, picture, svg, video {
  max-width: 100%;
  display: block;
}
/* Mantém proporção quando width/height nativos estão no HTML (evita distorção e CLS). */
img { height: auto; }

button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ---------- 2. Tokens --------------------------------------------------- */
:root {
  /* Surfaces */
  --color-paper:        #FBF8F2;
  --color-white:        #FFFFFF;
  --color-cream:        #F2EDE2;
  --color-cream-deep:   #EEEADE;

  /* Brand */
  --color-brand:        #551C25;
  --color-brand-deep:   #3F141C;
  --color-brand-soft:   #A15662;
  --color-gold:         #C9962E;
  --color-navy:         #304A5B;
  --color-green:        #3E6B41;
  --color-green-deep:   #345A37;

  /* Text */
  --color-ink:          #322329;
  --color-text:         #5D5358;
  --color-text-soft:    #847A7E;
  --color-heading-dark: #322329;

  /* UI */
  --color-border:       #E6DECF;
  --color-card-icon-bg: #F6EFE0;
  --color-google-text:  #6A6A6A;
  --color-google-grey:  #868686;
  --color-google-star:  #F5A623;
  --color-google-green: #34A853;
  --color-review-name:  #322329;
  --color-divider:      rgba(255, 255, 255, 0.10);

  /* Footer text alphas */
  --footer-label:       rgba(255, 255, 255, 0.38);
  --footer-primary:     rgba(255, 255, 255, 0.72);
  --footer-day-label:   rgba(255, 255, 255, 0.72);
  --footer-day-value:   rgba(255, 255, 255, 0.50);
  --footer-link:        rgba(255, 255, 255, 0.58);
  --footer-copyright:   rgba(255, 255, 255, 0.30);

  /* Fonts */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-meta:    'Inter', system-ui, sans-serif;

  /* Geometry */
  --radius-card:    18px;
  --radius-button:  1000px;
  --radius-icon:    14px;
  --page-padding:   20px;
  --container:      1160px;

  --header-h: 72px;

  --shadow-card:
    0 1px 2px rgba(63, 20, 28, 0.05),
    0 12px 32px -12px rgba(63, 20, 28, 0.14);
  --shadow-card-hover:
    0 2px 4px rgba(63, 20, 28, 0.06),
    0 20px 44px -12px rgba(63, 20, 28, 0.20);

  /* Brand noise texture (shared by dark bands) */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='280' height='280' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* ---------- 3. Base ----------------------------------------------------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: var(--color-brand);
  color: var(--color-cream-deep);
}

/* Inner pages wrapper (legacy layout) */
.page {
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  background: var(--color-paper);
}

/* ---------- 4. Layout & typography utilities ---------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--page-padding);
  padding-right: var(--page-padding);
}

.section-eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--color-gold);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 550;
  font-size: clamp(28px, 4.4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--color-brand);
}
.section-title em {
  font-style: italic;
  font-weight: 480;
}

.section-intro {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.65;
  color: var(--color-text);
  max-width: 620px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head--center {
  align-items: center;
  text-align: center;
}
.section-head--center .section-intro { margin: 0 auto; }

/* Legacy label used by inner pages */
.section-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-navy);
  text-align: center;
}

/* Inline text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--color-brand);
  transition: gap 0.25s ease, color 0.2s ease;
}
.link-arrow svg { width: 16px; height: 16px; flex: 0 0 auto; }
.link-arrow:hover { gap: 12px; color: var(--color-brand-deep); }

/* ---------- 5. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 30px;
  max-width: 100%;
  border: none;
  border-radius: var(--radius-button);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  color: var(--color-white);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn svg { width: 20px; height: 20px; flex: 0 0 auto; }
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
}

.btn-sm { height: 44px; padding: 0 22px; font-size: 14px; }
.btn-sm svg { width: 17px; height: 17px; }

/* Primary conversion button — WhatsApp green */
.btn-whatsapp {
  background: var(--color-green);
  box-shadow: 0 6px 18px -6px rgba(62, 107, 65, 0.55);
}
.btn-whatsapp:hover {
  background: var(--color-green-deep);
  box-shadow: 0 10px 26px -6px rgba(62, 107, 65, 0.6);
}

/* Secondary — quiet wine outline */
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(85, 28, 37, 0.30);
  color: var(--color-brand);
}
.btn-outline:hover {
  border-color: var(--color-brand);
  background: rgba(85, 28, 37, 0.05);
}

/* Outline for dark wine bands */
.btn-outline-light {
  background: transparent;
  border: 1.5px solid rgba(238, 234, 222, 0.45);
  color: var(--color-cream-deep);
}
.btn-outline-light:hover {
  border-color: var(--color-cream-deep);
  background: rgba(238, 234, 222, 0.08);
}

/* Legacy button names used across inner pages */
.btn-gold {
  background: var(--color-brand);
  box-shadow: 0 6px 18px -6px rgba(85, 28, 37, 0.5);
}
.btn-gold:hover { background: var(--color-brand-deep); }

.btn-navy {
  background: var(--color-navy);
  box-shadow: 0 6px 18px -6px rgba(48, 74, 91, 0.5);
}
.btn-navy:hover { background: #263c4a; }

.btn-green {
  background: var(--color-green);
  box-shadow: 0 6px 18px -6px rgba(62, 107, 65, 0.55);
}
.btn-green:hover { background: var(--color-green-deep); }

/* CTA microcopy under buttons */
.cta-note {
  font-size: 13px;
  color: var(--color-text-soft);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.cta-note svg { width: 14px; height: 14px; color: var(--color-green); flex: 0 0 auto; }

/* ---------- 6. Header ---------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-h);
  background: rgba(251, 248, 242, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(85, 28, 37, 0.07);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.header.header--scrolled {
  background: rgba(251, 248, 242, 0.97);
  box-shadow: 0 6px 24px -8px rgba(63, 20, 28, 0.14);
}

.header-inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.header-logo img {
  height: 34px;
  width: auto;
  display: block;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  justify-content: center;
}
.header-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-ink);
  padding: 9px 14px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.header-link:hover {
  background: rgba(85, 28, 37, 0.06);
  color: var(--color-brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.header-cta { display: none; }

.btn-menu {
  height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  color: var(--color-brand);
  border: 1.5px solid rgba(85, 28, 37, 0.25);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.2px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.btn-menu svg { width: 16px; height: 16px; }
.btn-menu:hover  { background: rgba(85, 28, 37, 0.06); border-color: var(--color-brand); }
.btn-menu:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

/* Header desktop simplificado: apenas logo + Menu (nav inline e CTA do header
   removidos no desktop a pedido da revisão; navegação completa fica no drawer). */

/* ---------- 7. Hero ------------------------------------------------------ */
.hero {
  position: relative;
  background: var(--color-cream);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -260px;
  right: -200px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(201, 150, 46, 0.14), rgba(201, 150, 46, 0) 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -320px;
  left: -260px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(85, 28, 37, 0.07), rgba(85, 28, 37, 0) 62%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  padding-top: clamp(48px, 7vw, 84px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  max-width: 580px;
}

.hero-eyebrow {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--color-gold);
}

.hero-heading {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(46px, 11vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--color-brand);
}
.hero-heading em {
  font-style: normal;
  font-weight: 640;
  position: relative;
  white-space: nowrap;
}
.hero-heading em::after {
  content: '';
  position: absolute;
  left: -1%;
  right: -1%;
  bottom: -0.06em;
  height: 0.18em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M3 9C30 3.5 88 3 117 6.5' stroke='%23C9962E' stroke-width='4.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  pointer-events: none;
}

.hero-body {
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.65;
  color: var(--color-text);
  max-width: 480px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 10px;
}
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.hero-rating-g { width: 22px; height: 22px; flex: 0 0 auto; }
.hero-rating-score {
  font-weight: 700;
  font-size: 15px;
  color: var(--color-ink);
}
.hero-rating-stars {
  display: inline-flex;
  gap: 1.5px;
  color: var(--color-google-star);
}
.hero-rating-stars svg { width: 14px; height: 14px; }
.hero-rating-count {
  font-size: 13.5px;
  color: var(--color-text-soft);
}

/* Hero visual — arch photo + floating proof cards */
.hero-figure {
  position: relative;
  justify-self: center;
  width: min(380px, 86vw);
  margin: 8px auto 0;
}
.hero-photo {
  width: 100%;
  aspect-ratio: 5 / 5.6;
  object-fit: cover;
  border-radius: 999px 999px 28px 28px;
  box-shadow: 0 32px 64px -24px rgba(63, 20, 28, 0.35);
}
.hero-figure::before {
  content: '';
  position: absolute;
  inset: -14px -14px auto auto;
  width: 100%;
  height: 100%;
  border: 1.5px solid rgba(201, 150, 46, 0.45);
  border-radius: 999px 999px 28px 28px;
  transform: translate(14px, 14px);
  pointer-events: none;
}

.hero-card {
  position: absolute;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: var(--shadow-card-hover);
  padding: 13px 17px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.hero-card--badge {
  top: 26px;
  left: -16px;
}
.hero-card--review {
  bottom: 30px;
  right: -14px;
  max-width: 240px;
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
}
.hero-card-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--color-card-icon-bg);
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-card-icon svg { width: 20px; height: 20px; }
.hero-card-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--color-ink);
  line-height: 1.2;
}
.hero-card-sub {
  font-size: 12px;
  color: var(--color-text-soft);
  line-height: 1.3;
}
.hero-card-stars {
  display: inline-flex;
  gap: 1.5px;
  color: var(--color-google-star);
}
.hero-card-stars svg { width: 13px; height: 13px; }
.hero-card-quote {
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-text);
}

/* No responsivo, hero centralizado (título, texto e botão do WhatsApp) */
@media (max-width: 979px) {
  .hero-content { align-items: center; text-align: center; }
  .hero-cta-row { justify-content: center; }
}

@media (min-width: 980px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 56px;
  }
  .hero-figure { margin-top: 0; }
}

/* ---------- 8. Stats band ------------------------------------------------ */
.stats {
  background: var(--color-paper);
  border-bottom: 1px solid rgba(85, 28, 37, 0.06);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 20px;
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  align-items: center;
}
.stat-value {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1;
  color: var(--color-brand);
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.stat-value .stat-star {
  width: 22px;
  height: 22px;
  color: var(--color-google-star);
  align-self: center;
}
.stat-label {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.4;
  max-width: 200px;
}

@media (min-width: 900px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat { border-left: 1px solid rgba(85, 28, 37, 0.10); }
  .stat:first-child { border-left: none; }
}

/* ---------- 9. Specialties ----------------------------------------------- */
.specialties {
  background: var(--color-paper);
  padding-top: clamp(64px, 8vw, 104px);
  padding-bottom: clamp(64px, 8vw, 104px);
}

.specialty-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 640px)  { .specialty-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .specialty-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; } }

.specialty-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 28px 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.specialty-card:hover {
  transform: translateY(-4px);
  border-color: rgba(85, 28, 37, 0.22);
  box-shadow: var(--shadow-card-hover);
}
.specialty-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-icon);
  background: var(--color-card-icon-bg);
  color: var(--color-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.specialty-icon svg { width: 24px; height: 24px; }
.specialty-title {
  font-weight: 700;
  font-size: 18px;
  color: var(--color-ink);
  line-height: 1.25;
}
.specialty-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-text);
  flex: 1 1 auto;
}
.specialty-card .link-arrow { font-size: 14px; margin-top: 4px; }

/* ---------- 10. How it works --------------------------------------------- */
.how {
  background: var(--color-cream);
  padding-top: clamp(64px, 8vw, 104px);
  padding-bottom: clamp(64px, 8vw, 104px);
}

.how-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  counter-reset: how;
  margin-bottom: clamp(40px, 5vw, 56px);
}
@media (min-width: 820px) {
  .how-steps { grid-template-columns: repeat(3, 1fr); gap: 44px; }
}

.how-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-increment: how;
}
.how-step::before {
  content: '0' counter(how);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 480;
  font-size: 52px;
  line-height: 1;
  color: var(--color-gold);
}
.how-step-title {
  font-weight: 700;
  font-size: 18px;
  color: var(--color-ink);
}
.how-step-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text);
}

@media (min-width: 820px) {
  .how-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 26px;
    left: calc(100% + 8px);
    width: calc(44px - 16px);
    border-top: 2px dashed rgba(85, 28, 37, 0.22);
  }
}

.how-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

/* ---------- 11. Differentiators ------------------------------------------ */
.why {
  background: var(--color-paper);
  padding-top: clamp(64px, 8vw, 104px);
  padding-bottom: clamp(64px, 8vw, 104px);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 640px)  { .why-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); gap: 26px 30px; } }

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.why-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.why-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--color-card-icon-bg);
  color: var(--color-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.why-icon svg { width: 22px; height: 22px; }
.why-text { display: flex; flex-direction: column; gap: 5px; }
.why-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--color-ink);
  line-height: 1.3;
}
.why-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text);
}

/* ---------- 12. Founder band ---------------------------------------------- */
.founder {
  position: relative;
  background: var(--color-brand);
  overflow: hidden;
}
.founder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--noise);
  background-repeat: repeat;
  background-size: 280px 280px;
  opacity: 0.06;
  pointer-events: none;
}
.founder::after {
  content: '';
  position: absolute;
  top: -200px;
  right: -160px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(201, 150, 46, 0.16), rgba(201, 150, 46, 0) 65%);
  pointer-events: none;
}

.founder-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: clamp(72px, 9vw, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}

.founder-eyebrow {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--color-gold);
}

.founder-quote {
  font-family: var(--font-display);
  font-weight: 480;
  font-style: italic;
  font-size: clamp(26px, 3.8vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--color-cream-deep);
}

.founder-attribution {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
}
.founder-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--color-cream-deep);
}
.founder-role {
  font-size: 14px;
  color: rgba(238, 234, 222, 0.62);
}

.founder-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
}

/* ---------- 13. Reviews ---------------------------------------------------- */
.reviews {
  background: var(--color-cream);
  padding-top: clamp(64px, 8vw, 104px);
  padding-bottom: clamp(64px, 8vw, 104px);
}

.reviews-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  margin-bottom: clamp(36px, 5vw, 52px);
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 12px 22px 12px 16px;
  box-shadow: var(--shadow-card);
  flex: 0 0 auto;
}
.google-badge-logo { width: 30px; height: 30px; flex: 0 0 auto; }
.google-badge-text { display: flex; flex-direction: column; gap: 2px; }
.google-badge-rating {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.google-badge-score {
  font-weight: 800;
  font-size: 19px;
  line-height: 1;
  color: var(--color-ink);
}
.google-badge-stars {
  display: inline-flex;
  gap: 1.5px;
  color: var(--color-google-star);
}
.google-badge-stars svg { width: 14px; height: 14px; }
.google-badge-count {
  font-size: 12.5px;
  color: var(--color-text-soft);
  line-height: 1.2;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 32px;
}
@media (min-width: 768px)  { .reviews-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

.review-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.review-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--color-google-star);
}
.review-stars svg { width: 15px; height: 15px; }

.review-quote {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  font-style: normal;
  flex: 1 1 auto;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 11px;
}
.review-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--color-cream-deep);
  color: var(--color-brand);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.review-author {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-review-name);
  line-height: 1.2;
}
.review-source {
  font-size: 12px;
  color: var(--color-text-soft);
  line-height: 1.3;
}

.reviews-foot { display: flex; justify-content: center; }

/* Legacy review list wrapper (depoimentos page) */
.reviews-list-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.reviews-list-grid .review-card { width: 100%; max-width: 380px; }
@media (min-width: 768px) {
  .reviews-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }
  .reviews-list-grid .review-card { max-width: none; }
  .reviews-list-grid .google-summary-card { grid-column: 1 / -1; }
}

/* Legacy Google summary card (depoimentos page) */
.google-summary-card {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.google-summary-bar { height: 4px; background: var(--color-google-green); }
.google-summary-body {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
}
.google-summary-logo { flex: 0 0 auto; width: 52px; height: 52px; }
.google-summary-logo svg { width: 100%; height: 100%; }
.google-summary-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.google-summary-label {
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  color: var(--color-google-text);
}
.google-summary-rating { display: flex; align-items: center; gap: 8px; }
.google-rating-number {
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  color: var(--color-google-star);
}
.google-rating-stars { display: inline-flex; align-items: center; gap: 1px; color: var(--color-google-star); }
.google-rating-stars svg { width: 15px; height: 15px; }
.google-summary-count { font-size: 12.5px; line-height: 1.25; color: var(--color-google-grey); }

/* ---------- 14. FAQ (landing) ---------------------------------------------- */
.faq {
  background: var(--color-paper);
  padding-top: clamp(64px, 8vw, 104px);
  padding-bottom: clamp(64px, 8vw, 104px);
}
.faq .accordion { max-width: 780px; }
.faq-foot {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* ---------- 15. Final CTA band ---------------------------------------------- */
.closing {
  position: relative;
  background: linear-gradient(160deg, var(--color-brand) 0%, var(--color-brand-deep) 100%);
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--noise);
  background-repeat: repeat;
  background-size: 280px 280px;
  opacity: 0.06;
  pointer-events: none;
}
.closing::after {
  content: '';
  position: absolute;
  bottom: -240px;
  left: -180px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(201, 150, 46, 0.13), rgba(201, 150, 46, 0) 65%);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding-top: clamp(72px, 9vw, 116px);
  padding-bottom: clamp(72px, 9vw, 116px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.closing-title {
  font-family: var(--font-display);
  font-weight: 550;
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-cream-deep);
}
.closing-title em { font-style: italic; font-weight: 480; }
.closing-body {
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.65;
  color: rgba(238, 234, 222, 0.78);
  max-width: 540px;
}
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}
.closing-note {
  font-size: 13px;
  color: rgba(238, 234, 222, 0.55);
}

/* ---------- 16. Footer -------------------------------------------------------- */
.section-footer {
  position: relative;
  background-color: var(--color-brand-deep);
}
.section-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--noise);
  background-repeat: repeat;
  background-size: 280px 280px;
  opacity: 0.05;
  pointer-events: none;
}
.section-footer > * { position: relative; z-index: 1; }

/* Legacy CTA block above inner-page footers */
.footer-cta-block {
  background: var(--color-paper);
  padding: 44px var(--page-padding) 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.footer-cta-heading {
  font-family: var(--font-display);
  font-weight: 550;
  font-size: 24px;
  color: var(--color-brand);
}

.footer {
  padding: clamp(48px, 6vw, 72px) var(--page-padding) 28px;
  color: var(--footer-primary);
}

.footer-body {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

/* Rich footer grid (landing) */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 700px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; } }

.footer-brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer-brand-logo img { height: 32px; width: auto; filter: brightness(0) invert(0.92); }
.footer-tagline {
  font-size: 14px;
  line-height: 1.65;
  color: var(--footer-primary);
  max-width: 300px;
}
.footer-social { display: flex; gap: 10px; margin-top: 4px; }
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.footer-social a:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.footer-social svg { width: 18px; height: 18px; }

.footer-group { display: flex; flex-direction: column; }

.footer-heading {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--footer-label);
  margin-bottom: 16px;
}

.footer-info-row {
  font-size: 14px;
  color: var(--footer-primary);
  line-height: 1.7;
}
a.footer-info-row { transition: color 0.2s ease; }
a.footer-info-row:hover { color: #fff; }

.footer-divider {
  height: 1px;
  background: var(--color-divider);
  border: none;
  margin: 4px 0 0;
}

.footer-hours { display: flex; flex-direction: column; gap: 6px; }
.footer-hours-row { font-size: 14px; line-height: 1.5; }
.footer-hours-row .day { color: var(--footer-day-label); }
.footer-hours-row .val { color: var(--footer-day-value); }

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px 14px;
}
.footer-link {
  font-size: 14px;
  color: var(--footer-link);
  transition: color 0.2s ease;
  width: fit-content;
}
.footer-link:hover { color: #fff; }

.footer-portrait { display: none; }

.footer-bottom {
  border-top: 1px solid var(--color-divider);
  margin-top: 14px;
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.footer-copyright {
  text-align: center;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--footer-copyright);
}

/* Links legais (privacidade, termos, exclusão) — presentes em todas as páginas */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 6px;
}
.footer-legal .footer-link { font-size: 13px; }

/* ---------- 17. Floating WhatsApp button --------------------------------- */
.fab-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 150;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px -6px rgba(62, 107, 65, 0.65);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.4, 0.5, 1), visibility 0.3s, background 0.2s ease;
}
.fab-whatsapp svg { width: 28px; height: 28px; }
.fab-whatsapp.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}
.fab-whatsapp:hover { background: var(--color-green-deep); }
.fab-whatsapp::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(62, 107, 65, 0.5);
  animation: fabRing 2.8s ease-out infinite;
  pointer-events: none;
}
@keyframes fabRing {
  0%   { transform: scale(1);    opacity: 0.9; }
  70%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* Botão "voltar ao topo" (criado via JS, presente em todas as páginas) */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 86px;
  z-index: 149;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-paper);
  color: var(--color-brand);
  border: 1.5px solid rgba(85, 28, 37, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 22px -8px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(12px);
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background 0.2s ease, border-color 0.2s ease;
}
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; transform: translateY(0); visibility: visible; }
.to-top:hover { background: var(--color-cream); border-color: var(--color-brand); }
.to-top:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }
@media (min-width: 1024px) {
  .fab-whatsapp { right: 28px; bottom: 28px; }
}

/* ---------- 18. Scroll-in animations -------------------------------------- */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate-delay="1"] { transition-delay: 0.08s; }
[data-animate-delay="2"] { transition-delay: 0.16s; }
[data-animate-delay="3"] { transition-delay: 0.24s; }
[data-animate-delay="4"] { transition-delay: 0.32s; }
[data-animate-delay="5"] { transition-delay: 0.40s; }
[data-animate-delay="6"] { transition-delay: 0.48s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.hero-eyebrow   { animation: fadeInUp 0.6s ease-out 0.10s both; }
.hero-heading   { animation: fadeInUp 0.6s ease-out 0.22s both; }
.hero-body      { animation: fadeInUp 0.6s ease-out 0.34s both; }
.hero-cta-row   { animation: fadeInUp 0.6s ease-out 0.46s both; }
.hero-trust     { animation: fadeInUp 0.6s ease-out 0.58s both; }
.hero-figure    { animation: fadeInScale 0.7s ease-out 0.30s both; }

/* ---------- 19. Reduced motion --------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-animate] { opacity: 1; transform: none; }
  .fab-whatsapp::after { animation: none; }
}

/* =======================================================================
   20. Drawer Menu (all pages)
   ======================================================================= */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 10, 15, 0.50);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  z-index: 200;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 88%;
  max-width: 400px;
  background: var(--color-paper);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0.27, 1);
  z-index: 210;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.drawer.is-open { transform: translateX(0); }

.drawer-header {
  flex: 0 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border-bottom: 1px solid rgba(85, 28, 37, 0.08);
}
.drawer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--color-brand);
  letter-spacing: 0.2px;
}
.drawer-close {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-brand);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.drawer-close:hover  { background: rgba(85, 28, 37, 0.08); transform: rotate(90deg); }
.drawer-close:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}
.drawer-close svg { width: 22px; height: 22px; }

.drawer-nav {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 12px 0 36px;
  -webkit-overflow-scrolling: touch;
}

.drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer-item { border-bottom: 1px solid rgba(85, 28, 37, 0.07); }
.drawer-item:last-child { border-bottom: none; }

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 24px;
  font-family: var(--font-display);
  font-weight: 480;
  font-size: 19px;
  color: var(--color-brand);
  text-decoration: none;
  transition: background 0.2s ease, padding-left 0.25s ease;
  line-height: 1.2;
}
.drawer-link:hover { background: rgba(85, 28, 37, 0.06); padding-left: 30px; }
.drawer-link.is-active {
  font-weight: 600;
  background: rgba(85, 28, 37, 0.06);
}
.drawer-link.is-active::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--color-gold);
  border-radius: 2px;
  margin-right: 12px;
  margin-left: -16px;
}

.drawer-toggle {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--color-brand);
  cursor: pointer;
  transition: background 0.2s ease;
  line-height: 1.2;
}
.drawer-toggle:hover { background: rgba(85, 28, 37, 0.06); }
.drawer-toggle:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: -4px;
}

.drawer-chevron {
  width: 18px;
  height: 18px;
  transition: transform 0.28s ease;
  color: var(--color-brand);
  flex: 0 0 auto;
}
.drawer-toggle[aria-expanded="true"] .drawer-chevron { transform: rotate(180deg); }

.drawer-sublist {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  background: rgba(85, 28, 37, 0.04);
  transition: max-height 0.32s ease;
}
.drawer-sublist.is-open { max-height: 600px; }

.drawer-sublist .drawer-link {
  padding: 13px 24px 13px 44px;
  font-size: 16px;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
}
.drawer-sublist .drawer-link:hover { padding-left: 50px; color: var(--color-brand); }
.drawer-sublist .drawer-link.is-active {
  color: var(--color-brand);
  font-weight: 600;
}
.drawer-sublist .drawer-link.is-active::before { display: none; }

.drawer-footer {
  flex: 0 0 auto;
  padding: 20px 24px 28px;
  border-top: 1px solid rgba(85, 28, 37, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.drawer-footer .btn { width: 100%; max-width: 100%; height: 48px; font-size: 14px; }
.drawer-footer-info {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-text);
  text-align: center;
  margin-top: 6px;
  line-height: 1.5;
}

body.drawer-open { overflow: hidden; }

/* =======================================================================
   21. Page Hero (inner pages)
   ======================================================================= */
.page-hero {
  background: var(--color-cream);
  padding: 44px var(--page-padding) 52px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -160px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(201, 150, 46, 0.12), rgba(201, 150, 46, 0) 65%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.page-hero-eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 4px;
}
.page-hero-title {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 36px;
  line-height: 1.05;
  color: var(--color-brand);
  letter-spacing: -0.01em;
}
.page-hero-subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--color-text);
  max-width: 380px;
  line-height: 1.5;
  margin-top: 4px;
}

/* Article page hero (long titles need tighter scale + width) */
.page-hero--article .page-hero-title {
  font-size: clamp(26px, 4vw, 42px);
  max-width: 860px;
  line-height: 1.15;
}
@media (min-width: 1024px) {
  .page-hero--article .page-hero-title { font-size: 42px; }
}

/* Listing thumbnail placeholder (articles without a featured image) */
.article-thumb--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, var(--color-cream) 0%, var(--color-cream-deep) 100%);
}
.article-thumb--ph span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 56px;
  color: rgba(85, 28, 37, 0.30);
}

/* =======================================================================
   22. Inner-page content components
   ======================================================================= */
.page-section {
  padding: 32px var(--page-padding);
  background: var(--color-paper);
}
.page-section + .page-section { padding-top: 0; }
.page-section.bg-cream {
  background: var(--color-cream);
  padding-top: 32px;
}

.prose {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.prose p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--color-text);
}
.prose p strong, .prose strong { color: var(--color-brand); font-weight: 600; }
.prose a {
  color: var(--color-brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}
.prose a:hover { color: var(--color-brand-deep); }
.prose ul, .prose ol {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--color-text);
  font-size: 15.5px;
  line-height: 1.6;
}
.prose ul li::marker { color: var(--color-gold); }
.prose h2 {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 26px;
  color: var(--color-brand);
  margin-top: 18px;
  letter-spacing: -0.01em;
}
.prose h3,
.prose h4 {
  font-weight: 600;
  font-size: 17px;
  color: var(--color-brand);
  margin-top: 10px;
}
.prose img {
  border-radius: 14px;
  margin: 10px auto;
  height: auto;
}

/* Article page (artigo-*.html) */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-soft);
}
.article-meta .dot { opacity: 0.6; }
.article-featured {
  max-width: 780px;
  margin: 0 auto 28px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card-hover);
}
.article-featured img {
  width: 100%;
  height: auto;
  display: block;
}
.article-back {
  display: flex;
  justify-content: center;
  margin: 32px auto 0;
}

.block-title {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 28px;
  color: var(--color-brand);
  text-align: center;
  margin: 0 auto 18px;
  max-width: 620px;
  letter-spacing: -0.01em;
}
.block-subtitle {
  font-size: 14.5px;
  text-align: center;
  color: var(--color-text);
  max-width: 500px;
  margin: -10px auto 22px;
  line-height: 1.55;
}

/* Missão / Visão / Valores */
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 620px;
  margin: 0 auto;
}
.pillar-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 24px 24px 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pillar-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--color-brand);
  margin: 0;
}
.pillar-card p, .pillar-card li {
  font-size: 14.5px;
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
}
.pillar-card ul { padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.pillar-card ul li::marker { color: var(--color-gold); }

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 620px;
  margin: 0 auto;
}
.team-grid--leadership {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.team-grid--leadership .team-card { flex: 0 1 190px; }
.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 16px 10px 18px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.team-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-cream);
  flex: 0 0 auto;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-name {
  font-weight: 600;
  font-size: 13px;
  color: var(--color-heading-dark);
  text-align: center;
  line-height: 1.25;
}
.team-role {
  font-size: 11px;
  color: var(--color-text);
  text-align: center;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  opacity: 0.75;
}

.team-section-label {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--color-gold);
  text-align: center;
  margin: 28px auto 14px;
}

/* Accordion (FAQ, Tratamentos, Atendimentos…) */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 620px;
  margin: 0 auto;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}
.accordion-item { border-top: 1px solid rgba(85, 28, 37, 0.08); }
.accordion-item:first-child { border-top: none; }
.accordion-toggle {
  width: 100%;
  background: transparent;
  border: none;
  padding: 19px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--color-brand);
  text-align: left;
  line-height: 1.35;
  transition: background 0.2s ease;
}
.accordion-toggle:hover { background: rgba(85, 28, 37, 0.035); }
.accordion-toggle:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: -3px;
}
.accordion-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--color-gold);
  transition: transform 0.28s ease;
}
.accordion-toggle[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #FAF6EC;
}
.accordion-panel-inner {
  padding: 6px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--color-text);
}
.accordion-panel-inner h4 {
  font-weight: 600;
  font-size: 13px;
  color: var(--color-brand);
  margin: 6px 0 -4px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.accordion-panel-inner ul,
.accordion-panel-inner ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
}
.accordion-panel-inner ul li::marker { color: var(--color-gold); }
.accordion-panel-inner p { margin: 0; }
.accordion-panel-inner a {
  color: var(--color-brand);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Convênios — partner logos */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 620px;
  margin: 0 auto;
}
.partner-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 18px 14px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease;
}
.partner-card:hover { transform: translateY(-2px); }
.partner-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: saturate(0.95);
}

/* Articles */
.article-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 620px;
  margin: 0 auto;
}
.article-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}
.article-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--color-cream);
  overflow: hidden;
}
.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article-date {
  font-size: 11px;
  color: var(--color-text);
  opacity: 0.7;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.article-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.25;
  color: var(--color-brand);
}
.article-excerpt {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--color-text);
}

/* YouTube channel banner card (videos page) */
.yt-channel {
  max-width: 960px;
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.yt-channel-banner {
  width: 100%;
  aspect-ratio: 1707 / 282;
  min-height: 96px;
  background: var(--color-cream);
}
.yt-channel-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.yt-channel-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 0 24px 28px;
}
.yt-channel-avatar {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 4px solid var(--color-white);
  box-shadow: var(--shadow-card);
  margin-top: -52px;
  background: var(--color-cream);
}
.yt-channel-info { display: flex; flex-direction: column; gap: 5px; }
.yt-channel-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.1;
  color: var(--color-brand);
  margin: 0;
}
.yt-channel-handle {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink);
}
.yt-channel-handle .sep { color: var(--color-text-soft); font-weight: 400; }
.yt-channel-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-text);
  max-width: 560px;
}
.btn-yt {
  background: #C00000;
  box-shadow: 0 6px 18px -6px rgba(192, 0, 0, 0.5);
}
.btn-yt:hover { background: #A30000; }

@media (min-width: 768px) {
  .yt-channel-body {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 22px;
    padding: 0 32px 30px;
  }
  .yt-channel-avatar { flex: 0 0 auto; }
  .yt-channel-info { flex: 1 1 auto; padding-top: 18px; }
  .yt-channel-body .btn-yt { margin-top: 22px; flex: 0 0 auto; }
}

/* Click-to-load video facade (no iframe until play) */
.video-lite {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  padding: 0;
  background: #000;
  cursor: pointer;
  overflow: hidden;
}
.video-lite img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.3s ease;
}
.video-lite:hover img { transform: scale(1.04); opacity: 0.88; }
.video-lite:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: -3px;
}
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 42px;
  border-radius: 12px;
  background: rgba(33, 33, 33, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.video-play svg { width: 22px; height: 22px; }
.video-lite:hover .video-play {
  background: #C00000;
  transform: translate(-50%, -50%) scale(1.08);
}

/* Videos */
.video-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 620px;
  margin: 0 auto;
}
.video-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-caption {
  padding: 12px 16px 14px;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-brand);
  line-height: 1.3;
}

/* Depoimentos grid */
.testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 620px;
  margin: 0 auto;
}
.testimonials-grid .review-card { max-width: none; }

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 620px;
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 24px 22px 28px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-brand);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--color-text);
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #FAF6EC;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(85, 28, 37, 0.10);
}
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form .btn { width: 100%; max-width: 100%; }

/* Contact channels */
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 620px;
  margin: 0 auto;
}
.channel-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 16px 18px;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.channel-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.channel-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--color-card-icon-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
}
.channel-icon.is-green { background: rgba(62, 107, 65, 0.12); color: var(--color-green); }
.channel-icon.is-navy  { background: rgba(48, 74, 91, 0.12); color: var(--color-navy); }
.channel-icon.is-gold  { background: var(--color-card-icon-bg); color: var(--color-gold); }
.channel-icon svg { width: 22px; height: 22px; }
.channel-text { display: flex; flex-direction: column; gap: 2px; }
.channel-label {
  font-weight: 600;
  font-size: 13px;
  color: var(--color-heading-dark);
}
.channel-value {
  font-size: 14px;
  color: var(--color-text);
}

/* Process timeline */
.process-list {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 620px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.process-list li {
  position: relative;
  padding: 16px 18px 16px 60px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  font-size: 14.5px;
  color: var(--color-text);
  line-height: 1.55;
  counter-increment: step;
}
.process-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 15px;
  top: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-brand);
  color: var(--color-cream-deep);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.process-list li strong {
  display: block;
  color: var(--color-brand);
  font-weight: 600;
  font-size: 14.5px;
  margin-bottom: 2px;
}

/* Books (Dr. Nelio) */
.book-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 620px;
  margin: 0 auto;
}
.book-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.book-cover {
  width: 140px;
  aspect-ratio: 2 / 3;
  background: var(--color-cream);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(63, 20, 28, 0.20);
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--color-brand);
  line-height: 1.2;
}
.book-card .btn { width: 100%; max-width: 240px; height: 44px; font-size: 13px; }

/* Featured photo */
.featured-photo {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  margin: 0 auto 8px;
  border-radius: 999px 999px 24px 24px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(63, 20, 28, 0.18);
}
.featured-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Inline CTA on inner pages */
.cta-section {
  background: var(--color-paper);
  padding: 44px var(--page-padding) 48px;
  text-align: center;
}
.cta-section .cta-heading {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 26px;
  color: var(--color-brand);
  margin-bottom: 8px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.cta-section .cta-body {
  font-size: 14.5px;
  color: var(--color-text);
  margin-bottom: 18px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}
.cta-section .btn { margin: 0 auto; display: inline-flex; }

.soft-divider {
  display: block;
  width: 64px;
  height: 3px;
  background: var(--color-gold);
  border-radius: 2px;
  margin: 18px auto;
}

/* =======================================================================
   23. Inner pages — responsive
   ======================================================================= */
@media (min-width: 768px) {
  .page { max-width: none; }

  .page-hero {
    padding: 64px 32px 76px;
  }
  .page-hero-title { font-size: 48px; }
  .page-hero-subtitle { font-size: 16px; max-width: 540px; }

  .page-section { padding: 52px 32px; }
  .page-section.bg-cream { padding-top: 52px; }

  .pillar-grid     { grid-template-columns: repeat(3, 1fr); max-width: 960px; gap: 18px; }
  .team-grid       { grid-template-columns: repeat(4, 1fr); max-width: 960px; gap: 18px; }
  .team-grid--leadership { grid-template-columns: repeat(3, 1fr); max-width: 780px; }
  .accordion       { max-width: 780px; }
  .prose           { max-width: 700px; }
  .partners-grid   { grid-template-columns: repeat(4, 1fr); max-width: 960px; }
  .article-grid    { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 960px; gap: 20px; }
  .video-grid      { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 960px; gap: 20px; }
  .testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 960px; gap: 20px; }
  .book-grid       { grid-template-columns: repeat(2, 1fr); max-width: 780px; }
  .contact-channels{ flex-direction: row; flex-wrap: wrap; max-width: 780px; }
  .channel-card    { flex: 1 1 calc(50% - 6px); min-width: 240px; }

  .block-title { font-size: 34px; }
}

@media (min-width: 1024px) {
  .page-hero-title { font-size: 54px; }
  .team-grid       { grid-template-columns: repeat(5, 1fr); max-width: 1100px; }
  .partners-grid   { grid-template-columns: repeat(6, 1fr); max-width: 1100px; }
  .article-grid    { grid-template-columns: repeat(3, 1fr); max-width: 1100px; }
  .video-grid      { grid-template-columns: repeat(3, 1fr); max-width: 1100px; }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); max-width: 1100px; }

  .drawer { max-width: 420px; }
}

/* ---------- Tratamentos: busca + filtro por tema ---------------------- */
.treatments-controls {
  max-width: 760px;
  margin: 0 auto;
}
.treatments-search {
  width: 100%;
  height: 48px;
  padding: 0 18px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-ink);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.treatments-search:focus-visible {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(85, 28, 37, 0.12);
}
.treatments-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.t-chip {
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-brand);
  background: var(--color-paper);
  border: 1.5px solid rgba(85, 28, 37, 0.2);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.t-chip:hover { background: var(--color-cream); }
.t-chip.is-active {
  background: var(--color-brand);
  color: var(--color-white);
  border-color: var(--color-brand);
}
.t-chip:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }
.treatments-empty {
  text-align: center;
  color: var(--color-text);
  padding: 12px 0;
}

/* ---------- Paginação (artigos) -------------------------------------- */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}
.page-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-brand);
  background: var(--color-white);
  border: 1.5px solid rgba(85, 28, 37, 0.2);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.page-btn:hover:not(:disabled) { background: var(--color-cream); }
.page-btn.is-active {
  background: var(--color-brand);
  color: var(--color-white);
  border-color: var(--color-brand);
}
.page-btn:disabled { opacity: 0.4; cursor: default; }
.page-btn:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }

/* ---------- Artigos: bloco de serviços relacionados ------------------ */
.article-services {
  margin-top: 14px;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
}
.article-services a { color: var(--color-brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- A Clínica: faixa de números/autoridade ------------------- */
.clinic-stats {
  list-style: none;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
  max-width: 680px;
  margin: 30px auto 0;
  padding: 0;
}
.clinic-stats li {
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 16px 14px;
  text-align: center;
}
.clinic-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-brand);
}
.clinic-stat-label {
  display: block;
  font-size: 13px;
  color: var(--color-text);
  margin-top: 4px;
}
@media (min-width: 760px) { .clinic-stats { grid-template-columns: repeat(4, 1fr); } }

/* Nota de avaliação dentro da seção "Como podemos ajudar" */
.specialties-rating { display: flex; justify-content: center; margin-bottom: 30px; }

/* Garante que o atributo [hidden] funcione mesmo em elementos com display
   próprio (cards de artigo/equipe, accordion-items) — paginação e filtros. */
[hidden] { display: none !important; }

/* ---------- 20. Cookies / consentimento LGPD ------------------------------ */
/* Todo o markup é injetado via js/main.js — nenhuma página precisa de HTML. */

.ck-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 200;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow:
    0 2px 6px rgba(63, 20, 28, 0.08),
    0 18px 44px -12px rgba(63, 20, 28, 0.28);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.45s;
}
.ck-banner.ck-hidden {
  opacity: 0;
  transform: translateY(calc(100% + 24px));
  visibility: hidden;
  pointer-events: none;
}

.ck-banner-main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ck-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 4px rgba(23, 27, 30, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
}
.ck-icon svg { width: 28px; height: 28px; }

.ck-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0.25px;
  color: var(--color-ink);
  align-self: center;
}
.ck-text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}
.ck-text a:hover { color: var(--color-brand); }

.ck-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ck-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 32px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.ck-btn--primary {
  background: var(--color-brand);
  color: #fff;
}
.ck-btn--primary:hover { background: var(--color-brand-deep); }
.ck-btn--ghost {
  background: var(--color-white);
  color: var(--color-ink);
  border-color: #CBD5E1;
}
.ck-btn--ghost:hover { border-color: var(--color-brand); color: var(--color-brand); }
.ck-btn:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }

.ck-close {
  position: absolute;
  top: -12px;
  right: -6px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: #CFD8DC;
  color: #1F2937;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: background 0.2s ease, transform 0.2s ease;
}
.ck-close:hover { background: #B7C4C9; transform: scale(1.06); }
.ck-close:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }
.ck-close svg { width: 14px; height: 14px; }

/* Desktop: barra de largura total, tudo em uma linha */
@media (min-width: 860px) {
  .ck-banner {
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 12px clamp(20px, 4vw, 56px);
  }
  .ck-banner-main { flex: 1; align-items: center; }
  .ck-actions { flex: 0 0 auto; }
  .ck-close { top: -14px; right: 14px; }
}

/* Selo/atalho de cookies ancorado no topo do rodapé (metade pra fora) */
.ck-badge {
  position: absolute;
  left: 18px;
  top: -28px;
  z-index: 5;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: var(--color-white);
  color: #64748B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(23, 27, 30, 0.15);
  cursor: pointer;
  opacity: 0;
  transform: scale(0.4);
  transition:
    opacity 0.3s ease,
    transform 0.45s cubic-bezier(0.34, 1.45, 0.5, 1),
    box-shadow 0.2s ease;
}
.ck-badge.is-visible { opacity: 1; transform: scale(1); }
.ck-badge:hover { box-shadow: 0 4px 14px rgba(23, 27, 30, 0.25); transform: scale(1.06); }
.ck-badge:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }
.ck-badge svg { width: 32px; height: 32px; }
@media (min-width: 1024px) { .ck-badge { left: 32px; } }

/* Modal de preferências */
.ck-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  visibility: hidden;
}
.ck-modal.is-open { visibility: visible; }
@media (min-width: 640px) { .ck-modal { align-items: center; } }

.ck-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(50, 25, 32, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ck-modal.is-open .ck-modal-backdrop { opacity: 1; }

.ck-modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card-hover);
  padding: 26px 22px 22px;
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition:
    opacity 0.3s ease,
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.ck-modal.is-open .ck-modal-card { opacity: 1; transform: translateY(0) scale(1); }

.ck-modal-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--color-brand);
  margin: 0 0 6px;
  padding-right: 36px;
}
.ck-modal-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0 0 18px;
}
.ck-modal-desc a {
  color: var(--color-brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ck-modal .ck-close { top: 14px; right: 14px; }

.ck-cat {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.ck-cat + .ck-cat { margin-top: 10px; }
.ck-cat-info { flex: 1; }
.ck-cat-name {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-ink);
}
.ck-cat-desc {
  display: block;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text-soft);
  margin-top: 2px;
}
.ck-cat-always {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-green);
  white-space: nowrap;
}

/* Toggle switch */
.ck-switch {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 44px;
  height: 24px;
}
.ck-switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.ck-switch-track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #CBD5E1;
  transition: background 0.25s ease;
  pointer-events: none;
}
.ck-switch-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s cubic-bezier(0.34, 1.3, 0.5, 1);
}
.ck-switch input:checked + .ck-switch-track { background: var(--color-green); }
.ck-switch input:checked + .ck-switch-track::after { transform: translateX(20px); }
.ck-switch input:focus-visible + .ck-switch-track {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

.ck-modal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
.ck-modal-actions .ck-btn--link {
  background: none;
  border: none;
  color: var(--color-text-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 8px 4px;
  margin-left: auto;
}
.ck-modal-actions .ck-btn--link:hover { color: var(--color-brand); }
