/* ==========================================================================
   e.Voto — Landing Page Styles
   Design system reference: claude-docs/DESIGN.md
   Naming convention: BEM (.block__element--modifier)
   Architecture: Tokens → Reset → Utilities → Typography → Focus →
                 Components → Responsive
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */

:root {
  /* Brand palette */
  --base-color-brand--accent-color-1: #000000;
  --base-color-brand--accent-color-2: #262626;
  --base-color-brand--accent-color-3: #c0c0c0;
  --base-color-brand--accent-color-4: #e2e2e2;

  /* Neutral scale */
  --base-color-neutral--black:   #000000;
  --base-color-neutral--grey700: #111111;
  --base-color-neutral--grey600: #222222;
  --base-color-neutral--grey500: #444444;
  --base-color-neutral--grey400: #666666;
  --base-color-neutral--grey300: #aaaaaa;
  --base-color-neutral--grey200: #ebebeb;
  --base-color-neutral--grey100: #f4f4f4;
  --base-color-neutral--white:   #ffffff;

  /* Semantic — backgrounds */
  --background-color--background-primary:   #ffffff;
  --background-color--background-secondary: #f4f4f4;
  --background-color--background-alternate: #000000;
  --background-color--background-error:     #fef3f2;
  --background-color--background-success:   #ecfdf3;

  /* Semantic — text */
  --text-color--text-primary:   #000000;
  --text-color--text-black:     #000000;
  --text-color--text-grey:      #666666;
  --text-color--text-white:     #ffffff;
  --text-color--text-alternate: #ffffff;
  --text-color--text-error:     #b42318;
  --text-color--text-success:   #027a48;

  /* Semantic — links */
  --link-color--link-primary:   #000000;
  --link-color--link-alternate: #ffffff;
  --link-color--link-secondary: #aaaaaa;

  /* Semantic — borders */
  --border-color--border-primary:   #000000;
  --border-color--border-secondary: #aaaaaa;
  --border-color--border-alternate: #ffffff;

  /* System feedback */
  --base-color-system--error-red:    #b42318;
  --base-color-system--success-green: #027a48;

  /* Font stack */
  --font-primary: 'Inter', Arial, sans-serif;

  /* Focus: outline: 0.125rem solid #4d65ff — documented, applied globally below */
}

/* ==========================================================================
   2. RESET
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-color--text-primary);
  background-color: var(--background-color--background-secondary);
}

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

a {
  color: var(--link-color--link-primary);
  text-decoration: none;
}

p {
  letter-spacing: -0.0175rem;
}

strong {
  font-weight: 600;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 500;
}

button {
  font-family: inherit;
}

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ==========================================================================
   3. GLOBAL UTILITIES
   ========================================================================== */

/* Reset <mark> browser default (yellow background) and provide accent classes.
   Used for single highlighted keywords in section titles — one per section,
   rotated through the three programme accent colors from the design system. */
mark {
  background: none;
  color: inherit;
}

