:root {
  --navy-950: #030810;
  --navy-900: #050b18;
  --navy-800: #081020;
  --ink: #1a2233;
  --paper: #e8e2d9;
  --paper-soft: #eef2f0;
  --paper-warm: #fffdf8;
  --champanhe: #E8D9BF;
  --champanhe-claro: #F3ECDC;
  --champanhe-soft: rgba(232, 217, 191, 0.55);
  --champanhe-muted: rgba(232, 217, 191, 0.35);
  --champanhe-faint: rgba(232, 217, 191, 0.1);
  --gold: #E8D9BF;
  --gold-light: #F3ECDC;
  --muted: rgba(232, 217, 191, 0.45);
  --line: rgba(232, 217, 191, 0.12);
  --line-dark: rgba(26, 34, 51, 0.08);
  --success: #7aa68a;
  --font-sans: "Outfit", "Segoe UI", Arial, sans-serif;
  --font-serif: "Outfit", Georgia, serif;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 18px 44px rgba(7, 19, 35, 0.10);
}

[data-theme="light"] {
  --navy-950: #e9ebef;
  --navy-900: #e0e3e8;
  --navy-800: #d4d8df;
  --paper: #1a2233;
  --champanhe: #8A6D1F;
  --champanhe-soft: rgba(138, 109, 31, 0.6);
  --champanhe-muted: rgba(138, 109, 31, 0.4);
  --champanhe-faint: rgba(138, 109, 31, 0.06);
  --gold: #8A6D1F;
  --gold-light: #5c4a12;
  --muted: rgba(138, 109, 31, 0.55);
  --line: rgba(138, 109, 31, 0.15);
}

body[data-theme="light"] {
  color: var(--ink);
  background: linear-gradient(180deg, var(--navy-950), var(--navy-900));
}

body[data-theme="light"] .splash-screen {
  background:
    radial-gradient(circle at 50% 42%, rgba(232, 217, 191, 0.12), transparent 18rem),
    linear-gradient(145deg, #e9ebef, #e0e3e8);
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  min-height: 100%;
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--paper);
  background:
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(232, 217, 191, 0.16), transparent 18rem),
    linear-gradient(145deg, var(--navy-900), var(--navy-950)),
    var(--navy-950);
  opacity: 1;
  visibility: visible;
  transition: opacity 900ms ease, visibility 900ms ease;
}

.splash-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.045), transparent),
    radial-gradient(circle at center, transparent 0 45%, rgba(0, 0, 0, 0.28));
  opacity: 0.75;
}

.splash-screen.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-screen.hide::after {
  opacity: 0;
}

.splash-logo {
  position: relative;
  width: min(42vw, 220px);
  min-width: 128px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  animation: logoEntrance 900ms ease 160ms forwards, logoGlow 3s ease 900ms infinite;
}

.splash-logo img {
  position: relative;
  z-index: 1;
  filter:
    sepia(0.12)
    saturate(0.85)
    hue-rotate(10deg)
    brightness(1.05)
    contrast(1.02)
    drop-shadow(0 0 16px rgba(232, 217, 191, 0.18));
}

.app-shell {
  min-height: 100vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 800ms ease, visibility 800ms ease;
}

.app-shell.show {
  opacity: 1;
  visibility: visible;
}

.profile-gate.is-hidden,
.home-view {
  display: none;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold-light);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.risk-panel h2,
.diagnostic-band h2 {
  margin: 0;
  font-family: var(--font-serif);
  line-height: 1.02;
  font-weight: 200;
  letter-spacing: -0.5px;
}

.choice-card:focus-visible,
.choice-list-item:focus-visible,
.back-button:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

/* ── GATE ── */
.profile-gate {
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(circle at 50% 30%,
      rgba(232,217,191,0.05), transparent 20rem),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}

/* ── MOBILE: layout lista centralizada ── */
.choice-grid { display: none; }

.profile-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.choice-brand-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2rem;
}

.brand-logo-svg {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: sepia(0.12) saturate(0.85) hue-rotate(10deg)
          brightness(1.05) contrast(1.02);
  margin-bottom: 10px;
}

.choice-brand-center strong {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--champanhe);
  letter-spacing: 0.3px;
  display: block;
}

.brand-subtitle {
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--champanhe-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 3px;
  display: block;
}

.brand-divider {
  width: 24px;
  height: 0.5px;
  background: rgba(232,217,191,0.2);
  margin: 14px auto;
}

.profile-gate-label {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--champanhe-muted);
  margin: 0;
}

/* lista mobile */
.choice-list {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
}

.choice-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 0.5px solid var(--line);
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: opacity 200ms;
  width: 100%;
}

.choice-list-item:last-child {
  border-bottom: none;
}

.choice-list-item:hover { opacity: 0.7; }

