/*
 * demandas.css — Formulário público de registro de demandas
 * Gabinete do Vereador Dinho — Câmara Municipal de Florianópolis
 *
 * Organização:
 *   1. Tokens (variáveis de design)
 *   2. Reset e base
 *   3. Topbar
 *   4. Hero
 *   5. Como funciona
 *   6. Formulário (card, progresso, campos, upload, revisão)
 *   7. Confirmação
 *   8. Rodapé
 *   9. Aprimoramentos para desktop (min-width: 820px)
 */

/* ===== 1. Tokens: identidade institucional de Florianópolis ===== */
:root{
  /* Paleta principal */
  --ink:#0a2533; --ink-2:#123747; --paper:#f6f4ee; --paper-2:#ece8de;
  --cream:#e8dfcd; --white:#fff; --sand:#c9b486; --line:#d8d4ca; --muted:#68757a;
  /* Aliases usados pelo layout */
  --navy:var(--ink); --navy-2:var(--ink-2); --navy-3:var(--ink-2);
  --teal:var(--ink-2); --cyan:var(--sand); --cyan-dark:var(--ink-2); --cyan-tint:var(--paper-2);
  --ink-soft:var(--muted); --ink-faint:var(--muted);
  --line-strong:rgba(10,37,51,0.20);
  --ok:#1E8A5F; --ok-tint:#E6F5EE; --err:#C0392B; --err-tint:#FBEAE7;
  --radius-lg:20px; --radius-md:14px; --radius-sm:10px;
  --display:'Fraunces',serif; --body:'Inter',sans-serif; --mono:'IBM Plex Mono',monospace;
  --ease:cubic-bezier(.16,.84,.44,1);
  --shadow-card:0 24px 60px -20px rgba(10,37,51,0.25), 0 4px 14px -6px rgba(10,37,51,0.12);
  --shadow-soft:0 10px 30px -12px rgba(10,37,51,0.18);
  /* Imagem de fundo do hero — arquivo real (antes embutida em base64 no CSS) */
  --hero-photo-url:url("../assets/images/hero-dinho-ponte.jpg");
}

/* ===== 2. Reset e base ===== */
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{font-family:var(--body); background:var(--paper-2); color:var(--ink); line-height:1.55; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;}
img{max-width:100%; display:block;}
button{font-family:inherit; cursor:pointer; background:none; border:none;}
input,select,textarea{font-family:inherit;}
a{color:var(--cyan-dark);}
:focus-visible{outline:2.5px solid var(--cyan); outline-offset:2px; border-radius:4px;}
.visually-hidden{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap;}
/* Honeypot anti-spam: campo real mas invisível a pessoas, só bots preenchem */
.hp-field{position:absolute; left:-9999px; top:-9999px; width:1px; height:1px; overflow:hidden;}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important;}
}