mark.accent-pink  { color: #ff2397; }
mark.accent-blue  { color: #084df9; }
mark.accent-green { color: #3ecc44; }

/* Core layout unit: white block on grey page */
.section_block {
  background-color: var(--background-color--background-primary);
  margin-bottom: 2.5rem;
}

/* Inverted variant: black background */
.section_block--inverted {
  background-color: var(--background-color--background-alternate);
  color: var(--text-color--text-white);
}

/* Horizontal edge buffer — matches DESIGN.md §4.5 */
.padding-global {
  margin-left: 1.25rem;
  margin-right: 1.25rem;
}

/* Section vertical padding */
.padding-section-small  { padding-top: 3rem;  padding-bottom: 3rem; }
.padding-section-medium { padding-top: 4rem;  padding-bottom: 4rem; }
.padding-section-large  { padding-top: 7rem;  padding-bottom: 7rem; }

/* Spacers — empty divs for controlled vertical rhythm */
.spacer-tiny    { padding-top: 0.25rem; }
.spacer-xxsmall { padding-top: 0.5rem; }
.spacer-xsmall  { padding-top: 1rem; }
.spacer-small   { padding-top: 1.5rem; }
.spacer-medium  { padding-top: 2rem; }
.spacer-large   { padding-top: 3rem; }
.spacer-xlarge  { padding-top: 4rem; }
.spacer-xxlarge { padding-top: 5rem; }
.spacer-huge    { padding-top: 6rem; }
.spacer-xhuge   { padding-top: 7rem; }
.spacer-xxhuge  { padding-top: 10rem; }

/* Icon — inherits color via currentColor */
.icon {
  flex-shrink: 0;
}

.icon--arrow {
  width: 1.25rem;
  height: 1.25rem;
}

.icon--chevron {
  width: 0.75rem;
  height: 0.75rem;
}

/* ==========================================================================
   4. TYPOGRAPHY
   ========================================================================== */

/* Section eyebrow label */
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.05em;
  color: var(--text-color--text-grey);
}

.section-eyebrow--alternate {
  color: var(--base-color-neutral--grey300);
}

/* ==========================================================================
   5. FOCUS STATES
   Applied globally — #4d65ff contrasts both white and black surfaces
   while being semantically distinct from the monochromatic brand palette.
   ========================================================================== */

*:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 0.125rem solid #4d65ff;
  outline-offset: 0.125rem;
}

/* ==========================================================================
   6. REDUCED MOTION
   ========================================================================== */

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

  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   7. COMPONENTS
   ========================================================================== */

/* --------------------------------------------------------------------------
   7.1 Navbar
   -------------------------------------------------------------------------- */

.navbar {
  background-color: var(--background-color--background-secondary);
  width: 100%;
  max-width: 1800px;
  height: 7rem;
  padding: 1.25rem;
  position: sticky;
  top: 0;
  z-index: 9;
  display: flex;
  align-items: flex-start;
  margin-left: auto;
  margin-right: auto;
}

.navbar__container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.navbar__logo {
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--text-color--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1;
}

.navbar__logo-dot {
  color: var(--base-color-neutral--grey400);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.navbar__link {
  color: var(--base-color-brand--accent-color-2);
  text-transform: lowercase;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.2s ease;
}

.navbar__link:hover {
  color: var(--base-color-brand--accent-color-3);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.navbar__cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--base-color-brand--accent-color-2);
  text-transform: lowercase;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.navbar__cta:hover {
  color: var(--base-color-neutral--black);
}

/* Language selector */
.navbar__lang {
  position: relative;
}

.navbar__lang-toggle {
  background: transparent;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-color--text-grey);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0;
  min-height: 44px;
  transition: color 0.2s ease;
}

.navbar__lang-toggle:hover {
  color: var(--text-color--text-primary);
}

.navbar__lang-current {
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.navbar__lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background-color: var(--background-color--background-primary);
  border: 1px solid var(--border-color--border-primary);
  list-style: none;
  padding: 0.5rem 0;
  min-width: 12rem;
  z-index: 10;
  border-radius: 0;
}

.navbar__lang-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--text-color--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.navbar__lang-menu li a:hover {
  color: var(--base-color-neutral--grey400);
}

/* Hamburger — hidden on desktop, shown on tablet/mobile */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--base-color-brand--accent-color-2);
}

/* Mobile drawer overlay */
.navbar__overlay {
  position: fixed;
  inset: 0;
  background-color: var(--base-color-neutral--black);
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.2s ease;
}

.navbar__overlay.is-active {
  opacity: 0.5;
  pointer-events: auto;
}

/* Mobile drawer panel */
.navbar__drawer {
  background-color: var(--background-color--background-primary);
  width: 40rem;
  max-width: 100vw;
  height: 100dvh;
  padding: 2rem;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 11;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.navbar__drawer.is-active {
  transform: translateX(0);
}

.navbar__drawer-top {
  display: flex;
  justify-content: flex-end;
}

.navbar__drawer-close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color--text-primary);
}