.choice-list-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.choice-list-num {
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--champanhe-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.choice-list-title {
  font-size: 1rem;
  font-weight: 200;
  color: var(--champanhe);
  letter-spacing: -0.1px;
}

.choice-list-arrow {
  font-size: 1rem;
  color: rgba(232,217,191,0.3);
  font-weight: 200;
}

/* ── DESKTOP: grid 2x2 com fotos ── */
@media (min-width: 768px) {
  .profile-gate {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    padding: 0;
    position: relative;
  }

  /* esconde lista no desktop */
  .choice-list { display: none; }

  /* mostra grid no desktop */
  .choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    width: 100%;
    height: 100vh;
    height: 100svh;
    gap: 0;
  }

  /* logo flutuante centralizada sobre o grid */
  .choice-brand-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
    margin-bottom: 0;
  }

  .brand-logo-svg {
    width: clamp(40px, 5vw, 60px);
    height: clamp(40px, 5vw, 60px);
  }

  .choice-brand-center strong {
    font-size: clamp(0.9rem, 1.6vw, 1.1rem);
    white-space: nowrap;
  }

  .brand-subtitle {
    font-size: 0.58rem;
  }

  .profile-gate-label {
    font-size: 0.68rem;
  }

  /* cards com fotos */
  .choice-card {
    position: relative;
    border: none;
    border-radius: 0;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    background: transparent;
    border-right: 0.5px solid rgba(232,217,191,0.08);
    border-bottom: 0.5px solid rgba(232,217,191,0.08);
  }

  .choice-card:nth-child(2),
  .choice-card:nth-child(4) {
    border-right: none;
  }

  .choice-card:nth-child(3),
  .choice-card:nth-child(4) {
    border-bottom: none;
  }

  .choice-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--choice-image, none);
    background-size: cover;
    background-position: var(--choice-position, center center);
    background-color: var(--navy-800);
    transition: transform 500ms ease;
  }

  .choice-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(5,11,24,0.68);
    transition: background 300ms ease;
  }

  .choice-card:hover::before { transform: scale(1.04); }
  .choice-card:hover::after {
    background: rgba(5,11,24,0.52);
  }


  .choice-card-inner {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 1.6rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .choice-bottom {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .choice-title {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 200;
    color: #E8D9BF !important;
    letter-spacing: -0.2px;
    line-height: 1.2;
  }

  .choice-subtitle {
    font-family: var(--font-sans);
    font-size: clamp(0.62rem, 1vw, 0.72rem);
    font-weight: 300;
    color: rgba(232,217,191,0.42) !important;
  }
}

.home-view.is-active {
  display: block;
  background: var(--navy-950);
  color: var(--paper);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  gap: 0.65rem;
  align-items: center;
  padding: 0.75rem;
  background: rgba(7, 19, 35, 0.94);
  color: var(--paper);
  border-bottom: 1px solid rgba(248, 247, 242, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.brand-mark img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  filter:
    sepia(0.45)
    saturate(1.45)
    hue-rotate(354deg)
    brightness(1.08)
    contrast(1.04);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  max-width: 13rem;
  font-size: 0.88rem;
  line-height: 1.1;
}

.brand strong {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--paper);
  font-weight: 400;
  text-shadow: none;
}

.brand small {
  margin-top: 0.1rem;
  color: rgba(248, 247, 242, 0.62);
  font-size: 0.62rem;
  line-height: 1.25;
}

.primary-nav {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  overflow: visible;
}

.primary-nav a,
.back-button {
  min-width: 0;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(248, 247, 242, 0.13);
  border-radius: 8px;
  color: rgba(248, 247, 242, 0.82);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.74rem;
  font-weight: 500;
  text-align: center;
  overflow-wrap: anywhere;
  transition: border-color 220ms ease, color 220ms ease, background 220ms ease;
}

.back-button {
  grid-column: 2;
  grid-row: 1;
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  justify-self: end;
  align-self: center;
  border-color: rgba(239, 213, 140, 0.24);
  color: var(--gold-light);
  background:
    linear-gradient(145deg, rgba(239, 213, 140, 0.09), rgba(255, 255, 255, 0.018)),
    rgba(7, 19, 35, 0.2);
  cursor: pointer;
  font-family: var(--font-sans);
}

.back-button span {
  position: relative;
  width: 12px;
  height: 18px;
  display: block;
}

.back-button span::before,
.back-button span::after {
  content: "";
  position: absolute;
  left: 3px;
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  transform-origin: 1px 50%;
}

.back-button span::before {
  top: 8px;
  transform: rotate(-45deg);
}

.back-button span::after {
  top: 8px;
  transform: rotate(45deg);
}

.primary-nav a:hover,
.back-button:hover {
  color: var(--paper);
  border-color: rgba(239, 213, 140, 0.42);
  background: rgba(202, 168, 90, 0.08);
}

.hero {
  position: relative;
  min-height: calc(100vh - 188px);
  min-height: calc(100svh - 188px);
  display: grid;
  align-items: end;
  gap: 1rem;
  overflow: hidden;
  padding: 6.8rem 1rem 1rem;
  color: var(--paper);
  background:
    linear-gradient(180deg, rgba(7, 19, 35, 0.14), rgba(7, 19, 35, 0.88)),
    var(--hero-image) center/cover,
    var(--navy-900);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 19, 35, 0.42), rgba(7, 19, 35, 0.92)),
    linear-gradient(90deg, rgba(7, 19, 35, 0.88), rgba(7, 19, 35, 0.24));
}

.hero-content,
.hero-proof {
  position: relative;
  z-index: 1;
}

.hero-content {
  width: min(100%, 820px);
}

.hero h1 {
  font-size: clamp(2.2rem, 11vw, 6.9rem);
}

.hero-content p:not(.eyebrow) {
  max-width: 680px;
  margin: 1rem 0 0;
  color: rgba(248, 247, 242, 0.78);
  font-size: 1rem;
  line-height: 1.7;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.88rem 1.08rem;
  border-radius: 8px;
  font-weight: 500;
  line-height: 1.2;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: 1px solid rgba(239, 213, 140, 0.72);
}

.button-secondary {
  color: var(--paper);
  border: 1px solid rgba(248, 247, 242, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.button-light {
  color: var(--navy-950);
  background: var(--paper);
  border: 1px solid rgba(248, 247, 242, 0.72);
}

.hero-proof {
  max-width: 440px;
  padding: 1.05rem;
  border: 1px solid rgba(248, 247, 242, 0.16);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(7, 19, 35, 0.68), rgba(7, 19, 35, 0.46));
  backdrop-filter: blur(18px);
}

.hero-proof span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: uppercase;
}

.hero-proof strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.15;
}

.hero-proof p {
  margin: 0.8rem 0 0;
  color: rgba(248, 247, 242, 0.72);
  line-height: 1.6;
}

.section-pad {
  padding: 4rem 1rem;
}

.section-heading {
  width: min(100%, 820px);
  margin-bottom: 1.7rem;
}

.section-heading h2,
.risk-panel h2,
.diagnostic-band h2 {
  font-size: clamp(2rem, 8vw, 4rem);
}

.section-heading p:last-child,
.risk-panel p,
.diagnostic-band p,
.info-card p,
.site-footer p {
  color: #4d5f6b;
  line-height: 1.65;
}

.specialty {
  background:
    linear-gradient(180deg, var(--paper-warm), var(--paper-soft));
}

.specialty-grid,
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.info-card {
  min-height: 250px;
  padding: 1.15rem;
  border: 1px solid rgba(16, 24, 32, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-soft);
}

.info-card span {
  color: var(--gold);
  font-family: var(--font-serif);
  font-weight: 400;
}

.info-card h3 {
  margin: 2.3rem 0 0.7rem;
  font-family: var(--font-serif);
  font-weight: 200;
  font-size: 1.6rem;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.risk-panel {
  display: grid;
  gap: 1.4rem;
  color: var(--paper);
  background:
    linear-gradient(120deg, rgba(7, 19, 35, 0.96), rgba(7, 19, 35, 0.78)),
    var(--risk-image) center/cover,
    var(--navy-900);
}

.risk-copy {
  width: min(100%, 760px);
}

.risk-panel p {
  color: rgba(248, 247, 242, 0.72);
}

.diagnostic-band {
  display: grid;
  gap: 1.4rem;
  align-items: center;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(16, 41, 70, 0.98), rgba(7, 19, 35, 0.99)),
    var(--navy-900);
  border-top: 1px solid rgba(239, 213, 140, 0.24);
  border-bottom: 1px solid rgba(239, 213, 140, 0.24);
}

