/* =========================================================
   LíderTec – Cursos Técnicos e Educação Superior
   Folha de estilos principal
   ========================================================= */

:root {
  --navy: #15134F;
  --navy-2: #1E1B66;
  --purple: #4C145F;
  --magenta: #E5005A;
  --pink: #F21B71;
  --white: #FFFFFF;
  --gray-50: #F5F6FA;
  --gray-100: #ECEDF4;
  --gray-200: #DCDDE9;
  --gray-500: #6B6A86;
  --text: #202038;
  --wa: #1FAF55;
  --wa-dark: #178F45;
  --danger: #C8102E;

  --grad: linear-gradient(120deg, var(--navy) 0%, var(--purple) 50%, var(--magenta) 100%);
  --grad-pink: linear-gradient(120deg, var(--purple) 0%, var(--magenta) 60%, var(--pink) 100%);
  --grad-soft: linear-gradient(160deg, #EEEAF8 0%, #F9E6F0 100%);

  --font-display: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 8px rgba(21, 19, 79, .06);
  --shadow: 0 12px 32px -12px rgba(21, 19, 79, .18);
  --shadow-lg: 0 24px 60px -20px rgba(76, 20, 95, .35);

  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--magenta); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -.015em; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-tint { background: var(--gray-50); }
.section-head { display: grid; gap: 14px; max-width: 680px; margin-bottom: clamp(32px, 5vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  font-family: var(--font-display); font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--magenta);
}
.eyebrow.on-dark { color: #FF7BB0; }
.lead { font-size: 1.14rem; color: #45445F; max-width: 60ch; }
.muted { color: var(--gray-500); font-size: .95rem; }
.grad-text { background: var(--grad-pink); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad-pink); color: #fff; box-shadow: 0 10px 24px -10px rgba(229, 0, 90, .6); }
.btn-primary:hover { box-shadow: 0 14px 30px -10px rgba(229, 0, 90, .75); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -12px rgba(31, 175, 85, .7); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--gray-200); }
.btn-outline:hover { border-color: var(--magenta); color: var(--magenta); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { box-shadow: 0 14px 30px -12px rgba(0,0,0,.4); }
.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }

/* ---------- 1. Cabeçalho ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100;
  background: rgba(255,255,255,0);
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled { background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); box-shadow: 0 6px 24px -12px rgba(21,19,79,.25); }
.header-inner { max-width: 1360px; display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.brand { flex: none; display: block; }
.brand img { height: 44px; width: auto; transition: height .3s ease; }
.site-header.scrolled .brand img { height: 38px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a:not(.btn) {
  display: block; padding: 8px 11px; border-radius: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .86rem;
  color: var(--navy); text-decoration: none; position: relative; transition: color .2s; white-space: nowrap;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 2px;
  background: var(--grad-pink); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.main-nav a:not(.btn):hover, .main-nav a.active { color: var(--magenta); }
.main-nav a:not(.btn):hover::after, .main-nav a.active::after { transform: scaleX(1); }
.header-cta { padding: 10px 18px; font-size: .86rem; }
.nav-cta-mobile { display: none; }
.menu-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--gray-200); background: #fff; color: var(--navy); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle .ic { width: 24px; height: 24px; }
.menu-toggle .ic-close { display: none; }
.menu-open .menu-toggle .ic-open { display: none; }
.menu-open .menu-toggle .ic-close { display: block; }

@media (max-width: 1280px) {
  .main-nav a:not(.btn) { padding: 8px 8px; font-size: .82rem; }
  .main-nav a:not(.btn)::after { left: 8px; right: 8px; }
}
@media (max-width: 1180px) {
  .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto 0;
    background: #fff; padding: 12px var(--gutter) 24px;
    box-shadow: 0 24px 40px -20px rgba(21,19,79,.35);
    border-top: 1px solid var(--gray-100);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .3s ease, opacity .3s ease, visibility .3s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .menu-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .menu-open .site-header { background: #fff; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a:not(.btn) { padding: 14px 4px; font-size: 1rem; border-bottom: 1px solid var(--gray-100); border-radius: 0; }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-cta-mobile { display: flex; width: 100%; margin-top: 18px; }
}

/* ---------- 2. Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--gray-50); margin-top: calc(-1 * var(--header-h)); padding-top: calc(var(--header-h) + clamp(32px, 6vw, 72px)); padding-bottom: clamp(56px, 8vw, 96px); }
.hero::before {
  content: ""; position: absolute; right: 3%; top: 90px; width: 150px; height: 110px;
  background-image: radial-gradient(var(--purple) 2.2px, transparent 2.6px); background-size: 22px 22px; opacity: .35;
}
.hero-swoosh {
  position: absolute; left: -270px; bottom: -300px; width: 420px; height: 420px; border-radius: 50%;
  border: 56px solid transparent; background: var(--grad) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0);
  opacity: .9;
}
.hero-visual::before {
  content: ""; position: absolute; z-index: 0; left: 50%; top: 52%; width: 108%; aspect-ratio: 1; max-width: 560px;
  transform: translate(-50%, -50%); border-radius: 50%; background: var(--grad); opacity: .95;
  box-shadow: 0 40px 80px -30px rgba(76,20,95,.55);
}
.hero-visual::after {
  content: ""; position: absolute; z-index: 0; left: 50%; top: 52%; width: 124%; aspect-ratio: 1; max-width: 640px;
  transform: translate(-50%, -50%); border-radius: 50%; border: 2px dashed rgba(229,0,90,.35);
}
.hero-visual > * { position: relative; z-index: 1; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero-copy .eyebrow { background: #fff; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.trust-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin-top: 8px; }
.trust-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: .95rem; color: var(--navy); }
.trust-list .ic { color: #fff; background: var(--magenta); border-radius: 50%; padding: 3px; width: 20px; height: 20px; margin-top: 2px; stroke-width: 3; }

.hero-visual { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: start; padding-block: 24px; }
.photo-slot {
  margin: 0; position: relative; border-radius: 120px 120px var(--radius-lg) var(--radius-lg); overflow: hidden;
  aspect-ratio: 9 / 19; max-width: 100%;
  background: var(--grad-soft); border: 1px solid #fff; box-shadow: var(--shadow);
}
.photo-slot img { width: 100%; height: 100%; object-fit: cover; }
.photo-slot.s1 { margin-top: 48px; background: linear-gradient(170deg, #E9E6FA, #F6E4EF); }
.photo-slot.s2 { background: linear-gradient(170deg, #F8E3EC, #EDE7F9); }
.photo-slot.s3 { margin-top: 28px; background: linear-gradient(170deg, #E7E8F8, #F3E6F4); }
.photo-slot.s4 { margin-top: 72px; background: linear-gradient(170deg, #F4E6F2, #E6E6F7); }
.slot-placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 10px;
  color: var(--purple); font-family: var(--font-display); font-size: .7rem; font-weight: 600; letter-spacing: .02em; line-height: 1.35;
}
.slot-placeholder .ic { width: 44px; height: 44px; stroke-width: 1.5; color: var(--magenta); opacity: .9; }
.slot-placeholder span { opacity: .75; }
.hero-visual { isolation: isolate; }
.hero-visual .float-chip {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); z-index: 2;
  animation: float 6s ease-in-out infinite;
}
.float-chip strong { display: block; font-family: var(--font-display); font-size: .85rem; color: var(--navy); line-height: 1.2; }
.float-chip small { display: block; font-size: .78rem; color: var(--gray-500); }
.chip-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad-pink); color: #fff; }
.chip-ic.wa { background: var(--wa); }
.chip-a { left: -28px; bottom: 4%; }
.chip-b { right: -12px; top: 4%; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-copy > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }
.hero-visual .photo-slot { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-visual .s2 { animation-delay: .1s; } .hero-visual .s3 { animation-delay: .2s; } .hero-visual .s4 { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- 3. Sobre ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.about-copy { display: grid; gap: 18px; }
.official-box {
  display: flex; gap: 16px; align-items: flex-start; margin-top: 8px; padding: 18px 20px;
  background: var(--gray-50); border: 1px dashed #C9B8DA; border-radius: var(--radius);
}
.official-box strong { font-family: var(--font-display); color: var(--navy); }
.official-box p { color: var(--gray-500); font-size: .95rem; }
.official-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--magenta); box-shadow: var(--shadow-sm); }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.feature {
  display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature:nth-child(2), .feature:nth-child(4) { transform: translateY(24px); }
.feature:nth-child(2):hover, .feature:nth-child(4):hover { transform: translateY(20px); }
.feature p { color: var(--gray-500); font-size: .95rem; }
.feature-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--grad); color: #fff; margin-bottom: 6px; }
.feature-ic .ic { width: 26px; height: 26px; }


/* ---------- Reconhecimento MEC/SISTEC ---------- */
.official-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-family: var(--font-display); font-weight: 700; font-size: .88rem; color: var(--magenta); text-decoration: none; }
.official-link .ic { width: 16px; height: 16px; transition: transform .2s; }
.official-link:hover .ic { transform: translateX(3px); }
.section-recon { padding-top: 0; }
.recon-panel {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: start;
  padding: clamp(24px, 4vw, 48px); border-radius: 32px; background: var(--gray-50); border: 1px solid var(--gray-100);
}
.recon-copy { display: grid; gap: 18px; }
.recon-tip { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--gray-500); }
.recon-tip .ic { color: var(--magenta); width: 18px; height: 18px; }
.recon-side { display: grid; gap: 18px; }
.unit-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.unit-card { display: grid; gap: 10px; align-content: start; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); }
.unit-tag { width: fit-content; padding: 4px 10px; border-radius: 999px; background: #FDE4EE; color: #B0004A; font-family: var(--font-display); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.unit-card h3 { font-size: 1rem; }
.unit-card dl { display: grid; gap: 8px; margin: 4px 0 0; }
.unit-card dl div { display: grid; gap: 2px; padding-top: 8px; border-top: 1px solid var(--gray-100); }
.unit-card dt { font-size: .8rem; color: var(--gray-500); }
.unit-card dd { margin: 0; font-family: var(--font-display); font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.recon-steps { padding: 22px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--gray-100); }
.recon-steps h3 { margin-bottom: 12px; }
.recon-steps ol { display: grid; gap: 10px; counter-reset: rs; }
.recon-steps li { position: relative; padding-left: 38px; font-size: .95rem; counter-increment: rs; overflow-wrap: anywhere; }
.recon-steps li::before {
  content: counter(rs); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad-pink); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .78rem;
}
kbd { display: inline-block; padding: 1px 7px; border-radius: 6px; border: 1px solid var(--gray-200); border-bottom-width: 2px; background: var(--gray-50); font-family: var(--font-display); font-size: .8rem; font-weight: 700; color: var(--navy); }
@media (max-width: 920px) { .recon-panel { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .unit-list { grid-template-columns: 1fr; } }

/* ---------- 4. Cursos ---------- */
.catalog-tools { display: grid; gap: 16px; margin-bottom: 18px; }
.cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-tab {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 14px;
  background: #fff; border: 1.5px solid var(--gray-200); cursor: pointer; text-align: left;
  font-family: var(--font-display); color: var(--navy); transition: all .2s ease;
}
.cat-tab .ic { width: 20px; height: 20px; color: var(--magenta); }
.cat-tab .t-title { display: block; font-weight: 700; font-size: .9rem; line-height: 1.2; }
.cat-tab .t-sub { display: block; font-size: .72rem; font-weight: 600; color: var(--gray-500); letter-spacing: .04em; }
.cat-tab .t-count { margin-left: 4px; min-width: 28px; padding: 2px 8px; border-radius: 999px; background: var(--gray-100); font-size: .75rem; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.cat-tab:hover { border-color: var(--magenta); }
.cat-tab[aria-selected="true"] { background: var(--grad); border-color: transparent; color: #fff; box-shadow: var(--shadow); }
.cat-tab[aria-selected="true"] .ic, .cat-tab[aria-selected="true"] .t-sub { color: rgba(255,255,255,.85); }
.cat-tab[aria-selected="true"] .t-count { background: rgba(255,255,255,.2); }

.catalog-filters { display: grid; grid-template-columns: 1fr 280px; gap: 12px; }
.search-field, .select-field { position: relative; display: block; }
.search-field .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--gray-500); pointer-events: none; }
.search-field input, .select-field select {
  width: 100%; height: 52px; border-radius: 14px; border: 1.5px solid var(--gray-200); background: #fff;
  font: inherit; font-size: 1rem; color: var(--text); padding: 0 16px;
  transition: border-color .2s, box-shadow .2s;
}
.search-field input { padding-left: 48px; }
.select-field select { appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%234C145F' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.search-field input:focus, .select-field select:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 4px rgba(229,0,90,.12); }

.result-count { font-size: .9rem; color: var(--gray-500); margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.result-count strong { color: var(--navy); }
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.course-card {
  display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 20px;
  background: #fff; border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  animation: fadeIn .35s ease both;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #EBD3E3; }
@keyframes fadeIn { from { opacity: .001; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.course-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.course-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--grad-soft); color: var(--purple); }
.course-ic .ic { width: 24px; height: 24px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  font-family: var(--font-display); font-size: .7rem; font-weight: 700; letter-spacing: .03em; white-space: nowrap;
}
.badge .ic { width: 14px; height: 14px; }
.badge-ct { background: #FDE4EE; color: #B0004A; }
.badge-it { background: #EFE3F5; color: var(--purple); }
.badge-sei { background: #E6E6F6; color: var(--navy); }
.course-card h3 { font-size: 1.08rem; }
.course-area { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--magenta); }
.course-desc { font-size: .92rem; color: var(--gray-500); flex: 1; }
.course-meta { display: flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--navy); }
.course-meta .ic { width: 16px; height: 16px; color: var(--magenta); }
.course-card .btn { margin-top: 4px; width: 100%; padding: 11px 16px; }
.course-card .btn-interest { background: var(--gray-50); color: var(--navy); border-color: var(--gray-100); }
.course-card:hover .btn-interest, .course-card .btn-interest:focus-visible { background: var(--grad-pink); color: #fff; border-color: transparent; }
.empty-state { display: grid; justify-items: center; gap: 14px; padding: 48px 16px; text-align: center; color: var(--gray-500); }
.empty-state > .ic { width: 40px; height: 40px; color: var(--magenta); }
.load-more-wrap { display: flex; justify-content: center; margin-top: 32px; }

/* ---------- 5. Como funciona ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.steps::before {
  content: ""; position: absolute; top: 40px; left: 12.5%; right: 12.5%; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--navy), var(--purple), var(--magenta));
  transform-origin: left; transform: scaleX(var(--progress, 1)); transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.step { position: relative; display: grid; justify-items: center; gap: 12px; text-align: center; padding: 0 8px; }
.step-ic {
  position: relative; display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%;
  background: #fff; color: var(--magenta); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--gray-200), var(--shadow);
  transition: transform .3s ease;
}
.step:hover .step-ic { transform: scale(1.06); }
.step-ic .ic { width: 32px; height: 32px; }
.step-num {
  position: absolute; top: -6px; left: calc(50% + 18px); z-index: 1; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%; background: var(--grad-pink); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: .85rem; box-shadow: 0 6px 14px -6px rgba(229,0,90,.7);
}
.step h3 { margin-top: 8px; }
.step p { color: var(--gray-500); font-size: .95rem; max-width: 26ch; }

/* ---------- 6. Benefícios ---------- */
.section-dark { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; right: -200px; bottom: -260px; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(229,0,90,.35), rgba(76,20,95,0) 65%);
}
.section-dark .container { position: relative; }
.section-dark h2 { color: #fff; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.benefit {
  display: grid; gap: 16px; align-content: start; padding: 24px; border-radius: 20px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  transition: background-color .25s ease, transform .25s ease, border-color .25s ease;
}
.benefit:hover { background: rgba(255,255,255,.09); border-color: rgba(242,27,113,.5); transform: translateY(-3px); }
.benefit .ic { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--grad-pink); color: #fff; }
.benefit h3 { color: #fff; font-size: 1rem; line-height: 1.35; }

/* ---------- 7. Destaque ---------- */
.cta-section { padding-block: clamp(56px, 8vw, 96px); }
.cta-band {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: 32px; background: var(--grad); color: #fff; box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.18) 1.6px, transparent 2px); background-size: 20px 20px;
  mask-image: linear-gradient(90deg, transparent 40%, #000 100%); -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
}
.cta-deco { position: absolute; right: 30%; top: -40px; color: rgba(255,255,255,.07); pointer-events: none; }
.cta-deco .ic { width: 240px; height: 240px; stroke-width: 1.2; }
.cta-copy { position: relative; display: grid; gap: 12px; }
.cta-copy h2 { color: #fff; }
.cta-copy p { font-size: 1.12rem; color: rgba(255,255,255,.88); max-width: 52ch; }
.cta-band .btn-row { position: relative; }

/* ---------- 8. Depoimentos ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.testimonial {
  margin: 0; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius-lg);
  background: #fff; border: 1.5px dashed #D9C6E3;
}
.quote-ic { width: 36px; height: 36px; color: var(--magenta); }
.placeholder-flag { font-size: .78rem; font-weight: 700; color: #B0004A; background: #FDE4EE; padding: 6px 10px; border-radius: 8px; width: fit-content; }
.testimonial blockquote { margin: 0; flex: 1; color: var(--gray-500); font-style: italic; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--gray-100); }
.testimonial figcaption strong { display: block; font-family: var(--font-display); font-size: .9rem; color: var(--navy); }
.testimonial figcaption small { color: var(--gray-500); }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad-soft); color: var(--purple); }

/* ---------- 9. FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 24px); margin-bottom: 0; }
.faq-grid .section-head .btn { width: fit-content; margin-top: 6px; }
.accordion { display: grid; gap: 12px; }
.faq-item { background: #fff; border-radius: var(--radius); border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); transition: box-shadow .25s, border-color .25s; }
.faq-item[open] { border-color: #EBD3E3; box-shadow: var(--shadow); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--navy); cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--gray-50); color: var(--magenta); transition: transform .3s ease, background-color .3s; }
.faq-item[open] summary .ic { transform: rotate(45deg); background: var(--grad-pink); color: #fff; }
.faq-body { padding: 0 22px 20px; color: #4A4966; }
.faq-item[open] .faq-body { animation: fadeIn .3s ease; }

/* ---------- 10. Contato ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 0; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-lg); padding-inline: 0; max-width: calc(1200px - 2 * var(--gutter)); }
#contato { padding-inline: var(--gutter); }
.contact-aside { display: grid; gap: 16px; align-content: start; padding: clamp(28px, 4vw, 48px); background: var(--grad); color: rgba(255,255,255,.9); }
.contact-aside h2 { color: #fff; }
.contact-list { display: grid; gap: 18px; margin-top: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.65); font-weight: 700; }
.contact-list a { color: #fff; font-weight: 700; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.ci { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: rgba(255,255,255,.12); color: #fff; }
.form-card { background: #fff; padding: clamp(24px, 4vw, 48px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; margin-bottom: 20px; }
.field { display: grid; gap: 6px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .86rem; color: var(--navy); }
.req { color: var(--magenta); }
.opt { color: var(--gray-500); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--gray-200); border-radius: 12px; background: var(--gray-50);
  font: inherit; font-size: 1rem; color: var(--text); padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field select { appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%234C145F' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--magenta); background: #fff; box-shadow: 0 0 0 4px rgba(229,0,90,.12); }
.field.invalid input, .field.invalid select { border-color: var(--danger); background: #FFF6F7; }
.field-error { min-height: 0; font-size: .82rem; color: var(--danger); font-weight: 600; }
.field-error:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-family: var(--font-body) !important; font-weight: 400 !important; font-size: .92rem !important; color: #45445F !important; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--magenta); }
.field.invalid .check { color: var(--danger) !important; }
.form-note { margin-top: 12px; font-size: .82rem; color: var(--gray-500); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#submit-btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.form-success { display: grid; justify-items: center; gap: 14px; text-align: center; padding-block: 32px; }
.form-success:focus { outline: none; }
.success-ic { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #E3F7EA; color: var(--wa); animation: pop .5s cubic-bezier(.2,1.4,.4,1); }
.success-ic .ic { width: 36px; height: 36px; stroke-width: 3; }
.form-success p { color: var(--gray-500); max-width: 44ch; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- Rodapé ---------- */
.site-footer { background: #0E0C38; color: rgba(255,255,255,.72); padding-top: 64px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-logo { display: inline-block; background: #fff; padding: 12px 16px; border-radius: 14px; }
.footer-logo img { height: 40px; width: auto; }
.footer-brand p { margin-top: 14px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.site-footer a:hover { color: #FF7BB0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 18px 0 16px; border-radius: 999px;
  background: var(--wa); color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: .92rem;
  box-shadow: 0 14px 30px -10px rgba(23,143,69,.7); transition: transform .25s ease, background-color .25s ease;
}
.wa-float .ic { width: 28px; height: 28px; }
.wa-float:hover { transform: translateY(-3px) scale(1.03); background: var(--wa-dark); }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa);
  animation: ring 2.4s ease-out infinite;
}
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.35); opacity: 0; } }

/* ---------- Modal ---------- */
.modal {
  width: min(460px, calc(100vw - 32px)); border: 0; border-radius: 24px; padding: 32px 28px 28px;
  box-shadow: 0 40px 80px -20px rgba(21,19,79,.5); color: var(--text); text-align: center;
}
.modal[open] { animation: pop .35s cubic-bezier(.2,1.2,.4,1); }
.modal::backdrop { background: rgba(14,12,56,.55); backdrop-filter: blur(4px); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--gray-50); color: var(--navy); cursor: pointer; }
.modal-close:hover { background: var(--gray-100); }
.modal-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--grad); color: #fff; margin-bottom: 14px; }
.modal-ic .ic { width: 30px; height: 30px; }
.modal-cat { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--magenta); }
.modal h3 { font-size: 1.5rem; margin: 6px 0 10px; }
.modal-desc { color: var(--gray-500); font-size: .95rem; }
.modal-q { margin: 22px 0 12px; font-weight: 700; color: var(--navy); font-family: var(--font-display); font-size: .92rem; }
.modal-actions { display: grid; gap: 10px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); z-index: 150; transform: translate(-50%, 20px);
  max-width: calc(100vw - 32px); padding: 12px 20px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 600; font-size: .92rem;
  opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s ease; box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsivo ---------- */
@media (max-width: 1040px) {
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .hero-grid, .about-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .chip-a { left: 0; }
  .chip-b { right: 0; }
  .faq-grid .section-head { position: static; }
  .cta-band { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before { display: none; }
  .testimonial-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --header-h: 66px; }
  .brand img { height: 36px; }
  .site-header.scrolled .brand img { height: 34px; }
  .trust-list { grid-template-columns: 1fr; }
  .btn-row .btn-lg { width: 100%; }
  .hero-visual { gap: 8px; }
  .float-chip { padding: 8px 12px 8px 8px; gap: 8px; }
  .chip-ic { width: 32px; height: 32px; border-radius: 10px; }
  .chip-ic .ic { width: 18px; height: 18px; }
  .float-chip small { display: none; }
  .slot-placeholder span { display: none; }
  .hero-visual::after, .hero-swoosh { display: none; }
  .slot-placeholder .ic { width: 28px; height: 28px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature:nth-child(2), .feature:nth-child(4) { transform: none; }
  .feature:nth-child(2):hover, .feature:nth-child(4):hover { transform: translateY(-4px); }
  .catalog-filters { grid-template-columns: 1fr; }
  .cat-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 6px; scrollbar-width: none; }
  .cat-tabs::-webkit-scrollbar { display: none; }
  .cat-tab { flex: none; }
  .course-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit { grid-template-columns: auto 1fr; align-items: center; padding: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-float { width: 60px; padding: 0; justify-content: center; }
  .wa-float-label { display: none; }
  .contact-grid { border-radius: 24px; }
}


/* ---------- Hero com foto ---------- */
.hero::before { display: none; }
.hero-visual { display: block; padding-block: 0; }
.hero-visual::before, .hero-visual::after { display: none; }
.hero-img {
  width: 100%; height: auto; max-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%), linear-gradient(180deg, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 14%), linear-gradient(180deg, #000 80%, transparent 100%);
  mask-composite: intersect;
  animation: rise .9s cubic-bezier(.2,.7,.2,1) both;
}
.hero-visual .chip-a { left: 4%; top: 18%; bottom: auto; }
.trust-bar {
  position: relative; z-index: 2; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px;
  margin-top: 8px; padding: 20px 24px; border-radius: 20px; background: #fff; box-shadow: var(--shadow);
}
@media (min-width: 921px) {
  .hero-grid { grid-template-columns: .9fr 1.1fr; gap: 24px; }
  .hero-copy .btn-row .btn-lg { padding: 15px 22px; }
  .hero-visual { margin-right: calc(-1 * (var(--gutter) + max(0px, (100vw - 1200px) / 2))); margin-left: -6%; }
  .hero h1 { font-size: clamp(2.1rem, 3.6vw, 3rem); }
}
@media (max-width: 920px) {
  .hero-visual { max-width: none; width: auto; margin-inline: calc(-1 * var(--gutter)); }
  .hero-img {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 85%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 85%, transparent 100%);
  }
  .hero-visual .chip-a { display: none; }
  .trust-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) { .trust-bar { grid-template-columns: 1fr; } }


/* Hero no celular: imagem vertical que sobe por trás dos botões (topo claro) */
.hero-visual picture { display: block; }
@media (max-width: 640px) {
  .hero-copy { position: relative; z-index: 2; }
  .hero-visual { position: relative; z-index: 1; margin-top: -38vw; }
  .hero-img {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 88%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 88%, transparent 100%);
  }
  .trust-bar { margin-top: -48px; }
}


/* ---------- Certificação por competência ---------- */
.hero-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: var(--purple); text-decoration: none; border-bottom: 2px solid rgba(229,0,90,.3); padding-bottom: 2px; }
.hero-link .ic { width: 16px; height: 16px; transition: transform .2s; }
.hero-link:hover { color: var(--magenta); border-color: var(--magenta); }
.hero-link:hover .ic { transform: translateX(3px); }

