/* Imersão em Gestão & Liderança — identidade da arte original:
   verde escuro, dourado, creme, serifada elegante. Mobile first. */

:root {
  --green-900: #0b2219;
  --green-800: #10301f;
  --green-700: #17402e;
  --green-600: #22543d;
  --gold-500: #c9a45c;
  --gold-400: #d9b872;
  --gold-300: #e6cc8f;
  --cream-100: #f7f2e8;
  --cream-200: #efe6d4;
  --ink: #1b241f;
  --ink-soft: #4a554e;
  --on-dark: #f1ece2;
  --on-dark-soft: #b9c3bc;
  --line-light: #e1d6bf;
  --line-dark: rgba(201, 164, 92, .28);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream-100);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 6vw, 2.8rem); letter-spacing: -.01em; margin-bottom: 18px; }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 12px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 780px; }

.eyebrow {
  font-size: .75rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-400); font-weight: 600; margin-bottom: 14px;
}
.eyebrow--dark { color: #8f6f2e; }
.lead { font-size: 1.08rem; color: var(--on-dark-soft); max-width: 680px; margin-bottom: 28px; }
.lead--dark { color: var(--ink-soft); }
.small { font-size: .85rem; color: var(--ink-soft); margin-top: 22px; }
.small--light { color: var(--on-dark-soft); }

/* ---- Botões ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 28px; border-radius: 999px; border: 0;
  font: 600 1rem/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn--gold {
  background: linear-gradient(180deg, var(--gold-300), var(--gold-500));
  color: var(--green-900);
  box-shadow: 0 6px 20px rgba(201, 164, 92, .28);
}
.btn--gold:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(201, 164, 92, .38); }
.btn--gold:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 3px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }

/* ---- Seções ---- */
.section { padding: 72px 0; }
.section--light { background: var(--cream-100); }
.section--dark { background: var(--green-900); color: var(--on-dark); }
.section--dark h2 { color: #fff; }

/* ---- Hero ---- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 80% 10%, var(--green-700) 0%, var(--green-900) 60%);
  color: var(--on-dark);
  padding: 36px 0 64px;
}
.hero__mountain {
  position: absolute; right: 0; bottom: 0; width: 100%; height: 70%;
  opacity: .55; pointer-events: none;
}
.hero__inner { position: relative; }
.hero__title {
  font-family: var(--serif); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.6rem, 11vw, 5.2rem); line-height: .98; letter-spacing: .005em;
  color: #fff; max-width: 13ch; margin-bottom: 14px;
}
.hero__title .amp { color: var(--gold-500); font-style: italic; text-transform: none; font-weight: 600; }
.hero__tagline {
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-300);
  margin-bottom: 22px;
}
.hero__sub { font-size: 1.05rem; max-width: 560px; color: var(--on-dark); margin-bottom: 20px; }
.hero__facts {
  list-style: none; margin: 0 0 24px; padding: 4px 0 4px 14px; max-width: 620px;
  border-left: 2px solid var(--gold-500); display: grid; gap: 4px;
}
.hero__facts strong { color: #fff; font-weight: 600; }
.hero__facts li > span { font-size: .88rem; color: var(--on-dark-soft); }
.hero__facts li > span::before { content: " · "; }
.hero__note { margin: 16px 0 0; font-size: .9rem; color: var(--on-dark-soft); }

/* ---- Para quem é ---- */
.fit { display: grid; gap: 18px; margin-top: 10px; }
.fit__col { border-radius: var(--radius); padding: 24px; }
.fit__col h3 { font-family: var(--serif); font-size: 1.45rem; margin-bottom: 12px; }
.fit__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.fit__col li { position: relative; padding-left: 30px; }
.fit__col li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.fit__col--yes { background: #fff; border: 1px solid var(--line-light); }
.fit__col--yes li::before { content: "✓"; color: var(--green-600); }
.fit__col--no { background: var(--cream-200); border: 1px solid var(--line-light); color: var(--ink-soft); }
.fit__col--no li::before { content: "✕"; color: #9a5a3c; }

/* ---- Problemas ---- */
.cards { display: grid; gap: 14px; }
.card {
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 22px; background: var(--green-800);
}
.card h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--gold-300); margin-bottom: 8px; font-weight: 600; }
.card p { color: var(--on-dark-soft); margin: 0; }

/* ---- Programa ---- */
.days { display: grid; gap: 22px; }
.day { background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; }
.day__head { background: var(--green-900); color: var(--on-dark); padding: 16px 20px; display: grid; gap: 2px; }
.day__tag { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--gold-300); }
.day__theme { font-size: .85rem; color: var(--on-dark-soft); }
.blocks { list-style: none; margin: 0; padding: 0; }
.block {
  display: grid; grid-template-columns: 56px 1fr; gap: 12px;
  padding: 18px 20px; border-top: 1px solid var(--line-light);
}
.block:first-child { border-top: 0; }
.block__time { font-variant-numeric: tabular-nums; font-weight: 600; color: #8f6f2e; font-size: .92rem; padding-top: 2px; }
.block h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.block p { margin: 0 0 6px; color: var(--ink-soft); font-size: .95rem; }
.block__practice { font-size: .9rem !important; color: var(--green-600) !important; font-weight: 500; }
.block__who {
  display: inline-block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: #8f6f2e; border: 1px solid var(--line-light); border-radius: 999px; padding: 2px 10px; margin-top: 4px;
}
.block--minor h3 { font-size: 1.1rem; }
.block--key { background: #fbf6ea; }

/* ---- Instrutores ---- */
.people { display: grid; gap: 22px; }
.person { border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; background: var(--green-800); }
.person__photo {
  position: relative; aspect-ratio: 6 / 7; max-height: 420px; width: 100%;
  background: linear-gradient(160deg, var(--green-700), var(--green-900));
}
.person__photo::before {
  content: attr(data-initials);
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--serif); font-size: 4.5rem; color: var(--gold-500); opacity: .5;
}
.person__photo img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person__body { padding: 22px; }
.person__body h3 { font-family: var(--serif); font-size: 1.8rem; color: #fff; font-weight: 600; }
.person__role { color: var(--gold-300); font-size: .9rem; letter-spacing: .04em; margin: 4px 0 12px; }
.person__body p:last-child { color: var(--on-dark-soft); margin: 0; }
.person a { color: var(--gold-300); }

/* ---- Formato ---- */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.features li {
  background: #fff; border: 1px solid var(--line-light); border-left: 3px solid var(--gold-500);
  border-radius: 10px; padding: 16px 18px;
}
.features strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 700; }
.features span { color: var(--ink-soft); font-size: .95rem; }

/* ---- Investimento ---- */
.prices { display: grid; gap: 18px; }
.price {
  position: relative; border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 28px 24px; background: var(--green-800); display: flex; flex-direction: column;
}
.price--featured { border-color: var(--gold-500); background: linear-gradient(180deg, var(--green-700), var(--green-800)); }
.price__badge {
  position: absolute; top: -12px; left: 24px; background: var(--gold-500); color: var(--green-900);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
}
.price h3 { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-300); }
.price__value { font-family: var(--serif); font-size: 3rem; font-weight: 700; color: #fff; margin: 8px 0 0; line-height: 1.1; font-variant-numeric: lining-nums; }
.price__value--text { font-size: 2rem; padding-top: 10px; }
.price__terms { color: var(--gold-300); font-size: .92rem; margin-bottom: 14px; }
.price p:not(.price__value):not(.price__terms) { color: var(--on-dark-soft); }
.price .btn { margin-top: auto; }

/* ---- FAQ ---- */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line-light); border-radius: 10px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 48px 18px 20px; position: relative;
  font-weight: 600; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: #8f6f2e; font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details > p, .faq details > div { padding: 0 20px 18px; margin: 0; color: var(--ink-soft); }
.faq details ul { margin: 0 0 12px; padding-left: 20px; }
.faq details li { margin-bottom: 4px; }

/* ---- Chamada final ---- */
.cta-final { text-align: center; background: radial-gradient(100% 120% at 50% 0%, var(--green-700), var(--green-900) 70%); }
.cta-final .lead { margin-left: auto; margin-right: auto; }

/* ---- Rodapé ---- */
.footer { background: #071a12; color: var(--on-dark-soft); padding: 32px 0 110px; font-size: .85rem; }
.footer p { margin: 0 0 6px; }
.footer__brand { font-family: var(--serif); font-size: 1.2rem; color: var(--gold-300); }

/* ---- Barra fixa (celular) ---- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 34, 25, .94); border-top: 1px solid var(--line-dark);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { width: 100%; }

/* ---- Modal / formulário ---- */
.modal {
  border: 0; padding: 0; margin: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%;
  background: var(--cream-100); color: var(--ink);
}
.modal::backdrop { background: rgba(5, 18, 12, .72); }
.modal__box { position: relative; padding: 28px var(--gutter) 40px; max-width: 560px; margin: 0 auto; }
.modal__close {
  position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: transparent;
  font-size: 1.9rem; line-height: 1; color: var(--ink-soft); cursor: pointer;
}
.modal h2 { font-size: 2rem; margin-bottom: 6px; padding-right: 40px; }
.modal__sub { color: var(--ink-soft); margin-bottom: 20px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid #cdbf9f; background: #fff; color: var(--ink);
  font: 16px/1.3 var(--sans); /* 16px evita zoom no iPhone */
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, #8f6f2e 50%), linear-gradient(135deg, #8f6f2e 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px;
}
.field input:focus, .field select:focus { outline: 0; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(34, 84, 61, .18); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .85rem; color: var(--ink-soft); margin: 18px 0; align-items: start; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green-600); }
.form-error { background: #fbe9e2; color: #8a3418; border-radius: 8px; padding: 10px 14px; font-size: .92rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { padding-top: 20px; }
.form-done p { color: var(--ink-soft); margin-bottom: 22px; }

/* ---- Tablet / desktop ---- */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .section { padding: 96px 0; }
  .hero { padding: 96px 0 110px; }
  .hero__mountain { width: 75%; height: 100%; opacity: .9; }
  .hero__facts { grid-template-columns: repeat(3, 1fr); gap: 10px; border: 0; padding: 0; margin-bottom: 30px; }
  .hero__facts li {
    border: 1px solid var(--line-dark); border-radius: var(--radius);
    padding: 12px 16px; background: rgba(11, 34, 25, .55);
  }
  .hero__facts strong { display: block; }
  .hero__facts li > span::before { content: none; }
  .fit { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .people { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .prices { grid-template-columns: 1fr 1fr; }
  .modal {
    width: min(560px, calc(100% - 40px)); height: auto; max-height: calc(100% - 40px);
    margin: auto; border-radius: 18px;
  }
  .sticky-cta { display: none; }
  .footer { padding-bottom: 40px; }
}
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .days { grid-template-columns: 1fr 1fr; align-items: start; }
  .features { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .sticky-cta { transition: none; }
}