/* ===== 3. TOPBAR ===== */
.topbar{
  position:sticky; top:0; z-index:40; background:rgba(10,37,51,0.94); backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.topbar-inner{
  max-width:900px; margin:0 auto; padding:12px 20px; display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.topbar-brand{display:flex; align-items:center; gap:10px;}
.topbar-brand img{height:26px; width:auto; display:block;}
.topbar-badge{
  font-family:var(--display); font-style:italic; font-weight:500; font-size:13.5px;
  color:rgba(255,255,255,0.88); text-align:right; line-height:1.3; max-width:360px;
}
@media(max-width:640px){
  .topbar-inner{flex-wrap:wrap; row-gap:4px;}
  .topbar-badge{width:100%; text-align:center; max-width:none; font-size:12px;}
}

/* ===== 4. HERO ===== */
.hero{
  position:relative; overflow:hidden; color:var(--paper);
  background:var(--navy);
  padding:44px 20px 108px;
}
.hero-photo{
  position:absolute; inset:0; background-image:var(--hero-photo-url); background-size:cover;
  background-position:center 78%; opacity:.88; filter:saturate(.92) contrast(1.03);
  pointer-events:none;
}
.hero-overlay{
  position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(120% 90% at 15% -10%, rgba(18,55,71,0.25), transparent 55%),
    linear-gradient(165deg, rgba(10,37,51,0.58) 0%, rgba(18,55,71,0.44) 48%, rgba(18,55,71,0.38) 100%);
}
.hero-stars{
  position:absolute; inset:0; pointer-events:none;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,.35), transparent),
    radial-gradient(1px 1px at 75% 14%, rgba(255,255,255,.28), transparent),
    radial-gradient(1.5px 1.5px at 88% 32%, rgba(255,255,255,.3), transparent),
    radial-gradient(1px 1px at 40% 8%, rgba(255,255,255,.25), transparent);
}
.hero-inner{max-width:640px; margin:0 auto; position:relative; text-align:center;}
.hero-logo{height:56px; width:auto; margin:0 auto 22px; display:block; filter:drop-shadow(0 8px 24px rgba(0,0,0,.35));}
.hero h1{font-family:var(--display); font-weight:600; font-size:clamp(28px,7vw,40px); line-height:1.12; letter-spacing:-0.01em;}
.hero .lead{
  font-family:var(--display); font-style:italic; font-weight:400; font-size:clamp(16px,3.6vw,19px);
  color:var(--sand); margin-top:14px; max-width:440px; margin-left:auto; margin-right:auto; line-height:1.4;
}
.hero .desc{
  margin-top:20px; font-size:14.5px; color:rgba(251,248,242,0.78); font-weight:400;
  max-width:480px; margin-left:auto; margin-right:auto;
}

/* ===== 5. COMO FUNCIONA ===== */
.how-wrap{max-width:900px; margin:-70px auto 0; padding:0 16px; position:relative; z-index:3;}
.how-card{
  background:var(--paper); border-radius:var(--radius-lg); box-shadow:var(--shadow-card);
  border:1px solid rgba(255,255,255,0.6); padding:26px 22px 22px;
}
.how-title{
  font-family:var(--mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--teal);
  text-align:center; margin-bottom:18px; display:flex; align-items:center; justify-content:center; gap:10px;
}
.how-title::before, .how-title::after{content:''; flex:1; max-width:44px; height:1px; background:var(--line-strong);}
.how-steps{display:grid; grid-template-columns:repeat(4,1fr); gap:14px;}
@media(max-width:720px){ .how-steps{grid-template-columns:1fr 1fr; gap:16px 12px;} }
.how-step{text-align:center; padding:6px 4px;}
.how-step .ic{
  width:46px; height:46px; margin:0 auto 12px; border-radius:50%; background:var(--cyan-tint); color:var(--cyan-dark);
  display:flex; align-items:center; justify-content:center; position:relative;
}
.how-step .ic svg{width:21px; height:21px;}
.how-step .ic .n{
  position:absolute; top:-4px; right:-4px; width:18px; height:18px; border-radius:50%; background:var(--navy); color:var(--paper);
  font-family:var(--mono); font-size:10px; display:flex; align-items:center; justify-content:center; font-weight:500;
}
.how-step p{font-size:12.5px; color:var(--ink-soft); line-height:1.45; max-width:150px; margin:0 auto;}
.how-step strong{display:block; font-size:13.5px; color:var(--ink); font-weight:600; margin-bottom:3px;}

/* ===== 6. CONTAINER / FORM CARD ===== */
.container{max-width:900px; margin:0 auto 64px; padding:0 16px;}
.form-shell{max-width:640px; margin:36px auto 0;}
.card{
  background:var(--paper); border-radius:var(--radius-lg); box-shadow:var(--shadow-soft); overflow:hidden;
  border:1px solid rgba(10,37,51,0.06);
}