.navbar__drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.navbar__drawer-link {
  font-size: 3.5rem;
  font-weight: 500;
  color: var(--text-color--text-primary);
  text-transform: lowercase;
  text-decoration: none;
  line-height: 1.1;
  display: block;
  transition: color 0.2s ease;
}

.navbar__drawer-link:hover {
  color: var(--base-color-brand--accent-color-3);
}

.navbar__drawer-footer {
  padding-top: 2rem;
  border-top: 1px solid var(--base-color-neutral--grey200);
}

.navbar__drawer-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.375rem;
  font-weight: 500;
  text-transform: lowercase;
  color: var(--text-color--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.navbar__drawer-cta:hover {
  color: var(--base-color-neutral--grey400);
}

/* --------------------------------------------------------------------------
   7.2 Hero
   -------------------------------------------------------------------------- */

/* .hero inherits .section_block: white bg, margin-bottom 2.5rem */

.hero__inner {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.hero__tag {
  display: inline-block;
  background-color: var(--background-color--background-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.5rem;
  /* border-radius: 0 — design system rule */
}

.hero__title {
  font-size: 6.5rem;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -0.0975rem;
  color: var(--text-color--text-primary);
  max-width: 80rem;
}

.hero__description {
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-color--text-grey);
  max-width: 48rem;
  letter-spacing: -0.0175rem;
}

.hero__actions {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero__cta-primary {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--base-color-neutral--black);
  font-size: 1.375rem;
  font-weight: 500;
  text-transform: lowercase;
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.hero__cta-primary:hover {
  color: var(--base-color-neutral--grey400);
}

.hero__cta-secondary {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--text-color--text-grey);
  font-size: 1.375rem;
  font-weight: 500;
  text-transform: lowercase;
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.hero__cta-secondary:hover {
  color: var(--base-color-neutral--black);
}

/* --------------------------------------------------------------------------
   7.3 Features
   -------------------------------------------------------------------------- */

.features__title {
  font-size: 4.5rem;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -0.09rem;
  color: var(--text-color--text-primary);
  max-width: 64rem;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border-color--border-primary);
}

.feature-item {
  display: flex;
  gap: 2rem;
  padding: 3rem 2rem 3rem 0;
  border-bottom: 1px solid var(--base-color-neutral--grey200);
}

/* Left column: right border and right padding */
.feature-item:nth-child(odd) {
  padding-right: 3rem;
  border-right: 1px solid var(--base-color-neutral--grey200);
}

/* Right column: left padding */
.feature-item:nth-child(even) {
  padding-left: 3rem;
  padding-right: 0;
}

/* Last row has no bottom border */
.feature-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.feature-item__number {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-color--text-grey);
  min-width: 2rem;
  padding-top: 0.25rem;
}

.feature-item__content {
  flex: 1;
}

.feature-item__title {
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-color--text-primary);
  text-transform: lowercase;
}

.feature-item__body {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-color--text-grey);
  letter-spacing: -0.0175rem;
}

/* --------------------------------------------------------------------------
   7.4 How It Works
   -------------------------------------------------------------------------- */

/* .howto inherits .section_block--inverted: black bg, white text */

.howto__title {
  font-size: 4.5rem;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -0.09rem;
  color: var(--text-color--text-white);
  max-width: 64rem;
}

.howto__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--base-color-neutral--grey600);
  padding-top: 3rem;
}

.howto__step-number {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--base-color-neutral--grey300);
}

.howto__step-title {
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-color--text-white);
  text-transform: lowercase;
}

.howto__step-body {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  /* #aaa on #000 = 4.6:1 — passes WCAG AA. Only context where #aaa body text is permitted. */
  color: var(--base-color-neutral--grey300);
}

/* --------------------------------------------------------------------------
   7.5 Plans / Pricing
   -------------------------------------------------------------------------- */

/* Plan accent colors — scoped CSS custom properties per card variant */
.plan-card--basic {
  --plan-accent:       #084df9;
  --plan-accent-light: #c1f2bd;
  --plan-accent-dark:  #001959;
}

.plan-card--standard {
  --plan-accent:       #3ecc44;
  --plan-accent-light: #ffd6c9;
  --plan-accent-dark:  #103c12;
}

