﻿/* CONSOLIDATED CSS â€” PRODUCTION READY */

/* â”€â”€â”€ RESET â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

/*
 * [FIX] CONTENÃ‡ÃƒO GLOBAL DE INTRINSIC SIZING â€” NÃVEL DE LAYOUT ENGINE
 * â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
 * Problema raiz: o valor padrÃ£o de min-width em flex/grid items Ã© `auto`,
 * que resolve para o tamanho intrÃ­nseco do conteÃºdo (texto, imagem, etc.).
 * Isso permite que um filho ultrapasse o container mesmo com overflow-wrap,
 * porque o algoritmo de layout calcula o tamanho ANTES de aplicar quebra.
 *
 * SoluÃ§Ã£o: min-width:0 em * remove o piso `auto` de todos os elementos,
 * devolvendo ao algoritmo flex/grid o controle de contenÃ§Ã£o.
 *
 * SeguranÃ§a:
 * - Em elementos block, min-width:0 jÃ¡ Ã© o valor padrÃ£o â†’ nenhum efeito.
 * - Em replaced elements (input, img) com width:100% explÃ­cito â†’ sem impacto.
 * - Em flex-shrink:0 + tamanho fixo (Ã­cones, dots) â†’ sem impacto.
 * - Pseudo-elementos ::before/::after â†’ sem efeito relevante.
 */
*{min-width:0}

/* â”€â”€â”€ ROOT TOKENS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
:root{
  --header-h:  62px;
  --navy:      #0D0D0D;
  --navy-mid:  #2C2A27;
  --gold:      #9A7B4A;
  --gold-light:#BFA06B;
  --gold-pale: #EDE0C8;
  --cream:     #F4F1EB;
  --cream-dark:#DDD9D0;
  --rule-soft: #EAE6DE;
  --white:     #FFFFFF;
  --paper:     #FFFFFF;
  --text:      #0D0D0D;
  --muted:     #7A7570;
  --error:     #B91C1C;
  --success:   #15803D;
  --border:    #DDD9D0;
  --radius:    3px;
  --shadow:    0 1px 4px rgba(0,0,0,0.05);
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.08);
  --serif:     'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:      'DM Sans', system-ui, sans-serif;
}

/* â”€â”€â”€ BASE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
html{
  width:100%;
  overflow-x:hidden;
  scroll-behavior:smooth;
}
body{
  font-family:var(--sans);
  background:var(--cream);
  color:var(--text);
  min-height:100vh;
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  overflow-wrap:break-word;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding-top:var(--header-h);
  padding-bottom:64px;
}

/* â”€â”€â”€ CONTAINMENT GLOBAL â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
img,video,iframe,svg{max-width:100%;height:auto;display:block}

/*
 * [FIX] CONTENÃ‡ÃƒO DE FILHOS FLEX CRÃTICOS â€” NÃVEL DE SELETOR EXPLÃCITO
 * â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
 * Complemento ao * { min-width:0 } global: garante max-width:100% nos
 * filhos diretos de containers flex que recebem conteÃºdo dinÃ¢mico.
 * Isso fecha o vetor onde o filho tem tamanho intrÃ­nseco maior que o pai
 * (ex.: botÃ£o com texto longo, valor PIX, nome de arquivo).
 *
 * Regra: min-width:0 elimina o piso; max-width:100% impÃµe o teto.
 * Juntos formam o "bracket" de contenÃ§Ã£o definitivo.
 */
.header-ctas > *,
.pix-row > *,
.success-step > *,
.btn-nav > *,
.radio-opt > *{
  min-width:0;
  max-width:100%;
}

/*
 * ExceÃ§Ã£o intencional: elementos com flex-shrink:0 + tamanho fixo
 * (Ã­cones, dots, checkboxes) nÃ£o devem ser comprimidos.
 * O max-width:100% Ã© inÃ³cuo neles pois o tamanho fixo Ã© menor que o pai.
 * Nenhum override necessÃ¡rio.
 */

