/* ════════════════════════════════════════════════════════════════════════
   VIAGEM ESCOLAR — BASE DESIGN SYSTEM
   Aesthetic: "Boarding Pass / Editorial Travel"
   - Display:  Fraunces (expressive optical serif, italic accents)
   - Body:     Manrope (refined geometric sans)
   - Code/TAG: Space Mono (boarding-pass code feel)
   Estrutura + tokens neutros. As cores de marca vêm de um tema:
     tema-laranja.css  (padrão)  |  tema-vermelho.css
   O modo escuro é uma camada (dark-mode.css) ativada por body.dark.
   ════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────── TOKENS (default = tema laranja) ────────── */
:root {
  /* Marca — roxo */
  --color-brand: #3c1f57;
  --color-brand-mid: #6b3d8f;
  --color-brand-light: #f1e9f9;

  /* Ação — laranja (cor-âncora do fluxo de TAG) */
  --color-action: #f65d25;
  --color-action-dark: #c9441a;
  --color-action-bg: #fff1ea;

  /* Semânticas — estáveis entre temas (não confundir com a cor de ação) */
  --color-danger: #c0392b;
  --color-success: #1a7a4a;
  --color-warning: #d97706;
  /* âmbar — borda/ícone */
  --color-warning-dark: #b45309;
  /* âmbar mais escuro — texto sobre fundo claro */
  --color-warning-bg: #fffbeb;
  /* âmbar bem claro — fundo do alerta */

  /* Neutros / superfícies */
  --color-text: #221a2c;
  --color-muted: #6d6577;
  --color-border: #e7dff0;
  --color-bg: #f7f3fb;
  --color-white: #ffffff;

  /* RGB para glows e overlays dinâmicos */
  --rgb-brand: 60, 31, 87;
  --rgb-action: 246, 93, 37;

  /* Tipografia */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;

  /* Raios */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Sombras quentes em camadas */
  --shadow-sm: 0 1px 2px rgba(var(--rgb-brand), .06), 0 2px 6px rgba(var(--rgb-brand), .07);
  --shadow-md: 0 6px 16px rgba(var(--rgb-brand), .08), 0 12px 32px rgba(var(--rgb-brand), .10);
  --shadow-lg: 0 16px 36px rgba(var(--rgb-brand), .12), 0 32px 64px rgba(var(--rgb-brand), .16);
  --shadow-action: 0 8px 22px rgba(var(--rgb-action), .35);

  --transition: .3s cubic-bezier(.4, 0, .2, 1);
  --transition-fast: .16s cubic-bezier(.4, 0, .2, 1);

  --maxw: 1180px;
}

/* ─────────────────────────────── RESET ─────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  min-height: 100vh;
}

/* Grão sutil sobre toda a página — atmosfera, não decoração óbvia */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
}

::selection {
  background: var(--color-action);
  color: #fff;
}

/* ─────────────────────────────── TIPOGRAFIA ────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--color-brand);
  font-optical-sizing: auto;
}

.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.accent {
  font-style: italic;
  font-weight: 500;
  color: var(--color-action);
}

/* Eyebrow / kicker — etiqueta tipo "código de embarque" */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-action);
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--color-action);
}

/* ─────────────────────────────── UTILS ─────────────────────────────────── */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.muted {
  color: var(--color-muted);
}

.center {
  text-align: center;
}

.section-head {
  margin-bottom: 48px;
}

.section-head.center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  color: var(--color-brand);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-top: 14px;
}

.section-sub {
  color: var(--color-muted);
  margin-top: 12px;
  max-width: 56ch;
  font-size: 1.02rem;
}

.section-head.center .section-sub {
  text-align: center;
}

/* Perfuração — divisória de bilhete */
.perforation {
  height: 1px;
  background-image: linear-gradient(90deg, var(--color-border) 60%, transparent 0);
  background-size: 12px 1px;
  background-repeat: repeat-x;
  border: none;
}

/* ─────────────────────────────── BADGES ────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.badge-action {
  background: var(--color-action-bg);
  color: var(--color-action-dark);
}

.badge-brand {
  background: var(--color-brand-light);
  color: var(--color-brand);
}

.badge-glass {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
}

/* ─────────────────────────────── BOTÕES ────────────────────────────────── */
.btn {
  --b: var(--color-action);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-size: .94rem;
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-action), var(--color-action-dark));
  color: #fff;
  box-shadow: var(--shadow-action);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(var(--rgb-action), .45);
}

.move-right:hover {
  transform: translateX(3px) !important;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .3) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .65s ease;
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn-outline {
  background: transparent;
  color: var(--color-brand);
  border-color: var(--color-brand);
}

.btn-outline:hover {
  background: var(--color-brand);
  color: #fff;
}

.btn-outline-white {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, .16);
}

.btn-ghost {
  background: transparent;
  color: var(--color-brand-mid);
  border-color: transparent;
  padding-left: 4px;
  padding-right: 4px;
}

.btn-ghost:hover {
  color: var(--color-action);
}

.btn-confirm {
  background: var(--color-success);
  color: #fff;
  border-color: var(--color-success);
  box-shadow: 0 8px 22px rgba(26, 122, 74, .3);
}

.btn-confirm:hover {
  transform: translateY(-2px);
}

.btn-reject {
  background: transparent;
  color: var(--color-danger);
  border-color: var(--color-danger);
}

.btn-reject:hover {
  background: var(--color-danger);
  color: #fff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: .82rem;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.04rem;
}

/* Estado desabilitado — cobre <button disabled>, [disabled] e .disabled
   (links com aparência de botão). Neutraliza hover/sombra/brilho. */