.diagnostic-band p {
  color: rgba(248, 247, 242, 0.72);
}

.blog-preview {
  background: var(--paper-warm);
}

.site-footer {
  display: grid;
  gap: 1.2rem;
  padding: 2rem 1rem;
  color: var(--paper);
  background: var(--navy-950);
}

.site-footer strong {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.25rem;
}

.site-footer p {
  max-width: 520px;
  margin: 0.5rem 0 0;
  color: rgba(248, 247, 242, 0.64);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.site-footer a {
  color: rgba(248, 247, 242, 0.72);
  font-weight: 500;
}

.contact-footer {
  align-items: start;
}

.footer-about {
  max-width: 520px;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(239, 213, 140, 0.24);
  border-radius: 8px;
  color: var(--gold-light);
  background: rgba(202, 168, 90, 0.055);
}

.footer-mail {
  display: grid;
  gap: 0.65rem;
  width: min(100%, 390px);
}

.footer-mail label {
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: uppercase;
}

.footer-mail input,
.footer-mail textarea {
  width: 100%;
  border: 1px solid rgba(248, 247, 242, 0.14);
  border-radius: 8px;
  padding: 0.85rem;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.035);
  font: inherit;
  resize: vertical;
}

.footer-mail input::placeholder,
.footer-mail textarea::placeholder {
  color: rgba(248, 247, 242, 0.46);
}

.footer-mail button {
  min-height: 42px;
  border: 1px solid rgba(239, 213, 140, 0.42);
  border-radius: 8px;
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.office-page {
  color: var(--ink);
  background: var(--paper-warm);
}

.office-header {
  position: sticky;
}

.primary-nav a[aria-current="page"] {
  color: var(--gold-light);
  border-color: rgba(239, 213, 140, 0.38);
  background: rgba(202, 168, 90, 0.08);
}

.office-location {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1rem;
  background:
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}

.office-carousel {
  position: relative;
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(248, 247, 242, 0.12);
  border-radius: 8px;
  background: var(--navy-950);
  box-shadow: var(--shadow);
}

.office-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease, transform 1200ms ease;
  transform: scale(1.02);
}

.office-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.office-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 19, 35, 0.02), rgba(7, 19, 35, 0.3)),
    linear-gradient(90deg, rgba(7, 19, 35, 0.28), rgba(7, 19, 35, 0.04));
}

.office-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-controls {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  pointer-events: none;
}

.carousel-controls button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(239, 213, 140, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(239, 213, 140, 0.1), rgba(255, 255, 255, 0.02)),
    rgba(7, 19, 35, 0.6);
  cursor: pointer;
  pointer-events: auto;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.carousel-controls button:hover {
  border-color: rgba(239, 213, 140, 0.56);
  background: rgba(7, 19, 35, 0.76);
  transform: translateY(-1px);
}

.carousel-controls button::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  margin: auto;
  border-top: 2px solid var(--gold-light);
  border-left: 2px solid var(--gold-light);
}

.carousel-controls [data-carousel-prev]::before {
  transform: rotate(-45deg);
}

.carousel-controls [data-carousel-next]::before {
  transform: rotate(135deg);
}

.location-card {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 1.2rem;
  border: 1px solid rgba(239, 213, 140, 0.22);
  border-radius: 8px;
  color: var(--paper);
  background:
    linear-gradient(145deg, rgba(16, 41, 70, 0.9), rgba(7, 19, 35, 0.94));
  box-shadow: var(--shadow);
}

.location-card h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 200;
  font-size: clamp(1.7rem, 7vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.5px;
}

.location-card address {
  margin-top: 1.2rem;
  color: rgba(248, 247, 242, 0.76);
  font-style: normal;
  line-height: 1.7;
}

.office-section {
  padding: 4rem 1rem;
  background: var(--paper-warm);
}

.professionals-section {
  padding-top: 5rem;
}

.professional-grid,
.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.professional-card {
  overflow: visible;
  min-height: 0;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.55rem 0;
  border-top: 1px solid rgba(16, 24, 32, 0.12);
  background: transparent;
  box-shadow: none;
}

.professional-card:last-child {
  border-bottom: 1px solid rgba(16, 24, 32, 0.12);
}

.professional-card img {
  width: 68px;
  aspect-ratio: 4 / 5;
  grid-column: 1;
  grid-row: 1;
  border: 0;
  border-radius: 6px;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.82) contrast(1.03);
  opacity: 0.92;
}

.professional-content {
  min-width: 0;
  grid-column: 2;
}

.professional-card .professional-role,
.service-list span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: uppercase;
}

.professional-card .professional-role {
  display: block;
  margin-top: 0.15rem;
  margin-bottom: 1rem;
}

.professional-card h3,
.service-list h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-serif);
  font-weight: 200;
  font-size: clamp(1.55rem, 6vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.5px;
  color: var(--ink);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.professional-card h3 .name-line {
  display: block;
  color: inherit;
}

.professional-card p,
.service-list p {
  margin: 0;
  color: #4d5f6b;
  line-height: 1.65;
}

.professional-card .curriculum-note {
  max-width: 64ch;
  margin-top: 1rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #263846;
  background: transparent;
  font-size: 1rem;
  font-weight: 300;
}

.services-section {
  background:
    linear-gradient(180deg, var(--paper-warm), var(--paper-soft));
}

.service-list article {
  min-height: 210px;
  padding: 1.15rem;
  border: 1px solid rgba(16, 24, 32, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-soft);
}

.blog-page {
  color: var(--ink);
  background: var(--paper-warm);
}

.blog-hero {
  padding: 4rem 1rem 2.5rem;
  background:
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: var(--paper);
}

.blog-hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 200;
  font-size: clamp(2.25rem, 10vw, 5.2rem);
  line-height: 1.03;
  letter-spacing: -0.5px;
}

.blog-hero p:last-child {
  max-width: 620px;
  margin: 1rem 0 0;
  color: rgba(248, 247, 242, 0.72);
  line-height: 1.7;
}

.blog-reading {
  padding: 1rem;
  background: var(--paper-warm);
}

