/* ============================================================
   Unilife LP — Plano CNPJ Sem Carência
   Design system portado de landing_alice.html
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --teal-dark:   #003535;
  --teal-mid:    #004f4f;
  --teal-light:  #006c6c;
  --gold:        #C9A84C;
  --gold-light:  #e0c068;
  --cream:       #f9f6f0;
  --cream-dark:  #f0ebe0;
  --white:       #ffffff;
  --text-dark:   #1a1a1a;
  --text-mid:    #3a3a3a;
  --text-muted:  #6b6b6b;
  --border:      #ddd6c8;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- NAV ---------- */
nav {
  background: var(--teal-dark);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-logo { height: 50px; display: block; }
.nav-cta {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 22px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.nav-cta:hover { background: rgba(255, 255, 255, 0.25); border-color: rgba(255, 255, 255, 0.5); }

/* ---------- HERO ---------- */
.hero {
  background: var(--teal-dark);
  color: var(--white);
  padding: 72px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--white);
  border-radius: 50%;
  animation: blink 2s infinite;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}
@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  font-weight: 300;
  line-height: 1.7;
}
.hero-hospitals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.hospital-tag {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.hero-cta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--teal-dark);
  padding: 16px 36px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  text-align: center;
}
.hero-cta-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}
.hero-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

/* ---------- SECTION EYEBROW ---------- */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 12px;
}

/* ---------- QUALIFICAÇÃO ---------- */
.qualify-section {
  background: var(--white);
  padding: 56px 24px;
  border-bottom: 1px solid var(--border);
}
.qualify-inner { max-width: 680px; margin: 0 auto; }
.qualify-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 32px;
  line-height: 1.3;
}
.qualify-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}
.qualify-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
}
.qualify-check {
  width: 20px; height: 20px;
  background: var(--teal-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: white;
  font-size: 11px;
  font-weight: 700;
}
.qualify-item p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.5; }
.qualify-item strong { display: block; font-weight: 600; color: var(--text-dark); margin-bottom: 2px; font-size: 0.9rem; }
.cities-block {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 20px 24px;
}
.cities-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 12px;
}
.cities-list { display: flex; flex-wrap: wrap; gap: 8px; }
.city-pill {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-mid);
  padding: 4px 12px;
  font-size: 0.82rem;
  font-weight: 500;
}

/* ---------- COBERTURA ---------- */
.coverage-section {
  background: var(--teal-dark);
  color: var(--white);
  padding: 56px 24px;
}
.coverage-inner { max-width: 680px; margin: 0 auto; }
.coverage-section .section-eyebrow { color: var(--gold-light); }
.coverage-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}
.coverage-subtitle { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 36px; }
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-bottom: 28px;
}
.coverage-item {
  background: rgba(255,255,255,0.06);
  padding: 20px;
  border-top: 2px solid var(--gold);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.coverage-icon { font-size: 1.4rem; flex-shrink: 0; }
.coverage-item strong { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 3px; }
.coverage-item span { font-size: 0.8rem; color: rgba(255,255,255,0.55); }
.coverage-caveat {
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 14px 18px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}
.coverage-caveat strong { color: var(--gold-light); }

/* ---------- REDE ---------- */
.network-section {
  background: var(--white);
  padding: 56px 24px;
  border-bottom: 1px solid var(--border);
}
.network-inner { max-width: 680px; margin: 0 auto; }
.network-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.network-sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 32px; }
.hospitals-list { display: flex; flex-direction: column; gap: 2px; margin-bottom: 24px; }
.hospital-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--cream);
  border-left: 3px solid var(--teal-light);
  transition: border-color 0.2s, background 0.2s;
}
.hospital-row:hover { border-color: var(--gold); background: var(--cream-dark); }
.hospital-dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }
.hospital-name { font-weight: 600; font-size: 0.92rem; color: var(--text-dark); flex: 1; }
.hospital-tag-sm { font-size: 0.72rem; color: var(--teal-light); font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }
.network-note { font-size: 0.8rem; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 16px; }