/* progresso */
.progress-wrap{padding:24px 24px 0;}
.progress{display:flex; align-items:center; gap:6px;}
.progress .seg{flex:1; height:4px; background:var(--line); border-radius:3px; overflow:hidden;}
.progress .seg i{display:block; height:100%; width:0%; background:linear-gradient(90deg,var(--teal),var(--cyan)); transition:width .5s var(--ease);}
.progress .seg.done i{width:100%;}
.progress .seg.active i{width:55%;}
.progress-label{
  margin-top:9px; font-family:var(--mono); font-size:10.5px; letter-spacing:.06em; text-transform:uppercase;
  color:var(--ink-faint); display:flex; justify-content:space-between;
}
.progress-label #stepCurrentLabel{color:var(--teal); font-weight:500;}

.step{padding:26px 24px 28px;}
.step-head{display:flex; align-items:flex-start; gap:13px; margin-bottom:6px;}
.step-num{
  width:30px; height:30px; border-radius:50%; background:var(--navy); color:var(--paper);
  display:flex; align-items:center; justify-content:center; font-family:var(--mono); font-size:13px; flex-shrink:0; margin-top:1px;
}
.step-head-text h2{font-family:var(--display); font-weight:600; font-size:19px; color:var(--navy); line-height:1.25;}
.step-head-text p{font-size:12.5px; color:var(--ink-soft); margin-top:3px;}
.step-body{margin-top:22px;}