.plan-card--enterprise {
  --plan-accent:       #ff2397;
  --plan-accent-light: #cbe9ff;
  --plan-accent-dark:  #5e0032;
}

.plans__title {
  font-size: 4.5rem;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -0.09rem;
  color: var(--text-color--text-primary);
  max-width: 64rem;
}

.plans__subtitle {
  font-size: 1.375rem;
  color: var(--text-color--text-grey);
  max-width: 48rem;
  line-height: 1.5;
}

.plans__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: start;
}

.plan-card {
  background-color: var(--background-color--background-primary);
  border: 1px solid var(--border-color--border-secondary);
  /* border-radius: 0 — design system rule */
  position: relative;
}

/* Recommended plan gets accent-colored border on all sides */
.plan-card--recommended {
  border-color: var(--plan-accent);
}

.plan-card__accent-bar {
  height: 4px;
  background-color: var(--plan-accent);
}

.plan-card__body {
  padding: 2rem;
}

.plan-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.05em;
  color: var(--plan-accent-dark);
  background-color: var(--plan-accent-light);
  padding: 0.25rem 0.5rem;
  /* border-radius: 0 — design system rule */
}

.plan-card__price {
  margin: 0;
}

.plan-card__price-amount {
  display: block;
  font-size: 2.125rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-color--text-primary);
}

.plan-card__price-note {
  display: block;
  font-size: 1rem;
  color: var(--text-color--text-grey);
  margin-top: 0.25rem;
}

.plan-card__features {
  border-top: 1px solid var(--base-color-neutral--grey200);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.plan-card__feature {
  font-size: 1rem;
  line-height: 1.4;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.plan-card__feature--included {
  color: var(--text-color--text-primary);
}

.plan-card__feature--included::before {
  content: "✓";
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--plan-accent);
  flex-shrink: 0;
  min-width: 1rem;
}

.plan-card__feature--excluded {
  color: var(--base-color-neutral--grey300);
}

.plan-card__feature--excluded::before {
  content: "–";
  font-size: 0.875rem;
  color: var(--base-color-neutral--grey300);
  flex-shrink: 0;
  min-width: 1rem;
}

/* Upsell features — not included in this plan, shown greyed-out with strikethrough */
.plan-card__feature--disabled {
  opacity: 0.4;
  text-decoration: line-through;
  color: var(--text-color--text-primary);
}

.plan-card__feature--disabled::before {
  content: "✓";
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--plan-accent);
  flex-shrink: 0;
  min-width: 1rem;
}

.plan-card__cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--base-color-neutral--black);
  font-size: 1rem;
  font-weight: 500;
  text-transform: lowercase;
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.plan-card__cta:hover {
  color: var(--text-color--text-grey);
}

/* --------------------------------------------------------------------------
   7.6 Audience (Para Quem)
   -------------------------------------------------------------------------- */

.audience__title {
  font-size: 4.5rem;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -0.09rem;
  color: var(--text-color--text-primary);
  max-width: 64rem;
}

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

.audience__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--background-color--background-secondary);
  color: var(--text-color--text-grey);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 0.02em;
  padding: 0.75rem 1rem;
  /* border-radius: 0 — design system rule */
}

.audience__icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-color--text-grey);
}

/* --------------------------------------------------------------------------
   7.7 Trust / Anonymity Guarantee
   -------------------------------------------------------------------------- */

.trust__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.trust__title {
  font-size: 4.5rem;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -0.0525rem;
  color: var(--text-color--text-primary);
}

.trust__body {
  font-size: 1.375rem;
  line-height: 1.6;
  color: var(--text-color--text-grey);
  letter-spacing: -0.0175rem;
}

.trust__compliance {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-top: 1px solid var(--base-color-neutral--grey200);
  padding-top: 1.5rem;
}

.trust__compliance-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color--text-primary);
  text-transform: lowercase;
}

.trust__compliance-desc {
  font-size: 1rem;
  color: var(--text-color--text-grey);
  margin: 0.25rem 0 0;
  letter-spacing: -0.0175rem;
}

