/* Mesmo sistema visual da landing (CampoAILanding/assets/modern.css). */

:root {
  --green-dark: #17362d;
  --green-light: #285447;
  --bg-page: #f8f9f4;
  --bg-light: #edf1e7;
  --text: #20362e;
  --text-muted: #52645a;
  --field: #b8d66b;
  --field-dark: #214c34;
  --field-soft: #e2ebce;
  --field-line: #c7d5b5;
  --lime: #bddb70;
  --lime-hover: #d1e998;
  --font-body: 'DM Sans', sans-serif;
  --font-display: 'DM Serif Display', Georgia, serif;
  --radius: 14px;
  --shadow-sm: 0 8px 24px rgba(23, 54, 45, 0.07);
  --shadow-md: 0 12px 32px rgba(23, 54, 45, 0.1);
  --border-subtle: #dce4d8;
  --card: #ffffff;
  --accent: var(--green-dark);
  --accent-2: var(--green-light);
  --muted: var(--text-muted);
  --border: var(--border-subtle);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.65;
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #cde78a;
  color: var(--green-dark);
}

:focus-visible {
  outline: 2px solid var(--green-dark);
  outline-offset: 3px;
}

input,
textarea,
select {
  caret-color: var(--green-dark);
}

::placeholder {
  color: #6d8174;
  opacity: 1;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.site-header .container {
  padding-block: 0;
  padding-inline: max(1.25rem, env(safe-area-inset-left, 0px))
    max(1.25rem, env(safe-area-inset-right, 0px));
}

.page-main > .container {
  padding-bottom: max(3rem, calc(3rem + env(safe-area-inset-bottom, 0px)));
  padding-inline: max(clamp(1.25rem, 5vw, 2.5rem), env(safe-area-inset-left, 0px))
    max(clamp(1.25rem, 5vw, 2.5rem), env(safe-area-inset-right, 0px));
}

.page-main {
  padding-top: 0.5rem;
}

/* —— Header (igual espírito da landing) —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(248, 249, 244, 0.95);
  border-bottom: 1px solid #e4e9df;
  box-shadow: none;
}

.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  min-height: 76px;
  min-width: 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 1;
  min-width: 0;
  text-decoration: none;
  line-height: 1;
}

.site-logo img {
  display: block;
  height: 40px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--green-dark);
  line-height: 1;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  gap: 0.35rem;
}

.site-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0.45rem 0.85rem;
  text-decoration: none;
  color: #244333;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.site-nav-link:active {
  background: var(--field-soft);
}

.site-nav-link:hover {
  color: var(--green-dark);
  background: #e7eee0;
}

.site-nav-link.is-current {
  color: var(--green-dark);
  font-weight: 700;
  background: #e8f0d8;
  pointer-events: none;
}

/* —— Tipografia de seção (landing: h2 serif + linha terracota) —— */
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--green-dark);
  margin: 0 0 0.85rem;
  padding: 0;
  border: 0;
  max-width: 42rem;
  text-wrap: balance;
}

/* —— Hero —— */
.hero {
  padding-block: clamp(1.5rem, 4vw, 2.4rem) 0.75rem;
  text-align: left;
}

.hero .hero-inner {
  max-width: 40rem;
}

.eyebrow,
.success-eyebrow {
  display: none;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.02;
  color: var(--green-dark);
  letter-spacing: -0.03em;
  font-weight: 400;
  text-wrap: balance;
}

.hero h1 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: #3e6b48;
}

.subtitle {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 36rem;
}

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

/* —— Motivos, um de cada vez —— */
.plan-reasons {
  margin: 0 0 1.75rem;
}

.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;
}

