@font-face {
  font-family: "Playfair Display";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/playfair-display-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Playfair Display";
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url("/fonts/playfair-display-latin-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Playfair Display";
  font-weight: 600;
  font-style: italic;
  font-display: swap;
  src: url("/fonts/playfair-display-latin-600-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font-sans); font-size: 16px; line-height: 24px; background: var(--navy-900); }
img { max-width: 100%; }

/*
 * ITG components — same shapes, sizes and spacing as the old LP
 * (metanoia.getschool.com.br); only the colors (tokens) and the logo changed.
 */
:root {
  --grad-fill: linear-gradient(135deg, var(--teal-700) 0%, var(--blue-700) 100%);
  --grad-text: linear-gradient(135deg, var(--teal-300) 0%, var(--blue-500) 100%);
  --grad-tint: linear-gradient(135deg, var(--teal-10) 0%, var(--blue-10) 100%);
  --grad-dark: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-900) 100%);
  --grad-hero: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-700) 50%, var(--navy-900) 100%);
  --grad-bar: linear-gradient(90deg, var(--bar-300) 0%, var(--bar-700) 100%);
}

/* Section surfaces */
.itg-sec { font-family: var(--font-sans); font-size: 16px; line-height: 24px; color: var(--text-700); }
.itg-sec--light { background: var(--gray-100); }
.itg-sec--white { background: var(--white); }
.itg-sec--dark { background: var(--grad-dark); color: var(--white-70); }
.itg-sec--hero { background: var(--grad-hero); color: var(--white-70); }
.itg-sec--footer { background: var(--navy-900); color: var(--white-70); }

/* Buttons (old .cta-b): 10px radius, 18px 40px, Inter 600 16 */
.itg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-3);
  min-height: var(--touch-min); padding: 18px 40px; border-radius: var(--radius-button); border: 0;
  font-family: var(--font-sans); font-size: 16px; line-height: 16px; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.itg-btn:hover { transform: translateY(-2px); }
.itg-btn:focus-visible { outline: 2px solid var(--bar-300); outline-offset: 3px; }
.itg-btn svg { width: 18px; height: 18px; }
.itg-btn--gradient { background: var(--grad-fill); color: var(--white); box-shadow: var(--shadow-cta); }
.itg-btn--white { background: var(--white); color: var(--navy-700); box-shadow: var(--shadow-white); }

/* Brand (escudo + name), centered on top of the hero */
.itg-brand { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); color: var(--white); text-decoration: none; }
.itg-brand img { height: 72px; width: auto; display: block; }
.itg-brand span { font-family: var(--font-display); font-weight: 500; font-size: 24px; line-height: 30px; }
.itg-brand--sm img { height: 48px; }

/* Hero headline */
.itg-h1 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 64px; line-height: 73.6px; color: var(--white); text-align: center; }
.itg-grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.itg-hero-sub { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 32px; line-height: 40px; letter-spacing: .32px; color: var(--white-85); text-align: center; }
.itg-hero-body { max-width: var(--text-max); margin: 0 auto; color: var(--white-70); text-align: center; }
.itg-scroll { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); font-size: 12px; line-height: 12px; font-weight: 500; letter-spacing: 1px; color: var(--white-70); }
.itg-bar { height: 4px; background: var(--grad-bar); }
@media (max-width: 767px) {
  .itg-h1 { font-size: 40px; line-height: 46px; }
  .itg-hero-sub { font-size: 22px; line-height: 30px; }
}

/* Hero badges (Duração, Modalidade, Local) */
.itg-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4); padding-top: 40px; border-top: 1px solid var(--white-10); }
.itg-badge { display: flex; align-items: center; gap: var(--space-3); padding: 12px 20px; min-width: 200px; background: var(--white-05); border: 1px solid var(--teal-30); border-radius: var(--radius-badge); }
.itg-badge svg { width: 22px; height: 22px; color: var(--teal-300); flex: none; }
.itg-badge__label { font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--white-70); }
.itg-badge__value { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--white); }

/* Section titles */
.itg-title { max-width: 800px; margin: 0 auto; text-align: center; }
.itg-eyebrow { display: block; margin-bottom: var(--space-4); font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--blue-700); }
.itg-pill { display: inline-block; margin-bottom: var(--space-5); padding: 12px 20px 10px; background: var(--teal-08); border: 1px solid var(--teal-30); border-radius: var(--radius-pill); font-size: 12px; line-height: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--teal-300); }
.itg-h2 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 44px; line-height: 55px; color: var(--navy-700); }
.itg-sec--dark .itg-h2, .itg-sec--hero .itg-h2 { color: var(--white); }
.itg-lead { margin: var(--space-4) auto 0; max-width: 700px; }
@media (max-width: 767px) { .itg-h2 { font-size: 32px; line-height: 40px; } }