/* Anonymity diagram — 3-step visual inside the Trust section */
.trust__diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 1rem;
  background-color: var(--background-color--background-alternate);
  color: var(--text-color--text-white);
  padding: 2rem;
  margin-bottom: 0;
}

.trust__diagram-step {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.trust__diagram-number {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--base-color-neutral--grey300);
  letter-spacing: 0.05em;
}

.trust__diagram-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color--text-white);
  text-transform: lowercase;
  line-height: 1.2;
}

.trust__diagram-desc {
  font-size: 0.875rem;
  font-weight: 400;
  /* #aaa on #000 = 4.6:1 — passes WCAG AA */
  color: var(--base-color-neutral--grey300);
  line-height: 1.5;
  letter-spacing: -0.0175rem;
  margin: 0;
}

.trust__diagram-arrow {
  font-size: 1.25rem;
  color: var(--base-color-neutral--grey400);
  padding-top: 1.5rem;
  align-self: start;
  flex-shrink: 0;
}

/* Team credential line below compliance items */
.trust__team {
  font-size: 1rem;
  color: var(--text-color--text-grey);
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--base-color-neutral--grey200);
  letter-spacing: -0.0175rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   7.8 Features CTA
   -------------------------------------------------------------------------- */

.features-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.features-cta__text {
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--text-color--text-grey);
  text-transform: lowercase;
  letter-spacing: -0.0175rem;
}

.features-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--base-color-neutral--black);
  text-transform: lowercase;
  text-decoration: none;
  transition: color 0.2s ease;
}

.features-cta__link:hover {
  color: var(--text-color--text-grey);
}

/* --------------------------------------------------------------------------
   7.9 FAQ
   -------------------------------------------------------------------------- */

.faq__title {
  font-size: 4.5rem;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -0.09rem;
  color: var(--text-color--text-primary);
  max-width: 64rem;
}

.faq__list {
  border-top: 1px solid var(--border-color--border-primary);
}

.faq__item {
  border-bottom: 1px solid var(--base-color-neutral--grey200);
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--text-color--text-primary);
  cursor: pointer;
  list-style: none;
  line-height: 1.3;
  /* Remove default marker in all browsers */
  -webkit-appearance: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

/* Plus/minus indicator */
.faq__question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-color--text-grey);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq__item[open] > .faq__question::after {
  content: "–";
}

.faq__answer {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-color--text-grey);
  letter-spacing: -0.0175rem;
  padding-bottom: 1.5rem;
  max-width: 56rem;
  margin: 0;
}

/* Enterprise plan price sub-note */
.plan-card__price-sub {
  display: block;
  font-size: 0.875rem;
  color: var(--text-color--text-grey);
  margin-top: 0.25rem;
}

.interest__inner {
  max-width: 35rem;
}

.interest__title {
  font-size: 4.5rem;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -0.09rem;
  color: var(--text-color--text-primary);
}

.interest__description {
  font-size: 1.375rem;
  color: var(--text-color--text-grey);
  line-height: 1.5;
}

/* Form layout */
.form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.form[hidden] {
  display: none;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form__label {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-color--text-primary);
  text-transform: lowercase;
}

.form__input {
  border: 1px solid var(--border-color--border-primary);
  background-color: var(--base-color-neutral--white);
  color: var(--base-color-neutral--black);
  border-radius: 0;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  line-height: 1.6;
  transition: border-color 0.2s ease;
  /* Override browser default outline — replaced by :focus-visible */
  outline: none;
}

.form__input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.form__input:focus-visible {
  outline: 0.125rem solid #4d65ff;
  outline-offset: 0.125rem;
}

.form__input.is-invalid {
  border-color: var(--base-color-system--error-red);
}

.form__error {
  font-size: 0.875rem;
  color: var(--text-color--text-error);
  display: none;
}

.form__error.is-visible {
  display: block;
}

/* Submit button — filled black per DESIGN.md §9.3:
   "exception to the no-filled-button rule" for irreversible/consequential actions */
