/* ==========================================================================
   Conteúdos Pro — Stylesheet
   Estrutura: 1. Reset  2. Variáveis  3. Base  4. Layout utilitário
              5. Cabeçalho  6. Hero  7. Apresentação  8. Missão/Visão
              9. Diferenciais  10. Segmentos  11. FAQ  12. CTA final
              13. Rodapé  14. Componentes (botões, hexágonos)
              15. Animações  16. Responsivo
   ========================================================================== */

/* 1. Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, figure, blockquote { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; }

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

/* 2. Variáveis -------------------------------------------------------------
   Paleta extraída da logo da marca. */
:root {
  /* Cores de marca */
  --brand-purple: #7911F4;
  --brand-blue: #3F6BFA;
  --brand-cyan: #26A2FB;
  --gradient-brand: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-blue) 55%, var(--brand-cyan) 100%);

  /* Fundos */
  --bg-dark: #03071A;
  --bg-dark-raised: #080E28;
  --bg-light: #FFFFFF;
  --bg-mid: #EEF1FA;
  --bg-faq: #F7F8FC;

  /* Textos */
  --text-on-dark: #EDEFF7;
  --text-on-dark-muted: #A9B0C8;
  --text-on-light: #171B2B;
  --text-on-light-muted: #5A6178;

  /* Bordas / divisores */
  --border-on-dark: rgba(237, 239, 247, 0.12);
  --border-on-light: rgba(23, 27, 43, 0.10);

  /* Tipografia */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Ritmo/espaço */
  --section-padding: clamp(4.5rem, 8vw, 7.5rem);
  --container-width: 1160px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;

  /* Sombra discreta (uso comedido) */
  --shadow-soft: 0 20px 50px -30px rgba(10, 15, 40, 0.35);

  --header-height: 76px;
}

/* 3. Base ------------------------------------------------------------------ */
body {
  font-family: var(--font-body);
  background: var(--bg-light);
  color: var(--text-on-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

p { max-width: 68ch; }

:focus-visible {
  outline: 2px solid var(--brand-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 4. Layout utilitário ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding-block: var(--section-padding);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section--mid {
  background: var(--bg-mid);
  color: var(--text-on-light);
}

.section--faq {
  background: var(--bg-faq);
}

.section-heading {
  text-align: left;
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-cyan);
  margin-bottom: 0.9rem;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* 14. Componentes: botões ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.85rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(63, 107, 250, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(63, 107, 250, 0.65); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  border: 1.5px solid var(--border-on-dark);
  color: var(--text-on-dark);
  background: transparent;
}
.btn-outline:hover { border-color: var(--brand-cyan); color: var(--brand-cyan); }

.btn-outline-light {
  border: 1.5px solid var(--border-on-light);
  color: var(--text-on-light);
}
.btn-outline-light:hover { border-color: var(--brand-blue); color: var(--brand-blue); }

/* 14. Componentes: hexágonos decorativos ------------------------------------ */
.hex-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hex-outline {
  display: block;
  position: absolute;
  --hex-border: 2px;
  --hex-opacity: 0.35;
  --hex-cutout-bg: var(--bg-dark);
}

.hex-outline::before,
.hex-outline::after {
  content: "";
  position: absolute;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.hex-outline::before {
  inset: 0;
  background: var(--gradient-brand);
  opacity: var(--hex-opacity);
}

.hex-outline::after {
  inset: var(--hex-border);
  background: var(--hex-cutout-bg);
}

/* 5. Cabeçalho --------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(3, 7, 26, 0.6);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(3, 7, 26, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border-on-dark);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-on-dark);
}

.brand img { height: 34px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.main-nav__list {
  display: flex;
  gap: 2.1rem;
}

.main-nav__list a {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-on-dark-muted);
  position: relative;
  padding-block: 0.4rem;
  transition: color 0.2s ease;
}

.main-nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: right 0.25s ease;
  border-radius: 2px;
}

.main-nav__list a:hover,
.main-nav__list a.is-active {
  color: var(--text-on-dark);
}
.main-nav__list a:hover::after,
.main-nav__list a.is-active::after { right: 0; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-on-dark);
  font-size: 1.3rem;
}

/* 6. Hero --------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 60% 55% at 82% 18%, rgba(38, 162, 251, 0.22), transparent 60%),
    radial-gradient(ellipse 55% 50% at 12% 85%, rgba(121, 17, 244, 0.22), transparent 60%),
    var(--bg-dark);
  overflow: hidden;
  padding-block-start: var(--header-height);
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-block: clamp(3rem, 8vw, 5rem);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-on-dark-muted);
  border: 1px solid var(--border-on-dark);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
}

.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gradient-brand);
}

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  color: var(--text-on-dark);
  max-width: 16ch;
}

.hero p {
  margin-top: 1.6rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--text-on-dark-muted);
  max-width: 52ch;
}

.hero-actions { margin-top: 2.5rem; }

.hero .hex-field .hex-outline:nth-child(1) { width: 420px; height: 420px; top: -120px; right: -100px; }
.hero .hex-field .hex-outline:nth-child(2) { width: 260px; height: 260px; bottom: -80px; left: -60px; }
.hero .hex-field .hex-outline:nth-child(3) { width: 140px; height: 140px; bottom: 18%; right: 12%; opacity: 0.6; }

/* 7. Apresentação --------------------------------------------------------------- */
.presentation {
  background: var(--bg-light);
}

.presentation-blocks {
  max-width: 680px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.presentation-block {
  padding-block: 2.1rem;
}
.presentation-block:first-child { padding-top: 0; }
.presentation-block:last-child { padding-bottom: 0; }

.presentation-block p {
  max-width: none;
  font-size: 1.08rem;
  color: var(--text-on-light-muted);
}

.presentation-divider {
  height: 2px;
  width: 56px;
  border-radius: 2px;
  background: var(--gradient-brand);
  margin: 0 auto;
}

.presentation-transition {
  margin-top: 2.4rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-on-light);
  text-align: center;
}

/* 8. Missão/Visão --------------------------------------------------------------- */
.mission {
  position: relative;
}

.mission .container {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.mission-glyph {
  width: 92px;
  height: 92px;
  flex-shrink: 0;
  position: relative;
}

.mission-glyph .hex-outline {
  position: static;
  width: 100%;
  height: 100%;
  --hex-opacity: 0.95;
  --hex-border: 3px;
  --hex-cutout-bg: var(--bg-mid);
}

.mission-text p {
  max-width: 62ch;
  font-size: 1.08rem;
  color: var(--text-on-light-muted);
  margin-bottom: 1.3rem;
}
.mission-text p:last-child { margin-bottom: 0; }

.mission-text .highlight {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-on-light);
}

/* 9. Diferenciais ------------------------------------------------------------- */
.differentiators {
  background: var(--bg-light);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.diff-card {
  padding: 2rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-on-light);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.diff-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-blue);
}

.diff-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background: var(--gradient-brand);
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 1.4rem;
}

.diff-card h3 { margin-bottom: 0.6rem; color: var(--text-on-light); }
.diff-card p { font-size: 0.98rem; color: var(--text-on-light-muted); }

/* 10. Segmentos ---------------------------------------------------------------- */
.segments {
  position: relative;
  background: var(--bg-dark-raised);
  color: var(--text-on-dark);
  overflow: hidden;
}

.segments .section-heading {
  margin-bottom: 3.5rem;
}

.segments .eyebrow { color: var(--brand-cyan); }

.segments h2 { color: var(--text-on-dark); }

.segment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.segment-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 2.6rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(121,17,244,0.16), rgba(38,162,251,0.08));
  border: 1px solid var(--border-on-dark);
}

.segment-card__tag {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand-cyan);
  margin-bottom: 0.9rem;
}

