/* Portal Psicofinanceiro — estilos escopados à landing page */

:root {
  --portal-deep-blue: #0f2a44;
  --portal-medium-blue: #1f4e79;
  --portal-soft-blue: #6c8fa8;
  --portal-gold: #c8a96a;
  --portal-gold-light: #e6c98f;
  --portal-gold-intense: #a8893f;
  --portal-text: #0d0d0d;
  --portal-warm-white: #f8f8f8;
  --portal-light-gray: #d9d9d9;
  --portal-medium-gray: #a6a6a6;
  --portal-dark-gray: #4f4f4f;
  --portal-white: #ffffff;
  --portal-max-width: 72rem;
  --portal-header-height: 4.5rem;
  --portal-radius: 0.5rem;
  --portal-shadow: 0 0.25rem 1.5rem rgba(15, 42, 68, 0.08);
  --portal-transition: 0.2s ease;
  --portal-font-body: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --portal-font-display: Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.portal-page {
  margin: 0;
  font-family: var(--portal-font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--portal-text);
  background: var(--portal-warm-white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.portal-skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--portal-gold);
  color: var(--portal-deep-blue);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--portal-radius);
}

.portal-skip-link:focus {
  top: 1rem;
}

/* Header */
.portal-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--portal-header-height);
  background: var(--portal-deep-blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.portal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--portal-max-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  height: 100%;
}

.portal-header__logo {
  flex-shrink: 0;
}

.portal-header__logo img {
  width: auto;
  height: 2.25rem;
}

.portal-header__cta {
  flex-shrink: 0;
}

/* Layout */
.portal-container {
  width: 100%;
  max-width: var(--portal-max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.portal-section {
  padding: 4rem 0;
}

.portal-section--warm {
  background: var(--portal-warm-white);
}

.portal-section--gray {
  background: var(--portal-light-gray);
}

.portal-section--deep {
  background: var(--portal-deep-blue);
  color: var(--portal-white);
}

.portal-section--medium {
  background: var(--portal-medium-blue);
  color: var(--portal-white);
}

/* Typography */
.portal-eyebrow {
  display: block;
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--portal-gold-light);
}

.portal-section--warm .portal-eyebrow,
.portal-section--gray .portal-eyebrow {
  color: var(--portal-gold-intense);
}

.portal-title {
  margin: 0 0 1rem;
  font-family: var(--portal-font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.portal-title--hero {
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: 0.06em;
}

.portal-subtitle {
  margin: 0 0 1.5rem;
  font-family: var(--portal-font-display);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--portal-gold-light);
}

.portal-section--warm .portal-subtitle,
.portal-section--gray .portal-subtitle {
  color: var(--portal-medium-blue);
}

.portal-lead {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.portal-highlight {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--portal-gold);
  background: rgba(200, 169, 106, 0.12);
}

.portal-section--deep .portal-highlight,
.portal-section--medium .portal-highlight {
  background: rgba(255, 255, 255, 0.06);
}

.portal-section-title {
  margin: 0 0 2rem;
  font-family: var(--portal-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.04em;
}

.portal-divider {
  width: 4rem;
  height: 2px;
  margin: 0 auto 2rem;
  background: var(--portal-gold);
  border: 0;
}

/* Buttons */
.portal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--portal-radius);
  cursor: pointer;
  transition: background var(--portal-transition), color var(--portal-transition),
    border-color var(--portal-transition), transform var(--portal-transition);
}

.portal-btn:focus-visible {
  outline: 2px solid var(--portal-gold);
  outline-offset: 3px;
}

.portal-btn--primary {
  background: var(--portal-gold);
  color: var(--portal-deep-blue);
}

.portal-btn--primary:hover,
.portal-btn--primary:focus-visible {
  background: var(--portal-gold-light);
}

.portal-btn--primary:active {
  transform: translateY(1px);
}

.portal-btn--outline {
  background: transparent;
  color: var(--portal-white);
  border-color: var(--portal-gold);
}

.portal-btn--outline:hover,
.portal-btn--outline:focus-visible {
  background: var(--portal-gold);
  color: var(--portal-deep-blue);
}

.portal-btn--secondary {
  background: transparent;
  color: var(--portal-deep-blue);
  border-color: var(--portal-gold);
}

.portal-btn--secondary:hover,
.portal-btn--secondary:focus-visible {
  background: var(--portal-gold);
  color: var(--portal-deep-blue);
}

.portal-btn--header {
  padding: 0.625rem 1rem;
  min-height: 2.5rem;
  font-size: 0.6875rem;
}

.portal-btn--large {
  min-height: 3.25rem;
  padding: 1rem 2rem;
  font-size: 0.875rem;
}

.portal-btn--xlarge {
  min-height: 3.5rem;
  padding: 1.125rem 2.5rem;
  font-size: 0.9375rem;
  width: 100%;
  max-width: 22rem;
}

@media (min-width: 40rem) {
  .portal-btn--xlarge {
    width: auto;
  }
}

.portal-btn--pending {
  opacity: 0.85;
  cursor: not-allowed;
}

.portal-btn--pending:hover {
  background: var(--portal-gold);
  color: var(--portal-deep-blue);
}

/* Hero */
.portal-hero {
  padding: 3rem 0 4rem;
  background: linear-gradient(160deg, var(--portal-deep-blue) 0%, #0a1f33 100%);
  color: var(--portal-white);
  overflow: hidden;
}

.portal-hero .portal-subtitle {
  margin-bottom: 2rem;
}

.portal-hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

/* Offer block */
.portal-offer {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(200, 169, 106, 0.45);
  border-radius: var(--portal-radius);
  background: rgba(255, 255, 255, 0.06);
}

.portal-offer__label {
  margin: 0 0 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--portal-gold-light);
}

.portal-offer__price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.375rem 0.625rem;
  margin: 0;
}