.reading-item {
  border-top: 1px solid rgba(16, 24, 32, 0.12);
}

.reading-item:last-child {
  border-bottom: 1px solid rgba(16, 24, 32, 0.12);
}

.reading-item > div {
  display: block;
  padding: 1.35rem 0;
}

.reading-item .article-category {
  display: block;
  margin-bottom: 0.75rem;
  color: #7d642f;
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: uppercase;
}

.reading-item h2 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 200;
  font-size: clamp(1.55rem, 6.4vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.5px;
}

.reading-item p {
  max-width: 680px;
  margin: 0.8rem 0 0;
  color: #4d5f6b;
  line-height: 1.65;
}

.read-more {
  margin-top: 1rem;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(202, 168, 90, 0.58);
  color: var(--navy-800);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
}

.read-more:hover {
  color: #7d642f;
}

.blog-note {
  padding: 2.5rem 1rem 4rem;
  background: var(--paper-warm);
}

.blog-note p {
  max-width: 760px;
  margin: 0;
  padding-left: 1rem;
  border-left: 1px solid rgba(202, 168, 90, 0.48);
  color: #4d5f6b;
  line-height: 1.75;
}

.article-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.article-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.article-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 19, 35, 0.72);
  backdrop-filter: blur(10px);
}

.article-box {
  position: relative;
  width: min(100%, 720px);
  max-height: min(78vh, 760px);
  overflow: auto;
  padding: 1.35rem;
  border: 1px solid rgba(202, 168, 90, 0.2);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper-warm);
  box-shadow: var(--shadow);
}

.article-box h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 200;
  font-size: clamp(1.8rem, 7vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.5px;
}

.article-box p:last-child {
  margin: 1rem 0 0;
  color: #334653;
  font-size: 1rem;
  line-height: 1.78;
}

.article-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.article-close::before,
.article-close::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 10px;
  width: 14px;
  height: 1px;
  background: var(--ink);
}

.article-close::before {
  transform: rotate(45deg);
}

.article-close::after {
  transform: rotate(-45deg);
}

.diagnostic-page {
  color: var(--paper);
  background: var(--navy-950);
  overflow: hidden;
}

.diagnostic-header {
  position: relative;
}

.diagnostic-shell {
  position: relative;
  height: calc(100svh - 72px);
  min-height: 520px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(202, 168, 90, 0.08), transparent 18rem),
    linear-gradient(155deg, var(--navy-900), var(--navy-950));
}

.diagnostic-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  height: 3px;
  background: rgba(248, 247, 242, 0.1);
}

.diagnostic-progress span {
  display: block;
  width: 16.666%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  transition: width 280ms ease;
}

.diagnostic-step {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 1rem;
  width: 100%;
  height: 100%;
  padding: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(18px);
  transition: opacity 260ms ease, visibility 260ms ease, transform 260ms ease;
}

.diagnostic-step.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.diagnostic-step h1,
.diagnostic-step h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 200;
  font-size: clamp(2.1rem, 10vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.5px;
}

.diagnostic-step > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: rgba(248, 247, 242, 0.72);
  line-height: 1.65;
}

.diagnostic-options,
.diagnostic-form {
  display: grid;
  gap: 0.7rem;
  width: min(100%, 680px);
  margin-top: 0.4rem;
}

.diagnostic-options button,
.diagnostic-options a,
.diagnostic-form button {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(248, 247, 242, 0.14);
  border-radius: 8px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.diagnostic-options button:hover,
.diagnostic-options a:hover,
.diagnostic-form button:hover {
  border-color: rgba(239, 213, 140, 0.42);
  background: rgba(202, 168, 90, 0.08);
}

.diagnostic-form input,
.diagnostic-form textarea {
  width: 100%;
  border: 1px solid rgba(248, 247, 242, 0.14);
  border-radius: 8px;
  padding: 0.85rem;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  resize: none;
}

.diagnostic-form input::placeholder,
.diagnostic-form textarea::placeholder {
  color: rgba(248, 247, 242, 0.48);
}

.diagnostic-form button {
  justify-content: center;
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.risk-route-page,
.risk-profile-page {
  color: var(--ink);
  background: var(--paper-warm);
}

.risk-route {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: 1rem;
  color: var(--paper);
  background:
    radial-gradient(circle at 50% 0%, rgba(202, 168, 90, 0.08), transparent 18rem),
    linear-gradient(155deg, var(--navy-900), var(--navy-950));
}

.risk-route h1 {
  max-width: 720px;
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 200;
  font-size: clamp(2.1rem, 10vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.5px;
}

.risk-route p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: rgba(248, 247, 242, 0.72);
  line-height: 1.65;
}

.risk-route-actions {
  display: grid;
  gap: 0.7rem;
  width: min(100%, 520px);
}

.risk-profile-hero {
  padding: 4rem 1rem 2.5rem;
  color: var(--paper);
  background:
    linear-gradient(180deg, rgba(7, 19, 35, 0.9), rgba(7, 19, 35, 0.96)),
    var(--risk-page-image) center/cover,
    var(--navy-950);
}

.risk-urban-page {
  --risk-page-image: url("assets/urbano.jpg");
}

.risk-rural-page {
  --risk-page-image: url("assets/rural.jpg");
}

.risk-profile-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 200;
  font-size: clamp(2.2rem, 10vw, 5.4rem);
  line-height: 1.03;
  letter-spacing: -0.5px;
}

.risk-profile-hero p:last-child {
  max-width: 680px;
  margin: 1rem 0 0;
  color: rgba(248, 247, 242, 0.74);
  line-height: 1.75;
}

.risk-profile-list {
  padding: 1rem;
  background: var(--paper-warm);
}

.risk-profile-list article {
  padding: 1.35rem 0;
  border-top: 1px solid rgba(16, 24, 32, 0.12);
}

.risk-profile-list article:last-child {
  border-bottom: 1px solid rgba(16, 24, 32, 0.12);
}

.risk-profile-list span {
  display: block;
  margin-bottom: 0.65rem;
  color: #7d642f;
  font-family: var(--font-serif);
  font-weight: 400;
}

.risk-profile-list h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 200;
  font-size: clamp(1.65rem, 7vw, 2.7rem);
  line-height: 1.06;
  letter-spacing: -0.5px;
}

.risk-profile-list p {
  max-width: 720px;
  margin: 0.75rem 0 0;
  color: #4d5f6b;
  line-height: 1.7;
}

