:root {
  --ink: #17201d;
  --muted: #65736f;
  --line: #dfe7e3;
  --paper: #fbfaf7;
  --soft: #f0f5f2;
  --teal: #155b54;
  --teal-2: #0e3734;
  --gold: #bd9350;
  --clay: #b8674f;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(17, 31, 28, .14);
  --radius: 8px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, .96);
  border-bottom: 1px solid rgba(217, 225, 221, .85);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
  font-weight: 800;
  white-space: nowrap;
}

.brand span { color: var(--teal); }
.nav-toggle { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 26px);
  font-size: .93rem;
  font-weight: 650;
  white-space: nowrap;
}

.nav-links a {
  padding: 10px 0;
  color: #26342f;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--teal); }

.section {
  padding: clamp(58px, 7vw, 104px) 0;
}

.section.soft { background: var(--soft); }
.section.dark {
  background: var(--teal-2);
  color: var(--white);
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 840px;
  font-size: clamp(2.35rem, 5vw, 4.85rem);
}

h2 {
  max-width: 850px;
  font-size: clamp(1.85rem, 3.4vw, 3.1rem);
}

h3 { font-size: clamp(1.08rem, 1.5vw, 1.35rem); }

.lead {
  max-width: 760px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.55vw, 1.24rem);
}

.dark .lead,
.dark .muted { color: rgba(255,255,255,.78); }

.hero {
  min-height: calc(92vh - 74px);
  display: grid;
  align-items: center;
  padding: clamp(44px, 6vw, 78px) 0;
  background:
    linear-gradient(90deg, rgba(13,62,59,.96), rgba(13,62,59,.74) 48%, rgba(13,62,59,.28)),
    url("assets/arquitetura-interna-visual.png") center / cover no-repeat;
  color: var(--white);
}

.hero.editorial-hero {
  min-height: auto;
  padding: clamp(58px, 7vw, 98px) 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(189,147,80,.22), transparent 28%),
    linear-gradient(135deg, #0f3532 0%, #123f3a 52%, #0a2422 100%);
  color: var(--white);
}

.hero.home-hero {
  background:
    linear-gradient(90deg, rgba(13,62,59,.96), rgba(13,62,59,.78) 48%, rgba(13,62,59,.18)),
    url("assets/retrato-terno-preto.png") 78% center / auto 118% no-repeat,
    var(--teal-2);
}

.hero.mentoria-hero {
  background:
    linear-gradient(90deg, rgba(13,62,59,.98), rgba(13,62,59,.78) 50%, rgba(13,62,59,.18)),
    url("assets/retrato-terno-escuro.png") 80% center / auto 118% no-repeat,
    var(--teal-2);
}

.hero .lead { color: rgba(255,255,255,.84); }

.hero-grid {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

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

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, .62fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.portrait-panel,
.photo-panel {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  box-shadow: var(--shadow);
}

.portrait-panel {
  aspect-ratio: 4 / 5;
  max-height: 620px;
}

.portrait-panel img,
.photo-panel img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.portrait-panel img {
  object-position: center 18%;
  filter: saturate(.96) contrast(1.02);
}

.portrait-panel.premium img { object-position: center 20%; }

.portrait-panel::after,
.photo-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(5,18,17,.30));
}

.portrait-panel figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: var(--radius);
  background: rgba(8, 27, 25, .72);
  color: rgba(255,255,255,.86);
  font-size: .92rem;
  backdrop-filter: blur(10px);
}

.photo-panel {
  aspect-ratio: 4 / 3;
  border-color: var(--line);
  background: var(--white);
}

.photo-panel.landscape { aspect-ratio: 16 / 11; }
.photo-panel.portrait { aspect-ratio: 4 / 5; }
.photo-panel.therapy { aspect-ratio: 5 / 4; }
.photo-panel.concept { aspect-ratio: 4 / 5; border-color: rgba(255,255,255,.18); }
.photo-panel.therapy img { object-position: center center; }
.photo-panel.portrait img { object-position: center 13%; }
.photo-panel.concept img { object-position: center 38%; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--gold);
  color: #19140a;
  font-weight: 800;
  line-height: 1.1;
  box-shadow: 0 12px 30px rgba(196, 154, 74, .24);
}

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

