/* ============================================================
   PÁTRIA SEM FRONTEIRAS — tema verde-e-amarelo, alto impacto
   ============================================================ */

:root {
  --green: #009739;
  --green-dark: #007a2f;
  --yellow: #ffd500;
  --yellow-soft: #ffe14d;
  --gold: #f5b301;
  --dark: #0a0f0c;
  --dark-2: #101713;
  --dark-3: #16211b;
  --white: #f7f7f2;
  --muted: #b9c4bc;
  --danger: #ff5a3c;
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "Sora", sans-serif;
  --radius: 14px;
  --shadow-glow: 0 0 24px rgba(255, 213, 0, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

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

/* ---------- textos utilitários ---------- */
.text-gradient {
  background: linear-gradient(92deg, var(--yellow) 10%, var(--gold) 45%, var(--yellow-soft) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--yellow);
}

/* ---------- botões ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn--primary {
  background: linear-gradient(120deg, var(--yellow), var(--gold));
  color: #131313;
  animation: cta-pulse 2.2s ease-in-out infinite;
}

.btn--primary:hover { transform: translateY(-3px) scale(1.02); }

.btn--ghost {
  background: transparent;
  color: var(--yellow);
  border-color: var(--yellow);
}

.btn--ghost:hover {
  background: var(--yellow);
  color: #131313;
  transform: translateY(-3px);
}

.btn--small { padding: 0.5rem 1.2rem; font-size: 0.95rem; }

.btn--block { width: 100%; }

.btn:disabled {
  opacity: 0.6;
  cursor: wait;
  animation: none;
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 213, 0, 0.55); }
  50%      { box-shadow: 0 0 0 14px rgba(255, 213, 0, 0); }
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(10, 15, 12, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 213, 0, 0.15);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.6rem 0;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--white);
  margin-right: auto;
}

.header__logo { width: 42px; height: 42px; object-fit: contain; }

.header__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.header__nav { display: flex; gap: 1.4rem; }

.header__nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.15s;
}

.header__nav a:hover { color: var(--yellow); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7.5rem 0 4rem;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 75% 30%, rgba(0, 151, 57, 0.35), transparent 65%),
    radial-gradient(45% 40% at 15% 75%, rgba(255, 213, 0, 0.14), transparent 60%),
    var(--dark);
}

.hero__flag {
  position: absolute;
  width: 150%;
  height: 90px;
  left: -25%;
  transform: rotate(-6deg);
  opacity: 0.35;
  pointer-events: none;
}

.hero__flag--green {
  top: 12%;
  background: linear-gradient(90deg, var(--green-dark), var(--green));
  animation: flag-drift 9s ease-in-out infinite alternate;
}

.hero__flag--yellow {
  bottom: 8%;
  background: linear-gradient(90deg, var(--gold), var(--yellow));
  opacity: 0.22;
  animation: flag-drift 11s ease-in-out infinite alternate-reverse;
}

@keyframes flag-drift {
  from { transform: rotate(-6deg) translateX(-3%); }
  to   { transform: rotate(-5deg) translateX(3%); }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(0, 151, 57, 0.14);
  border: 1px solid rgba(0, 151, 57, 0.5);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 1.3rem;
}

.hero__subtitle {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 54ch;
  margin-bottom: 1.8rem;
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.6rem; }

.hero__badges { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.badge {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 90, 60, 0.15);
  color: #ffb3a3;
  border: 1px solid rgba(255, 90, 60, 0.45);
}

.badge--green {
  background: rgba(0, 151, 57, 0.15);
  color: #8fe6b3;
  border-color: rgba(0, 151, 57, 0.5);
}

/* foto do consultor */
.hero__figure { position: relative; }

.hero__photo-wrap {
  position: relative;
  width: min(360px, 100%);
  margin-inline: auto;
}

.hero__photo {
  border-radius: 50% 50% 46% 54% / 52% 48% 52% 48%;
  border: 4px solid var(--yellow);
  animation: photo-float 6s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

.hero__photo-ring {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 213, 0, 0.5);
  animation: spin 24s linear infinite;
}

@keyframes photo-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

@keyframes spin { to { transform: rotate(360deg); } }

.hero__float-card {
  position: absolute;
  background: rgba(16, 23, 19, 0.92);
  border: 1px solid rgba(255, 213, 0, 0.35);
  border-radius: var(--radius);
  padding: 0.6rem 1rem;
  box-shadow: var(--shadow-glow);
  animation: card-bob 5s ease-in-out infinite;
  z-index: 2;
}

.hero__float-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--yellow);
  text-transform: uppercase;
}