.risk-profile-note {
  display: grid;
  gap: 1rem;
  padding: 2.8rem 1rem 4rem;
  color: var(--paper);
  background: var(--navy-950);
}

.risk-profile-note p {
  max-width: 760px;
  margin: 0;
  color: rgba(248, 247, 242, 0.72);
  line-height: 1.75;
}

@keyframes logoEntrance {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes logoGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(202, 168, 90, 0));
  }

  50% {
    filter: drop-shadow(0 0 18px rgba(202, 168, 90, 0.34));
  }
}

@media (min-width: 720px) {
  .site-header {
    grid-template-columns: auto 1fr 40px;
    padding: 0.9rem 1.4rem;
  }

  .primary-nav {
    grid-column: auto;
    grid-row: 1;
    display: flex;
    gap: 0.35rem;
    justify-content: center;
  }

  .primary-nav a,
  .back-button {
    white-space: nowrap;
  }

  .hero {
    min-height: calc(100vh - 74px);
    min-height: calc(100svh - 74px);
    grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
    align-items: end;
    padding: 8rem 1.4rem 1.4rem;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .section-pad {
    padding: 5rem 1.4rem;
  }

  .specialty-grid,
  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .risk-panel,
  .diagnostic-band,
  .site-footer {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .contact-footer {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .footer-mail {
    grid-column: 1 / -1;
  }

  .office-location {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    align-items: stretch;
    padding: 1.4rem;
  }

  .office-carousel {
    aspect-ratio: 16 / 10;
  }

  .location-card {
    width: auto;
    margin: 0;
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .office-section {
    padding: 5rem 1.4rem;
  }

  .professional-grid {
    grid-template-columns: 1fr;
  }

  .professional-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 1.4rem;
    padding: 1.8rem 0;
  }

  .professional-card img {
    width: 92px;
    grid-column: 1;
    grid-row: 1;
    align-self: start;
  }

  .professional-content {
    grid-column: 2;
  }

  .professional-card h3 {
    max-width: none;
  }

  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1120px) {
  .site-header {
    padding: 1rem 2rem;
  }

  .hero {
    padding: 10rem 2rem 2rem;
  }

  .section-pad,
  .site-footer,
  .office-section {
    padding-left: max(2rem, calc((100vw - 1180px) / 2));
    padding-right: max(2rem, calc((100vw - 1180px) / 2));
  }

  .office-location {
    padding-left: max(2rem, calc((100vw - 1180px) / 2));
    padding-right: max(2rem, calc((100vw - 1180px) / 2));
  }

  .office-carousel {
    aspect-ratio: 16 / 9;
  }

  .location-card {
    padding: 2rem;
  }

  .service-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* =========================================================
   ORGANIZACAO POR RESOLUCAO
   Mobile: base principal do arquivo.
   Tablet: ajustes intermediarios de leitura e toque.
   Desktop: modelo padrao estavel para refinar por etapas.
   ========================================================= */

@media (max-width: 719px) {
  html,
  body,
  .app-shell,
  .profile-gate,
  .home-view,
  .site-header,
  .hero,
  .section-pad,
  .office-location,
  .office-section,
  .site-footer {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) 40px;
  }

  .brand {
    max-width: 100%;
  }

  .brand strong,
  .brand small {
    white-space: normal;
  }

  .primary-nav {
    width: 100%;
    max-width: 100%;
  }

  .primary-nav a {
    width: 100%;
    max-width: 100%;
    padding-inline: 0.55rem;
    overflow-wrap: break-word;
  }

  .hero {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero h1,
  .section-heading h2,
  .risk-panel h2,
  .diagnostic-band h2,
  .location-card h1 {
    overflow-wrap: break-word;
  }

  .hero-actions,
  .button {
    width: 100%;
    max-width: 100%;
  }

  .blog-hero,
  .blog-reading,
  .blog-note,
  .diagnostic-shell,
  .diagnostic-step,
  .risk-route,
  .risk-profile-hero,
  .risk-profile-list,
  .risk-profile-note {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .diagnostic-header {
    grid-template-columns: minmax(0, 1fr) 40px;
  }

  .diagnostic-step {
    padding: 1rem;
  }

  .diagnostic-step h1,
  .diagnostic-step h2 {
    font-size: clamp(1.85rem, 9vw, 3.05rem);
  }

  .diagnostic-options button,
  .diagnostic-options a,
  .diagnostic-form button {
    min-height: 50px;
  }
}

@media (min-width: 720px) and (max-width: 1119px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) 40px;
  }

  .primary-nav {
    justify-content: center;
  }

  .hero {
    min-height: 720px;
  }

  .hero h1 {
    max-width: 780px;
  }

  .info-card {
    min-height: 300px;
  }

  .blog-hero,
  .blog-reading,
  .blog-note,
  .risk-profile-hero,
  .risk-profile-list,
  .risk-profile-note {
    padding-left: 1.4rem;
    padding-right: 1.4rem;
  }
}

@media (min-width: 1120px) {
  .app-shell {
    min-height: 100vh;
  }

  .site-header {
    grid-template-columns: minmax(260px, auto) minmax(0, 1fr) 40px;
    gap: 1.5rem;
    padding: 1rem max(2rem, calc((100vw - 1280px) / 2));
  }

  .brand strong {
    max-width: none;
    font-size: 0.95rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  .primary-nav {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
  }

  .primary-nav a {
    min-width: 112px;
    padding-inline: 1rem;
  }

  .back-button {
    grid-column: 3;
    grid-row: 1;
  }

  .hero {
    min-height: calc(100vh - 74px);
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 2rem;
    padding: 8rem max(2rem, calc((100vw - 1280px) / 2)) 2rem;
  }

  .hero-content {
    max-width: 860px;
  }

  .hero h1 {
    font-size: clamp(4.6rem, 6.2vw, 7.1rem);
  }

  .hero-content p:not(.eyebrow) {
    font-size: 1.08rem;
  }

  .section-pad,
  .site-footer,
  .office-section,
  .blog-hero,
  .blog-reading,
  .blog-note,
  .risk-profile-hero,
  .risk-profile-list,
  .risk-profile-note {
    padding-left: max(2rem, calc((100vw - 1180px) / 2));
    padding-right: max(2rem, calc((100vw - 1180px) / 2));
  }

  .blog-hero {
    padding-top: 6.5rem;
    padding-bottom: 3.5rem;
  }

  .blog-reading {
    padding-top: 1.5rem;
  }

  .reading-item > div {
    display: grid;
    grid-template-columns: 180px minmax(0, 820px);
    column-gap: 2rem;
    align-items: start;
    padding: 1.7rem 0;
  }

  .reading-item .article-category {
    margin: 0.25rem 0 0;
  }

  .reading-item h2,
  .reading-item p,
  .read-more {
    grid-column: 2;
  }

  .blog-note {
    padding-bottom: 6rem;
  }

  .risk-profile-hero {
    padding-top: 6.5rem;
    padding-bottom: 3.5rem;
  }

  .risk-profile-list article {
    display: grid;
    grid-template-columns: 120px minmax(0, 820px);
    column-gap: 2rem;
    align-items: start;
    padding: 1.8rem 0;
  }

  .risk-profile-list span {
    margin: 0.25rem 0 0;
  }

  .risk-profile-list h2,
  .risk-profile-list p {
    grid-column: 2;
  }

  .risk-profile-note {
    grid-template-columns: minmax(0, 760px) auto;
    align-items: center;
    gap: 2rem;
    padding-top: 4rem;
    padding-bottom: 5rem;
  }

  .section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .section-heading {
    max-width: 860px;
  }

  .specialty-grid,
  .blog-grid {
    gap: 1rem;
  }

  .risk-panel,
  .diagnostic-band {
    grid-template-columns: minmax(0, 760px) auto;
    align-items: center;
    gap: 3rem;
  }

  .contact-footer {
    grid-template-columns: minmax(0, 1fr) auto minmax(320px, 390px);
    gap: 2rem;
  }

  .footer-mail {
    grid-column: auto;
  }

  .office-location {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 1.25rem;
    padding: 1.5rem max(2rem, calc((100vw - 1180px) / 2));
  }

  .office-carousel {
    aspect-ratio: 16 / 9;
  }

  .location-card {
    padding: 2rem;
  }

  .professional-card {
    grid-template-columns: 92px minmax(0, 1fr);
    max-width: 920px;
  }

  .professional-card h3 {
    font-size: 2.45rem;
  }

  .service-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1440px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 430px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

.theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 40;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0.5px solid rgba(232, 217, 191, 0.22);
  background: rgba(232, 217, 191, 0.05);
  color: var(--champanhe);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: border-color 220ms ease, background 220ms ease;
}

.theme-toggle:hover {
  border-color: rgba(232, 217, 191, 0.4);
  background: rgba(232, 217, 191, 0.09);
}

.theme-toggle svg {
  width: 15px;
  height: 15px;
  stroke: var(--champanhe);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
}

/* ══════════════════════════════════════════
   HOME.HTML — redesign completo
   ══════════════════════════════════════════ */

/* ── HOME NAV ── */
.home-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 0.5px solid var(--line);
  background: var(--navy-900);
  position: sticky;
  top: 0;
  z-index: 20;
}

.home-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.home-brand-logo {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    sepia(0.12) saturate(0.85) hue-rotate(10deg)
    brightness(1.05) contrast(1.02);
}

.home-brand-text strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: var(--champanhe);
  letter-spacing: 0.3px;
}

.home-brand-text small {
  display: block;
  font-family: var(--font-sans);
  font-size: 7px;
  font-weight: 400;
  color: rgba(232, 217, 191, 0.4);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-top: 2px;
}

.home-primary-nav {
  display: flex;
  gap: 20px;
}

.home-primary-nav a {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  color: rgba(232, 217, 191, 0.5);
  text-decoration: none;
  transition: color 200ms;
}

.home-primary-nav a:hover {
  color: var(--champanhe);
}

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

/* Links de Escritorio/Blog no nav (todos os devices) */
.home-nav-pages {
  display: flex;
  align-items: center;
  gap: 6px;
}

.home-nav-page-link {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(232, 217, 191, 0.5);
  text-decoration: none;
  padding: 5px 12px;
  border: 0.5px solid rgba(232, 217, 191, 0.15);
  border-radius: 20px;
  transition: color 200ms, border-color 200ms;
  white-space: nowrap;
}

.home-nav-page-link:hover {
  color: var(--champanhe);
  border-color: rgba(232, 217, 191, 0.35);
}

@media (max-width: 480px) {
  .home-nav-page-link {
    font-size: 0.65rem;
    padding: 4px 9px;
  }
}

.home-nav-sep {
  width: 1px;
  height: 16px;
  background: rgba(232, 217, 191, 0.12);
}

[data-theme="light"] .home-nav-page-link {
  color: rgba(26, 34, 51, 0.5);
  border-color: rgba(26, 34, 51, 0.15);
}

[data-theme="light"] .home-nav-page-link:hover {
  color: var(--ink, #1a2233);
  border-color: rgba(26, 34, 51, 0.3);
}

[data-theme="light"] .home-nav-sep {
  background: rgba(26, 34, 51, 0.1);
}

/* botoes circulares de tema e voltar, dentro do nav */
.home-theme-btn,
.home-back-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0.5px solid rgba(232, 217, 191, 0.2);
  background: rgba(232, 217, 191, 0.05);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 220ms, background 220ms;
  flex-shrink: 0;
}

.home-theme-btn:hover,
.home-back-btn:hover {
  border-color: rgba(232, 217, 191, 0.4);
  background: rgba(232, 217, 191, 0.09);
}

.theme-icon {
  width: 14px;
  height: 14px;
  stroke: var(--champanhe);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.home-back-btn svg {
  width: 14px;
  height: 14px;
  stroke: var(--champanhe);
  opacity: 0.7;
}

[data-theme="light"] .theme-icon,
[data-theme="light"] .home-back-btn svg {
  stroke: var(--ink, #1a2233);
}

[data-theme="light"] .home-theme-btn,
[data-theme="light"] .home-back-btn {
  border-color: rgba(26, 34, 51, 0.15);
  background: rgba(26, 34, 51, 0.04);
}

[data-theme="light"] .home-theme-btn:hover,
[data-theme="light"] .home-back-btn:hover {
  border-color: rgba(26, 34, 51, 0.3);
  background: rgba(26, 34, 51, 0.08);
}

/* ── HERO ── */
.home-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-image: var(--hero-image, none);
  background-size: cover;
  background-position: center;
  background-color: var(--navy-800);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 11, 24, 0.62);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem;
  max-width: 640px;
}

.hero-content h1 {
  font-family: var(--font-sans);
  font-size: clamp(1.3rem, 4vw, 2rem);
  font-weight: 200;
  color: var(--champanhe);
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin: 0.4rem 0 1rem;
}

.hero-content .eyebrow {
  margin-bottom: 0;
}

.hero-content p:not(.eyebrow) {
  font-size: clamp(0.75rem, 2vw, 0.88rem);
  font-weight: 300;
  color: rgba(232, 217, 191, 0.55);
  line-height: 1.6;
  margin: 0 0 1.4rem;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ── BOTOES ── */
.btn-primary {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  color: var(--navy-900);
  background: var(--champanhe);
  padding: 9px 20px;
  border-radius: 20px;
  text-decoration: none;
  display: inline-block;
  transition: opacity 200ms;
}

.btn-primary:hover {
  opacity: 0.88;
}

.btn-secondary {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  color: rgba(232, 217, 191, 0.65);
  border: 0.5px solid rgba(232, 217, 191, 0.3);
  padding: 9px 18px;
  border-radius: 20px;
  text-decoration: none;
  display: inline-block;
  transition: border-color 200ms;
}

.btn-secondary:hover {
  border-color: rgba(232, 217, 191, 0.6);
}

/* ── METODOLOGIA ── */
.home-method {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-bottom: 0.5px solid var(--line);
}

.method-text {
  padding: 1.6rem 1.5rem;
  border-bottom: 0.5px solid var(--line);
}

.method-text h2 {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-weight: 200;
  color: var(--champanhe);
  margin: 0.4rem 0 0.6rem;
}

.method-text p {
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(232, 217, 191, 0.5);
  line-height: 1.6;
  margin: 0;
}

.method-list {
  padding: 1.6rem 1.5rem;
}

.method-list ul {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.method-list li {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(232, 217, 191, 0.65);
  padding: 0.6rem 0;
  border-bottom: 0.5px solid var(--line);
}

.method-list li::before {
  content: "→ ";
  color: rgba(232, 217, 191, 0.3);
}

.method-list li:last-child {
  border-bottom: none;
}

/* DIAGNÓSTICO — fundo contrastante em ambos os temas */
.home-diagnostic {
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: var(--champanhe);
  border: none;
  position: relative;
}

/* tema escuro: fundo champanhe, texto navy */
.home-diagnostic .eyebrow {
  color: rgba(5, 11, 24, 0.45);
  letter-spacing: 2px;
}

.home-diagnostic h2 {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 3vw, 1.4rem);
  font-weight: 200;
  color: #050b18;
  margin: 0.4rem 0 0.6rem;
  letter-spacing: -0.2px;
  line-height: 1.3;
}

.home-diagnostic p {
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(5, 11, 24, 0.55);
  line-height: 1.65;
  margin: 0 0 1.4rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* botão invertido no fundo champanhe */
.home-diagnostic .btn-primary {
  background: #050b18;
  color: var(--champanhe);
}

.home-diagnostic .btn-primary:hover {
  opacity: 0.85;
}

/* tema claro: fundo navy escuro, texto champanhe */
[data-theme="light"] .home-diagnostic {
  background: #050b18;
}

[data-theme="light"] .home-diagnostic .eyebrow {
  color: rgba(232, 217, 191, 0.4);
}

[data-theme="light"] .home-diagnostic h2 {
  color: #E8D9BF;
}

[data-theme="light"] .home-diagnostic p {
  color: rgba(232, 217, 191, 0.5);
}

[data-theme="light"] .home-diagnostic .btn-primary {
  background: #E8D9BF;
  color: #050b18;
}

/* SEÇÃO BLOG — layout B */
.home-blog {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding: 1.8rem 1.5rem;
  border-bottom: 0.5px solid var(--line);
}

/* coluna esquerda — textos */
.home-blog-left {
  flex: 1;
}

.home-blog-left h2 {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 200;
  color: var(--champanhe);
  margin: 0.3rem 0 0.5rem;
  letter-spacing: -0.2px;
  line-height: 1.25;
}

.home-blog-intro {
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(232, 217, 191, 0.5);
  line-height: 1.65;
  margin: 0 0 1rem;
}

/* lista de títulos */
.home-blog-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1rem;
}

.home-blog-list-item {
  padding: 9px 0;
  border-bottom: 0.5px solid var(--line);
  cursor: pointer;
  transition: opacity 200ms;
}

.home-blog-list-item:last-child { border-bottom: none; }
.home-blog-list-item:hover { opacity: 0.7; }

.home-blog-list-cat {
  font-size: 0.58rem;
  font-weight: 400;
  color: rgba(232, 217, 191, 0.3);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 3px;
}

.home-blog-list-title {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--champanhe);
  line-height: 1.3;
  display: block;
}

.blog-more {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(232, 217, 191, 0.35);
  text-decoration: none;
  display: block;
  transition: color 200ms;
}
.blog-more:hover { color: var(--champanhe); }

/* foto grande do perfil — coluna direita */
.home-blog-cover {
  flex: 0 0 auto;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: rgba(232, 217, 191, 0.05);
  transition: opacity 220ms;
}

.home-blog-cover:hover { opacity: 0.9; }

/* overlay mais escuro para garantir legibilidade */
.home-blog-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5,11,24,0.92) 0%,
    rgba(5,11,24,0.55) 50%,
    rgba(5,11,24,0.2) 100%
  );
}

