/* Variáveis globais */
:root {
  --ink: #17191c;
  --navy: #17344d;
  --navy-deep: #0f2538;
  --wine: #702a36;
  --gold: #c4a45f;
  --gold-light: #e5d7b4;
  --paper: #f4f3ef;
  --paper-dark: #e8e7e1;
  --white: #fffefa;
  --muted: #686b6d;
  --line: rgba(23, 25, 28, 0.15);
  --max: 1180px;
}

/* Reset e base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

h1,
h2,
h3 {
  font-family: 'Libre Caslon Display', serif;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}

/* Layout compartilhado */
.wrap {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.contact {
  scroll-margin-top: 76px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 62px;
}

.section-heading h2 {
  color: var(--navy-deep);
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin: 16px 0 20px;
}

.section-heading > p:last-child {
  color: var(--muted);
  max-width: 62ch;
  font-size: 1.05rem;
}

/* Componentes reutilizáveis */
.kicker {
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker-light {
  color: var(--gold-light);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 25px;
  background: var(--wine);
  border: 1px solid var(--wine);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.button:hover {
  background: #58202a;
  border-color: #58202a;
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.82rem;
}

.button-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

.button-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 5px;
  font-weight: 600;
}

/* Cabeçalho */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(15, 37, 56, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand img {
  width: 43px;
  height: 43px;
  object-fit: cover;
  background: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.brand span {
  font-family: 'Libre Caslon Display', serif;
  font-size: 1rem;
  line-height: 1.05;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 27px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.84rem;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--white);
}

/* Hero */
.hero {
  height: 100svh;
  min-height: 600px;
  padding-top: clamp(118px, 16vh, 160px);
  position: relative;
  display: flex;
  align-items: flex-start;
  background: var(--white);
  color: var(--navy-deep);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-shade {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  max-width: 850px;
  color: var(--navy-deep);
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  margin: 22px 0 28px;
}

.hero-content h1 em {
  color: var(--wine);
  font-style: italic;
}

.hero-copy {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 38px;
}

.hero .text-link {
  color: var(--navy-deep);
  border-bottom-color: var(--gold);
}

.hero-next {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 26px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Espaços de imagem */
.photo-slot {
  position: relative;
  overflow: hidden;
  background-color: #d7d5ce;
  background-image:
    linear-gradient(rgba(23, 52, 77, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 52, 77, 0.1) 1px, transparent 1px);
  background-size: 36px 36px;
  border: 1px solid rgba(23, 52, 77, 0.2);
}

.photo-slot::after {
  content: '';
  position: absolute;
  width: 170px;
  height: 170px;
  top: 10%;
  right: 8%;
  background: url('logo-simbolo.png') center / contain no-repeat;
  opacity: 0.08;
  filter: grayscale(1);
}

.photo-slot-hero {
  background: var(--white);
  border: 0;
}

.photo-slot-hero::after {
  width: 340px;
  height: 355px;
  top: 22%;
  right: 10%;
  opacity: 0.035;
}

.photo-note {
  position: absolute;
  z-index: 1;
  left: 20px;
  bottom: 20px;
  max-width: 260px;
  background: rgba(255, 254, 250, 0.92);
  border-left: 3px solid var(--gold);
  color: var(--navy-deep);
  padding: 12px 15px;
  font-size: 0.72rem;
  line-height: 1.45;
}

.photo-note strong,
.photo-note span {
  display: block;
}

.photo-note strong {
  font-size: 0.78rem;
  margin-bottom: 3px;
}

.photo-slot-hero .photo-note {
  left: auto;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 72px;
}

/* Frase de impacto */
.truth-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 72px 0;
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 56px;
  align-items: center;
}

.quote-grid blockquote {
  color: var(--navy-deep);
  font-family: 'Libre Caslon Display', serif;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.35;
}

.quote-grid > p:last-child {
  color: var(--muted);
}

.quote-gold {
  display: inline;
  color: var(--gold);
  font-size: 1.65em;
  line-height: 0;
  vertical-align: -0.16em;
}

.quote-gold:first-child {
  margin-right: 0.06em;
}

.quote-gold:last-child {
  margin-left: 0.06em;
}

/* Para quem */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.audience-item {
  padding: 34px 34px 42px 0;
}

.audience-item + .audience-item {
  border-left: 1px solid var(--line);
  padding-left: 34px;
}

.audience-item span {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
}

.audience-item h3 {
  color: var(--navy-deep);
  font-size: 1.55rem;
  margin: 34px 0 16px;
}

.audience-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Soluções */
.solutions {
  background: var(--navy-deep);
  color: var(--white);
}

.solution-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 90px;
}

.solution-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.solution-intro h2 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  margin: 18px 0 28px;
}

.solution-intro > p:last-child {
  color: rgba(255, 255, 255, 0.66);
}

.solution {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 26px;
  padding: 42px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.solution:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.solution-number {
  color: var(--gold);
  font-size: 0.78rem;
  padding-top: 4px;
}

.solution-label {
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.solution h3 {
  font-size: 2rem;
  margin: 10px 0 24px;
}

.solution ul {
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  list-style: none;
}

.solution li::before {
  content: '—';
  color: var(--gold);
  margin-right: 12px;
}

/* Biografia */
.bio {
  background: var(--white);
}

.bio-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 92px;
  align-items: center;
}

.photo-stack {
  position: relative;
  min-height: 710px;
}

.photo-slot-portrait {
  width: 78%;
  height: 620px;
}

.photo-slot-detail {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 260px;
  border: 10px solid var(--white);
}

.photo-slot-detail .photo-note {
  right: 10px;
  bottom: 10px;
  left: 10px;
}

.bio-copy h2 {
  color: var(--navy-deep);
  font-size: clamp(2.2rem, 4.2vw, 3.75rem);
  margin: 18px 0 28px;
}

.bio-copy p {
  color: var(--muted);
  margin-bottom: 17px;
}

.bio-copy .lead {
  color: var(--ink);
  font-size: 1.12rem;
}

.bio-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.bio-values span {
  border: 1px solid var(--gold);
  color: var(--navy-deep);
  padding: 8px 13px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Propósito */
.purpose {
  background: var(--paper-dark);
}

.purpose-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
}

.purpose-copy h2 {
  color: var(--navy-deep);
  font-size: clamp(2.1rem, 4vw, 3.45rem);
  margin: 18px 0 26px;
}

.purpose-copy p:not(.kicker) {
  color: var(--muted);
  margin-bottom: 16px;
}

.photo-slot-wide {
  min-height: 460px;
}

/* Método */
.method .section-heading {
  max-width: 760px;
}

.method-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.method-step {
  padding: 34px 28px 0 0;
}

.method-step + .method-step {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.method-step span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 700;
}

.method-step h3 {
  color: var(--navy-deep);
  font-size: 1.5rem;
  margin: 28px 0 13px;
}

.method-step p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Chamada final */
.closing {
  background: var(--wine);
  color: var(--white);
  padding: 100px 0;
  text-align: center;
}

.closing-inner {
  max-width: 780px;
}

.closing h2 {
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  margin: 18px 0 22px;
}

.closing p:not(.kicker) {
  max-width: 590px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

/* Contato */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.location {
  background: var(--white);
  border-top: 4px solid var(--gold);
  padding: 38px;
}

.location-city {
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.location h3 {
  color: var(--navy-deep);
  font-size: 1.7rem;
  margin: 12px 0 20px;
}

.location address {
  color: var(--muted);
  font-style: normal;
  min-height: 80px;
}

.location .phone {
  color: var(--navy-deep);
  font-size: 1.12rem;
  font-weight: 700;
  margin: 20px 0;
}

.location-actions {
  display: flex;
  gap: 24px;
}

.location-actions a {
  color: var(--wine);
  border-bottom: 1px solid var(--gold);
  font-size: 0.86rem;
  font-weight: 700;
}

/* Rodapé */
footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.6);
  padding: 56px 0 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 35px;
  align-items: start;
}

.brand-footer {
  color: var(--white);
}

.footer-inner > p {
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  gap: 22px;
  color: var(--white);
  font-size: 0.85rem;
}

.copyright {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  margin-top: 20px;
}

/* Animações */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsivo */
@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .quote-grid,
  .solution-layout,
  .bio-grid,
  .purpose-grid {
    grid-template-columns: 1fr;
  }

  .quote-grid {
    gap: 24px;
  }

  .solution-intro {
    position: static;
  }

  .bio-grid {
    gap: 52px;
  }

  .photo-stack {
    max-width: 620px;
  }

  .purpose-grid {
    gap: 45px;
  }

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

  .method-step:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .method-step:nth-child(n + 3) {
    border-top: 1px solid var(--line);
    margin-top: 34px;
    padding-top: 34px;
  }
}

@media (min-width: 741px) and (max-height: 700px) {
  .hero {
    padding-top: 105px;
  }

  .hero-content h1 {
    font-size: clamp(3.5rem, 5.5vw, 4.8rem);
    margin: 14px 0 20px;
  }

  .hero-copy {
    font-size: 1rem;
    line-height: 1.55;
  }

  .actions {
    margin-top: 26px;
  }

  .hero-next {
    bottom: 18px;
  }
}

@media (max-width: 740px) {
  .wrap {
    width: min(100% - 32px, var(--max));
  }

  .section {
    padding: 78px 0;
  }

  .nav {
    height: 68px;
  }

  .nav > .button {
    display: none;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 760px;
    height: 92vh;
    padding-top: 68px;
    align-items: center;
  }

  .hero-content h1 {
    font-size: clamp(2.85rem, 14vw, 4.2rem);
  }

  .hero-next,
  .photo-slot-hero .photo-note {
    display: none;
  }

  .truth-band {
    padding: 56px 0;
  }

  .quote-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .audience-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .audience-item,
  .audience-item + .audience-item {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 28px 0;
  }

  .audience-item:first-child {
    border-top: 0;
  }

  .solution-layout {
    gap: 44px;
  }

  .solution {
    grid-template-columns: 38px 1fr;
    gap: 14px;
  }

  .solution h3 {
    font-size: 1.6rem;
  }

  .photo-stack {
    min-height: 560px;
  }

  .photo-slot-portrait {
    width: 88%;
    height: 500px;
  }

  .photo-slot-detail {
    width: 58%;
    height: 210px;
  }

  .photo-note {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

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

  .method-step,
  .method-step + .method-step,
  .method-step:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 28px 0;
    margin: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .copyright {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button {
    transition: none;
  }
}