.btn:disabled,
.btn[disabled],
.btn.disabled {
  cursor: not-allowed;
  opacity: .55;
  box-shadow: none;
  transform: none;
  filter: grayscale(.25);
}

/* <a class="btn disabled"> não tem bloqueio nativo: impedimos o clique via
   pointer-events. (O cursor "not-allowed" só aparece em botões nativos, onde
   o navegador bloqueia o clique sem precisar de pointer-events:none.) */
.btn.disabled {
  pointer-events: none;
}

/* Anula o realce/brilho do .btn-primary quando desabilitado. */
.btn:disabled:hover,
.btn[disabled]:hover,
.btn.disabled:hover {
  transform: none;
  box-shadow: none;
}

.btn:disabled::after,
.btn[disabled]::after,
.btn.disabled::after {
  display: none;
}

/* Carregando (login.js define aria-busy="true"): fica clicável-bloqueado,
   mas sem o aspecto "cinza" do desabilitado — o spinner continua visível. */
.btn[aria-busy="true"] {
  cursor: progress;
  opacity: .85;
  filter: none;
}

/* ─────────────────────────────── NOTICE BAR ────────────────────────────── */
.notice-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: linear-gradient(90deg, var(--color-action-dark), var(--color-action));
  color: #fff;
  padding: 10px 48px 10px 20px;
  font-size: .85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.notice-bar strong {
  font-weight: 800;
}

.notice-bar a {
  text-decoration: underline;
  font-weight: 700;
}

.notice-bar-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  opacity: .8;
  line-height: 1;
}

.notice-bar-close:hover {
  opacity: 1;
}

/* ─────────────────────────────── HEADER ────────────────────────────────── */
.site-header {
  position: fixed;
  top: var(--notice-h, 42px);
  left: 0;
  right: 0;
  z-index: 1000;
  background: color-mix(in srgb, var(--color-white) 72%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
  transition: top var(--transition), box-shadow var(--transition);
}

.site-header.notice-hidden {
  top: 0;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--color-brand);
  letter-spacing: -.02em;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--color-brand);
  border-radius: 12px 12px 12px 4px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.logo .logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.logo b {
  font-weight: 600;
}

.logo b span {
  color: var(--color-action);
}

/* TAG search inline — campo tipo código de bilhete */
.header-tag-form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-brand-light);
  border: 1.5px solid color-mix(in srgb, var(--color-brand) 30%, transparent);
  border-radius: var(--radius-pill);
  padding: 0 6px 0 16px;
  flex: 1;
  max-width: 360px;
  transition: var(--transition);
}

.header-tag-form:focus-within {
  border-color: var(--color-action);
  box-shadow: 0 0 0 4px rgba(var(--rgb-action), .12);
}

.header-tag-form .tag-icon {
  font-size: .9rem;
  color: var(--color-brand-mid);
}

.header-tag-form input {
  border: none;
  background: transparent;
  flex: 1;
  outline: none;
  font-family: var(--font-mono);
  font-size: .85rem;
  letter-spacing: .08em;
  color: var(--color-text);
  padding: 9px 0;
}

.header-tag-form input::placeholder {
  font-family: var(--font-body);
  letter-spacing: 0;
  color: var(--color-muted);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-nav a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-muted);
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.header-nav a:hover {
  color: var(--color-brand);
  background: var(--color-brand-light);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-brand);
  border-radius: 2px;
  transition: var(--transition);
}

/* offset para header + notice (alturas reais medidas via JS; fallback p/ no-JS) */
.page-content {
  padding-top: calc(var(--notice-h, 42px) + var(--header-h, 70px));
}

/* ─────────────────────────────── HERO ──────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 84px;
  background:
    radial-gradient(1100px 620px at 88% -12%, rgba(var(--rgb-action), .42), transparent 55%),
    radial-gradient(800px 500px at -8% 112%, rgba(255, 255, 255, .10), transparent 52%),
    linear-gradient(150deg, var(--color-brand) 0%, var(--color-brand-mid) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .12) 1px, transparent 0);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 38%, #000 38%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 38%, #000 38%, transparent 100%);
}

.hero .container {
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}

.hero-copy {
  color: #fff;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #fff;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(8px);
  margin-bottom: 22px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  color: #fff;
  margin-bottom: 18px;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(115deg, var(--color-action), #ffd089);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 30px;
  max-width: 44ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Caixa de TAG — bilhete de embarque (elemento-âncora) */
.hero-tag-box {
  margin-top: 34px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .12);
  position: relative;
}

.hero-tag-box label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
  margin-bottom: 12px;
}

.tag-input-row {
  display: flex;
  gap: 10px;
}

.tag-input-row input {
  flex: 1;
  padding: 14px 16px;
  border: 1.5px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, .18);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: .08em;
  outline: none;
}

.tag-input-row input::placeholder {
  color: rgba(255, 255, 255, .5);
  font-family: var(--font-body);
  letter-spacing: 0;
}

.tag-input-row input:focus {
  border-color: var(--color-action);
  box-shadow: 0 0 0 4px rgba(var(--rgb-action), .25);
}

/* Ilustração / cartão flutuante */
.hero-illustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-illustration::before {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(var(--rgb-action), .45), transparent 70%);
  filter: blur(64px);
  z-index: 0;
  animation: floatGlow 9s ease-in-out infinite;
}

.hero-img-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(150deg, var(--color-brand-mid), var(--color-brand));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, .6);
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .42), 0 0 0 1px rgba(255, 255, 255, .08);
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-img-icon {
  font-size: 4.4rem;
  opacity: .5;
}