/* â”€â”€â”€ DOUBLE RULE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.header-rule{height:3px;background:var(--navy)}
.header-rule-gold{height:1px;background:var(--gold-light)}

/* â”€â”€â”€ SITE HEADER FIXO â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.site-header{
  position:fixed;
  top:0;left:0;right:0;
  z-index:1000;
  background:var(--navy);
  border-bottom:1px solid rgba(191,160,107,0.18);
  max-width:100%; /* [FIX] 100vw removido: inclui scrollbar em desktop (atÃ© 17px de overflow) */
}
.site-header-inner{
  max-width:1200px;
  margin:0 auto;
  padding:0 28px;
  height:var(--header-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-width:0;
}

/* brand: shrink permitido; texto trunca com ellipsis */
.header-brand{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 1 auto;
  min-width:0;
}
.header-brand-text{
  min-width:0;
  overflow:hidden;
}
/* nowrap vÃ¡lido: contenÃ§Ã£o explÃ­cita via overflow:hidden no pai */
.header-brand-text h2{
  font-family:var(--serif);
  font-size:15px;
  font-weight:600;
  color:#fff;
  letter-spacing:0.06em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.logo-mark{
  width:30px;height:30px;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(191,160,107,0.22);
  border-radius:2px;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.logo-bars{
  display:flex;
  align-items:flex-end;
  gap:3px;
  height:15px;
}
.logo-bars span{
  display:block;
  background:var(--gold-light);
  border-radius:1px;
  width:3px;
  max-width:none; /* [OK] tamanho fixo decorativo â€” nÃ£o Ã© flex child de conteÃºdo */
  height:auto;
}
.logo-bars span:nth-child(1){height:7px}
.logo-bars span:nth-child(2){height:11px}
.logo-bars span:nth-child(3){height:15px}

.header-event{
  display:flex;
  align-items:center;
  gap:10px;
  flex:1 1 auto;
  flex-wrap:wrap;
  min-width:0;
  font-size:11px;
  color:rgba(255,255,255,0.42);
  letter-spacing:0.04em;
}
.header-event strong{color:rgba(255,255,255,0.72);font-weight:500}
.header-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex:1 1 auto;
  min-width:0;
}
.header-nav-link{
  font-size:11px;
  font-weight:500;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.66);
  text-decoration:none;
  transition:color 0.2s;
  white-space:nowrap;
}
.header-nav-link:hover{color:rgba(255,255,255,0.92)}
.h-sep{
  display:inline-block;
  width:1px;height:12px;
  background:rgba(255,255,255,0.14);
  vertical-align:middle;
}

/* ctas: shrink e wrap permitidos; filhos contidos via regra global acima */
.header-ctas{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 1 auto;
  flex-wrap:wrap;
  min-width:0;
}

/* â”€â”€â”€ BUTTONS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  border-radius:var(--radius);
  font-family:var(--sans);
  font-weight:500;
  text-decoration:none;
  transition:all 0.2s;
  cursor:pointer;
  min-height:44px;
  max-width:100%;
  min-width:0;
  /*
   * [FIX] BOTÃ•ES â€” contenÃ§Ã£o de texto dinÃ¢mico
   * overflow-wrap + word-break: impede que label longa expanda o botÃ£o
   * alÃ©m do container, mesmo sem white-space:normal.
   * white-space:normal Ã© aplicado no breakpoint mobile (<=768px).
   */
  overflow-wrap:break-word;
  word-break:break-word;
}
.btn-sm{
  padding:7px 14px;
  font-size:11px;
  letter-spacing:0.07em;
  min-height:36px;
}
.btn-outline-inv{
  background:transparent;
  border:1px solid rgba(191,160,107,0.38);
  color:var(--gold-light);
}
.btn-outline-inv:hover{
  background:rgba(191,160,107,0.1);
  border-color:var(--gold-light);
}
.btn-outline{
  background:transparent;
  border:1px solid var(--border);
  color:var(--navy);
}
.btn-outline:hover{
  border-color:var(--gold);
  color:var(--gold);
}
.btn-gold{
  background:var(--gold);
  border:1px solid var(--gold);
  color:var(--white);
}
.btn-gold:hover{
  background:var(--gold-light);
  border-color:var(--gold-light);
}

/* â”€â”€â”€ DARK HERO â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.irfe-hero{
  width:100%;
  align-self:stretch;
  background:var(--navy);
  position:relative;
  overflow:hidden;
}
.irfe-hero::before{
  content:'';
  position:absolute;
  inset:0; /* [OK] absoluto dentro de overflow:hidden â€” contido */
  background:repeating-linear-gradient(
    -45deg,
    transparent,transparent 60px,
    rgba(191,160,107,0.02) 60px,
    rgba(191,160,107,0.02) 61px
  );
  pointer-events:none;
}
.irfe-hero-inner{
  max-width:600px;
  margin:0 auto;
  padding:0 24px 2rem;
  position:relative;
  z-index:1;
}

