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

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

:root {
  /* Paleta teal */
  --bg:         #070d0d;
  --bg2:        #0c1a1a;
  --bg3:        #112222;
  --card:       #0e1e1e;
  --border:     rgba(65,156,166,.13);
  --accent:     #419CA6;
  --accent2:    #6FBFBF;
  --teal-dark:  #2D5959;
  --teal-light: #C4F2F2;
  --off-white:  #F2F2F2;
  --green:      #25D366;
  --text:       #F2F2F2;
  --muted:      #6FBFBF;
  --serif:      'Playfair Display', Georgia, serif;
  --sans:       'Inter', ui-sans-serif, system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg2);
}
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s, background .2s, border-color .2s;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-sm  { padding: 10px 20px; font-size: 14px; }
.btn-lg  { padding: 18px 48px; font-size: 17px; border-radius: 8px; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent2);
  border-color: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(65,156,166,.4);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn-ghost:hover {
  border-color: var(--teal-light);
  color: var(--teal-light);
  background: rgba(196,242,242,.06);
}

.btn-whatsapp {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  font-size: 17px;
  padding: 18px 44px;
  border-radius: 999px;
  animation: pulse-wa 2.4s infinite;
}
.btn-whatsapp:hover {
  background: #1dbe5a;
  border-color: #1dbe5a;
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(37,211,102,.5);
  animation: none;
}
@keyframes pulse-wa {
  0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); }
  55%      { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent2);
  font-size: 14px;
  font-weight: 600;
  transition: gap .2s, color .2s;
}
.link-arrow:hover { gap: 12px; color: var(--teal-light); }

/* ===== LABELS ===== */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-light);
  border: 1px solid rgba(196,242,242,.4);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.025em;
  margin-bottom: 16px;
  max-width: 620px;
}
.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.75;
}
.card-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--accent2);
  opacity: .7;
}

/* ===== NAV — BRANCO ===== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  padding: 8px 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,.09);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.12); }
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo-link { display: flex; align-items: center; }
.nav-logo-img  { height: 54px; width: auto; object-fit: contain; display: block; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 72px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { object-position: center top; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    rgba(7,13,13,.97) 0%,
    rgba(7,13,13,.78) 55%,
    rgba(7,13,13,.35) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: 148px; }
.hero-content h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 9vw, 100px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.03em;
  margin-bottom: 24px;
}
.hero-content h1 em { font-style: italic; color: var(--accent2); }
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(196,242,242,.65);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 40px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll {
  position: absolute;
  bottom: 28px;
  right: 36px;
  z-index: 2;
  font-size: 22px;
  color: rgba(111,191,191,.4);
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(10px); }
}

/* ===== SERVICES ===== */
.services { padding: 96px 0; background: var(--bg); }

.bento { display: grid; gap: 18px; grid-template-columns: 1fr; }
.bento-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.bento-card:hover { border-color: rgba(65,156,166,.4); transform: translateY(-4px); }

.bento-main { display: flex; flex-direction: column; }
.bento-main-img { height: 260px; flex-shrink: 0; }
.bento-main-body {
  padding: 28px 28px 32px;
  display: flex; flex-direction: column; gap: 12px; flex: 1;
}
.bento-main-body h3 { font-family: var(--serif); font-size: clamp(22px, 3vw, 28px); font-weight: 700; line-height: 1.2; }
.bento-main-body p { font-size: 15px; color: var(--muted); line-height: 1.7; flex: 1; }

.bento-sm { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.bento-sm h3 { font-family: var(--serif); font-size: clamp(20px, 2.5vw, 24px); font-weight: 700; line-height: 1.2; }
.bento-sm p { font-size: 15px; color: var(--muted); line-height: 1.65; flex: 1; }
.card-ico { color: var(--accent2); margin-bottom: 4px; }

.bento-wide { display: flex; flex-direction: column; }
.bento-wide-img { height: 240px; flex-shrink: 0; }
.bento-wide-body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 12px; }
.bento-wide-body h3 { font-family: var(--serif); font-size: clamp(22px, 3vw, 28px); font-weight: 700; }
.bento-wide-body p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 8px; }

@media (min-width: 900px) {
  .bento { grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto auto; }
  .bento-main { grid-column: 1; grid-row: 1 / 3; }
  .bento-main-img { height: 300px; }
  .bento-sm { grid-column: 2; }
  .bento-wide { grid-column: 1 / -1; flex-direction: row; }
  .bento-wide-img { width: 45%; flex-shrink: 0; height: auto; min-height: 300px; }
  .bento-wide-body { flex: 1; justify-content: center; padding: 40px 48px; }
}

/* ===== COURSES ===== */
.courses { padding: 96px 0; background: var(--bg2); }

.courses-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 580px)  { .courses-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px)  {
  .courses-grid { grid-template-columns: repeat(3, 1fr); }
  .course-featured { grid-column: 1 / -1; }
}

.course-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.course-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: opacity .3s;
}
.course-card:hover { border-color: rgba(65,156,166,.4); transform: translateY(-3px); }
.course-card:hover::before { opacity: 1; }

