/* =========================
   styles.css (ZERO)
   Lista de Espera — Seja Átomo
   ========================= */

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

:root{
  --brand1:#ff8c00;
  --brand2:#ffa500;

  --bg:#ffffff;
  --text:#111827;
  --muted:#6b7280;

  --card:#ffffff;
  --border:rgba(17,24,39,.10);

  --shadow: 0 18px 45px rgba(0,0,0,.12);
  --shadow-strong: 0 28px 70px rgba(0,0,0,.18);

  --radius: 18px;

  /* popup */
  --overlay: rgba(0,0,0,.70);
  --popup-bg:#6b7280;

  --input-border:#d1d5db;
  --input-focus:#3b82f6;

  --btn:#111827;
  --btn-hover:#0b1220;

  --btn-accent:#f59e0b;
  --btn-accent-hover:#d97706;
}

html, body { height: 100%; }

body{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

.container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   Header
   ========================= */
.header{
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.header-inner{
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand{
  font-weight: 900;
  letter-spacing: .2px;
  color: var(--brand1);
}

a{ color: inherit; }
a:hover{ opacity: .9; }

/* =========================
   Buttons
   ========================= */
.btn{
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  font-weight: 900;
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: var(--btn);
  color: #fff;
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 14px 32px rgba(0,0,0,.20);
}
.btn-primary:hover{ background: var(--btn-hover); transform: translateY(-1px); }

.btn-ghost{
  border-color: rgba(17,24,39,.14);
  color: var(--text);
  background: rgba(17,24,39,.03);
}
.btn-ghost:hover{
  background: rgba(17,24,39,.06);
  transform: translateY(-1px);
}

.btn-block{
  width: 100%;
  border-radius: 14px;
  padding: 15px 18px;
  text-transform: uppercase;
  letter-spacing: .35px;
}

/* =========================
   Hero
   ========================= */
.hero{
  background: linear-gradient(135deg, var(--brand1) 0%, var(--brand2) 100%);
  color: #fff;
  padding: 120px 0 70px;
  margin-top: 64px; /* header fixo */
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
}

.pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(17,24,39,.88);
  border: 1px solid rgba(255,255,255,.20);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: .25px;
  box-shadow: 0 10px 25px rgba(0,0,0,.18);
  margin-bottom: 14px;
}

.pill-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,.18);
}

.hero-title{
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 12px;
}

.hero-title-muted{
  font-weight: 800;
  opacity: .92;
  font-size: .85em;
}

.hero-subtitle{
  font-size: 1.08rem;
  opacity: .96;
  margin-bottom: 18px;
  max-width: 72ch;
}

.hero-checks{
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  font-weight: 800;
}

.hero-actions{ display: grid; gap: 10px; }
.hero-footnote{
  font-size: .95rem;
  opacity: .92;
}

/* right card */
.card{
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-strong);
}

.card-title{
  font-weight: 900;
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.card-list{
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.card-item{
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: start;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 12px;
  font-weight: 700;
}

.card-emoji{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(17,24,39,.22);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-note{
  font-weight: 800;
  opacity: .95;
  background: rgba(17,24,39,.20);
  border: 1px solid rgba(255,255,255,.14);
  padding: 10px 12px;
  border-radius: 12px;
}

/* =========================
   Sections
   ========================= */
.section{
  padding: 70px 0;
  background: #fff;
}

.section-light{
  background: #f9fafb;
}

.section-title{
  text-align: center;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 900;
  margin-bottom: 22px;
}

.grid-3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px){
  .grid-3{ grid-template-columns: 1fr; }
}

.mini-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.mini-top{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.mini-num{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255,140,0,.16);
  border: 1px solid rgba(255,140,0,.30);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #b45309;
}

.mini-card h3{
  font-weight: 900;
  font-size: 1.05rem;
}

.mini-card p{
  color: var(--muted);
}

.cta-strip{
  margin-top: 22px;
  background: #111827;
  color: #fff;
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
}

.cta-strip h3{
  font-weight: 900;
  margin-bottom: 4px;
}
.cta-strip p{
  opacity: .9;
}

.grid-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 900px){
  .grid-2{ grid-template-columns: 1fr; }
}

.big-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.big-card-head{ margin-bottom: 12px; }

.badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: .95rem;
}

