/* Preferência Comercial — folha de estilos */

:root {
  --petrol:      #10202b;
  --petrol-soft: #1e3a4c;
  --paper:       #f7f5f1;
  --paper-warm:  #efece5;
  --sienna:      #b4472f;
  --sienna-dim:  #8f3723;
  --grey:        #6b7a82;
  --ink:         #10202b;
  --ink-soft:    #3c4c55;
  --rule:        #d8d3c9;
  --rule-dark:   #2b4353;

  --serif: "Fraunces", Georgia, "Segoe UI", serif;
  --sans:  "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --measure: min(66ch, 100%);
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --band-y: clamp(3.5rem, 8vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

.wrap {
  width: min(100% - (var(--gut) * 2), 1140px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  background: var(--petrol);
  color: var(--paper);
  padding: .75rem 1.25rem;
  z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

:focus-visible {
  outline: 2px solid var(--sienna);
  outline-offset: 3px;
}

/* ---------- tipografia base ---------- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.75rem, 1.25rem + 2.2vw, 2.85rem);
  max-width: min(22ch, 100%);
  margin-bottom: 1.75rem;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -.005em;
}

p { margin: 0 0 1.15em; }

.prose { max-width: var(--measure); }
.prose p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: min(56ch, 100%);
}

.sub {
  max-width: min(58ch, 100%);
  color: var(--ink-soft);
  margin-top: -.75rem;
  margin-bottom: 2.5rem;
}

.small { font-size: .9375rem; }

strong { font-weight: 600; }

/* ---------- navegação ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}

.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(.75rem, 3vw, 1.5rem);
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1.1;
}
.brand img {
  height: 3.1rem;
  width: auto;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 2vw, 1.85rem);
}

.nav nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .9375rem;
  transition: color .15s;
}
.nav nav a:hover { color: var(--sienna); }

.nav-cta {
  background: var(--petrol);
  color: var(--paper) !important;
  padding: .55rem 1.1rem;
  border-radius: 2px;
}
.nav-cta:hover { background: var(--sienna) !important; }

@media (max-width: 860px) {
  .nav nav a:not(.nav-cta) { display: none; }
}

/* ---------- botões ---------- */

.btns {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2.25rem;
}

.btn {
  display: inline-block;
  font-size: .9688rem;
  font-weight: 500;
  padding: .9rem 1.6rem;
  border-radius: 2px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .18s, color .18s, border-color .18s;
}

.btn-solid {
  background: var(--sienna);
  color: #fff;
}
.btn-solid:hover { background: var(--sienna-dim); }

.btn-ghost {
  border-color: var(--rule);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--petrol); background: var(--paper-warm); }

/* ---------- hero ---------- */

.hero {
  background: var(--paper);
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6rem);
  border-bottom: 1px solid var(--rule);
}

.hero-in {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.pre {
  font-size: .9375rem;
  color: var(--sienna);
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
  max-width: min(46ch, 100%);
}

h1 {
  font-size: clamp(2rem, 1.1rem + 3.6vw, 3.6rem);
  margin-bottom: 1.75rem;
}
.h1-a {
  display: block;
  font-weight: 400;
  color: var(--ink-soft);
}
.h1-b {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-top: .2em;
}

.hero-fig { margin: 0; }
.hero-fig img {
  width: 100%;
  border-radius: 2px;
  filter: grayscale(.25) contrast(1.04);
}
.hero-fig figcaption {
  margin-top: .9rem;
  font-size: .875rem;
  color: var(--ink-soft);
  border-left: 2px solid var(--sienna);
  padding-left: .75rem;
}
.hero-fig figcaption span { color: var(--grey); }

@media (max-width: 880px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-fig { order: -1; max-width: 320px; }
}

/* ---------- bandas ---------- */

.band { padding-block: var(--band-y); }
.band-alt { background: var(--paper-warm); }

.band-dark {
  background: var(--petrol);
  color: var(--paper);
}
.band-dark h2, .band-dark h3 { color: var(--paper); }
.band-dark .prose, .band-dark .lede { color: #c9d4da; }
.band-dark strong { color: #fff; }

.closer {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem);
  line-height: 1.4;
  max-width: min(44ch, 100%);
  margin-bottom: 0;
}

.assertion {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1rem + .75vw, 1.55rem);
  line-height: 1.35;
  color: var(--ink);
  max-width: min(40ch, 100%);
  margin-top: 2.5rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--sienna);
  margin-bottom: 0;
}
.band-dark .assertion { color: var(--paper); }

/* ---------- 2 · problema ---------- */

blockquote {
  margin: 1.75rem 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.05rem + .8vw, 1.6rem);
  line-height: 1.35;
  color: var(--sienna);
  quotes: "«" "»";
}
blockquote::before { content: open-quote; }
blockquote::after  { content: close-quote; }

/* ---------- 3 · sinais ---------- */

.signals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(2rem, 5vw, 4rem);
  border-top: 1px solid var(--rule);
}