.plan-reasons__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.plan-reason {
  min-height: 44px;
  padding: 0.45rem 0.95rem;
  border: 1px solid #d6dfc9;
  border-radius: 999px;
  background: transparent;
  color: #31473b;
  font: 600 0.92rem var(--font-body);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.plan-reason:hover,
.plan-reason.is-active {
  background: #e8f0d8;
  color: #193f29;
  border-color: transparent;
}

.plan-reason.is-active {
  transform: translateX(0.15rem);
}

.plan-reasons__reply {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  max-width: 38rem;
  margin-top: 1.1rem;
}

.plan-reasons__avatar {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: #234b37;
  color: #f4f9e9;
  font-size: 0.72rem;
  font-weight: 700;
}

.plan-reasons__copy {
  margin: 0;
  min-height: 2.4em;
  max-width: 34rem;
  color: #203b2c;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.plan-reasons__copy.is-fresh {
  animation: reason-in 0.35s ease;
}

@keyframes reason-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plan-reason,
  .plan-reasons__copy.is-fresh {
    transition: none;
    animation: none;
  }
}

.plan-usage-note { text-align: center; margin: 24px auto 12px; }
.plan-usage { max-width: 720px; margin: 0 auto; padding: 16px 0; border-top: 1px solid #d8e2d1; color: #4f6455; }
.plan-usage summary { cursor: pointer; font-weight: 600; padding-block: 8px; }
.plan-usage p { line-height: 1.65; margin: 12px 0 0; }
.plan-usage summary:focus-visible { outline: 2px solid #224c36; outline-offset: 4px; }

/* —— Toggle mensal / anual —— */
.billing-toggle {
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.toggle-btn {
  width: 58px;
  height: 32px;
  border-radius: 999px;
  background: var(--bg-light);
  border: 1px solid var(--border-subtle);
  padding: 3px;
  transition: background 0.2s ease;
  cursor: pointer;
}

.toggle-btn .dot {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.toggle-btn[aria-pressed='true'] {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.toggle-btn[aria-pressed='true'] .dot {
  transform: translateX(25px);
}

/* —— Abas Pessoal / Empresa —— */
.segment-tabs {
  display: flex;
  justify-content: center;
  max-width: 420px;
  margin: 0 auto 1.25rem;
  padding: 4px;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  background: #e7eee0;
  box-shadow: none;
}

.segment-tabs .segment-tab {
  flex: 1;
  margin: 0;
  padding: 10px 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease;
}

.segment-tab-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 0;
}

.segment-tab-icon {
  flex-shrink: 0;
  color: var(--field-dark);
  opacity: 0.85;
}

.segment-tab-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 1.15;
  text-align: left;
}

.segment-tab-title {
  font-weight: 600;
  font-size: 0.92rem;
}

.segment-tab-hint {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.72;
}

.segment-tabs .segment-tab.is-active .segment-tab-icon {
  color: var(--green-dark);
  opacity: 1;
}

.segment-tabs .segment-tab:hover {
  background: #e8f0d8;
  color: var(--green-dark);
}

.segment-tabs .segment-tab.is-active {
  background: #fff;
  color: var(--green-dark);
  box-shadow: 0 4px 14px rgba(23, 54, 45, 0.08);
}

/* —— Grade de planos —— */
.plan-grid-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-muted);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(14px, 2.2vw, 22px);
  margin-bottom: 2.5rem;
}

.plan-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.plan-grid--one {
  grid-template-columns: minmax(0, 1fr);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

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

.plan-grid:has(.plan-card:nth-child(2):last-child):not(.plan-grid--one):not(.plan-grid--two) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.plan-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: #fff;
  border: 1px solid #dce4d8;
  border-radius: 18px;
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: none;
  transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.18s ease;
  position: relative;
  overflow: hidden;
}

.plan-card::before {
  content: none;
}

.plan-card:hover {
  box-shadow: 0 12px 30px rgba(23, 54, 45, 0.08);
  border-color: #c5d4c0;
  transform: translateY(-2px);
}

.plan-card.featured {
  background: #214838;
  border-color: #214838;
  color: #f5f8ec;
}

.plan-card.featured .plan-title,
.plan-card.featured .price,
.plan-card.featured .period,
.plan-card.featured .summary,
.plan-card.featured .plan-audience,
.plan-card.featured .benefits li {
  color: #f5f8ec;
}

.plan-card.featured .benefit-check {
  color: #d2e990;
}

.plan-card.is-selected {
  outline: 2px solid var(--green-dark);
  outline-offset: 3px;
}

.plan-picked {
  margin: 0 0 10px;
  min-height: 2.6em;
}

.plan-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.plan-icon-wrap {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8f0d8;
  color: var(--green-dark);
  border: 1px solid #c7d5b5;
}

.plan-card.featured .plan-icon-wrap {
  background: #d2e990;
  border-color: #d2e990;
  color: #214838;
}

.plan-icon-svg {
  display: block;
}

.plan-card-head-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 0;
}