.portal-offer__amount {
  font-family: var(--portal-font-display);
  font-size: clamp(2.25rem, 7vw, 3.25rem);
  font-weight: 400;
  line-height: 1;
  color: var(--portal-white);
  letter-spacing: -0.02em;
}

.portal-offer__period {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 600;
  color: var(--portal-gold-light);
}

.portal-offer__tagline {
  margin: 0.875rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(248, 248, 248, 0.92);
}

.portal-offer__date {
  margin: 1rem 0 0;
  padding-top: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--portal-soft-blue);
}

.portal-offer__includes {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.portal-offer__includes li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(248, 248, 248, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-offer__includes li:last-child {
  border-bottom: 0;
}

.portal-offer__includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.875rem;
  width: 0.375rem;
  height: 0.375rem;
  background: var(--portal-gold);
  border-radius: 50%;
}

.portal-offer--compact {
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.portal-offer--compact .portal-offer__price-row {
  justify-content: center;
}

.portal-offer--compact .portal-offer__date {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
}

.portal-offer--closing {
  max-width: 28rem;
  margin: 2rem auto;
  padding: 1.75rem 1.5rem;
  text-align: center;
  border-width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.portal-offer--closing .portal-offer__amount {
  font-size: clamp(2.75rem, 10vw, 4rem);
}

.portal-offer--closing .portal-offer__price-row {
  justify-content: center;
}

.portal-offer--closing .portal-offer__tagline {
  font-size: 1rem;
}

.portal-offer--closing .portal-offer__date {
  font-size: 0.75rem;
  color: rgba(108, 143, 168, 0.95);
}

.portal-offer-reassurance {
  margin: 1.5rem 0 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(248, 248, 248, 0.92);
}

.portal-offer-reassurance--center {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.portal-hero__visual {
  position: relative;
  max-width: 22rem;
  margin: 0 auto;
}

.portal-hero__visual::before {
  content: "";
  position: absolute;
  inset: -0.5rem -0.5rem 0.5rem 0.5rem;
  border: 1px solid var(--portal-gold);
  border-radius: var(--portal-radius);
  pointer-events: none;
}

.portal-hero__visual img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--portal-radius);
  box-shadow: var(--portal-shadow);
}

/* Lists */
.portal-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.portal-list li {
  position: relative;
  padding: 0.625rem 0 0.625rem 1.75rem;
  border-bottom: 1px solid rgba(15, 42, 68, 0.08);
}

.portal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.125rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--portal-gold);
  border-radius: 50%;
}

.portal-section--deep .portal-list li,
.portal-section--medium .portal-list li {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.portal-list--check li::before {
  width: 1rem;
  height: 1rem;
  top: 0.875rem;
  background: transparent;
  border: 2px solid var(--portal-gold);
  border-radius: 2px;
}

.portal-disclaimer {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  font-style: italic;
  background: rgba(15, 42, 68, 0.04);
  border-radius: var(--portal-radius);
}

/* Cards grid */
.portal-grid {
  display: grid;
  gap: 1.5rem;
}

.portal-grid--2 {
  grid-template-columns: 1fr;
}

.portal-grid--3 {
  grid-template-columns: 1fr;
}

.portal-card {
  padding: 1.75rem;
  background: var(--portal-white);
  border-radius: var(--portal-radius);
  box-shadow: var(--portal-shadow);
}

.portal-section--deep .portal-card,
.portal-section--medium .portal-card {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.portal-card--contrast {
  background: var(--portal-deep-blue);
  color: var(--portal-white);
}

.portal-card__title {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--portal-gold-intense);
}

.portal-card--contrast .portal-card__title {
  color: var(--portal-gold-light);
}

.portal-card p {
  margin: 0;
}

/* Pillars */
.portal-pillar {
  text-align: center;
  padding: 2rem 1.5rem;
}

.portal-pillar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  font-family: var(--portal-font-display);
  font-size: 1.25rem;
  color: var(--portal-deep-blue);
  background: var(--portal-gold);
  border-radius: 50%;
}