.signals article {
  padding-block: 1.9rem;
  border-bottom: 1px solid var(--rule);
}
.signals h3 { margin-bottom: .6rem; }
.signals p {
  margin-bottom: 0;
  color: var(--ink-soft);
  max-width: min(46ch, 100%);
}

@media (max-width: 760px) {
  .signals { grid-template-columns: 1fr; }
}

/* ---------- 4 · conceito ---------- */

.definition {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.9rem);
  line-height: 1.32;
  color: var(--paper);
  max-width: min(30ch, 100%);
  padding: 1.75rem 0 1.75rem 1.5rem;
  border-left: 3px solid var(--sienna);
  margin-bottom: 2.5rem;
}

.negations { color: #9fb2bc; }

/* ---------- 6 · método ---------- */

.method {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  counter-reset: none;
}

.method li {
  position: relative;
  padding-top: 1.5rem;
  border-top: 2px solid var(--petrol);
}
.method li:last-child { border-top-color: var(--sienna); }

.method .step {
  display: block;
  font-family: var(--serif);
  font-size: .875rem;
  color: var(--sienna);
  margin-bottom: .5rem;
}
.method h3 { margin-bottom: .55rem; }
.method p {
  margin-bottom: 0;
  font-size: .9375rem;
  color: var(--ink-soft);
}

@media (max-width: 900px) { .method { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .method { grid-template-columns: 1fr; } }

/* ---------- 7 · comportamentos ---------- */

.behaviours {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: clamp(2rem, 5vw, 4rem);
  max-width: 900px;
}

.behaviours li {
  break-inside: avoid;
  padding: .8rem 0 .8rem 1.5rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
  color: var(--ink-soft);
}
.behaviours li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.45rem;
  width: .5rem;
  height: 1px;
  background: var(--sienna);
}

@media (max-width: 720px) { .behaviours { columns: 1; } }

/* ---------- 8 · programa ---------- */

.phases {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.phases li {
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule-dark);
}
.phases .ph {
  display: block;
  font-size: .8125rem;
  color: var(--sienna);
  margin-bottom: .5rem;
}
.phases h3 { margin-bottom: .5rem; }
.phases p {
  margin-bottom: 0;
  font-size: .9375rem;
  color: #a9bac3;
}

@media (max-width: 900px) { .phases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .phases { grid-template-columns: 1fr; } }

/* ---------- 9 · ciência ---------- */

.science {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: 2.5rem;
}
.science h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 760px) { .science { grid-template-columns: 1fr; } }

