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

:root {
  --blue:       #1a3c8f;
  --blue-dark:  #0f2660;
  --blue-light: #2f57c0;
  --green:      #0f7f4e;
  --green-dark: #095c37;
  --accent:     #f5a623;
  --text:       #1a1a2e;
  --muted:      #555;
  --bg:         #f7f8fc;
  --white:      #ffffff;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(0,0,0,.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { display: block; max-width: 100%; }

a { text-decoration: none; }

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: .85rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }

.btn--primary  { background: var(--blue);  color: var(--white); }
.btn--ifma     { background: var(--green); color: var(--white); }
.btn--full     { display: block; width: 100%; }

/* ── Section Title ── */
.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 2rem;
}
.section-title--light { color: var(--white); }

.highlight { color: var(--blue-light); }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: var(--white);
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero__text {
  flex: 1 1 340px;
}

.hero__eyebrow {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .75;
  margin-bottom: .75rem;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero__sub {
  font-size: 1.1rem;
  opacity: .9;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero__photo {
  flex: 0 0 280px;
  display: flex;
  justify-content: center;
}

.hero__photo img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid rgba(255,255,255,.25);
  box-shadow: var(--shadow);
}

/* ══════════════════════════════
   ABOUT
══════════════════════════════ */
.about {
  background: var(--white);
  padding: 3.5rem 0;
  border-bottom: 1px solid #e5e8f0;
}

.about__inner { max-width: 720px; margin-inline: auto; text-align: center; }

.about__text { font-size: 1.05rem; color: var(--muted); }

/* ══════════════════════════════
   CURSOS
══════════════════════════════ */
.cursos {
  padding: 4rem 0;
}

.cursos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* ── Card ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s;
}
.card:hover { transform: translateY(-4px); }

.card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--blue);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .25rem .7rem;
  border-radius: 20px;
  z-index: 1;
}
.card__badge--ifma { background: var(--green); }

.card__cover img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  flex: 1;
}

.card__title {
  font-size: 1.25rem;
  font-weight: 900;
}

.card__subtitle {
  font-size: .95rem;
  color: var(--muted);
  margin-top: -.5rem;
}

.card__desc {
  font-size: .95rem;
  color: var(--muted);
}

.card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.card__list li {
  font-size: .92rem;
  color: var(--text);
}

.card__price {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e5e8f0;
  display: flex;
  align-items: baseline;
  gap: .5rem;
}

.price__label { font-size: .85rem; color: var(--muted); }

.price__value {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text);
}

/* ══════════════════════════════
   PARA QUEM
══════════════════════════════ */
.paraquem {
  background: var(--white);
  padding: 4rem 0;
  border-top: 1px solid #e5e8f0;
}

.paraquem__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.paraquem__item {
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid #e5e8f0;
  border-radius: var(--radius);
  background: var(--bg);
}

.paraquem__icon { font-size: 2rem; display: block; margin-bottom: .5rem; }

.paraquem__item p { font-size: .95rem; color: var(--text); }

/* ══════════════════════════════
   DIFERENCIAL
══════════════════════════════ */
.diferencial {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 4rem 0;
}

.diferencial__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.diferencial__card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.diferencial__card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.diferencial__card p { font-size: .95rem; opacity: .9; }

/* ══════════════════════════════
   GARANTIA
══════════════════════════════ */
.garantia {
  padding: 3rem 0;
  background: var(--bg);
}

.garantia__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--white);
  border: 2px solid #e5e8f0;
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 680px;
  margin-inline: auto;
}

.garantia__icon { font-size: 3rem; flex-shrink: 0; }

.garantia__inner h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .4rem; }
.garantia__inner p  { font-size: .95rem; color: var(--muted); }

/* ══════════════════════════════
   CTA FINAL
══════════════════════════════ */
.cta-final {
  background: var(--white);
  padding: 4rem 0;
  text-align: center;
  border-top: 1px solid #e5e8f0;
}

.cta-final__inner { max-width: 600px; margin-inline: auto; }

.cta-final__inner h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 900;
  margin-bottom: .75rem;
}

.cta-final__inner p {
  color: var(--muted);
  margin-bottom: 2rem;
}

.cta-final__btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-final__btns .btn { min-width: 200px; font-size: 1.05rem; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,.7);
  text-align: center;
  padding: 2rem 0;
  font-size: .85rem;
}

.footer p + p { margin-top: .4rem; }

.footer__hotmart { opacity: .6; }

/* ══════════════════════════════
   RESPONSIVIDADE
══════════════════════════════ */
@media (max-width: 640px) {
  .hero__inner {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero__sub { margin-inline: auto; }

  .hero__photo { flex: unset; }

  .hero__photo img {
    width: 180px;
    height: 180px;
  }

  .garantia__inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-final__btns .btn { width: 100%; }
}