.hero__float-card span { font-size: 0.75rem; color: var(--muted); }

.hero__float-card--1 { top: 8%; right: -4%; }
.hero__float-card--2 { bottom: 10%; left: -6%; animation-delay: 2.4s; }

@keyframes card-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

.hero__scroll {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 213, 0, 0.5);
  border-radius: 999px;
}

.hero__scroll span {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--yellow);
  animation: scroll-dot 1.6s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: linear-gradient(90deg, var(--green-dark), var(--green));
  border-block: 3px solid var(--yellow);
  overflow: hidden;
  padding: 0.7rem 0;
}

.marquee__track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee__track span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--yellow);
  white-space: nowrap;
}

.marquee__track i { color: rgba(255, 255, 255, 0.65); font-style: normal; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SEÇÕES
   ============================================================ */
.section { padding: 5.5rem 0; }

.section--dark {
  background:
    radial-gradient(50% 40% at 85% 10%, rgba(0, 151, 57, 0.18), transparent 65%),
    var(--dark-2);
}

.section__head { text-align: center; max-width: 780px; margin: 0 auto 3rem; }

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.8rem;
}

.section__eyebrow--danger { color: var(--danger); }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.section__lead { color: var(--muted); margin-top: 1rem; }
.section__lead strong { color: var(--yellow); }

/* ---------- cards problema/solução ---------- */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}

.card {
  background: var(--dark-3);
  border: 1px solid rgba(255, 213, 0, 0.18);
  border-radius: var(--radius);
  padding: 2rem;
}

.card--pain { border-color: rgba(255, 90, 60, 0.4); }
.card--solution { border-color: rgba(0, 151, 57, 0.5); }

.card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.card--pain h3 { color: #ff9d88; }
.card--solution h3 { color: #8fe6b3; }

.card p { color: var(--muted); margin-bottom: 1rem; }
.card p strong { color: var(--white); }

.card__highlight {
  border-left: 3px solid var(--yellow);
  padding: 0.7rem 0 0.7rem 1rem;
  color: var(--yellow) !important;
  font-weight: 600;
}

.checklist { list-style: none; display: grid; gap: 0.7rem; }

.checklist li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.checklist li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}

.checklist li::before { content: "✓"; color: var(--green); font-size: 1.05rem; }
.checklist--x li::before { content: "✕"; color: var(--danger); }

/* ---------- passos ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.step {
  position: relative;
  background: var(--dark-3);
  border: 1px solid rgba(255, 213, 0, 0.18);
  border-radius: var(--radius);
  padding: 2.4rem 1.4rem 1.6rem;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.step:hover { transform: translateY(-6px); border-color: var(--yellow); }

.step__number {
  position: absolute;
  top: -0.5rem;
  right: 0.6rem;
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 800;
  color: rgba(255, 213, 0, 0.12);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.6rem;
}

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

/* ============================================================
   CONTADOR
   ============================================================ */
.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

.countdown__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 84px;
  background: var(--dark-3);
  border: 1px solid rgba(255, 213, 0, 0.35);
  border-radius: var(--radius);
  padding: 0.9rem 0.6rem 0.6rem;
  box-shadow: 0 0 18px rgba(255, 213, 0, 0.12);
}

.countdown__value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
}

