:root {
  --primary: #0a7ab8;
  --primary-dark: #075e8f;
  --primary-light: #e6f4fb;
  --accent: #f7b32b;
  --accent-dark: #e0a000;
  --dark: #12233a;
  --text: #2c3e50;
  --text-light: #6b7c93;
  --white: #ffffff;
  --gray-bg: #f4f8fb;
  --green: #25d366;
  --green-dark: #1eb858;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(18, 35, 58, 0.12);
  --shadow-lg: 0 20px 48px rgba(18, 35, 58, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

/* ===== BARRA SUPERIOR ===== */
.topbar {
  background: var(--white);
  box-shadow: 0 1px 12px rgba(18, 35, 58, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}

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

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

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(10, 122, 184, 0.35);
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(10, 122, 184, 0.35);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 17px;
  color: var(--dark);
}

.brand-text span {
  font-size: 12px;
  color: var(--text-light);
}

.topbar-whats {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  transition: transform 0.2s, background 0.2s;
}

.topbar-whats:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(160deg, #0a1730 0%, #0d2b4d 55%, #0a7ab8 130%);
  color: var(--white);
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 122, 184, 0.35), transparent 70%);
  top: -140px;
  right: -120px;
}

.hero::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 179, 43, 0.18), transparent 70%);
  bottom: -160px;
  left: -100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  background: rgba(247, 179, 43, 0.18);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(247, 179, 43, 0.5); }
  50% { box-shadow: 0 0 0 10px rgba(247, 179, 43, 0); }
}

.hero h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 16px;
}

.price-new {
  font-size: 56px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.hero-text {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  max-width: 540px;
}

.highlight {
  display: inline-block;
  background: var(--accent);
  color: var(--dark);
  font-weight: 800;
  padding: 2px 12px;
  border-radius: 8px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(247, 179, 43, 0.45);
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { box-shadow: 0 4px 14px rgba(247, 179, 43, 0.35); }
  50% { box-shadow: 0 4px 22px rgba(247, 179, 43, 0.65); }
}

.hero-checks {
  list-style: none;
  margin-bottom: 28px;
  display: grid;
  gap: 10px;
}

.hero-checks li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
}

.hero-checks li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: var(--dark);
  font-size: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 8px 24px rgba(247, 179, 43, 0.4);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(247, 179, 43, 0.5);
}

.btn-whats {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-whats:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
  margin-top: 12px;
}

/* ===== CARTÃO DO EXAME ===== */
.eyecard {
  background: var(--white);
  color: var(--text);
  border-radius: 24px;
  padding: 36px 30px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
}

.eyecard-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  box-shadow: inset 0 0 0 2px var(--primary);
}

.eyecard-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.eyecard-meta {
  display: flex;
  justify-content: center;
  gap: 14px;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 18px;
}

.eyecard-price {
  background: var(--gray-bg);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 18px;
}

.eyecard-price .for {
  display: block;
  font-size: 16px;
  color: var(--text);
}

.eyecard-price .for strong {
  font-size: 34px;
  color: var(--primary);
}

.eyecard-btn {
  display: block;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  padding: 14px;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}

.eyecard-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ===== CONTAGEM REGRESSIVA ===== */
.countdown-wrap {
  position: relative;
  z-index: 1;
  margin-top: 48px;
}

.countdown {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 15px;
}

.countdown-label {
  color: rgba(255, 255, 255, 0.85);
}

.countdown #countdown {
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}

/* ===== SEÇÕES ===== */
.section-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--text-light);
  font-size: 16px;
  max-width: 620px;
  margin: 0 auto 36px;
}

