:root {
  --premium-navy: #0d2038;
  --premium-navy-2: #172f4d;
  --premium-ink: #17283c;
  --premium-muted: #647080;
  --premium-ivory: #fff9f0;
  --premium-cream: #f5eee3;
  --premium-paper: #fffdf9;
  --premium-rose: #e8b9b2;
  --premium-rose-soft: #f4dcd8;
  --premium-gold: #c9a45c;
  --premium-line: rgba(13, 32, 56, 0.12);
  --premium-shadow: 0 28px 80px rgba(13, 32, 56, 0.14);
  --premium-shadow-soft: 0 14px 44px rgba(13, 32, 56, 0.09);
  --premium-radius: 28px;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: var(--premium-paper);
  color: var(--premium-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--premium-rose);
  color: var(--premium-navy);
}

a,
button,
input,
select,
textarea {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease,
    box-shadow 180ms ease, transform 180ms ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(201, 164, 92, 0.42);
  outline-offset: 3px;
}

.container {
  width: min(1180px, calc(100% - 48px));
}

/* Header: logo oficial e navegação consistente em todas as rotas. */
.site-header.refresh-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 32, 56, 0.98) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 10px 28px rgba(5, 17, 31, 0.16);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 92px !important;
  gap: 28px;
}

.brand-refresh {
  flex: 0 0 auto;
  min-width: 190px;
}

.brand-refresh > img,
.refresh-header .brand-refresh > img,
.refresh-footer .brand-refresh > img {
  width: 210px !important;
  height: auto !important;
  max-height: 68px;
  object-fit: contain;
  filter: none !important;
}

.brand-refresh > span {
  display: none !important;
}

.site-nav-refresh {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(15px, 1.7vw, 26px);
  margin-left: auto;
}

.site-nav-refresh > a,
.site-nav-refresh .nav-dropdown > button {
  position: relative;
  color: #fffaf3 !important;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
  opacity: 1 !important;
  visibility: visible !important;
}

.site-nav-refresh > a:not(.nav-cta-refresh)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--premium-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav-refresh > a:not(.nav-cta-refresh):hover::after,
.site-nav-refresh > a:not(.nav-cta-refresh):focus-visible::after {
  transform: scaleX(1);
}

.refresh-header .site-nav-refresh > a.nav-cta-refresh {
  padding: 13px 20px !important;
  border: 1px solid var(--premium-rose) !important;
  border-radius: 999px;
  background: var(--premium-rose) !important;
  color: var(--premium-navy) !important;
  font-weight: 750;
  box-shadow: 0 10px 24px rgba(232, 185, 178, 0.2);
}

.refresh-header .site-nav-refresh > a.nav-cta-refresh:hover {
  border-color: #f4d4cf !important;
  background: #f4d4cf !important;
  transform: translateY(-2px);
}

.nav-dropdown > button::after {
  color: var(--premium-gold) !important;
}

.nav-dropdown-panel {
  overflow: hidden;
  padding: 10px !important;
  border: 1px solid rgba(201, 164, 92, 0.28) !important;
  border-radius: 18px !important;
  background: var(--premium-paper) !important;
  box-shadow: var(--premium-shadow) !important;
}

.nav-dropdown-panel a,
.nav-dropdown-panel strong {
  color: var(--premium-ink) !important;
}

.nav-dropdown-panel span {
  color: var(--premium-muted) !important;
}

.nav-dropdown-panel a:hover,
.nav-dropdown-panel a:focus-visible {
  background: var(--premium-cream) !important;
}

/* Hero editorial. */
.hero-refresh,
.trajectory-hero,
.sales-hero,
.mentoria-hero,
.community-hero,
.books-hero,
.projects-hero,
.privacy-hero,
.materials-hero {
  position: relative;
  overflow: hidden;
}

.hero-refresh {
  padding: clamp(64px, 8vw, 112px) 0 76px !important;
  background:
    radial-gradient(circle at 88% 12%, rgba(232, 185, 178, 0.44), transparent 30%),
    linear-gradient(135deg, var(--premium-paper) 0 70%, var(--premium-cream) 70% 100%) !important;
}

.hero-refresh-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.82fr) !important;
  gap: clamp(48px, 7vw, 96px) !important;
}

.hero-refresh h1,
.trajectory-hero h1,
.sales-hero h1,
.mentoria-hero h1,
.community-hero h1,
.books-hero h1,
.projects-hero h1,
.privacy-hero h1,
.materials-hero h1 {
  text-wrap: balance;
  letter-spacing: -0.035em;
}

.hero-refresh h1 {
  font-size: clamp(52px, 6vw, 84px) !important;
}

.hero-refresh h1 em {
  color: #dca9a3 !important;
}

.hero-refresh-lead,
.section-lead,
.lead {
  color: #566575;
  text-wrap: pretty;
}

.hero-training-card {
  border: 1px solid rgba(201, 164, 92, 0.34) !important;
  border-left: 4px solid var(--premium-gold) !important;
  border-radius: 0 22px 22px 0 !important;
  background: rgba(255, 253, 249, 0.9) !important;
  box-shadow: var(--premium-shadow-soft) !important;
}

.hero-refresh-portrait {
  position: relative;
  isolation: isolate;
  width: min(100%, 500px) !important;
}