.field{margin-bottom:18px;}
.field label{display:block; font-size:13.5px; font-weight:600; color:var(--ink); margin-bottom:7px;}
.field label .opt{font-weight:400; color:var(--ink-faint); font-size:11.5px;}
.field label .req{color:var(--teal); font-weight:400;}
.field .hint{font-size:12px; color:var(--ink-soft); margin-top:6px; font-weight:400; line-height:1.5;}
.field input[type=text], .field input[type=tel], .field select, .field textarea{
  width:100%; padding:14px 15px; border:1.5px solid var(--line); border-radius:var(--radius-sm);
  background:var(--paper); font-size:15.5px; color:var(--ink); transition:border-color .2s, box-shadow .2s;
  min-height:50px;
}
.field select{appearance:none; -webkit-appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%234A4B4C' stroke-width='2'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; background-size:16px; padding-right:40px;}
.field input:focus, .field select:focus, .field textarea:focus{border-color:var(--cyan); box-shadow:0 0 0 4px rgba(18,55,71,0.12);}
.field textarea{resize:vertical; min-height:110px; line-height:1.5;}
.field-row{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
@media(max-width:480px){.field-row{grid-template-columns:1fr;}}
.field-row.three{grid-template-columns:1.4fr 0.8fr 1fr;}
@media(max-width:560px){.field-row.three{grid-template-columns:1fr;}}

.char-count{font-size:11.5px; color:var(--ink-faint); margin-top:6px; text-align:right;}
.char-count.limit{color:var(--err);}

.choice-group{display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:20px;}
@media(max-width:480px){.choice-group{grid-template-columns:1fr;}}
.choice{
  padding:16px 16px; border:1.5px solid var(--line); border-radius:var(--radius-sm); text-align:center;
  font-size:14.5px; font-weight:600; color:var(--ink-soft); background:var(--paper);
  transition:all .22s var(--ease); display:flex; align-items:center; justify-content:center; gap:9px; min-height:56px;
}
.choice svg{width:18px; height:18px; flex-shrink:0;}
.choice.active{background:var(--navy); border-color:var(--navy); color:var(--paper); box-shadow:0 8px 20px -8px rgba(10,37,51,0.5);}
.choice:not(.active):hover{border-color:var(--cyan); color:var(--navy);}

.location-note{
  display:flex; gap:10px; align-items:flex-start; background:var(--cyan-tint); border:1px solid rgba(18,55,71,0.25);
  padding:13px 15px; border-radius:var(--radius-sm); margin-bottom:18px; font-size:13px; color:var(--navy-2);
}
.location-note svg{width:17px; height:17px; flex-shrink:0; margin-top:1px; color:var(--cyan-dark);}

#map{height:250px; border-radius:var(--radius-sm); margin-bottom:16px; border:1px solid var(--line); z-index:1;}
.map-hint{font-size:12.5px; color:var(--ink-soft); margin-bottom:14px; display:flex; gap:8px; align-items:flex-start;}
.map-hint svg{width:15px; height:15px; flex-shrink:0; margin-top:2px; color:var(--teal);}

.upload-box{
  border:2px dashed var(--line-strong); border-radius:var(--radius-md); padding:34px 18px; text-align:center;
  cursor:pointer; transition:all .22s; color:var(--ink-soft); background:var(--paper-2);
}
.upload-box:hover, .upload-box.dragover{border-color:var(--cyan); background:var(--cyan-tint); color:var(--navy);}
.upload-box svg{width:30px; height:30px; margin:0 auto 12px; color:var(--cyan-dark);}
.upload-box .title{font-size:14.5px; font-weight:600; display:block; color:var(--ink);}
.upload-box .small{font-size:12px; margin-top:5px; color:var(--ink-soft);}
#photoInput, #photoInputCamera{display:none;}
.photo-camera-btn{
  width:100%; margin-top:10px; display:flex; align-items:center; justify-content:center; gap:8px;
}
.photo-camera-btn svg{width:17px; height:17px; flex-shrink:0;}
.upload-callout{
  display:flex; gap:10px; align-items:flex-start; margin-bottom:16px; font-size:13px; color:var(--ink-soft);
  background:var(--paper-2); padding:13px 15px; border-radius:var(--radius-sm);
}
.upload-callout svg{width:16px; height:16px; flex-shrink:0; margin-top:2px; color:var(--teal);}
.thumbs{display:flex; gap:10px; flex-wrap:wrap; margin-top:16px;}
.thumb{position:relative; width:76px; height:76px; border-radius:var(--radius-sm); overflow:hidden; border:1px solid var(--line); box-shadow:0 3px 10px rgba(0,0,0,.08);}
.thumb img{width:100%; height:100%; object-fit:cover;}
.thumb button{
  position:absolute; top:3px; right:3px; width:20px; height:20px; border-radius:50%;
  background:rgba(10,37,51,0.85); color:#fff; border:none; font-size:12px; line-height:1; display:flex; align-items:center; justify-content:center;
}
.thumb-count{font-size:12px; color:var(--ink-soft); margin-top:12px;}

.orgao-note{margin-top:2px; margin-bottom:6px; font-size:12.5px; color:var(--ink-soft); display:none; background:var(--paper-2); padding:11px 14px; border-radius:var(--radius-sm);}
.orgao-note.show{display:flex; align-items:flex-start; gap:8px;}
.orgao-note svg{width:15px; height:15px; margin-top:2px; color:var(--teal); flex-shrink:0;}
.orgao-note strong{color:var(--navy); font-weight:600;}

.step-actions{display:flex; justify-content:space-between; align-items:center; margin-top:12px; gap:12px;}
.btn{
  font-family:var(--body); font-weight:700; font-size:14.5px; padding:15px 26px; border-radius:var(--radius-sm);
  border:1.5px solid transparent; transition:all .22s var(--ease); display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:50px; letter-spacing:.01em;
}
.btn svg{width:17px; height:17px;}
.btn.primary{background:var(--navy); color:var(--paper);}
.btn.primary:hover{background:var(--navy-2); transform:translateY(-1px); box-shadow:0 10px 24px -8px rgba(10,37,51,0.45);}
.btn.primary:active{transform:translateY(0);}
.btn.primary:disabled{opacity:.5; cursor:not-allowed; transform:none; box-shadow:none;}
.btn.ghost{background:transparent; color:var(--ink-soft); border-color:var(--line-strong);}
.btn.ghost:hover{border-color:var(--ink-soft); color:var(--ink); background:var(--paper-2);}
.btn.block{width:100%; justify-content:center;}
.btn.cta{
  background:linear-gradient(120deg,var(--cyan-dark),var(--teal)); color:#fff; font-size:15.5px; text-transform:uppercase; letter-spacing:.04em;
  box-shadow:0 14px 30px -10px rgba(18,55,71,0.55);
}
.btn.cta:hover{filter:brightness(1.06); transform:translateY(-1px);}
.btn.cta:disabled{opacity:.55;}

.error-msg{color:var(--err); font-size:12.5px; margin-top:7px; display:none; align-items:center; gap:5px;}
.error-msg svg{width:13px; height:13px; flex-shrink:0;}
.field.invalid input, .field.invalid select{border-color:var(--err); background:var(--err-tint);}
.field.invalid .error-msg{display:flex;}

.form-error-banner{
  display:none; align-items:flex-start; gap:10px; background:var(--err-tint); color:var(--err);
  border:1px solid rgba(192,57,43,0.3); border-radius:var(--radius-sm); padding:13px 15px; margin:0 24px 18px; font-size:13.5px;
}
.form-error-banner.show{display:flex;}
.form-error-banner svg{width:16px; height:16px; flex-shrink:0; margin-top:1px;}

/* revisão */
.review-list{display:flex; flex-direction:column; gap:16px; margin-bottom:20px;}
.review-group{border-radius:var(--radius-sm); overflow:hidden; border:1px solid var(--line);}
.review-group-title{font-family:var(--mono); font-size:10.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--navy); background:var(--cyan-tint); padding:10px 16px; border-bottom:1px solid var(--line);}
.review-rows{display:flex; flex-direction:column;}
.review-row{display:grid; grid-template-columns:128px 1fr; gap:14px; padding:13px 16px; background:var(--paper);}
.review-rows .review-row:nth-child(even){background:var(--paper-2);}
.review-row dt{font-family:var(--mono); font-size:10.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--teal); padding-top:2px;}
.review-row dd{color:var(--ink); font-weight:500; font-size:14px; word-break:break-word;}
.review-edit-link{text-align:right; margin:-10px 0 18px; font-size:12.5px;}
.review-edit-link button{color:var(--cyan-dark); font-weight:600; text-decoration:underline; text-underline-offset:2px;}
.consent{
  display:flex; gap:11px; align-items:flex-start; margin-bottom:22px; font-size:13.5px; color:var(--ink-soft);
  background:var(--paper-2); padding:14px 16px; border-radius:var(--radius-sm); line-height:1.5;
}
.consent input{margin-top:3px; width:18px; height:18px; accent-color:var(--navy); flex-shrink:0;}