/* ===== COMO FUNCIONA ===== */
.how {
  padding: 72px 0;
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.step {
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  border-top: 4px solid var(--primary);
  transition: transform 0.2s, box-shadow 0.2s;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.step-num {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  color: var(--dark);
  font-size: 17px;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-light);
}

/* ===== AGENDAMENTO ===== */
.agenda {
  padding: 72px 0;
  background: var(--gray-bg);
}

.agenda-box {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 36px 32px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 10px;
}

.form-group input[type="text"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #dfe7ef;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(10, 122, 184, 0.12);
}

/* ===== DIAS ===== */
.day-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.day-chip {
  border: 2px solid #dfe7ef;
  background: var(--white);
  border-radius: 12px;
  padding: 12px 8px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.day-chip .d-nome {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.day-chip .d-num {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
}

.day-chip.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

.day-chip.selected .d-nome {
  color: var(--primary);
}

.day-chip.closed {
  opacity: 0.45;
  cursor: not-allowed;
  background: #f0f0f0;
}

.day-chip.closed .d-num {
  color: var(--text-light);
}

/* ===== HORÁRIOS ===== */
.time-picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.time-chip {
  border: 2px solid #dfe7ef;
  background: var(--white);
  border-radius: 10px;
  padding: 10px 4px;
  cursor: pointer;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  transition: all 0.2s;
}

.time-chip:hover:not(.disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.time-chip.selected {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.time-chip.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

.time-hint {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-light);
}

.form-note {
  margin-top: 14px;
  font-size: 13px;
  text-align: center;
  color: var(--text-light);
}

/* ===== INFORMAÇÕES ===== */
.info {
  padding: 72px 0;
  background: var(--white);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.info-card {
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
}

.info-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.info-card h3 {
  color: var(--dark);
  font-size: 17px;
  margin-bottom: 10px;
}

.info-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

.info-card .addr-main {
  color: var(--text);
  font-weight: 500;
}

.info-card .addr-ref {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #d5dfe8;
  font-size: 13px;
  color: var(--text-light);
}

.info-card .addr-ref strong {
  color: var(--primary);
}

.map-actions {
  text-align: center;
  margin-top: 32px;
}

/* ===== RODAPÉ ===== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 28px 0;
  text-align: center;
  font-size: 14px;
}

.footer p {
  margin-bottom: 4px;
}

/* ===== WHATSAPP FLUTUANTE ===== */
.float-wa {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  transition: transform 0.2s;
  animation: wa-float 2.6s ease-in-out infinite;
}

.float-wa:hover {
  transform: scale(1.1);
}

.float-wa::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 14px solid var(--green);
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
}

.float-wa-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--dark);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

@keyframes wa-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ===== SVG WHATSAPP ===== */
.wa-svg {
  width: 34px;
  height: 34px;
  fill: var(--white);
}

.wa-svg-sm {
  width: 18px;
  height: 18px;
  fill: var(--white);
  flex-shrink: 0;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .steps,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 32px;
  }

  .price-new {
    font-size: 46px;
  }

  .day-picker {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .topbar-inner {
    height: 60px;
  }

  .brand-logo-img {
    width: 38px;
    height: 38px;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .brand-text span {
    font-size: 11px;
  }

  .topbar-whats {
    padding: 9px 14px;
    font-size: 13px;
  }

  .hero {
    padding: 40px 0 56px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .badge {
    font-size: 12px;
  }

  .price-new {
    font-size: 44px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
  }

  .countdown {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    padding: 14px;
    font-size: 14px;
  }

  .section-title {
    font-size: 25px;
  }

  .step {
    padding: 26px 20px;
  }

  .agenda-box {
    padding: 24px 16px;
    border-radius: 18px;
  }

  .form-group input[type="text"],
  .form-group input[type="tel"] {
    font-size: 16px;
    padding: 16px;
  }

  .day-chip {
    padding: 14px 8px;
  }

  .time-chip {
    padding: 14px 4px;
    font-size: 16px;
  }

  .submit-btn,
  .btn-block {
    padding: 16px 20px;
    font-size: 16px;
  }

  .info-card {
    padding: 26px 20px;
    text-align: left;
  }

  .map-actions .btn {
    width: 100%;
  }

  .float-wa {
    bottom: 18px;
    right: 18px;
    width: 56px;
    height: 56px;
  }

  .wa-svg {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 520px) {
  .time-picker {
    grid-template-columns: repeat(3, 1fr);
  }

  .day-picker {
    gap: 8px;
  }

  .hero h1 {
    font-size: 26px;
  }
}