.home-blog-cover-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* texto SEMPRE champanhe independente do tema */
.home-blog-cover-label .eyebrow {
  color: rgba(232,217,191,0.55) !important;
  margin: 0;
  font-size: 0.58rem;
  letter-spacing: 2px;
}

.home-blog-cover-cta {
  font-size: 0.75rem;
  font-weight: 400;
  color: #E8D9BF !important;
  text-shadow: 0 1px 8px rgba(5,11,24,0.8);
}

/* ── FOOTER ── */
.home-footer {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-info strong {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 300;
  color: rgba(232, 217, 191, 0.35);
}

.footer-info span {
  font-size: 0.65rem;
  font-weight: 300;
  color: rgba(232, 217, 191, 0.25);
}

.footer-links {
  display: flex;
  gap: 8px;
}

.footer-links a {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 300;
  color: rgba(232, 217, 191, 0.45);
  border: 0.5px solid rgba(232, 217, 191, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  text-decoration: none;
}

.footer-whats {
  color: var(--champanhe) !important;
  border-color: rgba(232, 217, 191, 0.35) !important;
}

/* ── DESKTOP (min-width: 768px) ── */
@media (min-width: 768px) {
  .home-nav {
    padding: 16px 40px;
  }

  .hero-content {
    padding: 3rem 4rem;
  }

  .home-method {
    grid-template-columns: 1fr 1fr;
  }

  .method-text {
    padding: 2rem 2.5rem;
    border-bottom: none;
    border-right: 0.5px solid var(--line);
  }

  .method-list {
    padding: 2rem 2.5rem;
  }

  .home-diagnostic {
    padding: 3rem 4rem;
  }

  /* DESKTOP — lado a lado */
  .home-blog {
    flex-direction: row;
    align-items: stretch;
    gap: 2rem;
    padding: 2rem 2.5rem;
  }

  .home-blog-cover {
    flex: 0 0 220px;
    width: 220px;
    height: auto;
    min-height: 260px;
  }

  .home-footer {
    padding: 1rem 2.5rem;
  }
}

/* ── EYEBROW (escopado ao home.html — nao afeta outras paginas) ── */
.home-view .eyebrow {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 400;
  color: rgba(232, 217, 191, 0.4);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}

/* ── MODO CLARO ── */
[data-theme="light"] .home-hero {
  background-color: var(--navy-800);
}

[data-theme="light"] .hero-overlay {
  background: rgba(26, 34, 51, 0.55);
}

/* Textos do nav no modo claro: navy, nao champanhe escuro */
[data-theme="light"] .home-brand-text strong {
  color: #1a2233;
}

[data-theme="light"] .home-brand-text small {
  color: rgba(26, 34, 51, 0.45);
  letter-spacing: 1.8px;
}

/* Hero: SEMPRE mantem champanhe claro sobre a foto,
   independente do tema — a imagem tem overlay escuro */
.home-hero .hero-content .eyebrow,
.home-hero .hero-content h1,
.home-hero .hero-content p,
.home-hero .hero-content .btn-primary,
.home-hero .hero-content .btn-secondary {
  /* forcar cor clara sobre qualquer tema porque o overlay e escuro */
}

.home-hero .hero-content h1 {
  color: #E8D9BF !important;
}

.home-hero .hero-content p {
  color: rgba(232, 217, 191, 0.6) !important;
}

.home-hero .hero-content .eyebrow {
  color: rgba(232, 217, 191, 0.45) !important;
}

/* O btn-primary sobre foto mantem o mesmo estilo */
[data-theme="light"] .home-hero .btn-primary {
  background: #E8D9BF;
  color: #050b18;
}

/* Fora do hero, no modo claro usar navy */
[data-theme="light"] .home-method h2 {
  color: #1a2233;
}

[data-theme="light"] .home-method p,
[data-theme="light"] .method-list li {
  color: rgba(26, 34, 51, 0.6);
}

[data-theme="light"] .home-view .eyebrow {
  color: rgba(26, 34, 51, 0.4);
}

[data-theme="light"] .method-list li::before {
  color: rgba(26, 34, 51, 0.3);
}

/* modo claro */
[data-theme="light"] .home-blog-left h2 { color: #1a2233; }
[data-theme="light"] .home-blog-intro { color: rgba(26, 34, 51, 0.5); }
[data-theme="light"] .home-blog-list-title { color: #1a2233; }
[data-theme="light"] .home-blog-list-cat { color: rgba(26, 34, 51, 0.3); }
[data-theme="light"] .home-blog-list-item { border-bottom-color: rgba(26, 34, 51, 0.1); }
[data-theme="light"] .blog-more { color: rgba(26, 34, 51, 0.35); }
[data-theme="light"] .blog-more:hover { color: #1a2233; }
/* garante que o tema claro não sobrescreva estas cores */
[data-theme="light"] .home-blog-cover-overlay {
  background: linear-gradient(
    to top,
    rgba(5,11,24,0.94) 0%,
    rgba(5,11,24,0.6) 50%,
    rgba(5,11,24,0.22) 100%
  );
}

[data-theme="light"] .home-blog-cover-label .eyebrow {
  color: rgba(232,217,191,0.55) !important;
}

[data-theme="light"] .home-blog-cover-cta {
  color: #E8D9BF !important;
}

[data-theme="light"] .btn-primary {
  background: #8A6D1F;
  color: #f8f5ef;
}

[data-theme="light"] .footer-info strong,
[data-theme="light"] .footer-info span {
  color: rgba(26, 34, 51, 0.4);
}

#comentariosSection {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 0.5px solid var(--line);
}
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.comment-item {
  background: rgba(232,217,191,0.03);
  border: 0.5px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
}
.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.comment-name {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--champanhe);
}
.comment-date {
  font-size: 0.62rem;
  color: var(--champanhe-muted);
}
.comment-body {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--champanhe-soft);
  line-height: 1.6;
  margin: 0;
}
.comment-reply {
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(79,122,91,0.08);
  border-left: 2px solid rgba(79,122,91,0.4);
  border-radius: 0 6px 6px 0;
}
.comment-reply .reply-label {
  display: block;
  font-size: 0.6rem;
  color: rgba(143,214,187,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.comment-reply p {
  font-size: 0.75rem;
  color: rgba(143,214,187,0.8);
  line-height: 1.55;
  margin: 0;
}
.comment-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.comment-form-title {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--champanhe-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.comment-form input,
.comment-form textarea {
  background: rgba(232,217,191,0.04);
  border: 0.5px solid var(--line);
  border-radius: 6px;
  padding: 9px 12px;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--champanhe);
  outline: none;
  transition: border-color 200ms;
  resize: vertical;
}
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: rgba(232,217,191,0.35);
}
.comment-submit {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--navy-900);
  background: var(--champanhe);
  border: none;
  border-radius: 20px;
  padding: 9px 20px;
  cursor: pointer;
  transition: opacity 200ms;
  align-self: flex-start;
}
.comment-submit:hover { opacity: 0.85; }
.comment-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.comment-note {
  font-size: 0.65rem;
  color: rgba(232,217,191,0.25);
  line-height: 1.5;
}

/* botão voltar flutuante — só mobile */
.back-float {
  display: none;
}

@media (max-width: 767px) {
  .back-float {
    display: flex;
    align-items: center;
    gap: 5px;
    position: fixed;
    bottom: 20px;
    left: 16px;
    z-index: 30;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--navy-900);
    background: var(--champanhe);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    border: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: opacity 200ms;
  }

  .back-float:hover { opacity: 0.88; }

  .back-float svg {
    width: 10px;
    height: 10px;
    stroke: currentColor;
    flex-shrink: 0;
  }

  /* modo claro: inverte — fundo navy, texto champanhe */
  [data-theme="light"] .back-float {
    background: #050b18;
    color: #E8D9BF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  }
}