.hero-img-label {
  max-width: 22ch;
  font-size: .86rem;
  line-height: 1.5;
}

.hero-stats {
  position: absolute;
  bottom: -18px;
  left: -18px;
  z-index: 2;
  background: var(--color-white);
  color: var(--color-text);
  border-radius: var(--radius-lg);
  padding: 16px 22px;
  display: flex;
  gap: 26px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .6);
  border: 1px solid var(--color-border);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-brand);
  letter-spacing: -.02em;
}

.stat-lbl {
  font-size: .68rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}

@keyframes floatGlow {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(22px, -22px) scale(1.12);
  }
}

/* ─────────────────────────────── SECTIONS / SURFACES ───────────────────── */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--color-white);
}

/* Cartão genérico */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

/* ─────────────────────────────── HOW IT WORKS ──────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: justify;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--color-brand-mid), var(--color-action));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
}

.step-card:hover::before {
  opacity: 1;
}

.step-num {
  width: 46px;
  height: 46px;
  border-radius: 14px 14px 14px 4px;
  background: var(--color-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(var(--rgb-brand), .3);
}

.step-card:last-child .step-num {
  background: var(--color-action);
  box-shadow: 0 6px 16px rgba(var(--rgb-action), .38);
}

.step-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

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

.step-card:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 38px;
  right: -14px;
  color: var(--color-border);
  font-size: 1.3rem;
  z-index: 2;
}

/* ─────────────────────────────── TRAVELS ───────────────────────────────── */
.inline-notice {
  background: var(--color-action-bg);
  border: 1px solid color-mix(in srgb, var(--color-action) 30%, transparent);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: .88rem;
  color: var(--color-action-dark);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 36px;
}

.travels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.travel-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.travel-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.travel-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(150deg, var(--color-brand-light), color-mix(in srgb, var(--color-brand-mid) 35%, var(--color-white)));
  display: grid;
  place-items: center;
  font-size: 3.6rem;
  color: var(--color-brand-mid);
  transition: var(--transition);
}

.travel-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.travel-card:hover .travel-card-img img {
  transform: scale(1.06);
}

.travel-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(var(--rgb-brand), .4));
  opacity: 0;
  transition: var(--transition);
}

.travel-card:hover .travel-card-img::after {
  opacity: 1;
}

.travel-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  /* display:flex elimina a line box do wrapper, cujo strut (herdado do font-size:3.6rem do container, p/ o placeholder) empurrava o badge ~50px para baixo. Evita line-height:0, que achataria o pill. */
  display: flex;
  z-index: 2;
}

.travel-card-body {
  padding: 22px;
}

.travel-card-body h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.travel-meta {
  display: flex;
  gap: 14px;
  font-size: .8rem;
  color: var(--color-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.travel-card-body p {
  font-size: .9rem;
  color: var(--color-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.travel-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  border-top: 1px dashed var(--color-border);
  background: var(--color-bg);
}

.travel-cta-note {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--color-muted);
  letter-spacing: .04em;
}

/* ─────────────────────────────── TAG SECTION (bilhete grande) ──────────── */
.tag-section {
  position: relative;
  overflow: hidden;
  padding: 84px 0;
  background:
    radial-gradient(700px 360px at 50% -20%, rgba(var(--rgb-action), .32), transparent 62%),
    linear-gradient(150deg, var(--color-brand), var(--color-brand-mid));
}

.tag-section-inner {
  position: relative;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  color: #fff;
}

.tag-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #fff;
  margin: 16px 0 14px;
}

.tag-section p {
  color: rgba(255, 255, 255, .82);
  margin-bottom: 30px;
}

.tag-form {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius-pill);
  padding: 8px 8px 8px 22px;
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .16);
}

.tag-form input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  outline: none;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  letter-spacing: .08em;
}

.tag-form input::placeholder {
  color: rgba(255, 255, 255, .5);
  font-family: var(--font-body);
  letter-spacing: 0;
}

.tag-hint {
  margin-top: 16px;
  font-size: .82rem;
  color: rgba(255, 255, 255, .6);
}

/* ─────────────────────────────── BENEFITS ──────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.benefit-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 62px;
  height: 62px;
  border-radius: 20px 20px 20px 6px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  background: linear-gradient(135deg, var(--color-brand-light), color-mix(in srgb, var(--color-brand-light) 55%, var(--color-white)));
  transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.08) rotate(-5deg);
}

.benefit-card h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: .86rem;
  color: var(--color-muted);
}

/* ─────────────────────────────── TESTIMONIALS ──────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 26px 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 2px;
  left: 18px;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--color-brand-light);
}

.testimonial-text {
  position: relative;
  font-size: .96rem;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 22px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand-mid), var(--color-brand));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-family: var(--font-display);
}

.testimonial-name {
  font-weight: 700;
  font-size: .92rem;
  color: var(--color-text);
}

.testimonial-role {
  font-size: .78rem;
  color: var(--color-muted);
}

/* ─────────────────────────────── FAQ ───────────────────────────────────── */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item-cap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  padding: 0 22px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item.open {
  border-color: var(--color-action);
  box-shadow: 0 10px 26px rgba(var(--rgb-action), .16);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--color-brand);
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--color-muted);
  transition: var(--transition);
  flex-shrink: 0;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--color-action);
}

.faq-a {
  display: none;
  padding: 0 0 20px;
  font-size: .92rem;
  color: var(--color-muted);
}

.faq-item.open .faq-a {
  display: block;
  animation: fadeIn .3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.nav-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
}