.plan-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.plan-legal-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: rgba(42, 56, 42, 0.06);
  border: 1px solid rgba(42, 56, 42, 0.1);
  border-radius: 999px;
  padding: 3px 8px;
}

.plan-audience {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0 0 10px;
  line-height: 1.4;
}

.plan-badge {
  display: inline-block;
  font-size: 0.72rem;
  background: #e8f0d8;
  color: #214838;
  border: 0;
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 700;
  white-space: nowrap;
}

.plan-card.featured .plan-badge,
.plan-card.featured .plan-legal-pill {
  background: #d2e990;
  color: #214838;
  border-color: #d2e990;
}

.plan-title {
  font-family: var(--font-display);
  margin: 0 0 4px;
  font-size: clamp(1.45rem, 2.5vw, 1.7rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--green-dark);
  line-height: 1.15;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-bottom: 6px;
}

.price {
  font-size: clamp(1.55rem, 3vw, 1.85rem);
  font-weight: 700;
  margin: 0;
  color: var(--green-dark);
  font-variant-numeric: tabular-nums;
}

.period {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.summary {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 0.92rem;
  min-height: 3.2em;
  flex-shrink: 0;
}

.benefits {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0 0 14px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.benefits li {
  font-size: 0.9rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.benefit-check {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--field-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-cta {
  width: 100%;
  margin-top: auto;
  flex-shrink: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.78rem 1rem;
  min-height: 48px;
  font-weight: 700;
  font-size: 0.92rem;
  font-family: inherit;
  cursor: pointer;
  color: var(--green-dark);
  background: var(--lime);
  box-shadow: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-card.featured .plan-cta {
  background: #d2e990;
  color: #17362d;
}

.plan-cta:hover {
  background: var(--lime-hover);
  color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(14, 35, 21, 0.14);
}

/* —— Formulário —— */
.checkout-panel[hidden] {
  display: none !important;
}

.plans-merchandise[hidden] {
  display: none !important;
}

.link-back-plans {
  display: block;
  width: fit-content;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--field-dark);
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: auto;
  box-shadow: none;
}

.link-back-plans:hover {
  color: var(--green-dark);
  background: none;
  transform: none;
}

.checkout-summary {
  margin: 0 0 0.75rem;
  min-height: 0;
  font-weight: 500;
  color: var(--text);
}

.flow-intro {
  margin-bottom: 1rem !important;
}

body.checkout-flow-active .hero,
body.checkout-flow-active .plan-reasons,
body.checkout-flow-active .guarantee {
  display: none;
}

.forms {
  display: block;
}

.card {
  background: var(--card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-sm);
}

.flow-card .muted {
  margin-top: 0.35rem;
}

.flow-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-dark);
  margin: 1rem 0 0.35rem;
}

.flow-card fieldset {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 12px;
  margin: 0 0 12px;
}

.flow-card legend {
  padding: 0 6px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--green-dark);
}

.row2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.muted {
  color: var(--text-muted);
  font-size: 0.92rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.92rem;
  color: var(--text);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d6dfc9;
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  background: #fff;
  color: var(--text);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--green-dark);
  outline: 2px solid var(--green-dark);
  outline-offset: 2px;
}

