@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --amber:      #FFAB00;
  --amber-dark: #E09600;
  --carbon:     #0A0A0A;
  --white:      #FFFFFF;
  --off-white:  #F7F7F7;
  --border:     #E8E8E8;
  --text-dark:  #1A1A1A;
  --text-mid:   #555;
  --text-light: #999;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 2px 12px rgba(0,0,0,0.06);
  --shadow:     0 4px 24px rgba(0,0,0,0.09);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.14);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text-dark); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }
ul { list-style: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-white { background: #fff; }
.section-gray  { background: var(--off-white); }
.section-dark  { background: var(--carbon); }

/* ── TYPOGRAPHY ── */
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; color: #fff; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; color: var(--text-dark); }
h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
p  { font-size: 1rem; line-height: 1.7; font-weight: 400; }

.section-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-dark); display: block; margin-bottom: 10px; }
.section-label.center { text-align: center; }
.section-title { text-align: center; margin-bottom: 10px; }
.section-subtitle { text-align: center; color: var(--text-mid); font-size: 1rem; max-width: 520px; margin: 0 auto 56px; font-weight: 400; line-height: 1.65; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 8px; font-size: 0.88rem; font-weight: 600; font-family: 'Inter', sans-serif; transition: all 0.2s ease; cursor: pointer; border: none; letter-spacing: 0.01em; }
.btn-amber { background: var(--amber); color: var(--carbon); }
.btn-amber:hover { background: var(--amber-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,171,0,0.4); }
.btn-white { background: var(--white); color: var(--carbon); }
.btn-white:hover { background: #f5f5f5; transform: translateY(-2px); }
.btn-outline { background: transparent; color: rgba(255,255,255,0.9); border: 1.5px solid rgba(255,255,255,0.35); }
.btn-outline:hover { border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.1); }
.btn-dark { background: var(--carbon); color: var(--white); }
.btn-dark:hover { background: #222; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text-dark); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber-dark); }
.btn-sm { padding: 9px 18px; font-size: 0.8rem; }
.btn-lg { padding: 16px 32px; font-size: 0.92rem; }
.btn-full { width: 100%; }

/* ================================================================
   HEADER
   ================================================================ */
#header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: all 0.3s ease; }
#header.transparent { background: transparent; }
#header.scrolled { background: rgba(255,255,255,0.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.nav-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo img { height: 32px; width: auto; transition: opacity 0.2s; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-wordmark { font-family: 'Inter', sans-serif; font-size: 1.3rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; display: flex; align-items: center; }
.wm-smart { color: #ffffff; }
.wm-smart-dark { color: #111111; }
.wm-ead { color: #FFAB00; }
.logo-html { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-icon-img { height: 32px; width: auto; }
.logo-text-smart { font-family: 'Inter', sans-serif; font-size: 1.25rem; font-weight: 700; color: #ffffff; letter-spacing: -0.03em; line-height: 1; }
.logo-text-ead { font-family: 'Inter', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--amber); letter-spacing: -0.03em; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 0.86rem; font-weight: 500; transition: color 0.2s; }
#header.transparent .nav-links a { color: rgba(255,255,255,0.85); }
#header.transparent .nav-links a:hover { color: #fff; }
#header.scrolled .nav-links a { color: var(--text-mid); }
#header.scrolled .nav-links a:hover { color: var(--text-dark); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-login { font-size: 0.84rem; font-weight: 600; padding: 8px 16px; border-radius: 8px; border: 1.5px solid; transition: all 0.2s; cursor: pointer; background: transparent; font-family: 'Inter', sans-serif; }
#header.transparent .nav-login { color: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.3); }
#header.transparent .nav-login:hover { border-color: rgba(255,255,255,0.8); }
#header.scrolled .nav-login { color: var(--text-dark); border-color: var(--border); }
#header.scrolled .nav-login:hover { border-color: var(--amber); color: var(--amber-dark); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; padding: 4px; }
.hamburger span { width: 22px; height: 2px; border-radius: 2px; transition: all 0.2s; display: block; }
#header.transparent .hamburger span { background: #fff; }
#header.scrolled .hamburger span { background: var(--text-dark); }

/* ================================================================
   HERO
   ================================================================ */
#hero { min-height: 100vh; position: relative; overflow: hidden; display: flex; align-items: center; }
/* Mobile hero image — escondida no desktop */
.hero-mobile-img { display: none; }

.hero-bg { position: absolute; inset: 0; background-image: url('smartEAD-HeroBackground.webp'); background-size: cover; background-position: center 30%; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.35) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; width: 100%; max-width: 1160px; margin: 0 auto; padding: 100px 24px 60px; display: grid; grid-template-columns: 1fr 400px; gap: 60px; align-items: center; }
.hero-label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); margin-bottom: 20px; }
.hero-label-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }
.hero-left h1 { margin-bottom: 24px; }
.hero-checklist { margin-bottom: 32px; display: flex; flex-direction: column; gap: 11px; }
.hero-check-item { display: flex; align-items: center; gap: 11px; font-size: 0.92rem; color: rgba(255,255,255,0.88); font-weight: 400; }
.check-icon { width: 20px; height: 20px; border-radius: 50%; background: #22c55e; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.check-icon svg { width: 11px; height: 11px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); border-radius: 10px; border: 1px solid rgba(255,255,255,0.15); }
.trust-stars { color: var(--amber); font-size: 0.85rem; letter-spacing: 1px; }
.trust-text { font-size: 0.78rem; color: rgba(255,255,255,0.8); }
.trust-text strong { color: #fff; }

/* Hero form */
.hero-form-card { background: #fff; border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: 0 24px 80px rgba(0,0,0,0.28), 0 0 0 1px rgba(255,255,255,0.1); }
.hero-form-card h3 { font-size: 1.2rem; color: var(--text-dark); margin-bottom: 4px; font-weight: 700; letter-spacing: -0.02em; }
.hero-form-card > p { font-size: 0.82rem; color: var(--text-light); margin-bottom: 20px; }
.form-field { margin-bottom: 12px; }
.form-field label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--text-mid); margin-bottom: 5px; letter-spacing: 0.01em; }
.form-field input, .form-field select { width: 100%; padding: 11px 13px; border-radius: 8px; border: 1.5px solid var(--border); font-family: 'Inter', sans-serif; font-size: 0.86rem; color: var(--text-dark); outline: none; transition: border-color 0.2s; background: #fff; -webkit-appearance: none; }
.form-field input:focus, .form-field select:focus { border-color: var(--amber); }
.form-field input::placeholder { color: #ccc; }
.form-disclaimer { font-size: 0.7rem; color: var(--text-light); text-align: center; margin-top: 10px; line-height: 1.5; }
.form-disclaimer a { color: var(--amber-dark); }
.form-secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 0.73rem; color: var(--text-light); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }

/* ================================================================
   TRUST BAR
   ================================================================ */
#trust-bar { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-bar-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(5,1fr); }
.trust-bar-item { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 18px 12px; font-size: 0.78rem; font-weight: 500; color: var(--text-mid); border-right: 1px solid var(--border); white-space: nowrap; }
.trust-bar-item:last-child { border-right: none; }
.trust-bar-icon { width: 24px; height: 24px; border-radius: 50%; background: #FFF3CC; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--amber-dark); }

/* ================================================================
   STATS
   ================================================================ */
#stats { background: var(--carbon); padding: 72px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item { text-align: center; padding: 32px 20px; border-right: 1px solid rgba(255,255,255,0.07); }
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 2.8rem; font-weight: 800; color: var(--amber); letter-spacing: -0.04em; margin-bottom: 6px; line-height: 1; }
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.45); }

/* ================================================================
   PROBLEM
   ================================================================ */
.problem-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.problem-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: all 0.25s; }
.problem-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #ddd; }
.problem-card-icon { width: 42px; height: 42px; border-radius: 10px; background: #FFF3CC; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.problem-card h4 { font-size: 1.08rem; font-weight: 600; margin-bottom: 7px; }
.problem-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.55; }