/* confirmação */
.confirm{padding:48px 26px 44px; text-align:center;}
.confirm-icon{
  width:72px; height:72px; margin:0 auto 22px; border-radius:50%; background:var(--ok-tint); color:var(--ok);
  display:flex; align-items:center; justify-content:center; animation:pop .5s var(--ease);
}
@keyframes pop{0%{transform:scale(.6); opacity:0;} 70%{transform:scale(1.06);} 100%{transform:scale(1); opacity:1;}}
.confirm-icon svg{width:34px; height:34px;}
.confirm h2{font-family:var(--display); font-weight:600; font-size:25px; color:var(--navy); margin-bottom:12px;}
.confirm p{color:var(--ink-soft); font-size:14.5px; max-width:400px; margin:0 auto; line-height:1.55;}
.confirm .protocol-big{
  margin:26px auto; padding:20px 26px; background:var(--paper-2); border:1px solid var(--line); border-radius:var(--radius-md); display:inline-block;
}
.confirm .protocol-big .lbl{font-family:var(--mono); font-size:10px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-soft);}
.confirm .protocol-big .num{font-family:var(--mono); font-weight:600; font-size:26px; color:var(--navy); margin-top:5px; letter-spacing:.01em;}
.confirm-actions{display:flex; flex-direction:column; gap:12px; max-width:340px; margin:30px auto 0;}
.btn.whats{background:#25D366; color:#fff;}
.btn.whats:hover{background:#1EB958;}

/* ===== 8. RODAPÉ ===== */
footer.page-footer{
  background:var(--navy); color:rgba(251,248,242,0.75); padding:40px 20px 30px; position:relative; overflow:hidden;
}
.footer-wave{position:absolute; top:-1px; left:0; width:100%; height:auto; opacity:.9;}
.footer-inner{max-width:640px; margin:0 auto; position:relative; text-align:center;}
.footer-inner .fname{font-family:var(--display); font-weight:600; font-size:17px; color:var(--paper);}
.footer-inner .fgab{font-size:12.5px; margin-top:4px; color:rgba(251,248,242,0.65);}
.footer-links{display:flex; justify-content:center; gap:18px; margin:18px 0; flex-wrap:wrap;}
.footer-links a{
  display:flex; align-items:center; gap:6px; font-size:12.5px; color:var(--cyan); text-decoration:none; font-weight:500;
}
.footer-links a svg{width:15px; height:15px;}
.footer-links a:hover{color:var(--paper);}
.footer-divider{height:1px; background:rgba(255,255,255,0.12); margin:18px auto; max-width:220px;}
.footer-lgpd{font-size:11px; color:rgba(251,248,242,0.5); max-width:440px; margin:0 auto; line-height:1.6;}

.loading-dot{display:inline-block; width:6px; height:6px; border-radius:50%; background:currentColor; animation:blink 1s infinite;}
.loading-dot:nth-child(2){animation-delay:.15s;}
.loading-dot:nth-child(3){animation-delay:.3s;}
@keyframes blink{0%,100%{opacity:.25;} 50%{opacity:1;}}

.leaflet-container{font-family:var(--body); border-radius:var(--radius-sm);}

/* ===== 9. DESKTOP ENHANCEMENTS (min-width: 820px) ===== */
@media(min-width:820px){
  .hero{padding:56px 24px 130px;}
  .how-steps{grid-template-columns:repeat(4,1fr);}
  .form-shell{max-width:700px;}
  .step{padding:36px 40px 38px;}
  .progress-wrap{padding:30px 40px 0;}
  #map{height:300px;}
  .field-row.local-grid{grid-template-columns:1.1fr 1fr; align-items:start;}
}


/* =========================================================
   REFINAMENTO VISUAL — PORTAL PÚBLICO DE DEMANDAS
   ========================================================= */

body{
  background:
    radial-gradient(circle at 50% -10%, rgba(201,180,134,.16), transparent 34%),
    var(--paper-2);
}

/* Cabeçalho */
.topbar{
  background:rgba(10,37,51,.96);
  border-bottom:1px solid rgba(255,255,255,.10);
  box-shadow:0 8px 28px rgba(10,37,51,.12);
}
.topbar-inner{
  max-width:1180px;
  min-height:64px;
  padding:10px 24px;
}
.topbar-brand{
  transition:opacity .2s ease, transform .2s ease;
}
.topbar-brand:hover{opacity:.92; transform:translateY(-1px);}
.topbar-brand img{height:30px;}
.topbar-nav{
  display:flex;
  align-items:center;
  gap:24px;
}
.topbar-nav a{
  color:rgba(255,255,255,.78);
  text-decoration:none;
  font-size:12.5px;
  font-weight:600;
  letter-spacing:.01em;
  transition:color .2s ease, background .2s ease;
}
.topbar-nav a:hover{color:#fff;}
.topbar-nav .topbar-cta{
  color:var(--ink);
  background:var(--sand);
  padding:10px 16px;
  border-radius:999px;
  box-shadow:0 7px 18px rgba(0,0,0,.16);
}
.topbar-nav .topbar-cta:hover{
  color:var(--ink);
  background:var(--cream);
}

/* Hero */
.hero{
  min-height:610px;
  display:flex;
  align-items:center;
  padding:74px 24px 126px;
  background:var(--ink);
}
.hero-photo{
  background-position:center 77%;
  transform:scale(1.015);
  opacity:.94;
}
.hero-overlay{
  background:
    linear-gradient(90deg,rgba(6,25,35,.80) 0%,rgba(10,37,51,.58) 44%,rgba(10,37,51,.24) 100%),
    linear-gradient(180deg,rgba(10,37,51,.16) 0%,rgba(10,37,51,.38) 100%);
}
.hero-inner{
  max-width:820px;
  text-align:left;
  margin-left:max(0px, calc((100vw - 1120px)/2));
  margin-right:auto;
}
.hero-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:var(--sand);
  font-family:var(--mono);
  font-size:10.5px;
  letter-spacing:.14em;
  font-weight:500;
  margin-bottom:18px;
}
.hero-eyebrow span{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--sand);
  box-shadow:0 0 0 5px rgba(201,180,134,.16);
}
.hero h1{
  font-size:clamp(42px,6vw,72px);
  line-height:.98;
  letter-spacing:-.035em;
  max-width:720px;
  text-shadow:0 10px 30px rgba(0,0,0,.22);
}
.hero h1 em{
  font-style:italic;
  font-weight:400;
  color:var(--cream);
}
.hero .lead{
  font-size:clamp(18px,2.2vw,23px);
  max-width:680px;
  margin:22px 0 0;
  color:#fff;
  font-style:normal;
  line-height:1.35;
}
.hero .desc{
  max-width:620px;
  margin:13px 0 0;
  color:rgba(255,255,255,.78);
  font-size:14px;
  line-height:1.65;
}
.hero-actions{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:28px;
  flex-wrap:wrap;
}
.hero-primary{
  background:var(--sand);
  color:var(--ink);
  border-color:var(--sand);
  padding:14px 20px;
  box-shadow:0 14px 30px rgba(0,0,0,.22);
}
.hero-primary:hover{
  background:var(--cream);
  color:var(--ink);
  transform:translateY(-2px);
}
.hero-secondary{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:50px;
  padding:12px 8px;
  color:#fff;
  text-decoration:none;
  font-size:13px;
  font-weight:600;
}
.hero-secondary svg{width:16px;}
.hero-secondary:hover{color:var(--cream);}
.hero-trust{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  margin-top:28px;
  padding-top:17px;
  border-top:1px solid rgba(255,255,255,.16);
  max-width:720px;
}
.hero-trust span{
  color:rgba(255,255,255,.70);
  font-size:11.5px;
}
.hero-trust b{
  color:var(--sand);
  font-weight:700;
  margin-right:5px;
}

/* Como funciona */
.how-wrap{
  max-width:1120px;
  margin:-72px auto 0;
  padding:0 24px;
}
.how-card{
  padding:28px 30px 24px;
  border-radius:18px;
  box-shadow:0 24px 55px rgba(10,37,51,.16);
  border:1px solid rgba(255,255,255,.82);
}
.how-title{
  color:var(--ink-2);
  font-weight:600;
  margin-bottom:22px;
}
.how-step{
  padding:8px 10px;
  border-radius:12px;
  transition:background .2s ease, transform .2s ease;
}
.how-step:hover{
  background:var(--paper-2);
  transform:translateY(-2px);
}
.how-step .ic{
  background:var(--cream);
  color:var(--ink-2);
  width:48px;height:48px;
}
.how-step .ic .n{background:var(--ink);color:#fff;}
.how-step strong{font-size:13.5px;}
.how-step p{font-size:12px;}

/* Introdução do formulário */
.section-intro{
  max-width:700px;
  margin:72px auto 0;
  padding:0 4px;
  text-align:center;
}
.section-intro span{
  color:var(--ink-2);
  font-family:var(--mono);
  font-size:10px;
  font-weight:500;
  letter-spacing:.14em;
}
.section-intro h2{
  margin-top:8px;
  font-family:var(--display);
  font-size:clamp(28px,4vw,38px);
  line-height:1.1;
  color:var(--ink);
}
.section-intro p{
  max-width:610px;
  margin:10px auto 0;
  color:var(--muted);
  font-size:13.5px;
  line-height:1.65;
}
.form-shell{
  margin-top:26px;
  max-width:720px;
}
.card{
  border-radius:18px;
  box-shadow:0 24px 60px rgba(10,37,51,.13);
  border:1px solid rgba(10,37,51,.07);
}
.progress-wrap{
  padding-top:22px;
}
.step-head-text h2{font-size:20px;}
.field input[type=text],
.field input[type=tel],
.field select,
.field textarea{
  background:#fffdf9;
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color:var(--ink-2);
  box-shadow:0 0 0 4px rgba(18,55,71,.09);
}
.btn.primary{
  box-shadow:0 9px 20px rgba(10,37,51,.12);
}
.btn.cta{
  background:var(--ink-2);
}

/* Footer */
footer.page-footer{
  margin-top:80px;
  padding-top:52px;
}
.footer-inner{max-width:760px;}
.footer-inner .fname{font-size:20px;}
.footer-links a{color:var(--sand);}
.footer-links a:hover{color:var(--cream);}

/* Mobile */
@media(max-width:720px){
  .topbar-inner{min-height:58px;padding:9px 16px;}
  .topbar-nav{gap:8px;}
  .topbar-nav a:first-child{display:none;}
  .topbar-nav .topbar-cta{padding:9px 13px;font-size:11.5px;}
  .topbar-brand img{height:27px;}

  .hero{
    min-height:650px;
    padding:54px 20px 112px;
    align-items:center;
  }
  .hero-photo{
    background-position:center 78%;
  }
  .hero-overlay{
    background:
      linear-gradient(180deg,rgba(6,25,35,.48) 0%,rgba(10,37,51,.62) 50%,rgba(10,37,51,.72) 100%);
  }
  .hero-inner{
    width:100%;
    margin:0 auto;
    text-align:center;
  }
  .hero-eyebrow{font-size:9.5px;margin-bottom:16px;}
  .hero h1{font-size:clamp(39px,12vw,54px);}
  .hero .lead{font-size:18px;margin-top:18px;}
  .hero .desc{font-size:13px;margin-top:12px;}
  .hero-actions{
    justify-content:center;
    margin-top:24px;
    gap:9px;
  }
  .hero-primary{width:100%;max-width:320px;}
  .hero-secondary{min-height:42px;}
  .hero-trust{
    justify-content:center;
    gap:8px 14px;
    margin-top:22px;
    padding-top:15px;
  }
  .hero-trust span{font-size:10.5px;}

  .how-wrap{
    margin:-56px auto 0;
    padding:0 14px;
  }
  .how-card{padding:22px 12px 18px;}
  .how-title{margin-bottom:16px;}
  .how-step{padding:6px 3px;}
  .how-step .ic{width:42px;height:42px;}
  .how-step strong{font-size:12.5px;}
  .how-step p{font-size:11.5px;}

  .section-intro{
    margin-top:54px;
    padding:0 12px;
  }
  .section-intro h2{font-size:30px;}
  .section-intro p{font-size:13px;}

  .form-shell{margin-top:20px;}
  .step{padding:24px 18px 24px;}
  .progress-wrap{padding-left:18px;padding-right:18px;}
  .form-error-banner{margin-left:18px;margin-right:18px;}
  .step-actions .btn{flex:1;padding-left:14px;padding-right:14px;}
}

@media(min-width:900px){
  .hero{min-height:650px;}
  .hero-inner{padding-left:20px;}
  .how-steps{gap:20px;}
  .container{max-width:1120px;}
}