.cc-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.cc-copy { display: grid; gap: 20px; }
.cc-quote { margin: 0; padding: 20px 24px; border-radius: 18px; background: var(--gray-50); border-left: 4px solid var(--magenta); }
.cc-quote p { font-size: 1.02rem; font-style: italic; color: var(--navy); }
.cc-quote cite { display: block; margin-top: 10px; font-style: normal; font-size: .82rem; font-weight: 700; color: var(--gray-500); letter-spacing: .02em; }
.cc-note { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: #45445F; }
.cc-note .ic { color: var(--magenta); margin-top: 3px; }
.cc-side { display: grid; gap: 14px; }
.cc-card { padding: 22px 24px; border-radius: 20px; border: 1px solid var(--gray-100); background: #fff; box-shadow: var(--shadow-sm); }
.cc-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cc-card h3 .ic { width: 28px; height: 28px; padding: 6px; border-radius: 50%; color: #fff; stroke-width: 3; }
.cc-yes h3 .ic { background: var(--wa); }
.cc-no { background: var(--gray-50); }
.cc-no h3 .ic { background: var(--gray-500); }
.cc-card ul { display: grid; gap: 8px; }
.cc-card li { position: relative; padding-left: 18px; font-size: .95rem; color: #45445F; }
.cc-card li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--magenta); }
.cc-no li::before { background: var(--gray-500); }
@media (max-width: 920px) { .cc-grid { grid-template-columns: minmax(0, 1fr); } }

.catalog-note { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--gray-100); font-size: .9rem; color: #45445F; }
.catalog-note .ic { color: var(--magenta); margin-top: 2px; width: 18px; height: 18px; }

/* Cards: Tenho interesse + Saiba mais */
.course-actions { display: grid; gap: 2px; margin-top: 4px; justify-items: center; }
.course-actions .btn { margin-top: 0; }
.course-more { display: inline-flex; align-items: center; gap: 4px; padding: 8px 6px 0; font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: var(--purple); text-decoration: none; white-space: nowrap; }
.course-more:hover { color: var(--magenta); text-decoration: underline; }
.modal-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: var(--font-display); font-weight: 700; font-size: .88rem; color: var(--purple); text-decoration: none; }
.modal-more .ic { width: 16px; height: 16px; }
.modal-more:hover { color: var(--magenta); }
.check a { color: var(--magenta); font-weight: 700; }

.form-alert { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: #FFF1F3; border: 1px solid #F7C4CD; color: var(--danger); font-weight: 700; font-size: .9rem; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
