:root {
  --navy: #0b1f4a;
  --blue: #12336f;
  --blue-bright: #1a4aa0;
  --accent: #F5B420;      /* gold da marca */
  --accent-hover: #ffc63f;
  --link: #6fb0ff;
  --text: #FFFFFF;
  --text-muted: #d3ddf2;
  --white-card: #ffffff;
  --ink: #0b1f4a;
  --urgency: #FFB020;
  --font: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  background: linear-gradient(165deg, #0a1c45 0%, #12336f 55%, #1a4aa0 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

h1, h2 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.1rem, 8vw, 3.2rem);
}

h2 {
  font-size: clamp(1.6rem, 6vw, 2.3rem);
  text-align: center;
  margin-bottom: 1.75rem;
}

p {
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 56px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 800;
  font-size: 1.15rem;
  padding: 0.9rem 2.25rem;
  border-radius: 0.75rem;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 8px 24px rgba(245, 180, 32, 0.28);
  transition: background-color 0.2s ease, transform 0.15s ease;
}

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

.btn-sm {
  min-height: 48px;
  font-size: 1rem;
  padding: 0.7rem 1.5rem;
  margin-top: 1.25rem;
}

.btn-lg {
  font-size: 1.25rem;
  padding: 1.1rem 2.5rem;
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  background: #2ee372;
}

.btn-whatsapp svg {
  width: 22px;
  height: 22px;
}

/* Centered CTA row */
.cta-center {
  text-align: center;
  margin-top: 2rem;
}

.details .btn {
  margin-top: 1.25rem;
}

/* Hero */
.hero {
  padding: 2rem 0 3rem;
  text-align: center;
}

.brand-logo {
  height: 72px;
  width: auto;
  margin: 0 auto 1.75rem;
  display: block;
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero .highlight {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin: 0 auto 1.75rem;
}

/* Info chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.chip svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Section spacing */
.section {
  padding: 3rem 0;
}

/* Trainer */
.trainer-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.25rem;
  padding: 1.5rem;
}

.trainer-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 320px;
  flex-shrink: 0;
  border-radius: 1rem;
  overflow: hidden;
}

.trainer-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.trainer-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem 1.1rem 1rem;
  background: linear-gradient(to top, rgba(6, 18, 45, 0.92) 0%, rgba(6, 18, 45, 0.55) 55%, transparent 100%);
  text-align: left;
}

.trainer-caption .name {
  display: block;
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.2;
}

.trainer-caption .role {
  display: block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
}

.trainer-text {
  text-align: center;
}

.trainer-text .eyebrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.trainer-text p.lead {
  font-size: 1.15rem;
  color: var(--text);
  text-align: center;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  text-align: center;
}

.stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 1.25rem 0.5rem;
}

.stat-number {
  display: block;
  font-size: clamp(1.8rem, 7vw, 2.5rem);
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 0.35rem;
  line-height: 1.3;
}

/* Learn section */
.learn-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  padding: 1.25rem 1.35rem;
  text-align: left;
}

.card .icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
  flex-shrink: 0;
}

.card p {
  color: var(--text);
  font-weight: 600;
  font-size: 1.02rem;
}

/* Details */
.details {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  text-align: center;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.detail-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-value {
  font-size: 1.2rem;
  font-weight: 800;
}

.detail-value.price {
  color: var(--accent);
}

.urgency {
  color: var(--urgency);
  font-weight: 800;
  font-size: 1.05rem;
  margin-top: 0.75rem;
}

/* Certification (INEFOP) — light section for the blue logo */
.cert {
  background: var(--white-card);
  border-radius: 1.25rem;
  padding: 2.25rem 1.5rem;
  text-align: center;
}

.cert img {
  height: 96px;
  width: auto;
  margin: 0 auto 1.25rem;
  display: block;
}

.cert h2 {
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.cert p {
  color: #3a4a6b;
  max-width: 32rem;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Final CTA section */
.final-cta {
  text-align: center;
}

.final-cta-text {
  max-width: 30rem;
  margin: 0 auto 1.75rem;
  font-size: 1.1rem;
}

.final-cta .btn {
  display: flex;
  width: 100%;
  max-width: 26rem;
  margin: 0 auto 1rem;
}

/* Sticky bottom CTA bar */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  padding-bottom: calc(0.7rem + env(safe-area-inset-bottom, 0));
  background: rgba(8, 22, 52, 0.92);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.sticky-cta .btn {
  flex: 1;
  min-height: 52px;
  font-size: 1.05rem;
  margin: 0;
}

.sticky-wa {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticky-wa svg {
  width: 28px;
  height: 28px;
  color: #fff;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 12, 30, 0.72);
  backdrop-filter: blur(3px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  margin: auto;
  background: var(--white-card);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: #6b7794;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.modal-head {
  padding: 1.5rem 1.5rem 0.75rem;
}

.modal-head h3 {
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 800;
}

.modal-head p {
  color: #3a4a6b;
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.modal-body {
  padding: 0 0.75rem 0.75rem;
}

/* Footer */
footer {
  padding: 2.5rem 0 7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.footer-logo {
  height: 56px;
  width: auto;
  margin: 0 auto 1rem;
  display: block;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Tablet and up */
@media (min-width: 768px) {
  .hero {
    padding: 3rem 0 4rem;
  }

  .trainer-card {
    flex-direction: row;
    align-items: center;
    padding: 2rem;
    gap: 2.5rem;
  }

  .trainer-text {
    text-align: left;
  }

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

  .details-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .sticky-cta {
    display: none;
  }

  footer {
    padding: 2.5rem 0 2rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .learn-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