button:not(.toggle-btn):not(.segment-tab):not(.link-back-plans):not(.btn-secondary):not(.btn-google):not(.link-btn):not(.nav-btn):not(.btn):not(.btn-icon):not(.plan-reason) {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  min-height: 48px;
  background: var(--lime);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.92rem;
  font-family: inherit;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

button:not(.toggle-btn):not(.segment-tab):not(.link-back-plans):not(.btn-secondary):not(.btn-google):not(.link-btn):not(.nav-btn):not(.btn):not(.btn-icon):not(.plan-reason):hover {
  background: var(--lime-hover);
  color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(14, 35, 21, 0.14);
}

.feedback {
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: #eaf0df;
  border: 0;
  color: #435a46;
  font-size: 0.92rem;
}

.feedback.error {
  background: #fff3f3;
  border-color: #f2b8b8;
  color: var(--text);
}

.subscription-success {
  margin-top: 1.5rem;
  border: 1px solid rgba(61, 79, 61, 0.2);
  background: linear-gradient(165deg, #fffefb 0%, #f3f7f2 100%);
  box-shadow: var(--shadow-md);
}

.success-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 0.35rem;
}

.success-title {
  margin-bottom: 0.75rem;
  color: var(--green-dark);
}

.success-lead {
  font-size: 1.02rem;
  margin-bottom: 1rem;
  max-width: 52ch;
}

.success-plan-detail {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.success-sms {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  max-width: 52ch;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

button.success-primary-btn {
  appearance: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  border: none;
  border-radius: 999px;
  padding: 0.78rem 1.25rem;
  color: var(--green-dark);
  background: var(--lime);
  box-shadow: none;
}

button.success-primary-btn:hover {
  background: var(--lime-hover);
  color: var(--green-dark);
}

.success-primary-btn:focus-visible {
  outline: 2px solid var(--field);
  outline-offset: 3px;
}

.success-primary-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.guarantee {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

@media (max-width: 920px) {
  .plan-grid,
  .plan-grid--two,
  .plan-grid--many {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .plan-grid--one {
    max-width: 100%;
  }

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

}

/* Header otimizado para telas pequenas (sticky no topo + notch + toque) */
@media (max-width: 760px) {
  .site-header-inner {
    flex-wrap: wrap;
    align-items: center;
    min-height: 0;
    padding-block: 0.7rem 0.45rem;
    row-gap: 0.2rem;
  }

  .site-logo {
    flex-shrink: 0;
  }

  .site-nav {
    flex: 1 1 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .site-header-inner {
    gap: 0.35rem;
  }

  .site-header .container {
    padding-inline: max(0.75rem, env(safe-area-inset-left, 0.75rem))
      max(0.75rem, env(safe-area-inset-right, 0.75rem));
  }

  .site-logo img {
    height: 32px;
    max-width: none;
  }

  .brand-text {
    font-size: 1.25rem;
  }

  .site-nav {
    gap: 0.2rem;
  }

  .site-nav-link {
    font-size: 0.85rem;
    padding: 0.4rem 0.55rem;
    min-width: 2.75rem;
  }
}

@media (max-width: 380px) {
  .site-logo img {
    height: 26px;
  }

  .site-nav-link {
    font-size: 0.8rem;
    padding-inline: 0.45rem;
  }
}

/* Termos de uso — aceite no checkout */
.legal-accept-wrap {
  margin: 1.25rem 0 0.25rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 0;
  background: #eaf0df;
}

.legal-accept {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text);
  cursor: pointer;
}

.legal-accept input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--green-dark);
}

.legal-accept a {
  color: var(--field-dark);
  font-weight: 600;
}

.site-legal-footer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  text-align: center;
}

.site-legal-footer a {
  color: var(--field-dark);
  font-weight: 600;
}

/* Checkout: uma ação por etapa, com o valor sempre à vista. */
[hidden] { display: none !important; }
.checkout-panel { scroll-margin-top: 90px; padding-top: 28px; }
.checkout-heading { margin-bottom: 28px; }
.checkout-heading .link-back-plans { min-height: 44px; margin: 0 0 12px; text-decoration: none; }
.checkout-heading .link-back-plans:hover { text-decoration: underline; }
.checkout-eyebrow { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 8px; }
.checkout-heading h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 400; line-height: 1.15; letter-spacing: -.025em; color: var(--green-dark); }
.checkout-heading > p { color: var(--text-muted); margin-top: 10px; max-width: 48ch; }
.checkout-steps { display: flex; list-style: none; gap: 28px; margin-top: 24px; }
.checkout-steps li { display: flex; align-items: center; gap: 9px; font-size: .88rem; color: var(--text-muted); }
.checkout-step-number { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border: 1px solid #cbd6c5; border-radius: 50%; font-size: .8rem; font-weight: 700; }
.checkout-steps .is-current { color: var(--green-dark); font-weight: 700; }
.is-current .checkout-step-number { background: var(--green-dark); color: white; border-color: var(--green-dark); }
.is-complete .checkout-step-number { background: var(--field-soft); border-color: var(--field-soft); }
.checkout-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); align-items: start; gap: 24px; }
.checkout-layout > * { min-width: 0; }
.checkout-order { position: sticky; top: 96px; padding: 28px; border: 1px solid #d8e3cb; border-radius: 22px; background: #edf3e5; overflow-wrap: anywhere; }
.checkout-order-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .67rem; font-weight: 700; letter-spacing: .06em; color: #53654c; }
.checkout-billing-pill { font-size: .75rem; letter-spacing: 0; background: white; padding: 4px 10px; border-radius: 999px; color: var(--green-dark); }
.checkout-order h2 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; margin-top: 16px; line-height: 1.2; }
.checkout-order-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.checkout-order-price strong { font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.3; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.checkout-order-price > span { font-size: .9rem; color: var(--text-muted); }
.checkout-billing-detail { color: var(--text-muted); font-size: .87rem; margin-top: 4px; }
.checkout-order-allowance { margin-top: 22px; padding-top: 18px; border-top: 1px solid #d2ddc8; }
.checkout-order-allowance > span { display: block; color: var(--text-muted); font-size: .78rem; }
.checkout-order-allowance > strong { display: block; font-size: .95rem; line-height: 1.5; margin-top: 2px; }
.checkout-order-details > summary { display: none; }
.checkout-order-facts { margin-top: 0; }
.checkout-order-facts > div { padding-top: 14px; }
.checkout-order-facts dt { color: var(--text-muted); font-size: .78rem; }
.checkout-order-facts dd { color: var(--green-dark); font-size: .95rem; font-weight: 600; margin-top: 2px; line-height: 1.5; }
.checkout-order-note { font-size: .84rem; color: var(--text-muted); margin-top: 20px; }
.checkout-payment-provider { border-top: 1px solid #d2ddc8; padding-top: 16px; margin-top: 20px; display: flex; align-items: center; gap: 9px; color: #526449; font-size: .79rem; }
.checkout-payment-provider svg { flex-shrink: 0; }
.checkout-form-card { border-radius: 22px; padding: 32px; box-shadow: 0 8px 28px rgba(23,54,45,.035); }
.checkout-step-kicker { font-size: .7rem; font-weight: 700; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 9px; }
.checkout-form-title { font-family: var(--font-body); font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.3; color: var(--green-dark); }
.checkout-form-description { font-size: .97rem; color: var(--text-muted); margin-top: 10px; max-width: 47ch; }
.checkout-account { margin-top: 24px; }
.checkout-primary-link, .checkout-secondary-link { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 13px 18px; min-height: 52px; border-radius: 12px; text-decoration: none; font-size: 1rem; font-weight: 700; text-align: center; }
.checkout-primary-link { background: var(--green-dark); color: white; }
.checkout-primary-link:hover { background: var(--green-light); }
.checkout-primary-link span { font-size: 1.2rem; }
.checkout-secondary-link { border: 1px solid #cbd7c3; background: white; color: var(--green-dark); }
.checkout-secondary-link:hover { background: var(--bg-page); }
.checkout-account-new { margin-top: 24px; }
.checkout-account-new > p { text-align: center; margin-bottom: 10px; font-size: .9rem; color: var(--text-muted); }
.checkout-account-note { border-top: 1px solid var(--border-subtle); padding-top: 20px; margin-top: 24px; font-size: .87rem; color: var(--text-muted); line-height: 1.6; }
.checkout-form-card fieldset { border: 0; padding: 0; margin: 24px 0 0; min-width: 0; }
.checkout-form-card fieldset > label { margin-top: 16px; }
.checkout-form-card fieldset > label:first-of-type { margin-top: 0; }
.checkout-form-card input { min-height: 50px; font-size: 1rem; }
.checkout-form-card fieldset > button { margin-top: 20px; width: 100%; border-radius: 12px !important; }
.checkout-field-help { font-size: .85rem; color: var(--text-muted); margin-top: 10px; line-height: 1.55; }
.checkout-form-card h3 { margin: 24px 0 14px; font-size: 1rem; }
.checkout-form-card h3:first-of-type { margin-top: 0; }
.checkout-form-card .row2 { grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 16px; gap: 12px; }
.checkout-form-card .row2:has(> label:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.checkout-change-phone { background: transparent; border: 0; color: var(--green-dark); min-height: 44px; padding: 8px; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.checkout-change-phone:hover { background: var(--bg-page); }
.checkout-form-card .feedback { margin: 20px 0 0; }
.checkout-form-card button:disabled { opacity: .65; cursor: wait; transform: none !important; }
.checkout-form-card #otpCode { text-align: center; font-size: 1.5rem; letter-spacing: .18em; }
.checkout-form-card .legal-accept { flex-direction: row; align-items: flex-start; }
.checkout-form-card .legal-accept input { min-height: 0; width: 18px; height: 18px; }
.checkout-flow-active .site-nav-link:not(:first-child) { display: none; }

@media (max-width: 760px) {
  .checkout-flow-active .site-header-inner { flex-wrap: nowrap; min-height: 60px; }
  .checkout-flow-active .site-nav { flex: 0 1 auto; }
  .checkout-layout { grid-template-columns: 1fr; gap: 18px; }
  .checkout-order { position: static; padding: 20px 22px; }
  .checkout-order h2 { font-family: var(--font-body); font-weight: 700; font-size: 1.25rem; margin-top: 8px; }
  .checkout-order-price { margin-top: 4px; }
  .checkout-order-price strong { font-size: 1.8rem; }
  .checkout-order-allowance { margin-top: 12px; padding-top: 12px; }
  .checkout-order-allowance > span { display: none; }
  .checkout-order-details { margin-top: 12px; }
  .checkout-order-details > summary { display: list-item; cursor: pointer; font-size: .84rem; font-weight: 600; padding-block: 6px; min-height: 38px; }
  .checkout-form-card { padding: 24px; }
  .checkout-order-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .checkout-order-facts > div { padding-top: 0; }
  .checkout-order-note { margin-top: 14px; }
  .checkout-payment-provider { margin-top: 14px; }
  .checkout-heading { margin-bottom: 20px; }
  .checkout-heading > p { font-size: .94rem; }
  .checkout-steps { gap: 16px; justify-content: space-between; }
  .checkout-steps li { gap: 6px; font-size: .8rem; }
  .checkout-step-number { width: 26px; height: 26px; }
  .checkout-panel { scroll-margin-top: 72px; padding-top: 14px; }
}

@media (max-width: 380px) {
  .checkout-order, .checkout-form-card { padding: 20px; }
  .checkout-steps { gap: 8px; }
  .checkout-steps li { font-size: .73rem; }
  .checkout-order-price strong { font-size: 1.9rem; }
}