.button.secondary {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
  box-shadow: none;
}

.dark .button.secondary,
.hero .button.secondary {
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}

.note {
  margin-top: 12px;
  color: rgba(255,255,255,.78);
  font-size: .95rem;
}

.grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: clamp(20px, 2.2vw, 28px);
  box-shadow: 0 1px 0 rgba(23,32,29,.03);
}

.dark .card {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}

.card p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }

.strong-line {
  margin-top: 30px;
  padding: 22px;
  border-left: 4px solid var(--gold);
  background: rgba(196,154,74,.11);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 750;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.image-frame {
  min-height: 520px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(13,62,59,.08), rgba(13,62,59,.34)),
    url("assets/arquitetura-interna-visual.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.image-frame.mentor-photo {
  background:
    linear-gradient(180deg, rgba(13,62,59,.02), rgba(13,62,59,.22)),
    url("assets/palestrando-auditorio.png") center / cover no-repeat;
}

.image-frame.therapy-photo {
  background:
    linear-gradient(180deg, rgba(13,62,59,.02), rgba(13,62,59,.18)),
    url("assets/terapia-consultorio.png") center / cover no-repeat;
}

.image-frame.about-photo {
  background:
    linear-gradient(180deg, rgba(13,62,59,.01), rgba(13,62,59,.14)),
    url("assets/terno-branco.png") center top / cover no-repeat;
}

.image-frame.concept-photo {
  background:
    linear-gradient(180deg, rgba(13,62,59,.04), rgba(13,62,59,.36)),
    url("assets/retrato-luz-azul-vermelha.png") center / cover no-repeat;
}

.image-frame.lecture-photo {
  min-height: 430px;
  background:
    linear-gradient(180deg, rgba(13,62,59,.02), rgba(13,62,59,.20)),
    url("assets/palestra-colegio-miguel.png") center / cover no-repeat;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.week {
  position: relative;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.week b {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--teal);
}

.offer {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

.price-card {
  border: 1px solid rgba(196,154,74,.45);
  border-radius: var(--radius);
  background: var(--white);
  padding: clamp(26px, 3vw, 38px);
  box-shadow: var(--shadow);
}

.price {
  margin: 10px 0;
  color: var(--teal);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 850;
  line-height: 1;
}

.compare {
  width: 100%;
  margin-top: 34px;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(23,32,29,.04);
}

.compare th,
.compare td {
  width: 50%;
  padding: 18px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare th {
  background: var(--teal);
  color: var(--white);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.faq p {
  max-width: 840px;
  margin-top: 12px;
  color: var(--muted);
}

.footer {
  padding: 34px 0;
  background: #101816;
  color: rgba(255,255,255,.78);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    font-size: 1.4rem;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 10px; }
  .grid.two, .grid.three, .grid.four, .timeline, .split, .offer, .editorial-grid { grid-template-columns: 1fr; }
  .image-frame { min-height: 360px; }
  .hero,
  .hero.home-hero,
  .hero.mentoria-hero {
    min-height: auto;
    background:
      linear-gradient(90deg, rgba(13,62,59,.98), rgba(13,62,59,.84)),
      url("assets/retrato-terno-escuro.png") center / cover no-repeat;
  }

  .hero.home-hero {
    background:
      linear-gradient(90deg, rgba(13,62,59,.98), rgba(13,62,59,.84)),
      url("assets/retrato-terno-preto.png") center / cover no-repeat;
  }

  .hero.editorial-hero {
    background:
      radial-gradient(circle at 82% 18%, rgba(189,147,80,.18), transparent 30%),
      linear-gradient(135deg, #0f3532 0%, #123f3a 54%, #0a2422 100%);
  }

  .portrait-panel {
    max-width: 520px;
    width: 100%;
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .container, .hero-grid, .nav { width: min(100% - 24px, var(--max)); }
  .section { padding: 52px 0; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr + tr th { border-top-width: 0; }
}