.nav-pill-btn {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  cursor: pointer;
  font-size: .85rem;
  font-weight: 700;
  color: var(--color-muted);
  transition: var(--transition);
  font-family: var(--font-body);
}

.nav-pill-btn:hover {
  border-color: var(--color-brand-mid);
  color: var(--color-brand);
}

.nav-pill-btn.active {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #fff;
}

/* ─────────────────────────────── FOOTER ────────────────────────────────── */
.site-footer {
  position: relative;
  background: var(--color-brand);
  color: rgba(255, 255, 255, .8);
  padding: 64px 0 0;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--rgb-action), .7), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-logo .logo-icon {
  background: var(--color-action);
}

.footer-logo .logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.footer-tagline {
  font-size: .88rem;
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 38ch;
}

.footer-legal {
  font-family: var(--font-mono);
  font-size: .74rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 22px;
}

.footer-legal strong {
  color: rgba(255, 255, 255, .75);
  font-weight: 700;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .7);
  font-size: .9rem;
  transition: var(--transition);
}

.social-icon:hover {
  color: #fff;
  border-color: var(--color-action);
  background: rgba(var(--rgb-action), .2);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: #fff;
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: .9rem;
  color: rgba(255, 255, 255, .66);
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .88rem;
  margin-bottom: 11px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, .66);
}

.footer-contact-item a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0;
  text-align: center;
  font-size: .8rem;
  color: rgba(255, 255, 255, .5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, .6);
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ─────────────────────────────── SIDEBAR LOGIN ─────────────────────────── */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(var(--rgb-brand), .5);
  backdrop-filter: blur(3px);
  z-index: 1999;
}

.sidebar-overlay.open {
  display: block;
  animation: fadeIn .3s ease;
}

.sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  bottom: 0;
  width: 380px;
  max-width: 90vw;
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  transition: right .35s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.sidebar.open {
  right: 0;
}

.sidebar-header {
  padding: 26px 26px 18px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-header h3 {
  font-size: 1.15rem;
}

.sidebar-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--color-muted);
  line-height: 1;
}

.sidebar-close:hover {
  color: var(--color-action);
}

.sidebar-body {
  padding: 26px;
  flex: 1;
}

.sidebar-foot-links {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-align: center;
  font-size: .88rem;
}

.sidebar-foot-links a {
  color: var(--color-brand-mid);
  font-weight: 600;
}

.sidebar-foot-links a:hover {
  color: var(--color-action);
}

/* Separador "ou" entre os links utilitários e o convite de cadastro. */
.auth-sep {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--color-muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.auth-sep::before,
.auth-sep::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

/* Bloco "Criar minha conta" — ação alternativa em destaque, para quem
   ainda não tem cadastro não se perder. */
.auth-register {
  text-align: center;
}

.auth-register-q {
  margin-bottom: 10px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-muted);
}

.auth-register-btn {
  width: 100%;
  color: var(--color-brand-mid);
}

.sidebar-about {
  padding: 20px 26px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
  font-size: .82rem;
  color: var(--color-muted);
  text-align: center;
}

/* ─────────────────────────────── FORMS ─────────────────────────────────── */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--color-brand);
  margin-bottom: 7px;
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: .94rem;
  font-family: inherit;
  color: var(--color-text);
  background: var(--color-white);
  outline: none;
  transition: var(--transition);
}

.form-input::placeholder {
  color: var(--color-muted);
}

.form-input:focus {
  border-color: var(--color-action);
  box-shadow: 0 0 0 4px rgba(var(--rgb-action), .12);
}

textarea.form-input {
  resize: vertical;
}

.card-form {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-md);
}

.card-form-title {
  font-size: 1.2rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.input-row {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.input-row.cols-2 {
  grid-template-columns: 1fr 1fr;
}

.input-row.cols-3 {
  grid-template-columns: 84px 1fr 1fr;
}

/* Endereço: CEP estreito | Logradouro largo | Número estreito */
.input-row.cols-cep {
  grid-template-columns: 130px 1fr 96px;
}

/* Endereço: Cidade larga | UF estreito */
.input-row.cols-uf {
  grid-template-columns: 1fr 110px;
}

/* Subtítulo que separa blocos dentro de um formulário (ex.: "Endereço"). */
.form-section-title {
  margin: 26px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-brand);
}

/* <select> reaproveita .form-input; só ajustamos altura e a seta nativa. */
select.form-input {
  height: 46px;
  cursor: pointer;
}

.text-uppercase {
  text-transform: uppercase;
}

.captcha-placeholder {
  flex: 1;
  min-width: 160px;
  border: 1.5px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  text-align: center;
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: .82rem;
  background: var(--color-bg);
}

.password-strength {
  height: 5px;
  border-radius: 3px;
  background: var(--color-border);
  margin-top: 8px;
  overflow: hidden;
}

.password-strength-fill {
  height: 100%;
  border-radius: 3px;
  transition: width .3s ease;
}

.centered-form {
  max-width: 520px;
  margin: 0 auto;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-action);
}

.check-row label {
  font-size: .88rem;
}

.check-row a {
  color: var(--color-brand-mid);
  font-weight: 600;
}

/* ─────────────────────────────── BREADCRUMB / PAGE HEADER ──────────────── */
.breadcrumb-area {
  position: relative;
  overflow: hidden;
  padding: 56px 0 44px;
  background:
    radial-gradient(700px 320px at 92% 0%, rgba(var(--rgb-action), .28), transparent 60%),
    linear-gradient(150deg, var(--color-brand), var(--color-brand-mid));
}

