/* =========================================================
   DunasSoft — estilos do "Guia de boas-vindas"
   Depende de assets/site.css (tokens, header, footer, botoes).
   Mantem o layout de documento e as regras de impressao.
   ========================================================= */

/* ---------- Capa ---------- */
.cover{
  position:relative;
  min-height:100svh;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:var(--dunas-graphite);
  color:var(--on-dark);
  padding:7.5rem var(--gutter) 0;
  overflow:hidden;
  isolation:isolate;
}
.cover::before{
  content:"";
  position:absolute; inset:0; z-index:-2;
  background:radial-gradient(90ch 60ch at 82% -10%, rgba(219,192,120,.17), transparent 62%);
}
.cover::after{
  content:"";
  position:absolute; inset:0; z-index:-1; opacity:.5;
  background-image:
    linear-gradient(var(--gold-a05) 1px, transparent 1px),
    linear-gradient(90deg, var(--gold-a05) 1px, transparent 1px);
  background-size:64px 64px;
  -webkit-mask-image:radial-gradient(80% 70% at 50% 0%, #000 18%, transparent 78%);
  mask-image:radial-gradient(80% 70% at 50% 0%, #000 18%, transparent 78%);
}
.cover .hero{ max-width:52ch; }
.cover .divider{
  width:88px; height:4px; border-radius:4px;
  background:var(--dunas-gold); margin-bottom:1.75rem;
}
.cover .hero h1{
  font-size:var(--step-4);
  color:var(--dunas-paper);
  margin:0;
}
.cover .hero .sub{
  margin-top:1.25rem;
  font-size:var(--step-1);
  line-height:1.6;
  color:var(--on-dark-soft);
  max-width:56ch;
}
.cover .tag{
  display:inline-block;
  margin-top:2rem;
  background:var(--dunas-gold);
  color:var(--dunas-graphite);
  font-family:var(--font-body);
  font-size:.7rem;
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
  padding:.65rem 1.35rem;
  border-radius:100px;
}
.cover-footer{
  border-top:1px solid rgba(255,253,253,.12);
  padding:1.5rem 0 2rem;
  display:flex; flex-wrap:wrap; gap:.75rem 2rem;
  justify-content:space-between;
  font-size:.85rem;
  color:var(--on-dark-soft);
}
.cover-footer strong{ color:var(--dunas-paper); font-weight:600; }
.cover-footer a{ color:var(--dunas-gold); }

/* ---------- Paginas do documento ---------- */
.page{
  padding-block:clamp(3rem,6vw,5rem);
  max-width:960px;
  margin-inline:auto;
}

.section-title{
  display:flex; align-items:center; gap:1rem;
  margin:3.5rem 0 1.5rem;
  scroll-margin-top:7rem;
}
.section-title:first-child{ margin-top:0; }
.section-title .num{
  flex:none;
  width:42px; height:42px;
  border-radius:12px;
  background:var(--dunas-gold);
  color:var(--dunas-graphite);
  font-family:var(--font-display);
  font-weight:700; font-size:1.15rem;
  display:flex; align-items:center; justify-content:center;
}
.section-title h2{ font-size:var(--step-2); margin:0; }
.section-title .line{ flex:1; height:1px; background:var(--graphite-line); }

.guide p{ margin:1rem 0; color:#4f4f4f; line-height:1.78; }
.guide strong{ color:var(--dunas-graphite); font-weight:600; }
.guide .lead{
  font-size:var(--step-1);
  color:var(--graphite-soft);
  line-height:1.62;
  margin-bottom:1.25rem;
}
.guide h3{ font-size:var(--step-1); margin:2rem 0 .5rem; scroll-margin-top:7rem; }

/* Listas */
ul.tick{ list-style:none; margin:1.5rem 0 0; display:grid; gap:.75rem; }
ul.tick li{ position:relative; padding-left:2.1rem; color:#4f4f4f; line-height:1.7; }
ul.tick li::before{
  content:"";
  position:absolute; left:0; top:.2em;
  width:20px; height:20px; border-radius:6px;
  background:var(--gold-a28);
}
ul.tick li.filled::before{ background:var(--dunas-gold); }
ul.tick li.filled::after{
  content:"";
  position:absolute; left:6px; top:.42em;
  width:5px; height:9px;
  border:solid var(--dunas-graphite);
  border-width:0 2px 2px 0;
  transform:rotate(45deg);
}

ul.dot{ list-style:none; margin:1rem 0 0; display:grid; gap:.6rem; }
ul.dot li{ position:relative; padding-left:1.5rem; color:#4f4f4f; line-height:1.7; }
ul.dot li::before{
  content:""; position:absolute; left:.1rem; top:.68em;
  width:7px; height:7px; border-radius:50%; background:var(--dunas-gold);
}

ol.ord{ padding-left:1.4rem; margin:1.25rem 0 0; }
ol.ord li{ margin-bottom:.6rem; color:#4f4f4f; line-height:1.7; padding-left:.25rem; }
ol.ord li::marker{ color:#A8853A; font-weight:600; }

/* Cartoes */
.gcard{
  padding:1.4rem 1.5rem;
  background:#fff;
  border:1px solid var(--graphite-line-2);
  border-radius:var(--radius);
  margin-top:1rem;
  transition:border-color .4s, box-shadow .4s;
}
.gcard:hover{ border-color:var(--gold-a45); box-shadow:var(--shadow-sm); }
.gcard h3{
  font-size:1.05rem;
  display:flex; flex-wrap:wrap; align-items:center; gap:.6rem;
  margin:0 0 .5rem;
}
.gcard p{ margin:0; font-size:.94rem; }
.gcard + .gcard{ margin-top:.75rem; }
.pill{
  font-family:var(--font-body);
  font-weight:600;
  font-size:.68rem;
  letter-spacing:.05em;
  background:var(--gold-a16);
  color:#8a6d2c;
  padding:.3rem .7rem;
  border-radius:100px;
  white-space:nowrap;
}

.note{
  border-left:3px solid var(--dunas-gold);
  background:var(--gold-a05);
  padding:1.15rem 1.4rem;
  border-radius:0 12px 12px 0;
  margin:1.75rem 0 0;
  color:#6b5a2a;
  font-size:.94rem;
  line-height:1.72;
}
.note strong{ color:var(--dunas-graphite); }

/* Tabelas */
.gtable{
  margin-top:.75rem;
  overflow-x:auto;
  border:1px solid var(--graphite-line-2);
  border-radius:var(--radius-sm);
  background:#fff;
}
.gtable table{ width:100%; border-collapse:collapse; font-size:.88rem; min-width:520px; }
.gtable th,.gtable td{
  text-align:left;
  padding:.85rem 1.05rem;
  border-bottom:1px solid var(--graphite-line-2);
  vertical-align:top;
}
.gtable th{
  background:var(--dunas-graphite);
  color:var(--dunas-paper);
  font-family:var(--font-body);
  font-size:.72rem;
  font-weight:600;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.gtable tbody tr:last-child td{ border-bottom:none; }
.gtable tbody tr:hover td{ background:var(--gold-a05); }
.gtable td strong{ color:var(--dunas-graphite); }
.ok{ color:#A8853A; font-weight:600; }
.bad{ color:#9a4a4a; font-weight:600; }

/* Passos */
.steps{ margin:1.5rem 0 0; }
.step{ display:flex; gap:1.1rem; position:relative; padding-bottom:1.4rem; }
.step:last-child{ padding-bottom:0; }
.step .ball{
  flex:none;
  width:38px; height:38px; border-radius:50%;
  background:var(--dunas-graphite);
  color:var(--dunas-gold);
  font-family:var(--font-display);
  font-weight:700; font-size:.95rem;
  display:flex; align-items:center; justify-content:center;
  position:relative; z-index:1;
}
.step:not(:last-child)::before{
  content:""; position:absolute; left:18.5px; top:40px; bottom:4px;
  width:1px; background:var(--gold-a45);
}
.step .body h4{ font-size:1rem; margin:0 0 .25rem; }
.step .body p{ margin:0; font-size:.92rem; color:#5f5f5f; }

/* Contato */
.contact{
  background:var(--dunas-graphite);
  color:var(--on-dark);
  border-radius:var(--radius);
  padding:clamp(1.75rem,3.5vw,2.5rem);
  margin-top:1.75rem;
  position:relative;
  overflow:hidden;
}
.contact::before{
  content:""; position:absolute; inset:0;
  background:radial-gradient(50ch 34ch at 88% -20%, rgba(219,192,120,.15), transparent 65%);
  pointer-events:none;
}
.contact h2{ color:var(--dunas-gold); font-size:var(--step-2); margin:0 0 1.5rem; position:relative; }
.contact .grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:1.35rem;
  position:relative;
}
.contact .label{
  font-size:.68rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--on-dark-mute);
  margin-bottom:.3rem;
}
.contact .value{ font-size:.94rem; font-weight:500; color:var(--dunas-paper); line-height:1.5; }
.contact a{ color:var(--dunas-gold); }
.contact a:hover{ text-decoration:underline; text-underline-offset:2px; }

.footer-note{
  margin-top:3rem; padding-top:1.5rem;
  border-top:1px solid var(--graphite-line-2);
  display:flex; flex-wrap:wrap; gap:.5rem 1.5rem;
  justify-content:space-between;
  font-size:.82rem;
  color:#8a8a8a;
}
.footer-note .brand{ font-family:var(--font-display); font-weight:600; color:#A8853A; }

/* ---------- Impressao ---------- */
@media print{
  @page{ size:A4; margin:14mm; }
  html{ scroll-behavior:auto; }
  .site-header,.drawer,.wa-float,.cookie,.modal,.scroll-bar,.no-print{ display:none !important; }
  body{ font-size:11.5px; background:#fff; }
  .cover{ min-height:auto; background:#fff !important; color:#323232 !important; padding:0 0 12mm; page-break-after:always; }
  .cover::before,.cover::after{ display:none; }
  .cover .hero h1{ color:#323232 !important; }
  .cover .hero .sub{ color:#4f4f4f !important; }
  .cover .tag{ background:#DBC078 !important; color:#323232 !important; }
  .cover-footer{ border-top:1px solid #ddd; color:#555 !important; }
  .cover-footer strong{ color:#323232 !important; }
  .page{ max-width:100%; padding:6mm 0; page-break-after:always; }
  .page:last-of-type{ page-break-after:auto; }
  .gcard,.note,.step,.contact,.gtable{ page-break-inside:avoid; }
  .section-title{ margin-top:6mm; }
  a{ text-decoration:none; color:#323232 !important; }
}