/* â”€â”€â”€ EVENT TITLE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.irfe-event-title{padding-top:1.25rem;margin-top:1rem}
.irfe-eyebrow{
  display:block;
  font-size:10px;
  font-weight:500;
  letter-spacing:0.20em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:10px;
}
.irfe-event-h2{
  font-family:var(--serif);
  font-size:clamp(1.4rem,3.2vw,2rem); /* [OK] vw nao excede 2rem â€” sem overflow */
  font-weight:600;
  color:#FFFFFF;
  line-height:1.15;
  letter-spacing:0.01em;
  overflow-wrap:break-word;
  max-width:100%;
}
.irfe-event-h2 em{font-style:italic;color:var(--gold-light)}
.irfe-event-meta{
  margin-top:12px;
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  min-width:0;
}
.irfe-event-meta span{
  font-size:10.5px;
  color:rgba(255,255,255,0.30);
  letter-spacing:0.04em;
  min-width:0;
  max-width:100%; /* [FIX] span com texto dinamico de data/local */
}
.irfe-event-meta span strong{color:rgba(255,255,255,0.62);font-weight:500}
.irfe-h-sep{
  display:inline-block;
  width:1px;height:12px;
  background:rgba(255,255,255,0.10);
  vertical-align:middle;
}

/* â”€â”€â”€ PROGRESS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.progress-wrap{
  width:100%;
  max-width:600px;
  padding:28px 24px 0;
}
.progress-steps{
  display:flex;
  align-items:center;
  position:relative;
  min-width:0;
}
.progress-line{
  flex:1;height:1px;
  min-width:0;
  background:var(--border);
  transition:background 0.4s;
}
.progress-line.done{background:var(--gold)}
.step-dot{
  width:32px;height:32px;
  border-radius:50%;
  border:1.5px solid var(--border);
  background:var(--white);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
  transition:all 0.3s;
  position:relative;
}
.step-dot.active{border-color:var(--gold);background:var(--gold)}
.step-dot.done{border-color:var(--gold);background:var(--gold)}
.step-dot span{
  font-size:11px;font-weight:500;
  color:var(--muted);
  transition:color 0.3s;
}
.step-dot.active span,.step-dot.done span{color:var(--white)}
.step-dot.done span{display:none}
.step-dot.done::after{content:'\2713';font-size:13px;color:var(--white);font-weight:500}
.step-labels{
  display:flex;
  justify-content:space-between;
  margin-top:8px;
  min-width:0;
}
.step-label{
  font-size:10px;
  font-weight:400;
  letter-spacing:0.08em;
  color:var(--muted);
  text-transform:uppercase;
  text-align:center;
  width:32px;
  flex:0 0 32px;
  white-space:nowrap;
  transition:color 0.3s;
}
.step-label.active{color:var(--gold);font-weight:500}
.step-label.done{color:var(--navy)}
.step-label:nth-child(2){transform:translateX(-8px)}
.step-label:nth-child(4){transform:translateX(-15px)}

/* â”€â”€â”€ CARD / STEP PANEL â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.card{
  width:100%;
  max-width:600px;
  background:var(--white);
  box-shadow:var(--shadow);
  border-radius:var(--radius);
  margin-top:20px;
  overflow:hidden;
  min-width:0;
}
.step-panel{
  display:none;
  padding:36px 36px 32px;
  animation:fadeIn 0.3s ease;
}
.step-panel.active{display:block}
@keyframes fadeIn{
  from{opacity:0;transform:translateY(6px)}
  to{opacity:1;transform:translateY(0)}
}

/* â”€â”€â”€ STEP HEADER â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.step-header{margin-bottom:28px}
.step-num{
  font-size:10px;
  letter-spacing:0.25em;
  text-transform:uppercase;
  color:var(--gold);
  font-weight:500;
  margin-bottom:6px;
}
.step-title{
  font-family:var(--serif);
  font-size:24px;
  font-weight:600;
  color:var(--navy);
  line-height:1.2;
  overflow-wrap:break-word;
  max-width:100%;
}
.step-sub{
  font-size:13px;
  color:var(--muted);
  margin-top:6px;
  font-weight:300;
  line-height:1.5;
  overflow-wrap:break-word;
  max-width:100%;
}

/* â”€â”€â”€ FIELDS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.field{margin-bottom:20px;position:relative}
.field label{
  display:block;
  font-size:11px;
  font-weight:500;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--navy);
  margin-bottom:8px;
}
.field label .req{color:var(--gold);margin-left:2px}
.field input,
.field select,
.field textarea{
  width:100%;
  padding:12px 14px;
  border:1.5px solid var(--border);
  border-radius:var(--radius);
  font-family:var(--sans);
  font-size:14px;
  font-weight:300;
  color:var(--text);
  background:var(--white);
  outline:none;
  transition:border-color 0.2s,box-shadow 0.2s;
  appearance:none;
  -webkit-appearance:none;
}
.field select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
  padding-right:36px;
  cursor:pointer;
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color:var(--navy);
  box-shadow:0 0 0 3px rgba(13,27,42,0.06);
}
.field input.error,
.field select.error{border-color:var(--error)}
.field .err-msg{
  font-size:11px;
  color:var(--error);
  margin-top:5px;
  display:none;
}
.field.has-error .err-msg{display:block}

.row-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}

.other-wrap{display:none;margin-top:10px}
.other-wrap.visible{display:block}

/* â”€â”€â”€ RADIO â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.radio-group{display:flex;flex-direction:column;gap:10px}
.radio-opt{
  display:flex;align-items:center;gap:10px;
  padding:11px 14px;
  border:1.5px solid var(--border);
  border-radius:var(--radius);
  cursor:pointer;
  transition:border-color 0.2s,background 0.2s;
  min-height:44px;
  min-width:0;
}
.radio-opt:hover{border-color:var(--navy-mid);background:var(--cream)}
.radio-opt.selected{border-color:var(--gold);background:rgba(196,145,58,0.05)}
.radio-opt input[type=radio]{display:none}
.radio-dot{
  width:16px;height:16px;
  border-radius:50%;
  border:1.5px solid var(--border);
  flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  transition:border-color 0.2s;
}
.radio-opt.selected .radio-dot{border-color:var(--gold)}
.radio-dot::after{
  content:'';width:8px;height:8px;
  border-radius:50%;background:var(--gold);
  opacity:0;transition:opacity 0.2s;
}
.radio-opt.selected .radio-dot::after{opacity:1}
.radio-label{
  font-size:13px;font-weight:300;color:var(--text);
  min-width:0;
  max-width:100%;
  overflow-wrap:break-word;
  word-break:break-word;
}

/* â”€â”€â”€ PIX BOX â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.pix-box{
  background:var(--cream);
  border:1.5px solid var(--cream-dark);
  border-radius:var(--radius);
  padding:24px;
  margin-bottom:24px;
}
.pix-header{
  display:flex;align-items:center;gap:10px;
  margin-bottom:16px;
  min-width:0;
}
.pix-icon{
  width:36px;height:36px;
  background:var(--navy);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.pix-icon svg{width:18px;height:18px;max-width:none}
.pix-title{
  font-family:var(--serif);
  font-size:17px;font-weight:600;
  color:var(--navy);
  min-width:0;
  max-width:100%;
  overflow-wrap:break-word;
}
.pix-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 0;
  border-bottom:1px solid var(--cream-dark);
  gap:12px;
  min-width:0;
}
.pix-row:last-child{border-bottom:none}
.pix-row-label{
  font-size:11px;
  font-weight:500;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--muted);
  flex-shrink:0;
}
.pix-row-value{
  font-size:14px;
  font-weight:500;
  color:var(--navy);
  text-align:right;
  flex:1;
  min-width:0;
  max-width:100%;
  overflow-wrap:break-word;
  word-break:break-word;
}
.pix-copy-btn{
  background:none;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:4px 10px;
  font-size:11px;
  font-family:var(--sans);
  font-weight:500;
  color:var(--navy);
  cursor:pointer;
  transition:all 0.2s;
  min-height:32px;
  flex-shrink:0;
  max-width:100%;
}
.pix-copy-btn:hover{background:var(--navy);color:var(--white);border-color:var(--navy)}
.pix-copy-btn.copied{background:var(--success);color:var(--white);border-color:var(--success)}
.pix-copy-btn:disabled{opacity:0.45;cursor:not-allowed}
.pix-copy-btn:disabled:hover{background:none;color:var(--navy);border-color:var(--border)}
.pix-qr{
  margin:16px auto 0;
  width:140px;height:140px;
  background:var(--white);
  border:1.5px solid var(--cream-dark);
  border-radius:var(--radius);
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  gap:8px;
}
.pix-qr-placeholder{
  font-size:10px;
  color:var(--muted);
  text-align:center;
  letter-spacing:0.06em;
  line-height:1.5;
}
.pix-note{
  font-size:12px;
  color:var(--muted);
  margin-top:14px;
  line-height:1.6;
  font-style:italic;
}


/* â”€â”€â”€ CONFIRM CHECK â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.confirm-check{
  display:flex;gap:10px;align-items:flex-start;
  padding:10px 12px;
  background:rgba(244,241,235,0.55);
  border-radius:var(--radius);
  border:1px solid var(--cream-dark);
  cursor:pointer;
  margin-bottom:14px;
  min-width:0;
}
.confirm-check input[type=checkbox]{
  width:16px;height:16px;
  flex-shrink:0;margin-top:2px;
  accent-color:var(--navy);
  cursor:pointer;
}
.confirm-check-text{
  font-size:11.5px;
  font-weight:400;
  color:var(--muted);
  line-height:1.55;
  min-width:0;
  max-width:100%;
  overflow-wrap:break-word;
  word-break:break-word;
}
#confirm-err{
  width:max-content;
  max-width:100%;
  margin:0 auto 16px;
  padding:7px 12px;
  border:1px solid rgba(185,28,28,0.22);
  border-radius:var(--radius);
  background:rgba(185,28,28,0.04);
  color:var(--error);
  font-size:10.5px;
  font-weight:500;
  letter-spacing:0.06em;
  line-height:1.4;
  text-align:center;
}

/* â”€â”€â”€ NAV BUTTONS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn-nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 36px 28px;
  border-top:1px solid var(--cream-dark);
  gap:12px;
  min-width:0;
}
.btn-back{
  background:none;
  border:none;
  font-family:var(--sans);
  font-size:13px;
  font-weight:400;
  color:var(--muted);
  cursor:pointer;
  display:flex;align-items:center;gap:6px;
  padding:8px 0;
  transition:color 0.2s;
  min-height:44px;
  min-width:0;
  max-width:100%;
  flex-shrink:1;
}
.btn-back:hover{color:var(--navy)}
.btn-back svg{width:14px;height:14px;max-width:none;flex-shrink:0}
.btn-next{
  background:var(--navy);
  color:var(--white);
  border:none;
  padding:13px 32px;
  border-radius:var(--radius);
  font-family:var(--sans);
  font-size:13px;
  font-weight:500;
  letter-spacing:0.08em;
  text-transform:uppercase;
  cursor:pointer;
  display:flex;align-items:center;justify-content:center;gap:8px;
  transition:background 0.2s,transform 0.15s;
  min-height:44px;
  min-width:0;
  max-width:100%;
  flex-shrink:1;
  overflow-wrap:break-word;
  word-break:break-word;
}
.btn-next:hover{background:var(--navy-mid);transform:translateY(-1px)}
.btn-next:active{transform:translateY(0)}
.btn-next:disabled{opacity:0.5;cursor:not-allowed;transform:none}
.btn-next svg{width:14px;height:14px;max-width:none;flex-shrink:0}
.btn-next.gold{background:var(--gold)}
.btn-next.gold:hover{background:var(--gold-light)}

/* â”€â”€â”€ SUCCESS SCREEN â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.success-screen{
  display:none;
  width:100%;max-width:600px;
  background:var(--white);
  box-shadow:var(--shadow);
  border-radius:var(--radius);
  margin-top:20px;
  padding:52px 36px;
  text-align:center;
  animation:fadeIn 0.4s ease;
}
.success-screen.visible{display:block}
.success-icon{
  width:64px;height:64px;
  background:var(--navy);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 24px;
  flex-shrink:0;
}
.success-icon svg{width:28px;height:28px;max-width:none}
.success-title{
  font-family:var(--serif);
  font-size:26px;font-weight:600;
  color:var(--navy);
  margin-bottom:12px;
  overflow-wrap:break-word;
  max-width:100%;
}
.success-sub{
  font-size:14px;font-weight:300;
  color:var(--muted);
  line-height:1.7;
  max-width:380px;margin:0 auto;
  overflow-wrap:break-word;
}
.success-divider{
  width:40px;height:1px;
  background:var(--gold);
  margin:24px auto;
}
.success-steps{
  text-align:left;
  background:var(--cream);
  border-radius:var(--radius);
  padding:20px 24px;
  margin-top:20px;
}
.success-steps-title{
  font-size:10px;
  letter-spacing:0.2em;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:500;
  margin-bottom:14px;
}
.success-step{
  display:flex;gap:12px;align-items:flex-start;
  margin-bottom:12px;
  min-width:0;
}
.success-step:last-child{margin-bottom:0}
.success-step-num{
  width:20px;height:20px;
  background:var(--navy);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.success-step-num span{font-size:10px;font-weight:500;color:var(--white)}
.success-step-text{
  font-size:13px;font-weight:300;color:var(--text);line-height:1.5;
  min-width:0;
  max-width:100%;
  overflow-wrap:break-word;
}
.success-actions{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-top:20px;
}
.success-actions .btn{
  width:100%;
  max-width:280px;
  padding-left:18px;
  padding-right:18px;
  text-align:center;
}
.success-actions .btn-outline{order:1}
.success-actions .btn-gold{order:2}

/* â”€â”€â”€ SPINNER â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.spinner{
  display:none;
  width:18px;height:18px;
  border:2px solid rgba(255,255,255,0.3);
  border-top-color:var(--white);
  border-radius:50%;
  animation:spin 0.7s linear infinite;
  flex-shrink:0;
}
.spinner.visible{display:block}
@keyframes spin{to{transform:rotate(360deg)}}

/* â”€â”€â”€ MISC â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.time-badge{
  display:inline-flex;align-items:center;gap:6px;
  background:rgba(196,145,58,0.12);
  border:1px solid rgba(196,145,58,0.3);
  border-radius:100px;
  padding:5px 12px;
  font-size:11px;
  letter-spacing:0.08em;
  color:var(--gold);
  font-weight:500;
  margin-bottom:20px;
  max-width:100%;
}
.lgpd-note{
  font-size:11px;color:var(--muted);
  text-align:center;
  max-width:400px;margin:0 auto;
  line-height:1.6;
  padding:0 36px;
  overflow-wrap:break-word;
}
.lgpd-note a{color:var(--navy);text-decoration:underline}

/* ===== FOOTER ===== */
footer{
  width: min(980px, calc(100% - 40px));
  margin: 20px auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  text-align: center;
}