.hero-refresh-portrait::before {
  content: "" !important;
  position: absolute !important;
  inset: -18px 22px 18px -18px !important;
  z-index: -1;
  border: 1px solid rgba(201, 164, 92, 0.45) !important;
  border-radius: 34px !important;
  background: linear-gradient(145deg, rgba(232, 185, 178, 0.32), transparent 62%);
}

.hero-refresh-portrait img,
.sales-teacher-photo img,
.mentoria-about-image img,
.trajectory-portrait img,
.author-photo img,
.books-author img,
.projects-contact-copy .hero-refresh-portrait img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(201, 164, 92, 0.24) !important;
  border-radius: var(--premium-radius) !important;
  background: var(--premium-ivory);
  box-shadow: var(--premium-shadow) !important;
  object-fit: cover;
  object-position: center top;
}

.hero-refresh-portrait img {
  aspect-ratio: 3 / 4 !important;
}

.hero-refresh-portrait figcaption {
  width: calc(100% - 52px) !important;
  margin: -24px auto 0 !important;
  padding: 14px 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px !important;
  background: rgba(13, 32, 56, 0.96) !important;
  box-shadow: 0 14px 34px rgba(13, 32, 56, 0.18);
}

/* Superfícies e cartões. */
.section {
  padding-top: clamp(72px, 8vw, 112px);
  padding-bottom: clamp(72px, 8vw, 112px);
}

.proof-strip {
  border-top: 1px solid rgba(201, 164, 92, 0.24);
  border-bottom: 1px solid rgba(201, 164, 92, 0.24);
  background: var(--premium-navy) !important;
}

.proof-item,
.proof-item strong,
.proof-item span {
  color: #fffaf3 !important;
}

.proof-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.book-card,
.offer-card,
.refresh-module,
.recognition-numbers div,
.site-form,
.community-action,
.trajectory-editorial,
.projects-card,
.mentoria-card {
  border-color: var(--premium-line) !important;
  box-shadow: var(--premium-shadow-soft);
}

.button,
button[type="submit"] {
  min-height: 48px;
  border-radius: 999px !important;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.button:hover,
button[type="submit"]:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--premium-navy) !important;
  color: #fff !important;
}

.button-gold {
  background: var(--premium-gold) !important;
  color: var(--premium-navy) !important;
}

.button-secondary {
  border-color: rgba(13, 32, 56, 0.26) !important;
  color: var(--premium-navy) !important;
}

.site-form {
  border-radius: var(--premium-radius) !important;
  background: rgba(255, 255, 255, 0.96) !important;
}

.site-form input,
.site-form select,
.site-form textarea {
  min-width: 0;
  border-color: rgba(13, 32, 56, 0.18) !important;
  border-radius: 12px !important;
  background: var(--premium-paper) !important;
}

.site-form input:focus,
.site-form select:focus,
.site-form textarea:focus {
  border-color: var(--premium-gold) !important;
  box-shadow: 0 0 0 4px rgba(201, 164, 92, 0.13);
}

.recognition-section {
  background: linear-gradient(135deg, #fff 0%, var(--premium-cream) 100%) !important;
}

.recognition-card {
  border: 1px solid rgba(201, 164, 92, 0.28);
  border-radius: var(--premium-radius) !important;
  background: var(--premium-navy);
  box-shadow: var(--premium-shadow) !important;
}

.recognition-card img {
  display: block;
}

.refresh-footer {
  background: #091a2d !important;
}

.refresh-footer .brand-refresh {
  min-width: 0;
}

.refresh-footer .brand-refresh > img {
  width: 190px !important;
}

@media (max-width: 1099px) {
  .nav-shell {
    min-height: 78px !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  .brand-refresh > img,
  .refresh-header .brand-refresh > img {
    width: 178px !important;
    max-height: 58px;
  }

  .menu-toggle {
    display: grid !important;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06) !important;
  }

  .menu-toggle span {
    background: #fffaf3 !important;
  }

  .site-nav-refresh {
    display: none !important;
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    padding: 16px 0 24px;
    background: var(--premium-navy) !important;
  }

  .site-nav-refresh.open {
    display: grid !important;
    gap: 0;
  }

  .site-nav-refresh > a,
  .site-nav-refresh .nav-dropdown > button {
    width: 100%;
    padding: 15px 2px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .refresh-header .site-nav-refresh > a.nav-cta-refresh {
    width: fit-content;
    margin-top: 16px;
    padding: 13px 20px !important;
  }

  .nav-dropdown-panel {
    position: static !important;
    width: 100% !important;
    margin: 0 0 10px !important;
    transform: none !important;
  }

  .hero-refresh-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .hero-refresh-portrait {
    justify-self: center !important;
    width: min(78vw, 500px) !important;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 30px, 1180px);
  }

  .nav-shell {
    min-height: 72px !important;
  }

  .brand-refresh > img,
  .refresh-header .brand-refresh > img {
    width: 154px !important;
  }

  .hero-refresh {
    padding: 42px 0 62px !important;
  }

  .hero-refresh h1 {
    font-size: clamp(43px, 13vw, 61px) !important;
  }

  .hero-refresh-portrait {
    width: min(92vw, 470px) !important;
  }

  .hero-refresh-portrait::before {
    inset: -10px 10px 12px -10px !important;
  }

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

  .section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .site-form {
    grid-template-columns: 1fr !important;
    padding: 22px !important;
  }

  .site-form .field {
    grid-column: 1 / -1;
  }
}

@media (max-width: 380px) {
  .proof-grid {
    grid-template-columns: 1fr !important;
  }
}

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