/* =========================
   1. Tokens e base
   ========================= */
:root {
  color-scheme: dark;

  --bg: #0a0a0a;
  --surface: #101010;
  --card: #141414;
  --accent: #200000;
  --accent-hover: #380808;
  --accent-border: #844343;

  --text: #ffffff;
  --muted: #c5c5c5;
  --subtle: #adadad;
  --border: #343434;
  --focus: #ffffff;

  --radius: 1.25rem;
  --container: 74rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

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

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

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.55rem, 6.3vw, 5.3rem);
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

p {
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
}

::selection {
  background: #653030;
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin-inline: auto;
}

.section {
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.section-surface {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

.section-heading > p:last-child:not(.eyebrow) {
  max-width: 42rem;
  margin-top: 1.25rem;
  color: var(--muted);
}

.section-note {
  max-width: 58rem;
  margin-top: 1.5rem;
  color: var(--subtle);
  font-size: 0.875rem;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  transform: translateY(-180%);
  background: #fff;
  color: #000;
  border-radius: 0.5rem;
}

.skip-link:focus {
  transform: translateY(0);
}

/* =========================
   2. Cabeçalho e botões
   ========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.brand img {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.09em;
  line-height: 1.3;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.main-nav,
.header-inner > .button {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 3.5rem;
  max-width: 100%;
  padding: 0.95rem 1.25rem;
  border: 1px solid var(--accent-border);
  border-radius: 0.65rem;
  background: var(--accent);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.4;
  text-align: center;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.button span {
  flex-shrink: 0;
}

.button:hover {
  background: var(--accent-hover);
  border-color: #b77979;
}

.button-outline {
  border-color: #666;
  background: transparent;
}

.button-outline:hover {
  background: var(--accent);
  border-color: var(--accent-border);
}

.button-small {
  min-height: 2.9rem;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
}

.microcopy {
  max-width: 34rem;
  margin-top: 0.9rem;
  color: var(--subtle);
  font-size: 0.8rem;
}

/* =========================
   3. Hero e fluxo visual
   ========================= */
.hero {
  background:
    radial-gradient(ellipse at 90% 20%, #200000 0%, transparent 55%),
    var(--bg);
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-copy,
.system-card {
  min-width: 0;
}

.hero h1 span {
  display: block;
  color: #bdbdbd;
}

.lead {
  max-width: 39rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.benefit-list {
  display: grid;
  gap: 0.7rem;
  margin-block: 1.65rem 2rem;
  padding: 0;
  list-style: none;
  color: #e1e1e1;
  font-size: 0.94rem;
}

.benefit-list li {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}

.benefit-list li::before {
  content: "✓";
  flex-shrink: 0;
  color: #e7baba;
  font-weight: 800;
}

.hero-copy > .button {
  width: 100%;
}

.system-card {
  padding: clamp(1.4rem, 3vw, 2.3rem);
  border: 1px solid #633535;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #1c1010, #111 65%);
}

.system-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.7rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #e1abab;
}

.system-card h2 {
  max-width: 18ch;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.pipeline {
  display: grid;
  gap: 1.5rem;
  padding: 0;
  margin-top: 2rem;
  list-style: none;
}

.pipeline li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-number {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #6c4141;
  border-radius: 0.65rem;
  background: var(--accent);
  color: #f3dada;
  font-size: 0.75rem;
  font-weight: 750;
}

.pipeline h3 {
  font-size: 1rem;
  line-height: 1.35;
}

.pipeline p {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.system-note {
  margin-top: 2rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--border);
  color: #dedede;
  font-size: 0.875rem;
}

/* =========================
   4. Metodologia e planos
   ========================= */
.problem-section {
  border-block: 1px solid var(--border);
}

.problem-grid,
.cards-grid,
.team-grid,
.faq-layout {
  display: grid;
  gap: 1.25rem;
}

.problem-grid {
  gap: 2rem;
}

.section-copy {
  color: var(--muted);
}

.section-copy p + p {
  margin-top: 1rem;
}

.card {
  min-width: 0;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.card-index {
  display: block;
  margin-bottom: 2rem;
  color: #ddb8b8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.card > p:not(.plan-code) {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-list {
  display: grid;
  gap: 0.75rem;
  padding-left: 1.1rem;
  margin-top: 1.5rem;
  color: #d4d4d4;
  font-size: 0.9rem;
}

.feature-list li::marker {
  color: #dcaaaa;
}

.plan-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.plan-code {
  margin-bottom: 1.1rem;
  color: #e8c7c7;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-card h3 {
  font-size: 1.6rem;
}

.plan-card .feature-list {
  margin-bottom: 2rem;
}

.plan-card .button {
  width: 100%;
  margin-top: auto;
}

.plan-featured {
  border-color: var(--accent-border);
  background: linear-gradient(160deg, #251010, #141414 65%);
}

.plan-badge {
  display: inline-block;
  margin-bottom: 1.3rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  background: var(--accent);
  color: #f4dcdc;
  font-size: 0.7rem;
  font-weight: 750;
}

/* =========================
   5. Equipe
   ========================= */
.team-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.team-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 50% 100%, #310d0d, transparent 70%),
    #151515;
}

.team-photo span {
  color: #cfb0b0;
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.07em;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: 1.75rem;
}

.team-info .eyebrow {
  margin-bottom: 0.65rem;
}

.team-info h3 {
  font-size: 1.65rem;
}

.team-info > p:last-child {
  margin-top: 1rem;
  color: var(--muted);
}

/* =========================
   6. FAQ acessível
   ========================= */
.faq-list {
  min-width: 0;
  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  position: relative;
  min-height: 3.5rem;
  padding: 1.3rem 2.5rem 1.3rem 0;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 1.2rem;
  right: 0.3rem;
  color: #e0b8b8;
  font-size: 1.35rem;
}

.faq-list details[open] > summary::after {
  content: "−";
}

.faq-list summary:hover {
  color: #e5c1c1;
}

.faq-answer {
  padding: 0 1rem 1.5rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* =========================
   7. Conversão final e rodapé
   ========================= */
.final-card {
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at top, #300909, transparent 75%),
    #120c0c;
  text-align: center;
}

.final-card h2 {
  max-width: 23ch;
  margin-inline: auto;
}

.final-card > p:not(.eyebrow):not(.microcopy) {
  max-width: 39rem;
  margin: 1.4rem auto 2rem;
  color: var(--muted);
}

.final-card .microcopy {
  margin-inline: auto;
}

.site-footer {
  padding-block: 2.5rem 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  align-items: start;
  gap: 2rem;
}

.footer-description {
  max-width: 23rem;
  margin-top: 0.8rem;
  color: var(--subtle);
  font-size: 0.875rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.social-links svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.social-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--subtle);
}

.footer-bottom small {
  font-size: 0.75rem;
}

.mobile-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  padding: 0.65rem 1rem
    calc(0.65rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #653333;
  background: #0a0a0a;
}

.mobile-cta .button {
  width: 100%;
  min-height: 3.25rem;
  font-size: 0.875rem;
}

/* =========================
   8. Layout responsivo
   ========================= */
@media (min-width: 40rem) {
  .header-inner > .button {
    display: inline-flex;
  }

  .hero-copy > .button {
    width: auto;
  }

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

  .footer-grid > .button {
    justify-self: start;
  }
}

@media (min-width: 56rem) {
  body {
    padding-bottom: 0;
  }

  .mobile-cta {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 3rem;
  }

  .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
    align-items: start;
  }

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

  .faq-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 4rem;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr auto;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 68rem) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    color: var(--muted);
    font-size: 0.875rem;
  }

  .main-nav a:hover {
    color: #fff;
  }

  .hero-grid {
    gap: 4.5rem;
  }

  .card {
    padding: 2rem;
  }
}

/* Serviços: entregas organizadas em colunas, sem dependências externas. */
.services-section {
  border-top: 1px solid var(--border);
}

.services-grid {
  display: grid;
  gap: 2.5rem 2rem;
}

.service-item {
  min-width: 0;
  border-top: 1px solid #633535;
  padding-top: 1.4rem;
}

.service-number {
  display: inline-block;
  margin-bottom: 1.3rem;
  color: #e8c7c7;
  font-size: 0.875rem;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.service-item > p {
  margin-top: 1rem;
  color: var(--muted);
}

.services-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.services-bottom p {
  max-width: 39rem;
  color: var(--muted);
  font-size: 0.875rem;
}

@media (min-width: 40rem) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 68rem) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Respeita a preferência de redução de movimento. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* Assets reais e acabamento visual */
.team-photo{aspect-ratio:4/4;background:radial-gradient(ellipse at 50% 90%,#402020,transparent 70%),#171717}
.team-photo img{object-fit:contain;object-position:center bottom}
.site-header{background:rgba(10,10,10,.94);backdrop-filter:blur(16px)}
.hero{background:radial-gradient(ellipse at 90% 20%,#290909 0%,transparent 55%),var(--bg)}
dialog{position:fixed;width:min(90vw,32rem);border:1px solid #844343;border-radius:1.25rem;background:#141414;color:white;padding:3rem 2rem;font:inherit}
dialog::backdrop{background:rgba(0,0,0,.75);backdrop-filter:blur(5px)}
dialog h2{font-size:2rem;margin-bottom:1rem}dialog>p:last-child{color:#c5c5c5}
.dialog-close{position:absolute;top:.65rem;right:1rem;background:none;border:0;color:white;font-size:2rem;cursor:pointer}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}

.social-links{gap:.75rem;align-items:center}.social-links .social-icon{display:inline-flex;justify-content:center;align-items:center;width:44px;height:44px;min-height:44px;color:#fff;border-radius:8px;transition:background-color 160ms ease,transform 160ms ease}.social-links .social-icon svg{width:30px;height:30px}.social-links a.social-icon:hover{background:#262626;transform:translateY(-2px)}.social-pending{opacity:.55}.privacy-link,.privacy-back{font-size:.875rem}.privacy-link:hover,.privacy-back:hover{text-decoration:underline;text-underline-offset:4px}.privacy-page{padding-bottom:0}.privacy-content{max-width:52rem}.privacy-content h1{font-size:clamp(2.5rem,6vw,4rem)}.privacy-content h2{font-size:1.5rem;margin:2.5rem 0 .9rem}.privacy-content p{color:var(--muted);margin-top:1rem}.privacy-content a{text-decoration:underline;text-underline-offset:3px;color:#fff}.privacy-date{font-size:.875rem;margin-bottom:2rem}.privacy-source{border-top:1px solid var(--border);padding-top:1.5rem;font-size:.875rem}