/* Pain card: white, 16px radius, 32px padding, 4px teal bar on the left of icon + text */
.itg-card { background: var(--white); border: 1px solid var(--navy-08); border-radius: var(--radius-card); padding: 32px; }
.itg-card__bar { display: flex; flex-direction: column; gap: var(--space-4); padding-left: 20px; border-left: 4px solid var(--teal-300); }
.itg-card h3, .itg-profile h3, .itg-struct h3 { margin: 0; font-size: 18px; line-height: 24px; font-weight: 700; color: var(--navy-700); }
.itg-card p, .itg-profile p, .itg-struct p { margin: var(--space-2) 0 0; }
.itg-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 12px; border-radius: var(--radius-icon); background: var(--grad-tint); color: var(--blue-700); flex: none; }
.itg-icon svg { width: 24px; height: 24px; }
.itg-icon--fill { background: var(--grad-fill); color: var(--white); }
.itg-icon--lg { width: 66px; height: 66px; border: 1px solid var(--gray-100); }

/* Step card (dark glass) */
.itg-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-4); padding: 32px 24px; background: var(--white-05); border: 1px solid var(--teal-30); border-radius: var(--radius-card); }
.itg-step__num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--radius-pill); background: var(--grad-fill); font-family: var(--font-display); font-weight: 500; font-size: 32px; line-height: 32px; color: var(--white); }
.itg-step h3 { margin: 0; font-size: 18px; line-height: 25.2px; font-weight: 500; color: var(--white); }
.itg-step p { margin: 0; font-size: 15px; line-height: 22px; color: var(--white-70); }

/* Profile card: white card, gradient icon square on the left */
.itg-profile { display: flex; gap: var(--space-5); align-items: flex-start; background: var(--white); border: 1px solid var(--navy-08); border-radius: var(--radius-card); padding: 32px; }

/* Banner card (dark panel inside a light section) */
.itg-banner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-5); padding: 40px; border-radius: var(--radius-panel); background: var(--grad-dark); color: var(--white-70); }
.itg-banner__icon { display: inline-flex; align-items: center; justify-content: center; width: 67px; height: 67px; padding: 15px; border-radius: 50%; background: var(--white-10); border: 1px solid var(--white-20); color: var(--teal-300); }
.itg-banner h3 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 30px; line-height: 36px; color: var(--white); }
.itg-banner p { margin: 0; max-width: var(--text-max); }

/* Callout line */
.itg-callout { margin: 0; text-align: center; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 30px; line-height: 38px; color: var(--navy-700); }
.itg-callout strong { font-weight: 600; color: var(--blue-700); }
.itg-statement { margin: 0; text-align: center; font-style: italic; font-size: 18px; line-height: 26px; color: var(--text-700); }
.itg-statement strong { font-weight: 600; color: var(--navy-700); }

/* Curriculum area: dark and light variants */
.itg-area { border-radius: var(--radius-panel); padding: 32px 28px; }
.itg-area--dark { background: var(--grad-dark); }
.itg-area--light { background: var(--gray-100); }
.itg-area__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); padding-bottom: var(--space-4); margin-bottom: var(--space-4); border-bottom: 1px solid var(--white-10); }
.itg-area--light .itg-area__head { border-bottom-color: var(--navy-10); }
.itg-area h3 { margin: 0; font-size: 18px; line-height: 18px; font-weight: 700; text-transform: uppercase; color: var(--white); }
.itg-area--light h3 { color: var(--navy-700); }
.itg-count { padding: 10px 20px 6px; border-radius: var(--radius-pill); font-size: 12px; line-height: 12px; font-weight: 700; white-space: nowrap; background: var(--teal-08); color: var(--teal-300); }
.itg-area--light .itg-count { background: var(--white); color: var(--blue-700); }
.itg-items { display: grid; gap: var(--space-3); margin: 0; padding: 0; list-style: ""; }
.itg-area--dark .itg-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 767px) { .itg-area--dark .itg-items { grid-template-columns: 1fr; } }
.itg-item { display: flex; align-items: center; gap: var(--space-3); padding: 14px 16px; border-radius: var(--radius-button); font-size: 15px; line-height: 20px; font-weight: 600; }
.itg-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; flex: none; }
.itg-area--dark .itg-item { background: var(--white-05); border: 1px solid var(--teal-30); color: var(--white); }
.itg-area--dark .itg-item::before { background: var(--teal-300); }
.itg-area--light .itg-item { background: var(--white); border: 1px solid var(--navy-06); color: var(--text-900); }
.itg-area--light .itg-item::before { background: var(--blue-700); }

