/* ========================================================================
   Curso Gratuito, Tamara Almeida
   Paleta PROPRIA (azul-petroleo + dourado), distinta da home/expert/workshop.
   ======================================================================== */

body.curso-theme {
  --green-deep: #0d2e2f;
  --green: #144b4d;
  --green-soft: #1c6467;
  --gold: #c99a3f;
  --gold-light: #ddb86a;
  --cream: #eaf0ee;
  --cream-soft: #f5f8f7;
  --text: #1f2e2c;
  --shadow: 0 18px 50px rgba(13, 46, 47, .18);
  --grad: linear-gradient(155deg, #1c6467 0%, #144b4d 45%, #0d2e2f 100%);
}

/* ---------- Header simples (landing) ---------- */
.lp-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13, 46, 47, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,154,63,.25);
}
.lp-header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.lp-header .brand-logo { height: 32px; width: auto; }
.lp-header-cta { padding: 11px 22px; font-size: .92rem; }

/* ---------- Hero ---------- */
.lp-hero {
  position: relative; overflow: hidden; background: var(--grad); color: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 52px));
}
/* Vinheta suave: aprofunda os cantos e o rodapé pra dar volume ao lado do texto */
.lp-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 22% 42%, transparent 40%, rgba(6,26,27,.55) 100%),
    linear-gradient(to bottom, rgba(6,26,27,.35) 0%, transparent 22%);
}
.lp-hero-frame {
  position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 148px 24px 110px;
  display: flex; align-items: center;
}
.lp-hero-text { max-width: 600px; }

.lp-hero-art {
  position: absolute; top: 0; right: 0; bottom: 0; left: auto; width: 58%; z-index: 0;
}
.lp-hero-art img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% center; display: block;
  /* Esfumado bem largo na esquerda: a foto se dissolve no fundo do hero, sem emenda */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,.25) 34%, rgba(0,0,0,.7) 58%, #000 78%),
    linear-gradient(to top, transparent 0%, #000 12%),
    linear-gradient(to bottom, transparent 0%, #000 18%);
  -webkit-mask-composite: source-in, source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,.25) 34%, rgba(0,0,0,.7) 58%, #000 78%),
    linear-gradient(to top, transparent 0%, #000 12%),
    linear-gradient(to bottom, transparent 0%, #000 18%);
  mask-composite: intersect, intersect;
}
.lp-hero-art::after {
  content: ''; position: absolute; inset: 0;
  /* Sem cor sólida na esquerda (era o que criava o corte seco); só brilho/vinheta suaves */
  background:
    linear-gradient(to bottom, rgba(201,154,63,.4) 0%, transparent 18%),
    linear-gradient(to top, rgba(13,46,47,.45) 0%, transparent 22%),
    radial-gradient(ellipse at 78% 15%, rgba(201,154,63,.18), transparent 60%);
  pointer-events: none;
}

.lp-ribbon {
  display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: var(--green-deep);
  font-family: var(--font-head); font-weight: 700; font-size: .76rem; letter-spacing: .1em;
  text-transform: uppercase; padding: 8px 18px; border-radius: 999px; margin-bottom: 22px;
}
.lp-hero h1 { font-size: clamp(1.9rem, 3.9vw, 2.8rem); font-weight: 800; margin-bottom: 20px; }
.lp-hero .hero-sub { font-size: clamp(.98rem, 1.6vw, 1.08rem); color: var(--text-light); max-width: 560px; margin-bottom: 26px; }

.curso-info-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.curso-info-pills span {
  font-family: var(--font-head); font-weight: 600; font-size: .84rem; color: var(--white);
  background: rgba(255,255,255,.08); border: 1px solid rgba(201,154,63,.4);
  padding: 8px 16px; border-radius: 999px;
}

.lp-hero .hero-actions { margin-bottom: 38px; }
.lp-hero .hero-stats {
  display: flex; flex-wrap: wrap; gap: 28px; border: none; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.14); margin-top: 0;
}
.lp-hero .stat strong { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--gold-light); display: block; }
.lp-hero .stat span { font-size: .82rem; color: var(--text-light); }

@media (max-width: 820px) {
  .lp-hero-frame { padding: 120px 24px 70px; }
  .lp-hero-art img { object-position: 75% top; }
}

/* ---------- Seções base ---------- */
.lp-section { padding: 86px 0; background: var(--cream-soft); }
.lp-section.alt { background: var(--white); }
.lp-section .section-head { margin-bottom: 48px; }