.footer-inner{
  display: block;
  text-align: center;
}

.footer-brand{
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.05em;
}

.footer-brand span{
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.07em;
  margin-top: 2px;
}

.footer-copy{
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}

.footer-copy a{
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* â”€â”€â”€ MOBILE <=768px â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media(max-width:768px){
  :root{--header-h:56px}

  .site-header-inner{
    padding:0 16px;
    gap:12px;
  }
  .header-nav{display:none}
  .header-ctas{gap:8px}

  .btn,.btn-inscricao,.btn-agendar,.btn-pdf{white-space:normal}

  .irfe-hero-inner{padding:0 16px 1.5rem}

  .progress-wrap{padding:20px 16px 0}

  .card{margin-top:16px}

  .step-panel{padding:24px 16px 20px}

  .step-title{font-size:20px}

  .row-2{grid-template-columns:1fr}

  .field input,
  .field select,
  .field textarea{font-size:16px}

  .btn-nav{
    flex-direction:column-reverse;
    gap:12px;
    padding:16px 16px 24px;
  }
  .btn-next{
    width:100%;
    justify-content:center;
  }
  .btn-back{
    width:100%;
    justify-content:center;
  }

  .pix-box{padding:16px}
  .pix-row{flex-wrap:wrap}
  .pix-row-value{text-align:left;flex-basis:100%}

  .success-screen{padding:32px 16px}
  .success-sub{max-width:100%}
  .success-steps{padding:16px}
  .success-actions{
    flex-direction:column;
    align-items:center;
  }

  .lgpd-note{padding:0 16px}
}