/* Structure card: white, centered, large tinted icon square */
.itg-struct { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-3); background: var(--white); border: 1px solid var(--navy-08); border-radius: var(--radius-card); padding: 32px; }
.itg-struct h3 { font-size: 16px; line-height: 20px; }
.itg-struct p { font-size: 15px; line-height: 22px; }

/* Location card */
.itg-location { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-3); background: var(--white); border: 2px solid var(--teal-20); border-radius: var(--radius-panel); padding: 40px; }
.itg-location__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--grad-tint); color: var(--blue-700); }
.itg-location h3 { margin: 0; font-size: 20px; line-height: 24px; font-weight: 700; color: var(--navy-700); }
.itg-location p { margin: 0; font-size: 15px; }

/* Chip (dark) */
.itg-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4); }
.itg-chip { display: inline-flex; align-items: center; gap: var(--space-2); padding: 12px 20px; border-radius: var(--radius-pill); background: var(--white-05); border: 1px solid var(--white-10); color: var(--white); }
.itg-chip svg { width: 18px; height: 18px; color: var(--teal-300); }

/* Footer */
.itg-footer { display: flex; flex-direction: column; align-items: center; gap: var(--space-5); padding: 48px 24px 0; text-align: center; }
.itg-whats { display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--touch-min); padding: 12px 20px; border-radius: var(--radius-pill); background: var(--teal-08); border: 1px solid var(--white-10); color: var(--white); text-decoration: none; }
.itg-whats svg { width: 18px; height: 18px; color: var(--teal-300); }
.itg-whats:focus-visible { outline: 2px solid var(--bar-300); outline-offset: 3px; }
.itg-footer__note { font-size: 14px; color: var(--white-50); }
.itg-footer__legal { width: 100%; margin-top: var(--space-6); padding: 20px 0; border-top: 1px solid var(--white-10); font-size: 12px; color: var(--white-50); }

@media (prefers-reduced-motion: reduce) { .itg-btn { transition: none; } .itg-btn:hover { transform: none; } }

/* Page layout (prototype + site) */
.lp-sec { padding: 100px 24px; }
.lp-wrap { max-width: var(--container-max); margin: 0 auto; display: flex; flex-direction: column; gap: 56px; }
.lp-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.lp-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.lp-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lp-center { display: flex; justify-content: center; }
.lp-hero { padding: 48px 24px 0; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.lp-hero .itg-h1 { margin-top: 32px; }
.lp-hero .itg-bar { width: calc(100% + 48px); }
.lp-hero-badges { width: 100%; max-width: var(--container-max); margin-top: var(--space-6); }
.lp-hero .itg-scroll { padding: 16px 0 24px; }
.lp-steps { list-style: ""; margin: 0; padding: 0; }
.lp-curriculum { display: flex; flex-direction: column; gap: var(--space-6); }
.itg-location .itg-btn { margin-top: var(--space-3); }
.lp-signup { max-width: 800px; align-items: center; text-align: center; gap: var(--space-7); }
.lp-signup > p { margin: 0; }
.lp-signup-instructions { font-weight: 600; color: var(--navy-700); }
@media (max-width: 1023px) { .lp-grid4, .lp-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .lp-sec { padding: 64px 20px; }
  .lp-hero { padding: 32px 20px 0; gap: 20px; }
  .lp-hero .itg-h1 { margin-top: 0; }
  .lp-hero .itg-bar { width: calc(100% + 40px); }
  .lp-hero .itg-hero-body { font-size: 15px; line-height: 22px; }
  .lp-wrap { gap: 40px; }
  .lp-signup { gap: var(--space-7); }
  .lp-grid2, .lp-grid3, .lp-grid4 { grid-template-columns: 1fr; }
  .itg-callout { font-size: 24px; line-height: 32px; }
  .itg-card, .itg-profile, .itg-struct { padding: 24px; }
  .itg-banner, .itg-location { padding: 32px 20px; }
  .itg-sec .itg-btn { padding: 18px 28px; }
  .itg-badge { min-width: 0; width: 100%; }
}

/* Not-found page */
.placeholder { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.placeholder__inner {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-8); padding: 64px var(--space-5); text-align: center;
}
.placeholder .itg-hero-body { color: var(--white-85); }

[data-reveal] { transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-pending { opacity: 0; transform: translateY(16px); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition: none; }
  [data-reveal].is-pending { opacity: 1; transform: none; }
}