/* ---------- Faixa certificado ---------- */
.cert-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.cert-grid h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--green); margin: 10px 0 14px; }
.cert-grid > div > p { color: #445451; margin-bottom: 24px; }
.cert-stats { display: flex; gap: 32px; }
.cert-stats .stat strong { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--green); display: block; }
.cert-stats .stat span { font-size: .85rem; color: #5c6b68; }

.cert-alert {
  background: var(--cream); border-left: 4px solid var(--gold); border-radius: 0 16px 16px 0;
  padding: 26px 28px;
}
.cert-alert strong { display: block; font-family: var(--font-head); color: var(--green); margin-bottom: 8px; text-transform: uppercase; font-size: .82rem; letter-spacing: .06em; }
.cert-alert p { color: #445451; margin-bottom: 18px; font-size: .95rem; }

/* ---------- Info cards (Para quem / Quando / Onde) ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.info-card {
  background: var(--cream-soft); border-radius: 18px; padding: 32px 28px;
  border: 1px solid rgba(13,46,47,.06);
}
.info-num { font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; color: var(--gold); display: block; margin-bottom: 10px; }
.info-card h3 { font-size: 1.15rem; color: var(--green); margin-bottom: 10px; }
.info-card p { color: #51635f; font-size: .96rem; }

/* ---------- Programação (aulas) ---------- */
.aulas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 980px; margin: 0 auto; }
.aula-card {
  background: var(--white); border-radius: 18px; padding: 30px 28px;
  border-left: 5px solid var(--gold); box-shadow: 0 10px 30px rgba(13,46,47,.07);
}
.aula-tag {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .74rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.aula-card h3 { font-size: 1.2rem; color: var(--green); margin-bottom: 10px; }
.aula-card p { color: #51635f; font-size: .95rem; }

/* ---------- Oferta / inscrição ---------- */
.lp-offer {
  padding: 100px 0 90px; background: var(--green-deep); color: var(--white);
}
.lp-offer .section-head h2 { color: var(--white); }
.lp-offer .section-head .eyebrow { color: var(--gold-light); }
.offer-card {
  max-width: 560px; margin: 0 auto; background: var(--white); color: var(--text);
  border-radius: 24px; padding: 44px 40px; box-shadow: var(--shadow); text-align: center;
  border-top: 6px solid var(--gold);
}
.offer-title { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--green); margin-bottom: 12px; }
.offer-lead { color: #51635f; margin-bottom: 26px; }

.curso-form { display: flex; flex-direction: column; gap: 12px; }
.mat-form-row { display: flex; flex-direction: column; gap: 10px; }
.mat-form-row input, .curso-form input {
  width: 100%; padding: 13px 16px; border-radius: 10px; border: 1px solid rgba(13,46,47,.16);
  font-family: var(--font-body); font-size: .95rem; color: var(--text); background: var(--cream-soft);
}
.mat-form-row input:focus, .curso-form input:focus { outline: 2px solid var(--gold); outline-offset: 0; background: var(--white); }
.mat-submit { width: 100%; }
.mat-message { font-size: .86rem; min-height: 1.2em; margin: 0; }
.mat-message.ok { color: var(--green); font-weight: 600; }
.mat-message.err { color: #b3261e; font-weight: 600; }

/* ---------- Professora tag ---------- */
.professora-tag {
  margin-top: 22px; font-family: var(--font-head); font-weight: 600; font-style: italic;
  color: var(--gold); font-size: 1.05rem;
}

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .cert-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .aulas-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .offer-card { padding: 34px 24px; }
  .lp-hero { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 28px)); }
}

/* ========================================================================
   ANIMAÇÕES + COR (Curso Gratuito)
   ======================================================================== */
body.curso-theme {
  --accent: #e88a4e;     /* coral quente para pop */
  --accent-2: #2fae93;   /* verde-água vibrante */
  --grad-num: linear-gradient(120deg, #1c6467 0%, #c99a3f 100%);
  --grad-accent: linear-gradient(120deg, #2fae93 0%, #c99a3f 100%);
  --grad-cta: linear-gradient(120deg, #e0b25c 0%, #c99a3f 60%, #b0842f 100%);
}

/* ---------- Scroll reveal ---------- */
body.curso-theme [data-reveal] {
  opacity: 0; transform: translateY(32px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
body.curso-theme [data-reveal].in-view { opacity: 1; transform: none; }
body.curso-theme [data-reveal="left"]  { transform: translateX(-40px); }
body.curso-theme [data-reveal="right"] { transform: translateX(40px); }
body.curso-theme [data-reveal="scale"] { transform: scale(.92); }
body.curso-theme [data-reveal="left"].in-view,
body.curso-theme [data-reveal="right"].in-view,
body.curso-theme [data-reveal="scale"].in-view { transform: none; }
@media (prefers-reduced-motion: reduce) {
  body.curso-theme [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Eyebrows e números com gradiente vibrante ---------- */
body.curso-theme .eyebrow-dark,
body.curso-theme .lp-section .eyebrow {
  background: var(--grad-accent); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
body.curso-theme .info-num,
body.curso-theme .cert-stats .stat strong {
  background: var(--grad-num); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
body.curso-theme .lp-hero .stat strong { font-variant-numeric: tabular-nums; }

/* ---------- Glows decorativos nas seções ---------- */
body.curso-theme .lp-section { position: relative; overflow: hidden; }
body.curso-theme .lp-section > .container { position: relative; z-index: 1; }
body.curso-theme .lp-section::before {
  content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,174,147,.14), transparent 68%);
  top: -160px; right: -120px; pointer-events: none;
}
body.curso-theme .lp-section.alt::before {
  background: radial-gradient(circle, rgba(232,138,78,.12), transparent 68%);
  top: auto; bottom: -160px; left: -120px; right: auto;
}

/* ---------- Info cards ---------- */
body.curso-theme .info-card {
  position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
body.curso-theme .info-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-accent); transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
body.curso-theme .info-card:hover {
  transform: translateY(-8px); box-shadow: 0 22px 46px rgba(13,46,47,.16);
  border-color: rgba(47,174,147,.4);
}
body.curso-theme .info-card:hover::before { transform: scaleX(1); }

/* ---------- Aula cards ---------- */
body.curso-theme .aula-card {
  position: relative; overflow: hidden;
  border-left-width: 5px; border-left-color: transparent;
  background-image: linear-gradient(var(--white), var(--white)), var(--grad-accent);
  background-origin: border-box; background-clip: padding-box, border-box;
  transition: transform .3s ease, box-shadow .3s ease;
}
body.curso-theme .aula-card:hover {
  transform: translateX(8px); box-shadow: 0 20px 44px rgba(28,100,103,.2);
}
body.curso-theme .aula-tag {
  background: var(--grad-accent); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Pílulas do hero (hover) ---------- */
body.curso-theme .curso-info-pills span { transition: transform .2s ease, border-color .2s ease, background .2s ease; }
body.curso-theme .curso-info-pills span:hover { transform: translateY(-3px); border-color: var(--gold-light); background: rgba(201,154,63,.16); }

/* ---------- Cert alert + offer + faq hover ---------- */
body.curso-theme .cert-alert { transition: transform .3s ease, box-shadow .3s ease; }
body.curso-theme .cert-alert:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(13,46,47,.14); }
body.curso-theme .offer-card { transition: transform .35s ease, box-shadow .35s ease; }
body.curso-theme .offer-card:hover { transform: translateY(-6px); box-shadow: 0 30px 64px rgba(0,0,0,.3); }
body.curso-theme .faq-item { transition: transform .25s ease; }
body.curso-theme .faq-item:hover { transform: translateX(5px); }
body.curso-theme .sobre-photo { transition: transform .4s ease; }
body.curso-theme .sobre-media:hover .sobre-photo { transform: scale(1.03); }

/* ---------- Botões dourados: gradiente + brilho passando ---------- */
body.curso-theme .btn-gold {
  background: var(--grad-cta); position: relative; overflow: hidden;
  box-shadow: 0 10px 26px rgba(201,154,63,.35);
}
body.curso-theme .btn-gold:hover { box-shadow: 0 14px 34px rgba(201,154,63,.5); }
body.curso-theme .btn-gold::before {
  content: ''; position: absolute; top: 0; left: -75%; width: 45%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); pointer-events: none;
}
body.curso-theme .btn-gold:hover::before { animation: cursoShine .9s ease forwards; }
@keyframes cursoShine { from { left: -75%; } to { left: 125%; } }

/* ---------- Selo dourado pulsando (sobre) ---------- */
body.curso-theme .sobre-badge { animation: cursoBadgePulse 3.5s ease-in-out infinite; }
@keyframes cursoBadgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,154,63,.4); }
  50% { box-shadow: 0 0 0 14px rgba(201,154,63,0); }
}
@media (prefers-reduced-motion: reduce) {
  body.curso-theme .sobre-badge, body.curso-theme .btn-gold::before { animation: none; }
}