.breadcrumb-area::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .08) 1px, transparent 0);
  background-size: 30px 30px;
}

.breadcrumb-content {
  position: relative;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Marca d'água decorativa: ancorada à direita, atrás do texto real,
   para nunca colidir com o título/breadcrumb à esquerda. */
.page-ghost {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
  max-width: 60%;
  overflow: hidden;
}

.page-ghost h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .12);
  white-space: nowrap;
  user-select: none;
}

.page-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  color: #fff;
  letter-spacing: -.03em;
}

.breadcrumb-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .6);
}

.breadcrumb-nav a {
  color: rgba(255, 255, 255, .8);
}

.breadcrumb-nav a:hover {
  color: #fff;
}

.inner-wrapper {
  padding: 30px 0 88px;
}

.inner-wrapper.alt {
  background: var(--color-white);
}

/* Marca d'água da seção: fica no topo, atrás, e o conteúdo é empurrado
   para baixo (via padding) para nunca sobrepor o primeiro título. */
.bg-title {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}

.bg-title h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--color-border);
  opacity: .65;
  user-select: none;
}

.inner-wrapper .container {
  position: relative;
  z-index: 1;
}

/* Reserva espaço quando há marca d'água, evitando colisão com o conteúdo. */
.inner-wrapper .container:has(.bg-title) {
  padding-top: 84px;
}

/* ─────────────────────────────── DETAIL PAGE ───────────────────────────── */
.detail-banner {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 21/7;
  margin-bottom: 40px;
  background: linear-gradient(150deg, var(--color-brand), var(--color-brand-mid));
  display: grid;
  place-items: center;
  font-size: 5rem;
  color: rgba(255, 255, 255, .3);
}

.detail-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-tabs {
  display: inline-flex;
  gap: 6px;
  background: var(--color-bg);
  padding: 6px;
  border-radius: var(--radius-pill);
  margin-bottom: 34px;
}

.tab-btn {
  padding: 11px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 700;
  color: var(--color-muted);
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.tab-btn.active {
  background: var(--color-white);
  color: var(--color-brand);
  box-shadow: var(--shadow-sm);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn .35s ease;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 44px;
}

.included-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}

.included-grid li {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: .9rem;
}

.included-grid .ok {
  color: var(--color-success);
  font-weight: 700;
}

.info-box {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.info-box h4 {
  font-size: .95rem;
  margin-bottom: 14px;
}

.info-box-list {
  font-size: .86rem;
  color: var(--color-muted);
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
  background: linear-gradient(150deg, var(--color-brand-light), color-mix(in srgb, var(--color-brand-mid) 30%, var(--color-white)));
  display: grid;
  place-items: center;
  font-size: 2.6rem;
  color: var(--color-brand-mid);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-item::after {
  content: '\1F50D';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  background: rgba(var(--rgb-brand), .45);
  color: #fff;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

.timeline {
  border-left: 2px dashed var(--color-brand-light);
  padding-left: 24px;
}

.timeline-item {
  position: relative;
  padding: 12px 0 12px 8px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 17px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-action);
  border: 2px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-action);
}

.timeline-day {
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-action);
}

.timeline-desc {
  font-size: .92rem;
  color: var(--color-text);
}

.detail-cta-box {
  background: var(--color-action-bg);
  border: 1.5px solid var(--color-action);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin-top: 48px;
}

.detail-cta-box h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.detail-cta-box p {
  font-size: .92rem;
  color: var(--color-muted);
  margin-bottom: 22px;
  max-width: 52ch;
  margin-inline: auto;
}

/* ─────────────────────────────── ALERTS ────────────────────────────────── */
.alert {
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  border: 1.5px solid;
  font-size: .9rem;
}

.alert-info {
  background: var(--color-brand-light);
  border-color: var(--color-brand-mid);
  color: var(--color-brand);
}

.alert-warning {
  background: var(--color-warning-bg);
  border-color: var(--color-warning);
  color: var(--color-warning-dark);
}

.alert-danger {
  background: #fef2f2;
  border-color: #fca5a5;
  color: var(--color-danger);
}

.alert-success {
  background: #f0fdf4;
  border-color: #86efac;
  color: var(--color-success);
}

/* ── Utilitários de cor (usados no conteúdo de mensagens) ──────────────────
   Acompanham o tema via tokens; os tons de claro/escuro vêm do dark-mode. */
.text-success {
  color: var(--color-success);
}

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

.text-warning {
  color: var(--color-warning-dark);
}

.text-info {
  color: var(--color-brand-mid);
}

.text-muted {
  color: var(--color-muted);
}

/* ── Página de Mensagem (message.phtml) ───────────────────────────────────── */
.message-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.message-alert {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px;
  gap: 14px;
}

.message-alert-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, currentColor 14%, transparent);
  font-size: 2rem;
  line-height: 1;
}

.message-alert-title {
  color: inherit;
  font-family: var(--font-display);
  margin: 0;
}

.message-alert-body {
  color: var(--color-text);
}

.message-alert-body :last-child {
  margin-bottom: 0;
}

.message-box>.btn {
  margin-top: 8px;
}

/* ─────────────────────────────── CONTACT / CONFIRM / DOC / SV ──────────── */
/* Página de confirmação (proceed): 2 colunas que colapsam no mobile. */
/* minmax(0,1fr) (em vez de 1fr) permite que a coluna encolha abaixo do
   min-content — sem isso, um filho rígido (ex.: o reCAPTCHA, ~302px) força a
   coluna/card a ficarem mais largos que a tela, gerando scroll horizontal. */