.tick, .cross {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tick li, .cross li {
  position: relative;
  padding: .45rem 0 .45rem 1.75rem;
  color: var(--ink-soft);
}
.tick li::before {
  content: "";
  position: absolute;
  left: .15rem;
  top: .95rem;
  width: .45rem;
  height: .8rem;
  border: solid var(--sienna);
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}
.cross li::before {
  content: "";
  position: absolute;
  left: .1rem;
  top: 1.2rem;
  width: .75rem;
  height: 2px;
  background: var(--grey);
}

.fonte {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: .8438rem;
  color: var(--grey);
  max-width: min(62ch, 100%);
}

/* ---------- 10 · autodiagnóstico ---------- */

.band-accent {
  background: var(--petrol-soft);
  color: var(--paper);
}
.band-accent h2 { color: var(--paper); max-width: min(26ch, 100%); }
.diag { max-width: min(62ch, 100%); }
.diag p { color: #c9d4da; }
.diag .small { color: #9fb2bc; }
.diag .btn { margin-top: 1rem; }

/* ---------- 11 · para quem ---------- */

.fit {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.fit h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); margin-bottom: 1.25rem; }
.fit-no { color: var(--grey); }
.fit-no li { color: var(--grey); }

@media (max-width: 800px) { .fit { grid-template-columns: 1fr; } }

/* ---------- 12 · sobre ---------- */

.about-text { max-width: var(--measure); }

.signature {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: 1.05rem;
  margin-bottom: 0;
}
.signature span {
  font-family: var(--sans);
  font-size: .875rem;
  color: var(--grey);
}

/* ---------- 13 · prova social ---------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
}

.quotes blockquote {
  margin: 0;
  padding: 1.75rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink-soft);
  quotes: none;
}
.quotes blockquote::before,
.quotes blockquote::after { content: none; }
.quotes cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: .875rem;
  color: var(--grey);
}

.logos {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.logos span {
  display: grid;
  place-items: center;
  min-height: 5rem;
  font-size: .8125rem;
  color: var(--grey);
}

@media (max-width: 860px) {
  .quotes { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
}

/* marcadores de conteúdo por preencher */
.placeholder {
  border-style: dashed !important;
  background-image: repeating-linear-gradient(
    45deg,
    transparent, transparent 9px,
    rgba(107, 122, 130, .05) 9px, rgba(107, 122, 130, .05) 18px
  );
}
.logos.placeholder span {
  border: 1px dashed var(--rule);
  border-radius: 2px;
}
.placeholder-link { color: var(--grey); text-decoration: underline dashed; }

/* ---------- 14 · FAQ ---------- */

.faq { max-width: 760px; border-top: 1px solid var(--rule); }

.faq details { border-bottom: 1px solid var(--rule); }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 2.5rem 1.25rem 0;
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 500;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: .5rem;
  top: 1.8rem;
  width: .7rem;
  height: .7rem;
  border-right: 2px solid var(--sienna);
  border-bottom: 2px solid var(--sienna);
  transform: rotate(45deg);
  transition: transform .2s;
}
.faq details[open] summary::after {
  transform: rotate(-135deg);
  top: 2rem;
}
.faq summary:hover { color: var(--sienna); }
.faq details p {
  padding: 0 2.5rem 1.5rem 0;
  margin: 0;
  color: var(--ink-soft);
  max-width: min(62ch, 100%);
}

/* ---------- 15 · CTA final ---------- */

.cta-final h2 { max-width: min(24ch, 100%); }
.cta-final .lede { color: #c9d4da; }
.cta-final .alt {
  margin-top: 1.75rem;
  margin-bottom: 0;
  font-size: .9375rem;
  color: #9fb2bc;
}
.cta-final .alt a { color: var(--paper); }

/* ---------- rodapé ---------- */

.foot {
  background: #0b1820;
  color: #8fa3ad;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  font-size: .9063rem;
}
.foot-in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}
.foot p { margin-bottom: .35rem; }
.foot-brand {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--paper);
  margin-bottom: .6rem;
}
.foot a { color: #8fa3ad; }
.foot-contacts { text-align: right; }

@media (max-width: 640px) {
  .foot-contacts { text-align: left; }
}