.form__submit {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background-color: var(--base-color-neutral--black);
  color: var(--base-color-neutral--white);
  border: none;
  border-radius: 0;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  text-transform: lowercase;
  cursor: pointer;
  transition: background-color 0.2s ease;
  min-height: 44px;
}

.form__submit:hover {
  background-color: var(--base-color-neutral--grey700);
}

.form__submit:focus-visible {
  outline: 0.125rem solid #4d65ff;
  outline-offset: 0.125rem;
}

.form__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form__microcopy {
  font-size: 0.875rem;
  color: var(--text-color--text-grey);
  margin-top: 0.75rem;
  margin-bottom: 0;
  letter-spacing: -0.0175rem;
}

/* Form feedback messages */
.form-feedback {
  display: none;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  /* border-radius: 0 — design system rule */
}

.form-feedback.is-visible {
  display: block;
}

.form-feedback.feedback--success {
  background-color: var(--background-color--background-success);
  color: var(--text-color--text-success);
}

.form-feedback.feedback--error {
  background-color: var(--background-color--background-error);
  color: var(--text-color--text-error);
}

/* --------------------------------------------------------------------------
   7.8 Footer
   -------------------------------------------------------------------------- */

.footer {
  background-color: var(--background-color--background-primary);
  margin-top: 8rem;
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
}

.footer__inner {
  padding: 3rem 1.25rem 2rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 0.5fr;
  gap: 4vw;
  align-items: start;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--base-color-neutral--grey200);
}

.footer__logo {
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--text-color--text-primary);
  margin: 0;
  letter-spacing: -0.01em;
}

.footer__tagline {
  font-size: 1rem;
  color: var(--text-color--text-grey);
  margin: 0.25rem 0 0;
  text-transform: lowercase;
}

.footer__nav {
  display: flex;
  gap: 3rem;
}

.footer__nav-heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.05em;
  color: var(--text-color--text-primary);
  margin: 0 0 0.75rem;
}

.footer__link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  color: var(--base-color-neutral--grey300);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--base-color-neutral--grey500);
}

.footer__bottom {
  padding-top: 2rem;
}

.footer__copy {
  font-size: 0.875rem;
  color: var(--base-color-neutral--grey300);
  margin: 0;
}

/* ==========================================================================
   8. RESPONSIVE
   Breakpoints (matching design system):
   — Tablet:       max-width: 991px
   — Mobile:       max-width: 767px
   — Small mobile: max-width: 479px
   All responsive overrides are grouped here — not scattered in component rules.
   ========================================================================== */