/* ================================================================
   SOLUTION
   ================================================================ */
.solution-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.sol-step { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.sol-step:first-child { padding-top: 0; }
.sol-step:last-child { border-bottom: none; }
.sol-num { width: 34px; height: 34px; border-radius: 50%; background: var(--amber); color: var(--carbon); font-weight: 700; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.sol-step h4 { font-size: 1.09rem; font-weight: 600; margin-bottom: 5px; }
.sol-step p { font-size: 0.8rem; color: var(--text-light); line-height: 1.55; }
.solution-visual { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.eco-row { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; display: flex; align-items: center; gap: 14px; transition: border-color 0.2s; }
.eco-row:hover { border-color: var(--amber); }
.eco-row-icon { width: 38px; height: 38px; border-radius: 10px; background: #FFF3CC; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.eco-row-icon svg { width: 16px; height: 16px; color: var(--amber-dark); }
.eco-row h5 { font-size: 0.85rem; font-weight: 600; margin-bottom: 2px; }
.eco-row p { font-size: 0.73rem; color: var(--text-light); }
.eco-arrow { text-align: center; color: var(--amber); font-size: 1rem; }
.eco-center { background: var(--amber) !important; border-color: var(--amber-dark) !important; }
.eco-center h5, .eco-center p { color: rgba(0,0,0,0.7); }
.eco-center .eco-row-icon { background: rgba(0,0,0,0.1); }
.eco-center .eco-row-icon svg { color: rgba(0,0,0,0.6); }

/* ================================================================
   FEATURES
   ================================================================ */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.feat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; transition: all 0.25s; position: relative; overflow: hidden; }
.feat-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.feat-card:hover::after { transform: scaleX(1); }
.feat-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feat-icon { width: 46px; height: 46px; border-radius: 12px; background: #FFF3CC; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feat-icon svg { width: 20px; height: 20px; color: var(--amber-dark); }
.feat-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.feat-card p { font-size: 0.89rem; color: var(--text-light); line-height: 1.6; }

/* ================================================================
   COURSES
   ================================================================ */
.courses-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.course-card { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.25s; cursor: pointer; background: #fff; }
.course-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: #ddd; }
.course-img { height: 155px; overflow: hidden; position: relative; }
.course-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.course-card:hover .course-img img { transform: scale(1.06); }
.course-badge { position: absolute; top: 10px; left: 10px; background: var(--amber); color: var(--carbon); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; }
.course-body { padding: 18px; }
.course-body h4 { font-size: 1.09rem; font-weight: 600; margin-bottom: 5px; color: var(--text-dark); }
.course-body .course-uni { font-size: 0.72rem; color: var(--text-light); margin-bottom: 12px; }
.course-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--border); }
.course-price { font-size: 0.95rem; font-weight: 700; color: var(--amber-dark); }
.course-rating { font-size: 0.72rem; color: var(--text-light); }
.courses-more { text-align: center; margin-top: 40px; }

/* ================================================================
   UNIVERSITIES CAROUSEL
   ================================================================ */
.carousel-wrap { position: relative; }
.carousel-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 4px; cursor: grab; -ms-overflow-style: none; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:active { cursor: grabbing; }
.uni-card { flex: 0 0 260px; scroll-snap-align: start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: all 0.2s; }
.uni-card:hover { box-shadow: var(--shadow); border-color: #ddd; transform: translateY(-2px); }
.uni-logo-wrap { height: 48px; display: flex; align-items: center; margin-bottom: 14px; }
.uni-logo-wrap img { max-height: 44px; max-width: 140px; width: auto; object-fit: contain; }
.uni-card h4 { font-size: 0.88rem; font-weight: 600; margin-bottom: 3px; }
.uni-type { font-size: 0.7rem; color: var(--amber-dark); font-weight: 500; margin-bottom: 8px; }
.uni-courses-list { font-size: 0.74rem; color: var(--text-light); margin-bottom: 14px; line-height: 1.6; }
.uni-rating { font-size: 0.74rem; color: var(--text-light); margin-bottom: 14px; }
.carousel-controls { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.carousel-btn { width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid var(--border); font-size: 0.95rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; }
.carousel-btn:hover { background: var(--amber); border-color: var(--amber); color: var(--carbon); }

/* ================================================================
   AI TUTOR
   ================================================================ */
.ai-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
#ai-section h2 { color: #fff; }
#ai-section .section-subtitle { color: rgba(255,255,255,0.5); }
.ai-points { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.ai-point { display: flex; gap: 16px; padding: 18px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.07); transition: border-color 0.2s; }
.ai-point:hover { border-color: rgba(255,171,0,0.3); }
.ai-point-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,171,0,0.12); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.ai-point-icon svg { width: 16px; height: 16px; color: var(--amber); }
.ai-point h4 { font-size: 1.10rem; font-weight: 600; color: #fff; margin-bottom: 3px; }
.ai-point p { font-size: 0.78rem; color: rgba(255,255,255,0.45); line-height: 1.55; }
.ai-chat-box { background: #111; border: 1px solid rgba(255,255,255,0.09); border-radius: var(--radius-lg); overflow: hidden; }
.ai-chat-top { padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,0.07); display: flex; align-items: center; gap: 11px; background: #161616; }
.ai-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--amber); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.7rem; color: var(--carbon); flex-shrink: 0; }
.ai-chat-name { font-size: 0.86rem; font-weight: 600; color: #fff; }
.ai-chat-sub { font-size: 0.7rem; color: rgba(255,255,255,0.35); }
.online-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; margin-left: auto; box-shadow: 0 0 6px #22c55e; }
.ai-msgs { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.msg-row { display: flex; gap: 9px; align-items: flex-start; }
.msg-row.user { flex-direction: row-reverse; }
.msg-bubble-ai { max-width: 82%; padding: 11px 14px; border-radius: 4px 14px 14px 14px; background: #1e1e1e; color: rgba(255,255,255,0.7); font-size: 0.8rem; line-height: 1.55; }
.msg-bubble-user { max-width: 82%; padding: 11px 14px; border-radius: 14px 4px 14px 14px; background: rgba(255,171,0,0.14); color: rgba(255,255,255,0.85); font-size: 0.8rem; line-height: 1.55; }
.msg-av { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 0.62rem; font-weight: 700; }
.av-ai { background: var(--amber); color: var(--carbon); }
.av-user { background: #2a2a2a; color: rgba(255,255,255,0.6); }
.ai-input-row { display: flex; gap: 8px; padding: 14px 18px; border-top: 1px solid rgba(255,255,255,0.07); }
.ai-input-row input { flex: 1; background: #1a1a1a; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 10px 13px; color: #fff; font-family: 'Inter', sans-serif; font-size: 0.82rem; outline: none; transition: border-color 0.2s; }
.ai-input-row input:focus { border-color: var(--amber); }
.ai-input-row input::placeholder { color: rgba(255,255,255,0.2); }
.ai-send-btn { background: var(--amber); color: var(--carbon); border-radius: 8px; padding: 0 16px; font-weight: 700; font-size: 0.8rem; font-family: 'Inter', sans-serif; transition: background 0.2s; border: none; cursor: pointer; }
.ai-send-btn:hover { background: var(--amber-dark); }

/* ================================================================
   EMPLOYABILITY
   ================================================================ */
.employ-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.employ-points { display: flex; flex-direction: column; gap: 22px; }
.emp-point { display: flex; gap: 15px; }
.emp-num { width: 30px; height: 30px; border-radius: 50%; background: var(--amber); color: var(--carbon); font-weight: 700; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.emp-point h4 { font-size: 1.10rem; font-weight: 600; margin-bottom: 5px; }
.emp-point p { font-size: 0.8rem; color: var(--text-light); line-height: 1.55; }
.employ-visual { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.ev-header { background: var(--carbon); padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; }
.ev-header h5 { font-size: 0.86rem; color: #fff; font-weight: 600; }
.ev-live { font-size: 0.68rem; font-weight: 700; background: #22c55e; color: #fff; padding: 3px 10px; border-radius: 100px; }
.rank-list { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.rank-row { display: flex; align-items: center; gap: 12px; background: #fff; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--border); }
.rank-pos { width: 24px; height: 24px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; flex-shrink: 0; }
.p1 { background: var(--amber); color: var(--carbon); }
.p2 { background: #e5e5e5; color: #666; }
.p3 { background: #f0e0c8; color: #8B6020; }
.pn { background: #f5f5f5; color: #aaa; }
.rank-info { flex: 1; }
.rank-info h5 { font-size: 0.82rem; font-weight: 600; color: var(--text-dark); }
.rank-info p { font-size: 0.7rem; color: var(--text-light); }
.rank-score { font-size: 0.86rem; font-weight: 700; color: var(--amber-dark); }

/* ================================================================
   INVESTORS
   ================================================================ */
.investor-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.investor-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.inv-metric { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.inv-val { font-size: 1.6rem; font-weight: 800; color: var(--amber-dark); letter-spacing: -0.03em; margin-bottom: 4px; }
.inv-label { font-size: 0.74rem; color: var(--text-light); }
.streams { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.stream-row { display: flex; align-items: center; gap: 13px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 14px; }
.stream-icon { width: 34px; height: 34px; border-radius: 9px; background: #FFF3CC; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; flex-shrink: 0; }
.stream-info h5 { font-size: 0.99rem; font-weight: 600; }
.stream-info p { font-size: 0.83rem; color: var(--text-light); line-height: 1.4; padding-top: 4px; }
.stream-tag { margin-left: auto; font-size: 0.68rem; font-weight: 700; padding: 3px 9px; border-radius: 100px; background: #e8f5e9; color: #2e7d32; white-space: nowrap; }

/* ================================================================
   FINAL CTA
   ================================================================ */
#cta-final { background: var(--carbon); padding: 100px 0; text-align: center; position: relative; overflow: hidden; }
#cta-final::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(255,171,0,0.07) 0%, transparent 70%); pointer-events: none; }
#cta-final h2 { color: #fff; max-width: 620px; margin: 0 auto 18px; }
#cta-final p { color: rgba(255,255,255,0.45); max-width: 460px; margin: 0 auto 36px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ================================================================
   FOOTER
   ================================================================ */
#footer { background: #111; border-top: 1px solid rgba(255,255,255,0.06); padding: 64px 0 36px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand img { height: 28px; margin-bottom: 14px; mix-blend-mode: screen; }
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.35); line-height: 1.65; max-width: 240px; }
.footer-col h5 { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.83rem; color: rgba(255,255,255,0.45); margin-bottom: 9px; transition: color 0.2s; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.76rem; color: rgba(255,255,255,0.2); }
.footer-bottom a { color: rgba(255,255,255,0.2); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--amber); }

/* ================================================================
   MODAL
   ================================================================ */
.modal-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.65); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box { background: #fff; border-radius: var(--radius-lg); padding: 40px; max-width: 460px; width: 90%; transform: translateY(16px); transition: transform 0.2s; position: relative; }
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close { position: absolute; top: 14px; right: 14px; background: var(--off-white); border: none; border-radius: 8px; width: 32px; height: 32px; font-size: 0.95rem; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-mid); transition: all 0.2s; }
.modal-close:hover { background: var(--amber); color: var(--carbon); }
.modal-logo { margin-bottom: 24px; }
.modal-logo img { height: 24px; }
.modal-box h3 { font-size: 1.15rem; margin-bottom: 4px; }
.modal-box > p { font-size: 0.86rem; color: var(--text-light); margin-bottom: 24px; }
.login-types { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lt-btn { background: var(--off-white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 16px; text-align: center; cursor: pointer; transition: all 0.2s; }
.lt-btn:hover { border-color: var(--amber); background: #FFFBF0; }
.lt-icon { font-size: 1.6rem; margin-bottom: 7px; }
.lt-btn h4 { font-size: 0.83rem; font-weight: 600; margin-bottom: 2px; }
.lt-btn p { font-size: 0.7rem; color: var(--text-light); }
.login-form-wrap { display: none; }
.back-btn { background: none; border: none; font-size: 0.8rem; color: var(--text-light); cursor: pointer; display: flex; align-items: center; gap: 5px; margin-bottom: 18px; transition: color 0.2s; padding: 0; }
.back-btn:hover { color: var(--amber-dark); }

/* ================================================================
   DASHBOARDS
   ================================================================ */
.page-view { display: none; min-height: 100vh; background: var(--off-white); }
.page-view.active { display: block; }
.dash-wrap { display: flex; min-height: 100vh; }
.dash-side { width: 220px; flex-shrink: 0; background: #fff; border-right: 1px solid var(--border); padding: 18px 10px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.dash-side-logo { padding: 6px 10px; margin-bottom: 20px; }
.dash-side-logo img { height: 26px; }
.side-section { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #ccc; padding: 12px 10px 5px; }
.side-link { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 8px; font-size: 0.83rem; font-weight: 500; color: var(--text-mid); cursor: pointer; transition: all 0.2s; }
.side-link:hover { background: var(--off-white); color: var(--text-dark); }
.side-link.active { background: #FFF3CC; color: var(--amber-dark); font-weight: 600; }
.side-link svg { width: 15px; height: 15px; flex-shrink: 0; }
.dash-main { flex: 1; padding: 28px; overflow: auto; }
.dash-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.dash-top h2 { font-size: 1.3rem; margin-bottom: 3px; }
.dash-welcome { font-size: 0.82rem; color: var(--text-light); }
.kpi-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 20px; }
.kpi { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.kpi-val { font-size: 1.4rem; font-weight: 700; color: var(--text-dark); margin-bottom: 3px; }
.kpi-label { font-size: 0.73rem; color: var(--text-light); }
.kpi-change { font-size: 0.68rem; color: #16a34a; margin-top: 3px; font-weight: 500; }
.dash-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
.dash-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.dash-panel h4 { font-size: 0.88rem; font-weight: 600; margin-bottom: 16px; }
.course-row { display: flex; align-items: center; gap: 11px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.course-row:last-child { border-bottom: none; }
.cr-thumb { width: 38px; height: 38px; border-radius: 8px; background: #FFF3CC; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; }
.cr-info { flex: 1; }
.cr-info h5 { font-size: 0.81rem; font-weight: 600; margin-bottom: 4px; }
.prog-bar { height: 3px; background: var(--off-white); border-radius: 3px; overflow: hidden; }
.prog-fill { height: 100%; background: var(--amber); border-radius: 3px; }
.cr-pct { font-size: 0.75rem; font-weight: 600; color: var(--amber-dark); }

/* ================================================================
   COURSE PAGES
   ================================================================ */
.course-page-hero { background: var(--carbon); padding: 100px 24px 60px; }
.breadcrumb { font-size: 0.76rem; color: rgba(255,255,255,0.35); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,0.35); }
.breadcrumb a:hover { color: var(--amber); }
.course-hero-grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1fr 340px; gap: 52px; align-items: start; }
.course-page-hero h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; }
.course-page-hero p { color: rgba(255,255,255,0.55); font-size: 0.95rem; margin-bottom: 22px; max-width: 520px; }
.course-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.cbadge { font-size: 0.7rem; font-weight: 600; padding: 4px 12px; border-radius: 100px; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.75); }
.cbadge-amber { background: rgba(255,171,0,0.18); color: var(--amber); }
.course-meta-row { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-bottom: 26px; }
.enroll-card { background: #fff; border-radius: var(--radius-lg); padding: 26px; position: sticky; top: 90px; }
.enroll-price { font-size: 1.9rem; font-weight: 800; color: var(--text-dark); margin-bottom: 3px; }
.enroll-from { font-size: 0.77rem; color: var(--text-light); margin-bottom: 18px; }
.enroll-perks { margin: 16px 0; }
.perk { display: flex; align-items: center; gap: 9px; font-size: 0.8rem; color: var(--text-mid); margin-bottom: 9px; }
.perk-check { color: #22c55e; font-weight: 700; }
.uni-compare { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 24px; }
.uc-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; }
.uc-card.best { border-color: var(--amber); }
.uc-name { font-size: 0.92rem; font-weight: 700; margin-bottom: 3px; }
.uc-price { font-size: 1.3rem; font-weight: 800; color: var(--amber-dark); margin: 10px 0; }
.uc-info { font-size: 0.75rem; color: var(--text-light); margin-bottom: 14px; }

/* Enrollment flow */
.enroll-page { max-width: 640px; margin: 0 auto; padding: 72px 24px; }
.steps-bar { display: flex; gap: 0; margin-bottom: 40px; }
.step-seg { flex: 1; position: relative; text-align: center; }
.step-seg::after { content: ''; position: absolute; top: 14px; left: 50%; right: -50%; height: 2px; background: var(--border); z-index: 0; }
.step-seg:last-child::after { display: none; }
.step-circle { width: 28px; height: 28px; border-radius: 50%; margin: 0 auto 5px; background: var(--off-white); color: var(--text-light); font-weight: 700; font-size: 0.76rem; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; border: 2px solid var(--border); }
.step-seg.active .step-circle { background: var(--amber); color: var(--carbon); border-color: var(--amber); }
.step-seg.done .step-circle { background: #22c55e; color: #fff; border-color: #22c55e; }
.step-lbl { font-size: 0.68rem; color: var(--text-light); }
.step-seg.active .step-lbl { color: var(--amber-dark); font-weight: 600; }
.flow-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }

/* Legal */
.legal-wrap { max-width: 720px; margin: 0 auto; padding: 96px 24px 72px; }
.legal-wrap h1 { font-size: 1.9rem; color: var(--text-dark); margin-bottom: 6px; }
.legal-updated { font-size: 0.78rem; color: var(--text-light); margin-bottom: 10px; }
.legal-notice { background: #FFF3CC; border: 1px solid #FFD966; border-radius: 8px; padding: 12px 16px; font-size: 0.82rem; color: #7A5800; margin-bottom: 36px; }
.legal-sec { margin-bottom: 32px; }
.legal-sec h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.legal-sec p, .legal-sec li { font-size: 0.86rem; color: var(--text-mid); margin-bottom: 8px; line-height: 1.7; }
.legal-sec ul { padding-left: 18px; list-style: disc; }

/* ================================================================
   SCROLL ANIMATIONS
   ================================================================ */
.fade-up { opacity: 0; transform: translateY(32px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; transition: opacity 0.6s ease; }
.fade-in.visible { opacity: 1; }
.fade-left { opacity: 0; transform: translateX(-32px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-left.visible { opacity: 1; transform: translateX(0); }
.fade-right { opacity: 0; transform: translateX(32px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-right.visible { opacity: 1; transform: translateX(0); }
.scale-in { opacity: 0; transform: scale(0.94); transition: opacity 0.5s ease, transform 0.5s ease; }
.scale-in.visible { opacity: 1; transform: scale(1); }

/* ================================================================
   MOBILE
   ================================================================ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; padding-top: 120px; }
  .hero-form-card { max-width: 500px; }
  .solution-layout, .ai-layout, .employ-layout, .investor-layout { grid-template-columns: 1fr; gap: 48px; }
  .courses-grid { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .problem-grid { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.07); border-right: 1px solid rgba(255,255,255,0.07); }
  .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.07); border-right: none; }
  .kpi-row { grid-template-columns: repeat(2,1fr); }
  .dash-grid { grid-template-columns: 1fr; }
  .course-hero-grid { grid-template-columns: 1fr; }
  .uni-compare { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  /* Trust bar mobile — 2 col compacto */
  #trust-bar .trust-bar-inner {
    grid-template-columns: 1fr 1fr !important;
  }
  #trust-bar .trust-bar-item {
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
    justify-content: flex-start;
    padding: 10px 14px;
    white-space: normal;
    font-size: 0.72rem;
    gap: 7px;
    line-height: 1.3;
  }
  #trust-bar .trust-bar-item:nth-child(odd) {
    border-right: 1px solid var(--border) !important;
  }
  #trust-bar .trust-bar-item:nth-last-child(-n+2) {
    border-bottom: none !important;
  }
  #trust-bar .trust-bar-icon {
    width: 20px; height: 20px; flex-shrink: 0;
  }
  /* Destruir cursor e floats no mobile */
  .cursor-dot, .cursor-ring, .hero-float, .hero-scan { display: none !important; }
  .scroll-progress { display: none !important; }
  .btn-ripple { display: none !important; }
  /* Header mobile compacto */
  .nav-inner { height: 60px; padding: 0 16px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn-sm { display: none; }
  .nav-login { display: none; }
  .nav-mobile-cta { display: flex !important; padding: 8px 14px; font-size: 0.78rem; }
  /* ── HERO MOBILE ── */
  #hero { min-height: auto; display: block; }
  .hero-bg { display: none; }
  .hero-overlay { display: none; }
  .hero-content {
    display: flex; flex-direction: column;
    padding: 0; gap: 0;
  }
  .hero-mobile-img {
    display: block !important;
    width: 100%; height: 56vw; min-height: 280px; max-height: 400px;
    object-fit: cover; object-position: center 15%;
    flex-shrink: 0;
  }
  .hero-left {
    background:
      radial-gradient(ellipse 80% 45% at 50% 0%, rgba(180,90,0,0.72) 0%, transparent 70%),
      #090700;
    padding: 36px 20px 32px;
    text-align: center;
  }
  .hero-left h1 { font-size: clamp(1.9rem, 7vw, 2.8rem); color: #fff; }
  .hero-label { justify-content: center; }
  .hero-checklist { align-items: flex-start; text-align: left; max-width: 400px; margin: 0 auto 28px; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-right {
    background: #f7f7f7;
    padding: 28px 20px 40px;
  }
  .hero-form-card {
    padding: 28px 24px;
    max-width: 480px; margin: 0 auto;
  }
  /* Floating badges - esconder no mobile */
  .hero-float, .hero-scan { display: none !important; }
  
  .courses-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .login-types { grid-template-columns: 1fr; }
  .investor-metrics { grid-template-columns: 1fr 1fr; }
  .dash-wrap { flex-direction: column; }
  .dash-side { width: 100%; height: auto; position: relative; flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .uni-compare { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .modal-box { padding: 28px 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .investor-layout { grid-template-columns: 1fr; }
  /* Problema section mobile */
  .problem-card h4 { font-size: 1.25rem; }
  .problem-card p  { font-size: 0.92rem; }
  .problem-card { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .problem-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { grid-template-columns: 1fr 1fr; }

  .trust-bar-item { border-bottom: 1px solid var(--border); }
  .trust-bar-item:nth-last-child(-n+2) { border-bottom: none; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .investor-metrics { grid-template-columns: 1fr; }
}

/* ================================================================
   SCROLL ANIMATIONS — minimal.gallery style
   ================================================================ */

/* Base state — todos começam invisíveis */
[data-anim] {
  opacity: 0;
  will-change: transform, opacity;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  transition-property: opacity, transform, clip-path;
}
[data-anim].anim-done { opacity: 1; transform: none !important; clip-path: none !important; }

/* Fade up — padrão */
[data-anim="up"]    { transform: translateY(48px); transition-duration: 0.8s; }
[data-anim="up-sm"] { transform: translateY(24px); transition-duration: 0.6s; }

/* Fade in simples */
[data-anim="fade"]  { transition-duration: 0.9s; }

/* Slide da esquerda e direita */
[data-anim="left"]  { transform: translateX(-56px); transition-duration: 0.85s; }
[data-anim="right"] { transform: translateX(56px);  transition-duration: 0.85s; }

/* Scale in — cards */
[data-anim="scale"] { transform: scale(0.92); transition-duration: 0.7s; }

/* Clip reveal — texto linha por linha */
[data-anim="clip"] {
  clip-path: inset(0 0 100% 0);
  transform: translateY(16px);
  transition-duration: 0.9s;
}

/* Stagger delay para filhos */
[data-stagger] > * { opacity: 0; transform: translateY(36px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
[data-stagger].anim-done > * { opacity: 1; transform: none; }
[data-stagger].anim-done > *:nth-child(1)  { transition-delay: 0ms; }
[data-stagger].anim-done > *:nth-child(2)  { transition-delay: 80ms; }
[data-stagger].anim-done > *:nth-child(3)  { transition-delay: 160ms; }
[data-stagger].anim-done > *:nth-child(4)  { transition-delay: 240ms; }
[data-stagger].anim-done > *:nth-child(5)  { transition-delay: 320ms; }
[data-stagger].anim-done > *:nth-child(6)  { transition-delay: 400ms; }
[data-stagger].anim-done > *:nth-child(7)  { transition-delay: 480ms; }
[data-stagger].anim-done > *:nth-child(8)  { transition-delay: 560ms; }
[data-stagger].anim-done > *:nth-child(9)  { transition-delay: 640ms; }

/* Linha decorativa que cresce */
.anim-line {
  display: block; height: 1.5px; background: var(--amber);
  width: 0; transition: width 1s cubic-bezier(0.16,1,0.3,1);
}
.anim-line.anim-done { width: 100%; }

/* Parallax wrapper */
[data-parallax] { will-change: transform; }

/* Hero headline — cada linha sobe de baixo para cima */
.hero-line-wrap {
  display: block;
  overflow: hidden;
  line-height: 1.12;
}
.hero-line {
  display: block;
  transform: translateY(105%);
  opacity: 0;
  transition: transform 1s cubic-bezier(0.16,1,0.3,1), opacity 0.4s ease;
}
.hero-line.line-done { transform: translateY(0); opacity: 1; }

/* Number counter glow */
.stat-number { transition: color 0.3s; }
.stat-number.counting { color: #fff; text-shadow: 0 0 32px rgba(255,171,0,0.6); }

/* Hover lift em cards */
.feat-card, .course-card, .problem-card, .uni-card {
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.35s cubic-bezier(0.16,1,0.3,1),
              border-color 0.35s ease;
}

/* Underline hover em links do nav */
.nav-links a { position: relative; }
.nav-links a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1.5px; background: var(--amber);
  transition: width 0.3s cubic-bezier(0.16,1,0.3,1);
}
.nav-links a:hover::after { width: 100%; }
#header.scrolled .nav-links a::after { background: var(--amber-dark); }

/* Botão ripple */
.btn { position: relative; overflow: hidden; }
.btn-ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transform: scale(0); animation: ripple 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}

/* Cursor glow (desktop only) */
@media (pointer: fine) and (min-width: 769px) {
  .cursor-dot {
    width: 8px; height: 8px; background: var(--amber);
    border-radius: 50%; position: fixed; pointer-events: none;
    z-index: 800; transform: translate(-50%,-50%);
    transition: transform 0.1s ease, opacity 0.3s ease;
    mix-blend-mode: difference;
  }
  .cursor-ring {
    width: 36px; height: 36px; border: 1.5px solid rgba(255,171,0,0.5);
    border-radius: 50%; position: fixed; pointer-events: none;
    z-index: 799; transform: translate(-50%,-50%);
    transition: transform 0.12s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
  }
}

/* Section entrance — linha superior que aparece */
.section-enter { position: relative; }
.section-enter::before {
  content: '';
  position: absolute; top: 0; left: 50%; right: 50%;
  height: 1px; background: var(--border);
  transition: left 1.2s cubic-bezier(0.16,1,0.3,1),
              right 1.2s cubic-bezier(0.16,1,0.3,1);
}
.section-enter.anim-done::before { left: 0; right: 0; }

/* ================================================================
   3D SCROLL ANIMATIONS
   ================================================================ */

/* Perspective container nas sections */
.section-3d { perspective: 1200px; perspective-origin: 50% 40%; }

/* Cards com flip 3D */
[data-anim="flip-up"] {
  opacity: 0;
  transform: rotateX(24deg) translateY(60px);
  transform-origin: top center;
  transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.16,1,0.3,1);
  transition-delay: var(--d, 0ms);
}
[data-anim="flip-up"].anim-done {
  opacity: 1;
  transform: rotateX(0deg) translateY(0);
}

/* Tilt 3D em hover nos cards */
.card-3d {
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease;
}
.card-3d:hover { box-shadow: 0 24px 60px rgba(0,0,0,0.18); }

/* Rotação no eixo Y — slide lateral 3D */
[data-anim="rotate-in-left"] {
  opacity: 0;
  transform: perspective(900px) rotateY(18deg) translateX(-40px);
  transition: opacity 0.9s ease, transform 1s cubic-bezier(0.16,1,0.3,1);
}
[data-anim="rotate-in-left"].anim-done {
  opacity: 1;
  transform: perspective(900px) rotateY(0deg) translateX(0);
}

[data-anim="rotate-in-right"] {
  opacity: 0;
  transform: perspective(900px) rotateY(-18deg) translateX(40px);
  transition: opacity 0.9s ease, transform 1s cubic-bezier(0.16,1,0.3,1);
}
[data-anim="rotate-in-right"].anim-done {
  opacity: 1;
  transform: perspective(900px) rotateY(0deg) translateX(0);
}

/* Zoom depth — vem de longe */
[data-anim="zoom-depth"] {
  opacity: 0;
  transform: perspective(1000px) translateZ(-120px) scale(0.88);
  transition: opacity 1s ease, transform 1.1s cubic-bezier(0.16,1,0.3,1);
}
[data-anim="zoom-depth"].anim-done {
  opacity: 1;
  transform: perspective(1000px) translateZ(0) scale(1);
}

/* Stagger 3D flip para grids */
[data-stagger-3d] > * {
  opacity: 0;
  transform: perspective(800px) rotateX(20deg) translateY(40px);
  transform-origin: top center;
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
[data-stagger-3d].anim-done > * { opacity: 1; transform: perspective(800px) rotateX(0) translateY(0); }
[data-stagger-3d].anim-done > *:nth-child(1) { transition-delay: 0ms; }
[data-stagger-3d].anim-done > *:nth-child(2) { transition-delay: 70ms; }
[data-stagger-3d].anim-done > *:nth-child(3) { transition-delay: 140ms; }
[data-stagger-3d].anim-done > *:nth-child(4) { transition-delay: 210ms; }
[data-stagger-3d].anim-done > *:nth-child(5) { transition-delay: 280ms; }
[data-stagger-3d].anim-done > *:nth-child(6) { transition-delay: 350ms; }
[data-stagger-3d].anim-done > *:nth-child(7) { transition-delay: 420ms; }
[data-stagger-3d].anim-done > *:nth-child(8) { transition-delay: 490ms; }
[data-stagger-3d].anim-done > *:nth-child(9) { transition-delay: 560ms; }

/* Tilt interativo no mouse */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.15s ease;
}
.tilt-card-inner {
  transform: translateZ(20px);
}

/* Morphing background nos stats */
#stats { position: relative; overflow: hidden; }
#stats::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,171,0,0.06) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-bg 4s ease-in-out infinite;
}
@keyframes pulse-bg {
  0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 0.6; }
  50%       { transform: translate(-50%,-50%) scale(1.3); opacity: 1; }
}

/* Floating elements na hero */
.hero-float {
  position: absolute; border-radius: 16px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  padding: 14px 18px;
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}
.hero-float:nth-child(2) { animation-delay: -2s; }
.hero-float:nth-child(3) { animation-delay: -4s; }
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

/* Linha de scan na hero */
.hero-scan {
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,171,0,0.4), transparent);
  animation: scan 8s linear infinite;
  z-index: 2; pointer-events: none;
}
@keyframes scan {
  0%   { top: 0%; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Glow nos números */
.stat-number.counting {
  text-shadow: 0 0 40px rgba(255,171,0,0.5);
}

/* Eco-row 3D hover */
.eco-row {
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), border-color 0.2s, box-shadow 0.3s;
}
.eco-row:hover {
  transform: translateX(8px);
  box-shadow: -4px 0 0 var(--amber), 0 4px 20px rgba(0,0,0,0.08);
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--amber), #ffd166);
  z-index: 500; width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(255,171,0,0.6);
}

/* ================================================================
   FIX MOBILE HORIZONTAL SCROLL
   ================================================================
   Correção adicionada para impedir que animações horizontais,
   carrosséis e grids empurrem o layout para fora da tela no mobile.
*/

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    position: relative;
  }

  header,
  section,
  footer,
  .page-view,
  .container,
  .nav-inner,
  .hero-content,
  .solution-layout,
  .ai-layout,
  .employ-layout,
  .investor-layout,
  .course-hero-grid,
  .footer-top,
  .footer-bottom,
  .modal-overlay {
    max-width: 100%;
  }

  header,
  section,
  footer,
  .page-view,
  .modal-overlay {
    overflow-x: clip;
  }

  .container {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-inner {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-content,
  .solution-layout,
  .ai-layout,
  .employ-layout,
  .investor-layout,
  .course-hero-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-bottom,
  .course-meta-row,
  .steps-bar,
  .cta-btns,
  .hero-ctas {
    flex-wrap: wrap;
  }

  .fade-left:not(.visible),
  .fade-right:not(.visible),
  [data-anim="left"]:not(.anim-done),
  [data-anim="right"]:not(.anim-done),
  [data-anim="rotate-in-left"]:not(.anim-done),
  [data-anim="rotate-in-right"]:not(.anim-done) {
    transform: translateY(24px) !important;
  }

  [data-anim].anim-done,
  .fade-left.visible,
  .fade-right.visible {
    transform: none !important;
  }

  [data-stagger-3d] > * {
    transform: perspective(800px) rotateX(12deg) translateY(24px);
  }

  [data-stagger-3d].anim-done > * {
    transform: perspective(800px) rotateX(0deg) translateY(0);
  }

  .eco-row:hover {
    transform: none;
  }

  #stats {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .stats-grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .stat-item {
    min-width: 0;
  }

  .carousel-wrap {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .carousel-track {
    max-width: 100%;
    overflow-x: auto;
  }

  .uni-card {
    flex: 0 0 min(260px, calc(100vw - 48px));
    max-width: calc(100vw - 48px);
  }

  .modal-box {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .dash-main,
  .flow-box,
  .enroll-page,
  .legal-wrap {
    max-width: 100%;
    overflow-x: clip;
  }
}

