/* =========================================================================
   Formação em Constelação Empresarial e Estrutural — Alex Possato
   Reconstrução semântica (ex-GreatPages) · Webmaster: operação AIOS
   Paleta alinhada à marca (verde/azul "constelações sistêmicas").
   ========================================================================= */

:root {
  /* Cores da marca */
  --ink:        #17251d;   /* texto principal (verde-tinta) */
  --ink-soft:   #40514a;   /* texto secundário */
  --forest:     #245a3d;   /* verde profundo */
  --green:      #2f8f57;   /* verde marca */
  --green-2:    #3fa66a;   /* verde claro (hover/gradiente) */
  --leaf:       #8ec63f;   /* lima da logo (destaques) */
  --sky:        #59a7d6;   /* azul da logo */
  --amber:      #d98a2b;   /* urgência (datas/preço) */

  --cream:      #f6f5ef;   /* fundo de seção quente */
  --sand:       #eee8dc;   /* divisores/cartões suaves */
  --white:      #ffffff;
  --line:       #e4e0d6;   /* bordas */

  /* Tipografia */
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 1120px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 44px -18px rgba(23, 37, 29, .28);
  --shadow-sm: 0 8px 22px -12px rgba(23, 37, 29, .25);
  --ring: 0 0 0 3px rgba(89, 167, 214, .45);
}

/* ---------- Reset enxuto ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .4em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* ---------- Utilidades ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.section { padding: 72px 0; }
.section--cream { background: var(--cream); }
.section--forest { background: radial-gradient(120% 140% at 80% 0%, #2c6b48 0%, #1c4a32 60%, #17371f 100%); color: #eaf3ec; }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--green); margin-bottom: 14px;
}
.section--forest .eyebrow { color: var(--leaf); }
.h-lg { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; }
.h-md { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); max-width: 46ch; }
.section--forest .lead { color: #cfe4d5; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Botões ---------- */
.btn {
  --bg: linear-gradient(135deg, var(--green) 0%, var(--green-2) 100%);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  background: var(--bg); color: #fff; font-weight: 800; font-size: 1.02rem;
  padding: 16px 30px; border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: 0 14px 30px -12px rgba(47, 143, 87, .75);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  text-align: center; line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(47, 143, 87, .85); filter: saturate(1.05); }
.btn:active { transform: translateY(0); }
.btn--lg { font-size: 1.12rem; padding: 19px 40px; }
.btn--block { display: flex; width: 100%; }
.btn__note { display: block; font-size: .8rem; font-weight: 600; opacity: .85; margin-top: 8px; }