.proceed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.proceed-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* Página de contato: 2 colunas (info + formulário) que colapsam no mobile.
   minmax(0,1fr) evita que filhos rígidos (ex.: reCAPTCHA) forcem a largura. */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
}

.contact-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px 14px 14px 4px;
  background: var(--color-brand-light);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: var(--color-brand);
  flex-shrink: 0;
}

.contact-card-info h4 {
  font-size: .94rem;
  margin-bottom: 4px;
}

.contact-card-info a {
  font-size: .88rem;
  color: var(--color-muted);
  display: block;
}

.contact-card-info a:hover {
  color: var(--color-action);
}

.confirm-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-md);
}

.confirm-card h4 {
  font-size: 1.15rem;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--color-border);
}

.content-doc {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.content-doc-body {
  padding: 36px;
  max-height: 520px;
  overflow-y: auto;
}

.content-doc-body h3 {
  margin-bottom: 16px;
}

.content-doc-body h4 {
  margin: 22px 0 8px;
}

.content-doc-body p {
  color: var(--color-muted);
  margin-bottom: 12px;
}

.content-doc-body small {
  color: var(--color-muted);
  font-family: var(--font-mono);
}

.content-doc-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
  display: flex;
  justify-content: flex-end;
}

.print-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.sv-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 44px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.sv-barcode {
  font-family: var(--font-mono);
  font-size: 3.4rem;
  color: var(--color-brand-light);
  letter-spacing: .1em;
  margin-bottom: 16px;
}

.sv-box h4 {
  margin-bottom: 8px;
}

/* Estado dinâmico da segunda via (preenchido pelo storage.js) */
#pay-body {
  scroll-margin-top: 120px;
}

.sv-spinner {
  width: 44px;
  height: 44px;
  margin: 6px auto 18px;
  border: 4px solid var(--color-border);
  border-right-color: var(--color-action);
  border-radius: 50%;
  animation: btn-spin .7s linear infinite;
}

.sv-status-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.sv-justify {
  text-align: justify;
}

.sv-hr {
  border: none;
  border-top: 1px dashed var(--color-border);
  margin: 20px 0;
}

#pdf-container {
  margin-top: 8px;
}

#pdf-container iframe {
  display: block;
  width: 100%;
  height: 70vh;
  min-height: 420px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
}

@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }

  .card-form {
    padding: 10px;
  }

  .confirm-card {
    padding: 10px;
  }

  .proceed-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  /* No mobile a ação vem primeiro: o formulário (2º filho) sobe para o topo, evitando rolar os cards de ajuda só para confirmar/recusar. */
  .proceed-grid> :last-child {
    order: -1;
  }

  .proceed-actions {
    flex-direction: column-reverse;
  }

  .proceed-actions .btn {
    width: 100%;
  }

  .captcha-placeholder {
    padding: 10px 7px 10px 7px;
  }

  .sv-box {
    padding: 10px;
  }
}

/* ─────────────────────────────── ERROR PAGES ───────────────────────────── */
.error-page {
  text-align: center;
  padding: 72px 20px;
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 16vw, 10rem);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--color-brand-mid), var(--color-action));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.error-message h2 {
  font-size: 1.7rem;
  margin: 12px 0;
}

.error-message p {
  color: var(--color-muted);
  margin-bottom: 28px;
}

/* ─────────────────────────────── LIGHTBOX ──────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 7000;
  background: rgba(8, 10, 16, .92);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s ease;
}

.lightbox.open {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  width: 70vw;
  height: 70vh;
  max-width: 88vw;
  max-height: 82vh;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-mid));
  display: grid;
  place-items: center;
  font-size: 8rem;
  color: rgba(255, 255, 255, .5);
  box-shadow: 0 32px 80px rgba(0, 0, 0, .6);
  transform: scale(.94);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.lightbox.open .lightbox-content {
  transform: scale(1);
}

.lightbox-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, .25);
}

.lightbox-close {
  top: 28px;
  right: 28px;
}

.lightbox-nav.prev {
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav.next {
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-caption {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .85);
  font-family: var(--font-mono);
  font-size: .85rem;
  background: rgba(255, 255, 255, .08);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
}

/* ─────────────────────────────── DARK TOGGLE (no header) ───────────────── */
.header-dark-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-brand-light);
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 700;
  color: var(--color-brand);
  transition: var(--transition);
  white-space: nowrap;
}

.header-dark-toggle:hover {
  border-color: var(--color-action);
  color: var(--color-action-dark);
}

