﻿/* ============================================================
   IRFE / Landing / Formulário — style.css
   v3.0 — Consolidated + Mobile + Hardened
   ============================================================ */

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

/* ===== TOKENS ===== */
:root{
  --ink:       #0D0D0D;
  --ink-mid:   #2C2A27;
  --bone:      #F4F1EB;
  --paper:     #FFFFFF;
  --rule:      #DDD9D0;
  --rule-soft: #EAE6DE;
  --muted:     #7A7570;
  --gold:      #9A7B4A;
  --gold-light:#BFA06B;
  --gold-pale: #EDE0C8;
  --radius:    3px;
  --radius-lg: 5px;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'DM Sans', system-ui, sans-serif;
  --header-h:  62px;
}

/* ===== BASE ===== */
html  { overflow-x: clip;   }
body  { overflow-x: hidden; }
body{
  font-family: var(--sans);
  background: var(--bone);
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}

/* ===== MEDIA CONTAINMENT ===== */
img,
video,
iframe {
  max-width: 100%;
  height: auto;
}
svg {
  max-width: 100%;
}

/* ===== LAYOUT ===== */
.page{
  max-width: 760px;
  margin: 0 auto;
  padding: 2.25rem 1.25rem 3rem;
}

/* ===== DARK HERO ===== */
.irfe-hero{
  background: var(--ink);
  border-bottom: 1px solid rgba(221,217,208,0.08);
  position: relative;
  overflow: hidden;
}
.irfe-hero::before{
  content:'';
  position:absolute;
  inset:0;
  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: 760px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 2rem;
  position: relative;
  z-index: 1;
}
.irfe-hero header{
  border-bottom-color: rgba(221,217,208,0.1);
  margin-bottom: 0;
}
.irfe-hero .hdr h1{ color: var(--paper); }
.irfe-hero .hdr p{ color: rgba(244,241,235,0.40); }
.irfe-hero .chip{ border-color: var(--gold); color: var(--gold); }
.irfe-hero .powered{
  background: rgba(255,255,255,0.04);
  border-color: rgba(221,217,208,0.12);
  color: rgba(244,241,235,0.32);
}
.irfe-event-title{
  padding-top: 1.375rem;
  margin-top: 1.125rem;
}
.irfe-eyebrow{
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.irfe-event-h2{
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 600;
  color: var(--paper);
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.irfe-event-h2 em{ font-style: italic; color: var(--gold-light); }
.irfe-event-meta{
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.irfe-event-meta span{
  font-size: 11px;
  color: rgba(255,255,255,0.30);
  letter-spacing: 0.05em;
}
.irfe-event-meta span strong{ color: rgba(255,255,255,0.62); font-weight: 500; }
.irfe-h-sep{
  display: inline-block;
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.1);
  vertical-align: middle;
}

/* ===== FIXED SITE HEADER ===== */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid rgba(221,217,208,0.10);
}
.site-header-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}
.header-brand{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark{
  width: 34px;
  height: 34px;
  background: rgba(191,160,107,0.12);
  border: 1px solid rgba(191,160,107,0.25);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-bars{
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}
.logo-bars span{
  display: block;
  width: 3px;
  border-radius: 1px;
  background: var(--gold-light);
}
.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-brand-name{
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--paper);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.header-nav{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.header-nav-link{
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244,241,235,0.66);
  text-decoration: none;
  transition: color .15s;
  white-space: nowrap;
}
.header-nav-link:hover{ color: rgba(244,241,235,0.92); }
.h-sep{
  display: inline-block;
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,0.12);
  vertical-align: middle;
  flex-shrink: 0;
}
.header-ctas{
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.btn{
  display: inline-block;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .15s, background .15s;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn-sm{
  font-size: 11px;
  padding: 7px 16px;
}
.btn-gold{
  background: var(--gold);
  color: #fff;
  border: 1px solid var(--gold);
}
.btn-gold:hover{ opacity: 0.88; }
.btn-outline-inv{
  background: transparent;
  color: rgba(244,241,235,0.75);
  border: 1px solid rgba(221,217,208,0.22);
}
.btn-outline-inv:hover{
  background: rgba(255,255,255,0.06);
  color: var(--paper);
}

/* ===== SECTION LABELS ===== */
.section-lbl{
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

/* ===== FORM CARD ===== */
.form-card{
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  padding: 2rem 1.875rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.grid2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ===== FIELDS ===== */
.field{margin-bottom: 1.375rem}
.field:last-child{margin-bottom: 0}
.field label{
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mid);
  margin-bottom: 3px;
  letter-spacing: 0.01em;
}
.help-tip{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:16px;
  height:16px;
  margin-left:5px;
  border:1px solid var(--rule);
  border-radius:50%;
  color:var(--gold);
  font-size:10px;
  line-height:1;
  cursor:help;
  vertical-align:middle;
}
.help-tip::after{
  content:attr(aria-label);
  position:absolute;
  left:50%;
  bottom:calc(100% + 8px);
  z-index:5;
  width:min(280px, calc(100vw - 48px));
  padding:10px 12px;
  background:var(--ink);
  color:#fff;
  border-radius:4px;
  font-size:11px;
  font-weight:400;
  line-height:1.45;
  letter-spacing:0.01em;
  text-transform:none;
  transform:translateX(-50%);
  opacity:0;
  pointer-events:none;
  transition:opacity .16s ease;
}
.help-tip:hover::after,
.help-tip:focus::after{
  opacity:1;
}
.help-tip.is-active::after{
  opacity:1;
}
.field .hint{
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 7px;
  line-height: 1.45;
}
.field input{
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font-size: 14.5px;
  font-family: var(--sans);
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  background: var(--bone);
  color: var(--ink);
}
.field input:focus{
  border-color: var(--ink-mid);
  background: var(--paper);
  box-shadow: 0 0 0 2px rgba(13,13,13,0.06);
}
.field select{
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font-size: 14.5px;
  font-family: var(--sans);
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  background: var(--bone);
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
  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='%237A7570' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  cursor: pointer;
}
.field select:focus{
  border-color: var(--ink-mid);
  background-color: var(--paper);
  box-shadow: 0 0 0 2px rgba(13,13,13,0.06);
}

/* ===== LGPD CONSENT ===== */
.lgpd-field{
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule-soft);
}
.lgpd-wrap{
  display: flex;
  gap: 11px;
  align-items: flex-start;
  cursor: pointer;
}
.lgpd-wrap input[type="checkbox"]{
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 2px;
  accent-color: var(--ink);
  cursor: pointer;
}
.lgpd-wrap span{
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}
.lgpd-wrap span strong{
  color: var(--ink-mid);
  font-weight: 500;
}

/* ===== FIELD ERROR STATE ===== */
.field-err input,
.field-err select{
  border-color: #dc2626 !important;
  background: #fff5f5 !important;
}
.lgpd-field.field-err .lgpd-wrap span{
  color: #dc2626;
}
.err-msg{
  display: none;
  font-size: 12px;
  color: #dc2626;
  margin-top: 10px;
  padding: 8px 12px;
  background: #fff5f5;
  border: 1px solid #fca5a5;
  border-radius: var(--radius);
}
.err-msg.visible{display: block}

/* ===== IDENT BLOCK ===== */
.ident-block{
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--gold);
  padding: 1.375rem 1.625rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.ident-block .section-lbl{margin-bottom: 12px}
.ident-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-auto-flow: column;
  gap: 6px 28px;
}
.ident-row{
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.ident-row.print-only{
  display:none;
}
.ident-lbl{
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ident-val{
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.field .unit{
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
  letter-spacing: 0.02em;
}

/* ===== CALCULATE BUTTON ===== */
.btn-calc{
  width: 100%;
  padding: 14px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s;
  margin-top: 0.25rem;
}
.btn-calc:hover{background: var(--ink-mid)}

/* ===== DIAGNOSIS LOADING ===== */
.diagnosis-loading{
  display:none;
  margin-top:1.75rem;
}
.diagnosis-loading.visible{
  display:block;
}
.loading-card{
  background:var(--paper);
  border:1px solid var(--rule);
  border-top:3px solid var(--gold);
  border-radius:var(--radius-lg);
  padding:1.5rem 1.4rem;
  box-shadow:0 8px 22px rgba(13,13,13,0.05);
}
.loading-kicker{
  font-family:var(--sans);
  font-size:10.5px;
  font-weight:700;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:1rem;
}
.loading-steps{
  display:grid;
  gap:8px;
  font-family:var(--sans);
  font-size:13px;
  color:var(--ink);
}
.loading-steps span{
  opacity:.42;
  animation:loadingStep 5s ease-in-out infinite;
}
.loading-steps span:nth-child(2){animation-delay:1.45s}
.loading-steps span:nth-child(3){animation-delay:2.9s}
.loading-bar{
  height:3px;
  background:#E7E1D8;
  border-radius:999px;
  overflow:hidden;
  margin-top:1.15rem;
}
.loading-bar span{
  display:block;
  height:100%;
  width:38%;
  background:var(--gold);
  border-radius:inherit;
  animation:loadingBar 5s ease-in-out infinite;
}
@keyframes loadingStep{
  0%,100%{opacity:.42}
  18%,42%{opacity:1}
}
@keyframes loadingBar{
  0%{transform:translateX(-105%)}
  100%{transform:translateX(275%)}
}

/* ===== RESULTS ===== */
.results{display:none;margin-top:1.75rem}

/* ===== GAUGE ===== */
.gauge-section{
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ink);
  padding: 2.5rem 2.25rem 2rem;
  text-align: center;
  margin-bottom: 1.125rem;
  box-shadow: 0 8px 22px rgba(13,13,13,0.06);
}
.gauge-section svg{
  max-width: 320px;
  display: block;
  margin: 0 auto -6px;
}
.score-num{
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  margin-top: -8px;
  letter-spacing: 0;
}
.score-lbl{
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  max-width: 100%;
  overflow-wrap: break-word;
}
.badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  padding: 7px 20px;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  margin-top: 14px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.cc-chip2{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 400;
  margin-top: 12px;
  letter-spacing: 0.02em;
}

/* ===== SUBCARDS ===== */
.subcards{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px;
  margin: 1.125rem 0;
}
.sc{
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 14px 15px;
}
.sc .sc-lbl{
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.sc .sc-num{
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
}
.sc .sc-note{
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.sc-bar-bg{
  height: 4px;
  background: var(--rule-soft);
  border-radius: 2px;
  margin-top: 10px;
  overflow: hidden;
}
.sc-bar{
  height: 4px;
  border-radius: 2px;
}

/* ===== INTERPRETATION ===== */
.interp{
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--ink);
  padding: 1.375rem 1.625rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.interp p{
  font-family: var(--serif);
  font-size: 15.5px;
  color: var(--ink-mid);
  line-height: 1.75;
}

/* ===== INSCRICAO BUTTON ===== */
.btn-inscricao{
  display: inline-block;
  padding: 11px 28px;
  background: var(--gold);
  color: #fff;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity .15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-inscricao:hover{ opacity: 0.88; }

/* ===== CTA BOX ===== */
.cta-box{
  border-radius: var(--radius-lg);
  padding: 2rem 1.875rem;
  text-align: center;
  color: #fff;
  margin-bottom: 1rem;
}
.cta-box h3{
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.cta-box p{
  font-size: 13.5px;
  opacity: 0.85;
  margin-bottom: 16px;
  line-height: 1.55;
}
.cta-btns{
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.cta-btns > *{
  width: min(100%, 360px);
}
.btn-agendar{
  display: inline-block;
  padding: 12px 24px;
  background: rgba(255,255,255,0.10);
  color: #fff;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.35);
  cursor: pointer;
  transition: opacity .15s;
  text-decoration: none;
}
.btn-agendar:hover{opacity:0.88}
.btn-pdf{
  padding: 12px 24px;
  background: #fff;
  border: 1px solid #fff;
  color: var(--ink);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s;
}
.btn-pdf:hover{background:rgba(255,255,255,0.88)}

/* ===== DIVIDER ===== */
.divider{
  border: none;
  border-top: 1px solid var(--rule);
  margin: 2rem 0 1.5rem;
}

/* ===== METHODOLOGY ===== */
.methodology-block{
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--paper);
  margin-bottom: 2rem;
}
.methodology-block .section-lbl{margin-bottom: 10px}
.methodology-block p{
  font-size: 12px;
  color: var(--muted);
  line-height: 1.72;
}

/* ===== FOOTER ===== */
footer{
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  margin-top: 0;
}
.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.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{
  font-size: 11.5px;
  color: var(--muted);
  text-align: right;
  line-height: 1.7;
}
.footer-copy a{
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== PRINT ===== */
@media print{
  body{background:#fff;font-size:12px;padding-top:0;color:#111}
  .site-header,
  .irfe-hero,
  .form-card,
  .diagnosis-loading,
  .btn-calc,
  .cta-box,
  .divider,
  .methodology-block{display:none!important}
  .page{padding:0;max-width:100%}
  .results{display:block!important;margin-top:0}
  .results::before{
    content:'Diagnóstico Estratégico IRFE · Ecossistema Prime Council';
    display:block;
    font-family:var(--serif);
    font-size:20px;
    font-weight:600;
    letter-spacing:0.04em;
    color:#111;
    margin-bottom:10px;
    padding-bottom:8px;
    border-bottom:1px solid #ddd;
    break-after:avoid;
    page-break-after:avoid;
  }
  .results::after{
    content:'Metodologia IRFE: modelo multicritério de leitura executiva, baseado em ciclo de caixa, margem operacional, inadimplência e alavancagem. O objetivo é identificar vetores de risco financeiro-estrutural e apoiar a priorização de decisões.';
    display:block;
    border:1px solid #ddd;
    border-left:2px solid #9A7B4A;
    padding:12px 14px;
    margin:14px 0 0;
    font-size:11.5px;
    line-height:1.55;
    color:#555;
    break-inside:avoid;
    page-break-inside:avoid;
    break-before:avoid;
    page-break-before:avoid;
  }
  .ident-block::before{
    content:'SESSÃO EXECUTIVA PRIME COUNCIL';
    display:block;
    background:#fafafa;
    border:1px solid #e4e1da;
    border-bottom:0;
    border-left:2px solid #9A7B4A;
    padding:11px 13px 4px;
    margin-bottom:0;
    font-family:var(--sans);
    font-size:11.5px;
    font-weight:700;
    line-height:1.35;
    color:#9A7B4A;
    letter-spacing:0.14em;
    text-transform:uppercase;
    break-inside:avoid;
    page-break-inside:avoid;
  }
  .ident-block::after{
    content:'12 DE JUNHO DE 2026 · 09H ÀS 17H\A CAMPINAS · VAGAS LIMITADAS';
    white-space:pre-line;
    display:block;
    order:1;
    background:#fafafa;
    border:1px solid #e4e1da;
    border-top:0;
    border-left:2px solid #9A7B4A;
    padding:2px 13px 11px;
    margin-bottom:12px;
    font-family:var(--sans);
    font-size:9.5px;
    font-weight:400;
    line-height:1.65;
    color:#666;
    letter-spacing:0.10em;
    text-transform:uppercase;
    break-inside:avoid;
    page-break-inside:avoid;
  }
  .ident-block{
    display:flex!important;
    flex-direction:column;
    border:1px solid #ddd;
    border-left:2px solid #9A7B4A;
    box-shadow:none;
    margin-bottom:12px;
    break-inside:avoid;
    page-break-inside:avoid;
  }
  .ident-block::before{order:0}
  .ident-block .section-lbl{order:2}
  .ident-block .ident-grid{order:3}
  .ident-block .ident-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:none;
    grid-auto-flow:row;
    gap:7px 18px;
  }
  .ident-row{
    break-inside:avoid;
    page-break-inside:avoid;
  }
  .ident-row.print-only{
    display:flex;
  }
  .ident-lbl{
    white-space:nowrap;
    word-break:normal;
    overflow-wrap:normal;
  }
  .ident-val{
    word-break:normal;
    overflow-wrap:anywhere;
  }
  .ident-responsavel{order:1}
  .ident-empresa{order:2}
  .ident-contato{order:3}
  .ident-email{order:4}
  .ident-porte{order:5}
  .gauge-section,
  .interp{
    border:1px solid #ddd;
    box-shadow:none;
    margin-bottom:12px;
    break-inside:avoid;
    page-break-inside:avoid;
  }
  .gauge-section{
    border-top:3px solid #111;
    padding:18px 16px 16px;
    break-before:avoid;
    page-break-before:avoid;
    break-after:avoid;
    page-break-after:avoid;
  }
  .gauge-section svg{max-width:240px;margin-bottom:-8px}
  .score-num{font-size:50px}
  .score-lbl{font-size:10px}
  .subcards{
    grid-template-columns:repeat(4,1fr);
    gap:8px;
    break-inside:avoid;
    page-break-inside:avoid;
    break-before:avoid;
    page-break-before:avoid;
    break-after:avoid;
    page-break-after:avoid;
  }
  .sc{
    box-shadow:none;
    break-inside:avoid;
    page-break-inside:avoid;
  }
  .interp{
    padding:14px 16px;
    break-inside:avoid;
    page-break-inside:avoid;
    break-before:avoid;
    page-break-before:avoid;
  }
  .interp p{
    font-size:13px;
    line-height:1.55;
  }
  .badge{border:1px solid #ccc}
  footer{
    display:block;
    margin-top:14px;
    padding-top:12px;
    border-top:1px solid #ddd;
    text-align:center;
    break-inside:avoid;
    page-break-inside:avoid;
  }
  .footer-brand{
    font-family:var(--serif);
    font-size:13px;
    font-weight:600;
    color:#111;
    letter-spacing:0.04em;
    margin-bottom:0;
  }
  .footer-brand span{
    display:block;
    font-family:var(--sans);
    font-size:10.5px;
    font-weight:400;
    color:#777;
    letter-spacing:0.06em;
    margin-top:2px;
  }
  .footer-copy{
    display:block;
    font-size:11px;
    text-align:center;
    color:#777;
    line-height:1.5;
    margin-top:2px;
  }
  .footer-copy #dt{
    display:none;
  }
  .footer-copy a{
    display:none;
    color:#777;
    text-decoration:underline;
    text-underline-offset:2px;
  }
  .footer-copy a[href*="aflorsa.com.br"]{
    display:inline;
    font-size:11px;
  }
}

/* ===== MOBILE (≤768px) ===== */
@media (max-width: 768px) {

  .page {
    padding: 1.5rem 1rem 2.5rem;
  }

  .irfe-hero-inner {
    padding: 1.25rem 1rem 1.5rem;
  }
  .irfe-event-meta {
    gap: 10px;
  }

  /* A navegação completa permanece no desktop; no mobile, o logo fica priorizado. */
  .site-header-inner {
    padding: 0 1rem;
    gap: 8px;
  }
  .header-nav {
    display: none;
  }

  /* Touch targets — mín. 44px (Apple HIG)                   */
  .btn-sm {
    padding: 10px 13px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: min(220px, 54vw);
    line-height: 1.15;
    text-align: center;
  }

  /* white-space:normal previne overflow de texto longo em CTAs */
  .btn,
  .btn-inscricao,
  .btn-agendar,
  .btn-pdf {
    white-space: normal;
  }

  .form-card {
    padding: 1.375rem 1rem;
  }
  .help-tip::after{
    left:auto;
    right:-6px;
    transform:none;
  }

  /* font-size:16px previne zoom automático do Safari iOS     */
  .field input,
  .field select {
    font-size: 16px;
  }

  .gauge-section {
    padding: 1.625rem 1rem 1.375rem;
  }
  .gauge-section svg {
    max-width: 280px;
  }
  .score-num {
    font-size: 54px;
  }
  .score-lbl {
    font-size: 10.5px;
    line-height: 1.35;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
  }

  /* subcards: cobre toda faixa 0–768px                      */
  .subcards {
    grid-template-columns: repeat(2, 1fr);
  }

  .ident-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }

  .ident-block {
    padding: 1.125rem 1rem;
  }
  .interp {
    padding: 1.125rem 1rem;
  }
  .interp p {
    font-size: 14.5px;
    line-height: 1.65;
  }
  .methodology-block {
    padding: 1.125rem 1rem;
  }

  .cta-box {
    padding: 1.5rem 1rem;
  }
  .cta-btns {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    flex-wrap: nowrap;
  }
  .btn-agendar,
  .btn-pdf {
    width: 100%;
    text-align: center;
    min-height: 44px;
    padding: 12px 20px;
    display: block;
  }

  .btn-inscricao {
    width: 100%;
    min-height: 44px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .btn-calc {
    min-height: 48px;
  }

  .footer-inner {
    display: block;
    text-align: center;
  }
  .footer-copy {
    margin-top: 8px;
    text-align: center;
  }

}

/* ===== RESPONSIVE (≤500px) ===== */
@media (max-width: 500px) {
  .grid2 { grid-template-columns: 1fr }
}