/* Pulso sutil de conversão (respeita reduced-motion) */
@keyframes ctaPulse { 0%,100%{ box-shadow: 0 14px 30px -12px rgba(47,143,87,.75);} 50%{ box-shadow: 0 14px 40px -8px rgba(47,143,87,.95);} }
.btn--pulse { animation: ctaPulse 2.6s ease-in-out infinite; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; }
.site-header__logo img { height: 46px; width: auto; }
.site-header .btn { padding: 11px 22px; font-size: .92rem; }
@media (max-width: 620px) { .site-header .btn { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fbfbf8 0%, #f2f4ee 100%); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 68px 0 76px; }
.hero__title { font-size: clamp(2.1rem, 5.2vw, 3.4rem); font-weight: 800; }
.hero__title .hl { color: var(--forest); }
.hero__sub { font-size: clamp(1.08rem, 1.9vw, 1.32rem); color: var(--ink-soft); max-width: 34ch; margin-bottom: 26px; }
.hero__media { position: relative; }
.hero__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.hero__badge-live {
  position: absolute; left: 18px; bottom: 18px; background: rgba(23,37,29,.82); color: #fff;
  padding: 10px 16px; border-radius: 999px; font-size: .86rem; font-weight: 700; backdrop-filter: blur(4px);
}
.hero__badge-live b { color: var(--leaf); }

/* Selos de valor */
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.badges li {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line);
  padding: 9px 15px; border-radius: 999px; font-weight: 700; font-size: .92rem; box-shadow: var(--shadow-sm);
}
.badges svg { width: 18px; height: 18px; color: var(--green); flex: none; }

/* ---------- Faixa de valor ---------- */
.valueband { background: var(--forest); color: #eaf3ec; text-align: center; padding: 46px 0; }
.valueband p { font-size: clamp(1.3rem, 2.8vw, 1.9rem); font-weight: 700; max-width: 24ch; margin: 0 auto; line-height: 1.3; }
.valueband .accent { color: var(--leaf); }

/* ---------- Conteúdo / plataforma ---------- */
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.content-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }
.stats { display: flex; gap: 16px; margin: 24px 0 30px; }
.stat {
  flex: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 16px; text-align: center; box-shadow: var(--shadow-sm);
}
.stat b { display: block; font-size: 2rem; font-weight: 800; color: var(--green); line-height: 1; }
.stat span { font-size: .9rem; color: var(--ink-soft); font-weight: 600; }

/* ---------- Agenda ao vivo (timeline) ---------- */
.agenda { max-width: 720px; margin-inline: auto; }
.timeline { list-style: none; position: relative; margin: 44px 0 0; padding: 0 0 0 40px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(var(--leaf), rgba(255,255,255,.16)); border-radius: 2px; }
.tl-item { position: relative; margin-bottom: 12px; padding: 15px 20px;
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; }
.tl-item::before { content: ""; position: absolute; left: -34px; top: 19px; width: 14px; height: 14px;
  background: #eaf3ec; border: 3px solid var(--green); border-radius: 50%; box-shadow: 0 0 0 4px rgba(47,143,87,.16); }
.tl-item.is-first::before { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 4px rgba(217,138,43,.22); }
.tl-date { font-weight: 800; font-size: 1.02rem; }
.tl-meta { font-size: .92rem; margin-top: 3px; }
.section--forest .tl-date { color: #eaf3ec; }
.section--forest .tl-meta { color: #b9d3c1; }
@media (max-width: 480px) { .tl-date { font-size: .96rem; } .tl-meta { font-size: .86rem; } }

/* ---------- Preço ---------- */
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 34px; text-align: center; max-width: 520px; margin: 34px auto 0;
}
.section--forest .price-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); box-shadow: none; color: #fff; }
.price-card .install { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; color: var(--green); line-height: 1; }
.section--forest .price-card .install { color: var(--leaf); }
.price-card .install small { font-size: .5em; font-weight: 700; color: var(--ink-soft); }
.section--forest .price-card .install small { color: #cfe4d5; }
.price-card .cash { color: var(--ink-soft); margin: 10px 0 22px; font-weight: 600; }
.section--forest .price-card .cash { color: #cfe4d5; }
.note-soft { font-size: .92rem; color: var(--ink-soft); max-width: 52ch; margin: 18px auto 0; }
.section--forest .note-soft { color: #b9d3c1; }

/* ---------- Vídeos ---------- */
.video-wrap { max-width: 760px; margin: 0 auto; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: #0d1a12; cursor: pointer;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-frame__play {
  position: absolute; inset: 0; margin: auto; width: 82px; height: 82px; border: 0; border-radius: 50%;
  background: rgba(47,143,87,.92); color: #fff; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .18s ease, background .18s ease;
}
.video-frame__play:hover { transform: scale(1.06); background: var(--green); }
.video-frame__play svg { width: 34px; height: 34px; margin-left: 4px; }
.video-title { text-align: center; margin-top: 18px; font-weight: 700; color: var(--ink-soft); }

/* ---------- Mentor ---------- */
.mentor-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.mentor-grid img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.mentor-bio p { font-size: 1.02rem; }
.social-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green); margin-top: 8px; }
.social-link svg { width: 20px; height: 20px; }

/* ---------- Benefícios ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.benefit {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(142,198,63,.18), rgba(47,143,87,.18)); color: var(--green); margin-bottom: 16px; }
.benefit__icon svg { width: 28px; height: 28px; }
.benefit h3 { font-size: 1.12rem; }
.benefit p { font-size: .96rem; color: var(--ink-soft); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #12211a; color: #b9c7bf; padding: 44px 0 30px; font-size: .92rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin-bottom: 20px; }
.footer-legal { max-width: 780px; margin: 0 auto; text-align: center; color: #8ba295; font-size: .85rem; }
.footer-legal a { color: #cfe0d6; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff; font-weight: 700; padding: 12px 18px 12px 14px; border-radius: 999px;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.7); transition: transform .18s ease;
}
.wa-float:hover { transform: translateY(-2px) scale(1.02); }
.wa-float svg { width: 26px; height: 26px; flex: none; }
@media (max-width: 620px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 34px; padding: 48px 0 56px; }
  .hero__media { order: -1; }
  .content-grid, .mentor-grid { grid-template-columns: 1fr; gap: 34px; }
  .mentor-grid img { max-width: 360px; margin-inline: auto; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 56px 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .benefits { grid-template-columns: 1fr; }
  .stats { flex-direction: column; }
  .price-card { padding: 26px 20px; }
}

/* ---------- Para quem é (audiência) ---------- */
.audience { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
.audience li {
  display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 20px 22px; box-shadow: var(--shadow-sm); font-weight: 600;
}
.audience svg { width: 24px; height: 24px; color: var(--green); flex: none; margin-top: 2px; }

/* ---------- O que vai aprender (2 trilhas) ---------- */
.learn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; align-items: start; }
.learn-col {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-sm); border-top: 4px solid var(--green);
}
.learn-col:nth-child(2) { border-top-color: var(--sky); }
.learn-col h3 { font-size: 1.28rem; color: var(--forest); }
.learn-col .tag { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.learn-col:nth-child(2) .tag { color: var(--sky); }
.learn-list { margin-top: 14px; }
.learn-list li { position: relative; padding: 8px 0 8px 28px; border-bottom: 1px solid var(--line); font-size: .98rem; }
.learn-list li:last-child { border-bottom: 0; }
.learn-list li::before {
  content: ""; position: absolute; left: 2px; top: 15px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--green);
}
.learn-col:nth-child(2) .learn-list li::before { background: var(--sky); }
.learn-media { margin-top: 40px; }
.learn-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Faixa de citação ---------- */
.quote-band { text-align: center; }
.quote-band blockquote {
  margin: 0 auto; max-width: 44ch; font-size: clamp(1.2rem, 2.4vw, 1.7rem); font-weight: 600; line-height: 1.4;
}
.quote-band blockquote span { color: var(--leaf); }
.quote-band cite { display: block; margin-top: 18px; font-style: normal; font-weight: 700; opacity: .8; font-size: .95rem; }

/* ---------- Lista de formato (como será o curso) ---------- */
.format-list { margin: 8px 0 26px; }
.format-list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.format-list li:last-child { border-bottom: 0; }
.format-list svg { width: 22px; height: 22px; color: var(--green); flex: none; margin-top: 3px; }
.format-list b { color: var(--forest); }

/* ---------- Garantia 7 dias ---------- */
.guarantee-grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; max-width: 860px; margin-inline: auto; }
.guarantee-seal { justify-self: center; }
.guarantee-seal img, .guarantee-seal svg { width: 200px; height: 200px; filter: drop-shadow(0 12px 26px rgba(23,37,29,.25)); }
.guarantee-copy h2 { color: var(--forest); }
.guarantee-copy p { color: var(--ink-soft); margin-bottom: 0; }
@media (max-width: 640px) {
  .guarantee-grid { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .guarantee-seal img, .guarantee-seal svg { width: 160px; height: 160px; }
}

/* ---------- FAQ (accordion nativo) ---------- */
.faq { max-width: 760px; margin: 40px auto 0; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 12px; box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 22px; font-weight: 700; font-size: 1.05rem;
  position: relative; color: var(--ink); transition: color .2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--green); }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 11px; height: 11px; margin-top: -6px;
  border-right: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--ink-soft); font-size: .98rem; }
.faq summary:focus-visible { box-shadow: var(--ring); border-radius: 6px; }

@media (max-width: 900px) {
  .learn-grid { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .audience { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