.header-dark-toggle .dt-icon {
  font-size: 1.05rem;
  line-height: 1;
}

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

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ─────────────────────────────── RESPONSIVE ────────────────────────────── */
@media (max-width: 1024px) {

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

  .step-card:nth-child(2)::after,
  .step-card:nth-child(4)::after {
    display: none;
  }

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

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

@media (max-width: 768px) {

  /* Marcas d'água decorativas atrapalham em telas estreitas */
  .page-ghost,
  .bg-title {
    display: none;
  }

  .inner-wrapper .container:has(.bg-title) {
    padding-top: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-illustration {
    display: none;
  }

  .steps-grid,
  .benefits-grid,
  .travels-grid {
    grid-template-columns: 1fr;
  }

  .step-card::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .header-tag-form,
  .header-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .notice-bar {
    font-size: .78rem;
  }

  /* Campos de TAG empilhados no mobile: vira coluna com input "de verdade" */
  .tag-form,
  .tag-input-row {
    flex-direction: column;
    gap: 12px;
  }

  /* O .tag-form é uma "pílula" horizontal; no mobile desmonta a pílula
     e dá fundo/borda próprios ao input para ele virar um campo visível. */
  .tag-form {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0;
  }

  .tag-form input {
    width: 100%;
    padding: 14px 20px;
    background: rgba(0, 0, 0, .22);
    border: 1.5px solid rgba(255, 255, 255, .28);
    border-radius: var(--radius-pill);
  }

  .tag-form input:focus {
    border-color: var(--color-action);
  }

  .tag-form .btn,
  .tag-input-row .btn {
    width: 100%;
  }

  .hero-stats {
    position: static;
    margin-top: 22px;
  }

  .input-row.cols-2,
  .input-row.cols-3,
  .input-row.cols-cep,
  .input-row.cols-uf {
    grid-template-columns: 1fr;
  }

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

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

  /* Compacta o botão de modo escuro no header (só o ícone) */
  .header-dark-toggle .dt-label {
    display: none;
  }

  .header-dark-toggle {
    padding: 8px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ─────────────────────────────── BACK TO TOP ───────────────────────────── */
/* WhatsApp flutuante — sempre visível, fixado no canto inferior direito.
   O back-to-top é empilhado ACIMA dele (bottom maior) para não sobrepor. */
.whatsapp-float {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  bottom: 24px;
  right: 40px;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgdmlld0JveD0iMCAwIDYwIDYwIj4NCiAgPGcgaWQ9IkdydXBvXzEiIGRhdGEtbmFtZT0iR3J1cG8gMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTgyIC0yOTEpIj4NCiAgICA8Y2lyY2xlIGlkPSJFbGlwc2VfMSIgZGF0YS1uYW1lPSJFbGlwc2UgMSIgY3g9IjMwIiBjeT0iMzAiIHI9IjMwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg4MiAyOTEpIiBmaWxsPSIjMjVkMzY2Ii8+DQogICAgPHBhdGggaWQ9IndoYXRzYXBwLWJyYW5kcyIgZD0iTTI3LjM5MywzNi42ODJBMTUuOTcsMTUuOTcsMCwwLDAsMi4yNjUsNTUuOTQ4TDAsNjQuMjE4LDguNDY1LDYyYTE1LjkxNywxNS45MTcsMCwwLDAsNy42MywxLjk0MkgxNi4xQTE1Ljg2NCwxNS44NjQsMCwwLDAsMjcuMzkzLDM2LjY4MlpNMTYuMSw2MS4yNDhBMTMuMjQ2LDEzLjI0NiwwLDAsMSw5LjM0Miw1OS40bC0uNDgyLS4yODhMMy44NCw2MC40MjhsMS4zMzgtNC45LS4zMTYtLjVhMTMuMywxMy4zLDAsMSwxLDI0LjY2LTcuMDU1QTEzLjQxOCwxMy40MTgsMCwwLDEsMTYuMSw2MS4yNDhabTcuMjc4LTkuOTM5Yy0uNC0uMi0yLjM1OS0xLjE2NS0yLjcyNi0xLjI5NHMtLjYzMy0uMi0uOS4yLTEuMDI4LDEuMjk0LTEuMjY2LDEuNTY4LS40NjcuMy0uODYzLjFjLTIuMzQ0LTEuMTcyLTMuODgzLTIuMDkzLTUuNDMtNC43NDYtLjQxLS43LjQxLS42NTQsMS4xNzItMi4xNzlhLjczOS43MzksMCwwLDAtLjAzNi0uN2MtLjEtLjItLjktMi4xNjUtMS4yMy0yLjk2My0uMzI0LS43NzctLjY1NC0uNjY5LS45LS42ODNzLS41LS4wMTQtLjc2Mi0uMDE0YTEuNDc4LDEuNDc4LDAsMCwwLTEuMDY0LjUsNC40ODMsNC40ODMsMCwwLDAtMS40LDMuMzMsNy44MTUsNy44MTUsMCwwLDAsMS42MjUsNC4xMjhjLjIuMjY2LDIuODEyLDQuMjkzLDYuODE4LDYuMDI3LDIuNTMxLDEuMDkzLDMuNTI0LDEuMTg3LDQuNzksMWE0LjA4Niw0LjA4NiwwLDAsMCwyLjY5LTEuOSwzLjMzNiwzLjMzNiwwLDAsMCwuMjMtMS45QzI0LjA0MSw1MS42LDIzLjc3NSw1MS41LDIzLjM4LDUxLjMwOVoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDk2IDI3MykiIGZpbGw9IiNmZmYiLz4NCiAgPC9nPg0KPC9zdmc+DQo=);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  z-index: 900;
  box-shadow: 0 0 10px 0 rgba(37, 211, 102, .8);
  transition: all .3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, .5);
}

.back-to-top {
  position: fixed;
  bottom: 92px;
  right: 24px;
  z-index: 900;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--color-action), var(--color-action-dark));
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease, box-shadow .3s ease;
}

.back-to-top::before {
  content: "↑";
  font-weight: 700;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(var(--rgb-action), .5);
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 18px;
    right: 18px;

    /*bottom: 75px;*/
    /*right: 8px;*/
    width: 50px;
    height: 50px;
  }

  .back-to-top {
    bottom: 86px;
    right: 18px;
  }
}

/* ─────────────────────────────── TOASTS ────────────────────────────────── */
.toast-host {
  position: fixed;
  top: calc(var(--notice-h, 42px) + var(--header-h, 70px) + 16px);
  right: 16px;
  z-index: 8000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 360px;
  max-width: calc(100vw - 32px);
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-brand-mid);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  color: var(--color-text);
  font-size: .9rem;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity .28s ease, transform .28s ease;
}