/* --------------------------------------------------------------------------
   8.1 Tablet (≤ 991px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 991px) {

  /* Navbar: collapse to hamburger */
  .navbar__links,
  .navbar__lang {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  /* Hero */
  .hero__title {
    font-size: 4rem;
    letter-spacing: -0.06rem;
  }

  .hero__description {
    font-size: 1.375rem;
  }

  .hero__inner {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  /* Audience */
  .audience__title {
    font-size: 3rem;
    letter-spacing: -0.06rem;
  }

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

  /* Features */
  .features__title {
    font-size: 3rem;
    letter-spacing: -0.06rem;
  }

  /* How It Works */
  .howto__title {
    font-size: 3rem;
  }

  .howto__steps {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
  }

  /* Plans */
  .plans__title {
    font-size: 3rem;
  }

  .plans__grid {
    grid-template-columns: 1fr;
    max-width: 40rem;
  }

  /* Trust */
  .trust__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .trust__title {
    font-size: 3rem;
  }

  /* Trust diagram — stack on tablet */
  .trust__diagram {
    grid-template-columns: 1fr;
  }

  .trust__diagram-arrow {
    display: none;
  }

  /* FAQ */
  .faq__title {
    font-size: 3rem;
  }

  /* Footer */
  .footer__top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* --------------------------------------------------------------------------
   8.2 Mobile (≤ 767px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 767px) {

  /* Hero */
  .hero__title {
    font-size: 3.5rem;
    letter-spacing: -0.05rem;
  }

  .hero__description {
    font-size: 1.125rem;
  }

  .hero__inner {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  /* Audience — single column on mobile */
  .audience__title {
    font-size: 2.75rem;
  }

  .audience__grid {
    grid-template-columns: 1fr;
  }

  /* Features — single column */
  .features__grid {
    grid-template-columns: 1fr;
  }

  .feature-item:nth-child(odd) {
    border-right: none;
    padding-right: 0;
  }

  .feature-item:nth-child(even) {
    padding-left: 0;
  }

  /* Restore bottom border for all items in single-column layout */
  .feature-item:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--base-color-neutral--grey200);
  }

  .feature-item:last-child {
    border-bottom: none;
  }

  .features__title {
    font-size: 2.75rem;
  }

  /* How It Works — single column */
  .howto__steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .howto__title {
    font-size: 2.75rem;
  }

  /* Plans */
  .plans__title {
    font-size: 2.75rem;
  }

  /* Trust */
  .trust__title {
    font-size: 2.75rem;
  }

  /* FAQ */
  .faq__title {
    font-size: 2.75rem;
  }

  .faq__question {
    font-size: 1.125rem;
  }

  /* Interest form */
  .interest__title {
    font-size: 2.75rem;
  }

  .interest__inner {
    max-width: 100%;
  }

  /* Footer */
  .footer__nav {
    gap: 2rem;
  }
}

/* --------------------------------------------------------------------------
   8.3 Small mobile (≤ 479px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 479px) {

  .hero__title {
    font-size: 2.75rem;
  }

  .audience__title {
    font-size: 2.25rem;
  }

  .faq__title {
    font-size: 2.25rem;
  }

  .section_block {
    margin-bottom: 1.25rem;
  }

  /* Reduce section padding on very small screens */
  .padding-section-large {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* ==========================================================================
   9. LEGAL PAGES (privacidade, termos)
   ========================================================================== */

.legal {
  max-width: 50rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

.legal__page-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color--border-secondary);
}

.legal h1 {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--text-color--text-primary);
  margin-bottom: 0.75rem;
}

.legal__updated {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-color--text-grey);
  letter-spacing: 0;
}

.legal__section {
  margin-bottom: 2.5rem;
}

.legal h2 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-color--text-primary);
  margin-bottom: 0.875rem;
}

.legal p {
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-color--text-grey);
  margin-bottom: 1rem;
  letter-spacing: -0.0125rem;
}

.legal p:last-child {
  margin-bottom: 0;
}

.legal ul,
.legal ol {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.legal ul li,
.legal ol li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-color--text-grey);
  margin-bottom: 0.375rem;
  letter-spacing: -0.0125rem;
}

.legal ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--base-color-neutral--grey300);
  font-size: 0.8125rem;
  top: 0.125rem;
}

.legal ol {
  counter-reset: legal-ol;
}

.legal ol li {
  counter-increment: legal-ol;
}

.legal ol li::before {
  content: counter(legal-ol) '.';
  position: absolute;
  left: 0;
  color: var(--base-color-neutral--grey300);
  font-size: 0.8125rem;
  font-weight: 600;
  top: 0.125rem;
}

.legal strong {
  font-weight: 600;
  color: var(--text-color--text-primary);
}

.legal__highlight {
  background-color: var(--background-color--background-secondary);
  border-left: 3px solid var(--base-color-neutral--grey200);
  padding: 1.25rem 1.5rem;
  border-radius: 0 0.25rem 0.25rem 0;
  margin-bottom: 1.5rem;
}

.legal__highlight p {
  margin-bottom: 0;
  font-size: 0.9375rem;
}

.legal a {
  color: var(--text-color--text-primary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.legal a:hover {
  color: var(--text-color--text-grey);
}

/* Legal page navbar variant — no section anchor links */
.legal-page .navbar__links {
  display: none;
}

@media screen and (max-width: 768px) {
  .legal {
    padding: 2.5rem 1.25rem 4rem;
  }

  .legal h1 {
    font-size: 1.75rem;
  }

  .legal h2 {
    font-size: 1rem;
  }
}