/* Featured */
.course-featured {
  background: linear-gradient(135deg, #162626 0%, #0c1a1a 100%);
  border-color: rgba(65,156,166,.35);
}
.course-featured::before { opacity: 1; }

.course-feat-left { display: flex; flex-direction: column; gap: 12px; }
.course-feat-right h3 {
  font-family: var(--serif);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  margin-bottom: 8px;
}
.course-feat-right p { font-size: 15px; color: var(--muted); line-height: 1.7; }
.feat-badges { display: flex; flex-wrap: wrap; gap: 8px; }

@media (min-width: 960px) {
  .course-featured { flex-direction: row; align-items: center; gap: 48px; padding: 36px 44px; }
  .course-feat-left { flex-shrink: 0; min-width: 180px; }
  .course-feat-right { flex: 1; }
  .course-feat-right h3 { font-size: 28px; }
}

/* Highlight */
.course-highlight {
  border-color: rgba(65,156,166,.2);
  background: linear-gradient(135deg, #102020, #0c1a1a);
}

.course-hours {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.course-ico { color: var(--accent2); }
.course-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 700; line-height: 1.2; }
.course-card > p { font-size: 14px; color: var(--muted); line-height: 1.65; }

.online-badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-light);
  background: rgba(196,242,242,.08);
  border: 1px solid rgba(196,242,242,.25);
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}
.featured-badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(65,156,166,.12);
  border: 1px solid rgba(65,156,166,.35);
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}
.courses-cta { margin-top: 52px; text-align: center; }

/* ===== HOW ===== */
.how { padding: 96px 0; background: var(--bg3); }
.how-grid { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; }
@media (min-width: 900px) { .how-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }

.how-left h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.025em;
  margin-bottom: 48px;
}
.steps { display: flex; flex-direction: column; gap: 32px; margin-bottom: 48px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(65,156,166,.35);
}
.step-text strong { display: block; font-size: 16px; font-weight: 600; margin-bottom: 5px; }
.step-text p { font-size: 15px; color: var(--muted); line-height: 1.65; }

.how-img-wrap { position: relative; border-radius: 18px; overflow: visible; }
.how-img-wrap > img { border-radius: 18px; height: 440px; object-position: center top; }
.how-float {
  position: absolute;
  bottom: -18px; left: -18px;
  background: var(--accent);
  color: #fff;
  padding: 18px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(65,156,166,.4);
  z-index: 2;
}
.how-float span  { display: block; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .8; margin-bottom: 4px; }
.how-float strong { display: block; font-size: 15px; font-weight: 700; }

/* ===== CONTACT ===== */
.contact { padding: 96px 0; background: var(--bg); }
.contact .section-title { margin-bottom: 48px; }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  color: var(--text);
  transition: border-color .3s, transform .3s;
}
.contact-card:hover { border-color: rgba(65,156,166,.4); transform: translateY(-4px); }
.contact-ico   { color: var(--accent); margin-bottom: 6px; }
.contact-label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-value { font-size: 16px; font-weight: 600; color: var(--text); }

/* ===== CTA FINAL ===== */
.cta-final { position: relative; padding: 120px 0; text-align: center; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; }
.cta-overlay { position: absolute; inset: 0; background: rgba(7,13,13,.88); }
.cta-body { position: relative; z-index: 2; }
.cta-body h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 7vw, 82px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.cta-body > p {
  font-size: clamp(16px, 2vw, 18px);
  color: rgba(196,242,242,.6);
  max-width: 460px;
  margin: 0 auto 44px;
  line-height: 1.75;
}
.cta-hint { margin-top: 18px !important; font-size: 14px !important; color: rgba(111,191,191,.4) !important; }

/* ===== FOOTER ===== */
.footer {
  background: #ffffff;
  border-top: 1px solid rgba(65,156,166,.2);
  padding: 56px 0 40px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.footer-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-inner p { color: var(--teal-dark); font-size: 15px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.footer-links a { color: var(--accent); transition: color .2s; }
.footer-links a:hover { color: var(--teal-dark); }
.footer-links span { color: rgba(65,156,166,.35); }
.footer-rights { font-size: 13px !important; color: rgba(45,89,89,.45) !important; }

/* ===== FLOATING WHATSAPP ===== */
.wa-float {
  position: fixed;
  bottom: 28px; right: 24px;
  z-index: 999;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,.5);
  animation: pulse-wa 2.5s infinite;
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37,211,102,.65);
  animation: none;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity .65s ease, transform .65s ease;
}
.reveal        { transform: translateY(32px); }
.reveal-left   { transform: translateX(-32px); }
.reveal-right  { transform: translateX(32px); }
.reveal.in-view, .reveal-left.in-view, .reveal-right.in-view { opacity: 1; transform: none; }

.step {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity .5s ease, transform .5s ease;
}
.step.in-view { opacity: 1; transform: none; }
.step:nth-child(2) { transition-delay: .1s; }
.step:nth-child(3) { transition-delay: .2s; }

/* ===== MOBILE ===== */
@media (max-width: 640px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .how-img-wrap > img { height: 300px; }
  .how-float { bottom: 12px; left: 12px; }
  .how-right { order: -1; }
  .services, .courses, .how, .contact { padding: 64px 0; }
  .cta-final { padding: 80px 0; }
  .wa-float { bottom: 20px; right: 16px; width: 52px; height: 52px; }
  .footer-logo-wrap { padding: 12px 24px; }
  .footer-logo { height: 56px; }
}