.toast.show {
  opacity: 1;
  transform: none;
}

.toast-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-brand-mid);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  margin-top: 1px;
}

.toast-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toast-title {
  font-weight: 700;
  line-height: 1.3;
}

.toast-msg {
  flex: 1;
  line-height: 1.45;
}

.toast-close {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-muted);
  font-size: 1.15rem;
  line-height: 1;
  padding: 0 2px;
}

.toast-close:hover {
  color: var(--color-text);
}

.toast-success {
  border-left-color: var(--color-success);
}

.toast-success .toast-icon {
  background: var(--color-success);
}

.toast-error {
  border-left-color: var(--color-danger);
}

.toast-error .toast-icon {
  background: var(--color-danger);
}

.toast-warning {
  border-left-color: var(--color-warning);
}

.toast-warning .toast-icon {
  background: var(--color-warning);
}

.toast-info {
  border-left-color: var(--color-brand-mid);
}

.toast-info .toast-icon {
  background: var(--color-brand-mid);
}

@media (max-width: 768px) {
  .toast-host {
    left: 16px;
    right: 16px;
    width: auto;
  }
}

/* ─────────────────────────── CONFIRM (modal sim/não) ───────────────────────
   Diálogo de confirmação próprio (substitui o confirm() nativo). Mais simples
   e objetivo que o SweetAlert2, usando os tokens do design system. */
.confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 8500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 10, 16, .55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .22s ease;
}

.confirm-backdrop.show {
  opacity: 1;
}

/* Escopado ao .confirm-backdrop para não colidir com o .confirm-card de
   conteúdo (página proceed), que não deve ter max-width nem texto centralizado. */
.confirm-backdrop .confirm-card {
  width: 100%;
  max-width: 400px;
  padding: 28px 26px 22px;
  text-align: center;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--color-text);
  transform: scale(.92);
  transition: transform .22s cubic-bezier(.34, 1.56, .64, 1);
}

.confirm-backdrop.show .confirm-card {
  transform: scale(1);
}

.confirm-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-brand-light);
  color: var(--color-brand-mid);
  font-size: 1.6rem;
  font-weight: 700;
}

.confirm-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: 8px;
}

.confirm-text {
  font-size: .95rem;
  line-height: 1.55;
  color: var(--color-muted);
  margin-bottom: 22px;
}

.confirm-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.confirm-btn {
  flex: 1 1 0;
  min-width: 130px;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.confirm-btn.confirm-ok {
  background: var(--color-brand-mid);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.confirm-btn.confirm-ok:hover {
  background: var(--color-brand);
}

.confirm-btn.confirm-cancel {
  background: var(--color-white);
  border-color: var(--color-border);
  color: var(--color-text);
}

.confirm-btn.confirm-cancel:hover {
  background: var(--color-bg);
}

.confirm-btn:focus-visible {
  outline: 2px solid var(--color-action);
  outline-offset: 2px;
}

@media (max-width: 420px) {
  .confirm-actions {
    flex-direction: column-reverse;
  }

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

/* ─────────────────────────────── SPINNER DE BOTÃO ──────────────────────────
   Substitui o ícone FontAwesome + spinner do Bootstrap (puro CSS).
   Herda a cor do texto do botão via currentColor. */
.btn-spinner {
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -.15em;
  animation: btn-spin .6s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .btn-spinner {
    animation-duration: 1.4s;
  }
}

/* ─────────────────────────────── reCAPTCHA v2 ──────────────────────────────
   O iframe é renderizado 2px maior que o seu conteúdo visível (304x78 vs
   302x76), deixando uma fresta transparente à direita/abaixo que aparece como
   uma linha clara (sobretudo no modo escuro). Recortamos esses 2px. */
.recaptcha-box {
  width: 302px;
  height: 76px;
  max-width: 100%;
  overflow: hidden;
  border-radius: 3px;
}

.recaptcha-box iframe {
  display: block;
}

/* ─────────────────────────────── VALIDAÇÃO DE FORMULÁRIO ───────────────── */
.contador-caracteres {
  display: block;
  margin-top: 6px;
  text-align: right;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--color-muted);
}

.form-input.form-error {
  border-color: var(--color-danger);
  box-shadow: 0 0 0 4px rgba(192, 57, 43, .12);
}

.form-error-message {
  display: block;
  margin-top: 6px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--color-danger);
}

/* Indicador de força da senha (apenas visual; não bloqueia o envio) */
.pwd-meter {
  margin-top: 8px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity .2s ease, max-height .2s ease;
}

.pwd-meter.is-active {
  opacity: 1;
  max-height: 40px;
}

.pwd-meter-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .12);
  overflow: hidden;
}

.pwd-meter-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--color-danger);
  transition: width .25s ease, background-color .25s ease;
}

.pwd-meter-fill.weak {
  background: var(--color-danger);
}

.pwd-meter-fill.medium {
  background: #e08e0b;
}

.pwd-meter-fill.strong {
  background: var(--color-success);
}

.pwd-meter-label {
  display: block;
  margin-top: 4px;
  font-size: .76rem;
  font-weight: 600;
  color: var(--color-muted, #666);
}

.password {
  padding-right: 40px;
}
.btn-password {
  position: absolute; 
  right: 10px; 
  top: 50%; 
  transform: translateY(-50%); 
  background: none; 
  border: none; 
  cursor: pointer; 
  font-size: 1.2rem; 
  padding: 0;
}