/* ---------- FORMULÁRIO ---------- */
.form-section { background: var(--cream); padding: 64px 24px; }
.form-inner { max-width: 560px; margin: 0 auto; }
.form-header { text-align: center; margin-bottom: 40px; }
.form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  color: var(--teal-dark);
  line-height: 1.25;
  margin-bottom: 12px;
}
.form-subtitle { color: var(--text-muted); font-size: 0.9rem; }
.form-box {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px 32px;
  box-shadow: 0 4px 32px rgba(0,53,53,0.06);
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.form-label .req { color: var(--gold); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--teal-light);
  background: var(--white);
}
.form-select {
  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='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: var(--cream);
  padding-right: 36px;
  cursor: pointer;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.form-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 6px; font-style: italic; }
.form-submit {
  width: 100%;
  background: var(--teal-dark);
  color: var(--white);
  border: none;
  padding: 18px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
}
.form-submit:hover {
  background: var(--teal-mid);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,53,53,0.25);
}
.form-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.form-privacy {
  text-align: center;
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.form-error { border-color: #c0392b !important; }
.form-field-error {
  font-size: 0.73rem;
  color: #c0392b;
  margin-top: 4px;
}

/* ---------- THANK YOU ---------- */
.thankyou { display: none; text-align: center; padding: 32px 16px; }
.thankyou.is-visible { display: block; }
.thankyou-icon {
  width: 64px; height: 64px;
  background: var(--teal-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 1.8rem;
}
.thankyou h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  color: var(--teal-dark);
  margin-bottom: 10px;
}
.thankyou p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; max-width: 340px; margin: 0 auto 24px; }
.wpp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s;
  cursor: pointer;
  border: none;
  font-family: 'DM Sans', sans-serif;
}
.wpp-btn:hover { background: #1ebe5a; }

.reset-form-btn {
  background: transparent;
  border: none;
  color: var(--teal-light);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: color 0.2s;
}
.reset-form-btn:hover {
  color: var(--teal-dark);
}

/* ---------- FAQ ---------- */
.faq-section { background: var(--white); padding: 56px 24px; border-top: 1px solid var(--border); }
.faq-inner { max-width: 640px; margin: 0 auto; }
.faq-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 32px;
  text-align: center;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
}
.faq-question:hover { color: var(--teal-light); }
.faq-arrow {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--teal-light);
  transition: transform 0.25s, background 0.2s;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); background: var(--teal-dark); color: var(--white); }
.faq-answer {
  display: none;
  padding-bottom: 18px;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ---------- FOOTER CTA ---------- */
.footer-cta { background: var(--teal-dark); padding: 56px 24px; text-align: center; }
.footer-cta-inner { max-width: 560px; margin: 0 auto; }
.footer-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}
.footer-cta p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 28px; }

/* ---------- FOOTER ---------- */
footer { background: #001f1f; padding: 28px 24px; text-align: center; }
.footer-brand { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 600; color: rgba(255,255,255,0.5); margin-bottom: 6px; }
.footer-brand span { color: var(--gold); }
.footer-meta { font-size: 0.75rem; color: rgba(255,255,255,0.3); line-height: 1.8; }

/* ---------- GLOBAL ERROR / STATUS ---------- */
.form-status {
  text-align: center;
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 12px;
  display: none;
}
.form-status.is-error {
  display: block;
  background: rgba(192,57,43,0.08);
  border: 1px solid rgba(192,57,43,0.3);
  color: #c0392b;
}

/* ---------- SPINNER (loading on submit) ---------- */
.spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- UTILS ---------- */
.mobile-break { display: none; }

/* ---------- MOBILE ---------- */
@media (max-width: 600px) {
  nav { padding: 14px 16px; }
  .nav-logo { height: 44px; }
  .nav-cta { padding: 8px 14px; font-size: 0.78rem; }
  .hero { padding: 48px 20px 60px; }
  .mobile-break { display: block; }
  .hero-cta-btn { display: block; width: 100%; box-sizing: border-box; }
  .qualify-grid { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-box { padding: 24px 18px; }
}

/* ---------- ENV BADGE ---------- */
.env-badge {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #c0392b;
  color: white;
  padding: 4px 14px;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  font-size: 0.70rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  pointer-events: none;
}