.segment-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.9rem;
  color: var(--text-on-dark);
}

.segment-card p {
  color: var(--text-on-dark-muted);
  margin-bottom: 1.9rem;
}

.segment-card .btn { align-self: flex-start; }

.segment-card--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark-muted);
  border: 1.5px dashed var(--border-on-dark);
  border-radius: var(--radius-lg);
  min-height: 220px;
  font-size: 0.95rem;
  text-align: center;
  padding: 2rem;
}

.segments .hex-field .hex-outline { --hex-cutout-bg: var(--bg-dark-raised); }
.segments .hex-field .hex-outline:nth-child(1) { width: 320px; height: 320px; top: -100px; left: 60%; }
.segments .hex-field .hex-outline:nth-child(2) { width: 180px; height: 180px; bottom: -60px; left: -40px; }

/* 11. FAQ ------------------------------------------------------------------------ */
.faq-list {
  max-width: 780px;
}

.faq-item {
  border-bottom: 1px solid var(--border-on-light);
}
.faq-item:first-child { border-top: 1px solid var(--border-on-light); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-on-light);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border-on-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--text-on-light);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.faq-icon::before { width: 11px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 11px; }

.faq-question[aria-expanded="true"] .faq-icon { border-color: var(--brand-blue); }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: scaleY(0); opacity: 0; }

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding-bottom: 1.6rem;
  color: var(--text-on-light-muted);
  max-width: 68ch;
}

/* 12. CTA final -------------------------------------------------------------------- */
.cta-final {
  position: relative;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  text-align: center;
  overflow: hidden;
}

.cta-final .container {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.cta-final h2 { color: var(--text-on-dark); margin-bottom: 1.1rem; }
.cta-final p { margin-inline: auto; color: var(--text-on-dark-muted); margin-bottom: 2.2rem; }

.cta-final .hex-field .hex-outline:nth-child(1) { width: 380px; height: 380px; top: -140px; left: 50%; transform: translateX(-50%); }

/* 13. Rodapé --------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark-muted);
  border-top: 1px solid var(--border-on-dark);
  padding-block: 4rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-on-dark);
}

.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.95rem; max-width: 32ch; }

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 1rem;
}

.footer-links li { margin-bottom: 0.7rem; }
.footer-links a { font-size: 0.95rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--text-on-dark); }

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.social-links a:hover { border-color: var(--brand-cyan); color: var(--brand-cyan); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  font-size: 0.85rem;
}

.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a:hover { color: var(--text-on-dark); }

/* Botão voltar ao topo --------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 90;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 15. Animações de entrada ------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 16. Responsivo ------------------------------------------------------------------ */
@media (max-width: 980px) {
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .mission .container { grid-template-columns: 1fr; text-align: left; }
  .mission-glyph { width: 64px; height: 64px; }
}

@media (max-width: 760px) {
  .main-nav__list,
  .main-nav .btn { display: none; }

  .nav-toggle { display: inline-flex; }

  .main-nav.is-open {
    position: fixed;
    inset: var(--header-height) 0 0 0;
    background: rgba(3, 7, 26, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem clamp(1.25rem, 4vw, 2.5rem);
  }

  .main-nav.is-open .main-nav__list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    width: 100%;
  }

  .main-nav.is-open .main-nav__list a { font-size: 1.2rem; }

  .main-nav.is-open .btn {
    display: inline-flex;
    margin-top: 2rem;
  }

  .diff-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .section { --section-padding: 3.5rem; }
  .hero-badge { font-size: 0.78rem; }
}
