:root{
  /* Tema inspirado no print (claro + azul marinho + dourado) */
  --bg: #F3F6FB;
  --card: #FFFFFF;
  --line: rgba(16, 30, 64, .10);
  --text: rgba(10, 23, 55, .95);
  --muted: rgba(10, 23, 55, .65);

  --brand: #203A63;     /* azul marinho */
  --accent: #E7B560;    /* dourado */

  --warn: #D79A2A;
  --ok: #17A673;
  --danger: #D6455D;

  --r: 20px;
  --shadow: 0 24px 80px rgba(13, 22, 45, .12);

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background: var(--bg);
}

.page{
  min-height: 100%;
  display:flex;
  flex-direction:column;
}

.heroTop{
  height: 84px;
  background: radial-gradient(1200px 500px at 50% 10%, rgba(255,255,255,.18), rgba(255,255,255,0) 60%),
              linear-gradient(180deg, #2A4B7E 0%, #1D355F 70%, #1A2F55 100%);
}

.container{
  width:min(1020px, 94vw);
  margin: 18px auto 24px;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.headerRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 10px 2px;
}


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

.brandLogo{
  height: 60px;          /* ajuste conforme seu logo */
  width: auto;
  object-fit: contain;
}

.brandText{
  display: flex;
  flex-direction: column;
}

.brandName{
  font-weight: 900;
  letter-spacing: .8px;
}

.brandSub{
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}



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

.logo{
  width:44px; height:44px;
  border-radius:14px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, var(--brand), #274a7f);
  color:#fff;
  font-weight:900;
  letter-spacing:.8px;
  box-shadow: 0 12px 30px rgba(0,0,0,.10);
}
.brandName{font-weight:900; letter-spacing:.8px}
.brandSub{color:var(--muted); font-size:13px; margin-top:2px}

.stepper{display:flex; gap:8px; align-items:center;}
.stepper .dot{
  width:10px; height:10px;
  border-radius:999px;
  background: rgba(32,58,99,.18);
  border: 1px solid rgba(32,58,99,.12);
}
.stepper .dot.active{
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-color: rgba(32,58,99,.18);
}

.card{
  position:relative;
  padding: 22px;
  border-radius: var(--r);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.hidden{display:none !important}

.center{ text-align:center; padding: 8px 0 2px; }
.tag{
  display:inline-block;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}
h1{
  margin: 0 0 8px;
  font-size: 36px;
  letter-spacing: -0.6px;
}
h2{margin:0 0 6px; font-size: 24px;}
h3.sectionTitle{margin: 16px 0 6px; font-size: 16px;}
.muted{color:var(--muted)}
.fineprint{
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.grid2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 10px;
}
@media (max-width: 860px){
  .grid3, .grid2{grid-template-columns: 1fr}
}

.field{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding: 12px;
  border-radius: 16px;
  background: #FBFCFF;
  border: 1px solid rgba(16, 30, 64, .10);
}
.field span{font-size:13px; color: rgba(10,23,55,.82)}
.field input{
  height:44px;
  border-radius: 14px;
  border: 1px solid rgba(16,30,64,.14);
  background: #FFFFFF;
  color: var(--text);
  padding: 0 12px;
  font-size: 15px;
  outline:none;
}
.field input:focus{
  border-color: rgba(32,58,99,.40);
  box-shadow: 0 0 0 4px rgba(32,58,99,.10);
}
.hint{min-height:16px; color: var(--muted)}

.inline{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 12px;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(16,30,64,.14);
  background: rgba(32,58,99,.06);
  font-size: 13px;
}
.pill.warn{
  border-color: rgba(215,154,42,.28);
  background: rgba(215,154,42,.10);
}
.pill.ok{
  border-color: rgba(23,166,115,.28);
  background: rgba(23,166,115,.10);
}

.actions{
  margin-top: 16px;
  display:flex;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}
.centerActions{justify-content:center;}

.btn{
  height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(16,30,64,.14);
  background: rgba(32,58,99,.04);
  color: var(--text);
  cursor:pointer;
  font-weight: 800;
}
.btn:disabled{opacity:.5; cursor:not-allowed}
.btn.primary{
  border: none;
  background: var(--accent);
  color: #1B2A4A;
  box-shadow: 0 14px 30px rgba(231,181,96,.25);
}
.btn.ghost{
  background: transparent;
}

.simGrid{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 860px){ .simGrid{grid-template-columns: 1fr} }

.simCard{
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(16,30,64,.10);
  background: #FBFCFF;
  cursor:pointer;
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.simCard:hover{transform: translateY(-2px)}
.simCard.selected{
  border-color: rgba(32,58,99,.35);
  box-shadow: 0 0 0 4px rgba(32,58,99,.10);
}
.simTitle{font-weight:900; font-size:16px; margin-bottom:8px}
.simRow{display:flex; justify-content:space-between; color: var(--muted); font-size:13px; padding: 4px 0}
.simRow strong{color: var(--text)}

.summary{
  margin-top: 10px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(16,30,64,.10);
  background: #FBFCFF;
}
.summary .big{
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 6px;
}
.summary .line{
  display:flex; justify-content:space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(16,30,64,.08);
  color: var(--muted);
}
.summary .line:last-child{border-bottom:none}
.summary .line strong{color: var(--text)}

.camera{
  margin-top: 12px;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(16,30,64,.10);
  background: #0E1B33;
}
video{
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display:block;
}
.photoActions{
  display:flex;
  gap:10px;
  justify-content:flex-start;
  margin-top: 12px;
  flex-wrap:wrap;
}
.uploads{
  margin-top: 12px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 860px){ .uploads{grid-template-columns: 1fr} }
.uploadItem{
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(16,30,64,.10);
  background: #FBFCFF;
  color: var(--muted);
  font-size: 13px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.uploadItem img{
  width:100%;
  border-radius: 12px;
  border: 1px solid rgba(16,30,64,.08);
}

.contract{
  margin-top: 10px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(16,30,64,.10);
  background: #FBFCFF;
  color: rgba(10,23,55,.86);
  line-height:1.5;
  font-size: 14px;
  white-space: pre-wrap;
}

.footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 4px 6px;
  color: var(--muted);
  font-size: 12px;
}

.toast{
  position:absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(16,30,64,.14);
  background: rgba(255,255,255,.92);
  color: var(--text);
  display:none;
  max-width: min(520px, 86%);
  box-shadow: 0 16px 50px rgba(13,22,45,.10);
}

.loading{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:12px;
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(6px);
}
.spinner{
  width: 34px; height: 34px;
  border-radius: 999px;
  border: 3px solid rgba(32,58,99,.18);
  border-top-color: rgba(32,58,99,.70);
  animation: spin 1s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}
.loadingText{color: var(--muted); font-weight:800}