.countdown__block--seconds .countdown__value { color: var(--danger); }

.countdown__label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.35rem;
}

.countdown__sep {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: rgba(255, 213, 0, 0.4);
}

.countdown__note {
  text-align: center;
  color: var(--muted);
  margin-bottom: 3rem;
}

.countdown__note strong { color: var(--yellow); }

/* ============================================================
   PLANOS
   ============================================================ */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--dark-3);
  border: 1px solid rgba(255, 213, 0, 0.2);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow-glow); }

.plan .btn--block { margin-top: auto; }

.plan--featured {
  border: 2px solid var(--yellow);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 213, 0, 0.12), transparent 60%),
    var(--dark-3);
  animation: featured-glow 3s ease-in-out infinite;
}

@keyframes featured-glow {
  0%, 100% { box-shadow: 0 0 18px rgba(255, 213, 0, 0.25); }
  50%      { box-shadow: 0 0 34px rgba(255, 213, 0, 0.45); }
}

.plan__flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(120deg, var(--yellow), var(--gold));
  color: #131313;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.plan__country {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
}

.plan__tagline { color: var(--muted); font-size: 0.88rem; margin-bottom: 1.2rem; }

.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem; margin-bottom: 1.4rem; }

.plan__old {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--danger);
  text-decoration-thickness: 2px;
  font-size: 1.05rem;
}

.plan__current {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--yellow);
}

.plan__discount {
  background: rgba(0, 151, 57, 0.2);
  color: #8fe6b3;
  border: 1px solid rgba(0, 151, 57, 0.55);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.plans__features {
  max-width: 880px;
  margin: 2.4rem auto 0;
  background: var(--dark-3);
  border: 1px solid rgba(255, 213, 0, 0.2);
  border-radius: var(--radius);
  padding: 2rem;
}

.plans__features-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--yellow);
  text-align: center;
  margin-bottom: 1.3rem;
}

.plans__features-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem 2.5rem;
}

.plans__features-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.plans__features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-weight: 700;
}

.plans__note {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  max-width: 640px;
  margin: 1.6rem auto 0;
}

/* ============================================================
   FORMULÁRIO
   ============================================================ */
.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.form__intro .section__title { margin-bottom: 1rem; }

.form__intro .checklist { margin-top: 1.4rem; }

.form { padding: 2.2rem; border-color: rgba(255, 213, 0, 0.35); }

.form__field { margin-bottom: 1.1rem; }

.form__row {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 1rem;
}

.form__field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.form__field input {
  width: 100%;
  background: var(--dark);
  border: 1px solid rgba(255, 213, 0, 0.25);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form__field input:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 213, 0, 0.18);
}

.form__field input.invalid { border-color: var(--danger); }

.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__feedback {
  min-height: 1.4rem;
  margin-top: 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}

.form__feedback--ok { color: #8fe6b3; }
.form__feedback--error { color: #ff9d88; }

.form__disclaimer {
  margin-top: 0.6rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark-2);
  border-top: 1px solid rgba(255, 213, 0, 0.15);
  padding: 3rem 0 2rem;
}

.footer__inner { text-align: center; display: grid; gap: 1.1rem; justify-items: center; }

.footer__brand img { width: 64px; margin: 0 auto 0.6rem; }

.footer__brand p {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--yellow);
}

.footer__disclaimer { color: var(--muted); font-size: 0.8rem; max-width: 720px; }

.footer__copy { color: var(--muted); font-size: 0.78rem; }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__subtitle { margin-inline: auto; }
  .hero__ctas, .hero__badges { justify-content: center; }
  .hero__float-card--1 { right: 2%; }
  .hero__float-card--2 { left: 2%; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .form__grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .header__nav { display: none; }
  .duo { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .countdown__block { min-width: 64px; }
  .countdown__sep { display: none; }
  .hero { padding-top: 6rem; }
  .plans__features-list { grid-template-columns: 1fr; }
}

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