.portal-pillar__title {
  margin: 0 0 0.75rem;
  font-family: var(--portal-font-display);
  font-size: 1.25rem;
}

.portal-pillar p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--portal-dark-gray);
}

/* Journey flow */
.portal-journey {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem 0;
}

.portal-journey__step {
  padding: 0.5rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--portal-deep-blue);
  background: var(--portal-white);
  border: 1px solid var(--portal-gold);
  border-radius: 2rem;
}

.portal-journey__arrow {
  display: none;
  align-self: center;
  color: var(--portal-gold-intense);
  font-size: 0.75rem;
}

/* Problem section */
.portal-problem {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

.portal-problem .portal-offer-reassurance {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.portal-problem .portal-cta-block {
  margin-top: 1.5rem;
}

.portal-problem__question {
  margin: 1.5rem 0;
  font-family: var(--portal-font-display);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-style: italic;
}

.portal-problem__promise {
  margin: 2rem 0 1rem;
  font-family: var(--portal-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--portal-gold-light);
}

/* Wealth tags */
.portal-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.portal-tags li {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--portal-deep-blue);
  background: var(--portal-white);
  border: 1px solid var(--portal-gold);
  border-radius: 2rem;
}

/* About */
.portal-about__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.portal-about__visual img {
  width: 100%;
  max-width: 24rem;
  margin: 0 auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--portal-radius);
  box-shadow: var(--portal-shadow);
}

/* Support */
.portal-support-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.portal-support-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(15, 42, 68, 0.08);
}

.portal-support-list a {
  color: var(--portal-medium-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.portal-support-list a:hover,
.portal-support-list a:focus-visible {
  color: var(--portal-deep-blue);
}

/* Closing */
.portal-closing {
  text-align: center;
  padding: 5rem 0;
}

.portal-closing__quote {
  max-width: 36rem;
  margin: 0 auto 2rem;
  font-family: var(--portal-font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-style: italic;
  line-height: 1.5;
}

.portal-closing__desc {
  max-width: 34rem;
  margin: 0 auto 0.5rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(248, 248, 248, 0.92);
}

.portal-closing__reassurance {
  max-width: 28rem;
  margin: 1.75rem auto 1.5rem;
  font-family: var(--portal-font-display);
  font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--portal-gold-light);
}

.portal-closing .portal-btn--xlarge {
  margin: 0 auto;
}

/* Footer */
.portal-footer {
  padding: 2rem 0;
  font-size: 0.8125rem;
  color: var(--portal-dark-gray);
  text-align: center;
  background: var(--portal-warm-white);
  border-top: 1px solid var(--portal-light-gray);
}

.portal-footer p {
  margin: 0;
  line-height: 1.6;
}

.portal-footer a {
  color: var(--portal-medium-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.portal-footer a:hover,
.portal-footer a:focus-visible {
  color: var(--portal-deep-blue);
}

.portal-cta-block {
  margin-top: 2rem;
  text-align: center;
}

.portal-cta-block--inline {
  margin-top: 1.5rem;
  text-align: left;
}

.portal-note {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--portal-medium-gray);
  font-style: italic;
}

.portal-two-col {
  display: grid;
  gap: 2rem;
}

.portal-instagram {
  text-align: center;
  padding: 2rem;
  background: var(--portal-white);
  border-radius: var(--portal-radius);
  box-shadow: var(--portal-shadow);
}

.portal-instagram__handle {
  margin: 0.5rem 0 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--portal-medium-blue);
}

/* Responsive */
@media (min-width: 40rem) {
  .portal-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .portal-two-col {
    grid-template-columns: 1fr 1fr;
  }

  .portal-journey__arrow {
    display: block;
  }
}

@media (min-width: 48rem) {
  .portal-hero__grid {
    grid-template-columns: 1fr 1fr;
  }

  .portal-hero__visual {
    margin: 0 0 0 auto;
  }

  .portal-about__grid {
    grid-template-columns: 1fr 1fr;
  }

  .portal-section {
    padding: 5rem 0;
  }
}

@media (min-width: 64rem) {
  .portal-header__logo img {
    height: 2.5rem;
  }
}

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

  .portal-btn {
    transition: none;
  }
}