.badge.ok{
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.25);
  color: #166534;
}

.badge.no{
  background: rgba(244,63,94,.12);
  border: 1px solid rgba(244,63,94,.22);
  color: #9f1239;
}

.big-card p{
  color: var(--muted);
  font-size: 1.02rem;
}

/* =========================
   Footer
   ========================= */
.footer{
  background: #0b1220;
  color: #fff;
  padding: 22px 0;
}

.footer-inner{
  display: grid;
  gap: 4px;
  text-align: center;
}

.footer-mini{
  opacity: .85;
  font-size: .92rem;
}

/* =========================
   Popup
   ========================= */
.popup{
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.popup.is-open{
  opacity: 1;
  visibility: visible;
}

.popup-backdrop{
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.popup-card{
  position: relative;
  width: min(520px, calc(100% - 36px));
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%) scale(.98);
  background: var(--popup-bg);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 28px 70px rgba(0,0,0,.35);
  padding: 30px 24px;
  transition: transform .25s ease;
}

.popup.is-open .popup-card{
  transform: translateY(-50%) scale(1);
}

.popup-close{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.popup-close:hover{
  background: rgba(255,255,255,.18);
  transform: translateY(-1px);
}

.popup-head{
  text-align: center;
  margin-bottom: 14px;
}

.popup-head h3{
  color: #fff;
  font-weight: 900;
  font-size: 28px;
  margin-bottom: 8px;
}

.popup-head p{
  color: rgba(255,255,255,.86);
  font-size: 14.5px;
  line-height: 1.45;
}

.popup-mini{
  margin-top: 6px;
  font-weight: 800;
  color: rgba(255,255,255,.92);
  font-size: 13px;
}

/* =========================
   Form
   ========================= */
.form{ display: grid; gap: 12px; }

.field{
  display: grid;
  gap: 6px;
}

.field label{
  font-weight: 900;
  color: rgba(255,255,255,.92);
  font-size: 13px;
  letter-spacing: .2px;
}

.field input{
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid var(--input-border);
  outline: none;
  font-size: 16px;
  background: #fff;
  color: #111827;
}

.field input:focus{
  border-color: var(--input-focus);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}

.error{
  min-height: 16px;
  font-size: 12.5px;
  font-weight: 900;
  color: #fecaca;
}

.field.is-error input{ border-color: #ef4444; }

.consent{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 4px;
  color: rgba(255,255,255,.88);
  font-size: 13.5px;
  line-height: 1.35;
}

.consent input{
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #3b82f6;
}

.consent a{
  color: #93c5fd;
  font-weight: 900;
}
.consent a:hover{ color: #bfdbfe; }

.status{
  display: none;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 900;
  font-size: 13px;
}

.status.show{ display: block; }

.status.ok{
  background: rgba(34,197,94,.14);
  border: 1px solid rgba(34,197,94,.28);
  color: #bbf7d0;
}

.status.bad{
  background: rgba(244,63,94,.14);
  border: 1px solid rgba(244,63,94,.24);
  color: #fecdd3;
}

/* Spinner no botão */
.btn-spinner{
  display: none;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.btn.loading .btn-text{ opacity: 0; }
.btn.loading .btn-spinner{ display: inline-block; }

/* Mobile tweaks */
@media (max-width: 520px){
  .hero{ padding: 110px 0 56px; }
  .popup-card{ padding: 26px 18px; }
  .popup-head h3{ font-size: 24px; }
}
.hero-logo {
  margin-bottom: 20px;
}

.hero-logo img {
  height: 60px;
}

.hero-photo {
  margin-bottom: 20px;
  text-align: center;
}

.hero-photo img {
  width: 50%;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgb(0, 0, 0);
  border-bottom: 1px solid #080505;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  height: 70px;
}

.logo {
  height: 148px;
}