/* ==========================================================================
   Cursos Técnicos EAD — Landing Page (Projeto Sucuriú / Inocência-MS)
   ========================================================================== */

:root {
  --yellow: #FFD400;
  --yellow-dark: #E6BF00;
  --black: #111111;
  --dark-2: #17191a;
  --dark-3: #202325;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f2f4;
  --gray-200: #e6e7ea;
  --gray-300: #d5d7db;
  --gray-500: #7c7f85;
  --gray-700: #4a4d52;
  --whatsapp: #25D366;
  --whatsapp-dark: #1ebe5b;

  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-lg: 0 30px 70px -15px rgba(0,0,0,.35), 0 15px 30px -15px rgba(0,0,0,.25);
  --shadow-md: 0 14px 30px -10px rgba(0,0,0,.18);
  --shadow-sm: 0 6px 16px -6px rgba(0,0,0,.15);

  --font-head: 'Poppins', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container-w: 1220px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.icon { width: 20px; height: 20px; flex-shrink: 0; }
.icon--lg { width: 26px; height: 26px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--yellow);
  color: var(--black);
  padding: 10px 16px;
  z-index: 999;
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 999px;
  padding: 16px 28px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .01em;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  white-space: normal;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn--whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 14px 28px -8px rgba(37,211,102,.55);
}
.btn--whatsapp:hover { background: var(--whatsapp-dark); box-shadow: 0 18px 34px -8px rgba(37,211,102,.65); transform: translateY(-2px); }

.btn--block { width: 100%; }
.btn--lg { padding: 20px 40px; font-size: 1.1rem; }

.btn--outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
  padding: 14px 26px;
}
.btn--outline:hover { background: var(--black); color: var(--white); }

/* ============ TOPBAR ============ */
.topbar {
  position: relative;
  z-index: 5;
  background: var(--black);
  color: var(--gray-300);
  font-size: .8rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 24px;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar__brand strong { color: var(--yellow); }
.topbar__note { display: inline-flex; align-items: center; gap: 8px; }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 0 0 0 rgba(37,211,102,.6);
  animation: pulse-dot 1.8s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70% { box-shadow: 0 0 0 7px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 44px 0 56px;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    url('images/hero-aerial.jpg'),
    radial-gradient(120% 90% at 15% 10%, #1c3d2c 0%, transparent 60%),
    radial-gradient(120% 100% at 90% 90%, #142a20 0%, transparent 55%),
    linear-gradient(135deg, #0f2a1c 0%, #1c4430 35%, #2c5c3c 65%, #16311f 100%);
  background-size: cover;
  background-position: center;
  filter: blur(3px) saturate(1.05) brightness(.85);
  transform: scale(1.08);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0px, rgba(255,255,255,.035) 1px, transparent 1px, transparent 42px);
  mix-blend-mode: overlay;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6,12,9,.6) 0%, rgba(6,10,8,.72) 45%, rgba(4,7,6,.92) 100%),
    linear-gradient(100deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 45%, transparent 70%);
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .95fr;
  gap: 48px;
  align-items: center;
}

.hero__content { color: var(--white); }

.hero__eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-top: 14px;
}

.hero__city {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -.02em;
  font-size: clamp(2.6rem, 7.4vw, 5.6rem);
  text-transform: uppercase;
  margin: 0 0 6px;
  text-shadow: 0 6px 30px rgba(0,0,0,.4);
}
.hero__city-suffix { color: var(--yellow); white-space: nowrap; }
.hero__region {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.6rem);
  letter-spacing: .32em;
  color: rgba(255,255,255,.82);
  margin-top: 8px;
}

.hero__headline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0 18px;
  max-width: 620px;
}
.hero__headline-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  line-height: 1.28;
  color: var(--white);
}
.highlight {
  color: var(--black);
  background: var(--yellow);
  padding: 2px 10px;
  border-radius: 6px;
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.highlight-inline {
  color: var(--yellow);
}

.hero__sub {
  font-size: clamp(.95rem, 1.4vw, 1.1rem);
  line-height: 1.6;
  color: rgba(255,255,255,.88);
  max-width: 560px;
  margin-bottom: 26px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}
.hero__badges li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.92);
}
.hero__badges .icon { color: var(--yellow); }

/* ============ LEAD FORM ============ */
.hero__form-wrap { position: relative; z-index: 2; }

.lead-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lead-form__kicker {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--whatsapp-dark);
}
.lead-form__title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--black);
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-700);
  line-height: 1.35;
}
.field input,
.field select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-size: .95rem;
  font-family: inherit;
  color: var(--black);
  background: var(--gray-50);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%234a4d52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 40px;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--whatsapp);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37,211,102,.15);
}
.field input:invalid:not(:placeholder-shown),
.field select:invalid:not([value=""]) { }
.field input.field--error,
.field select.field--error {
  border-color: #e0433a;
  box-shadow: 0 0 0 4px rgba(224,67,58,.12);
}

.lead-form .btn--whatsapp { margin-top: 6px; }

.lead-form__note {
  font-size: .76rem;
  color: var(--gray-500);
  text-align: center;
  line-height: 1.4;
}

.hero__scroll {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 20px;
  display: none;
}
.hero__scroll span {
  display: block;
  width: 4px;
  height: 8px;
  background: var(--yellow);
  border-radius: 2px;
  margin: 6px auto 0;
  animation: scroll-bounce 1.6s infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: .3; }
}

/* ============ GENERIC SECTION ============ */
.section { padding: 88px 0; }
.section__eyebrow {
  display: block;
  text-align: center;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--whatsapp-dark);
  margin-bottom: 10px;
}
.section__eyebrow--dark { color: var(--black); opacity: .65; }
.section__title {
  text-align: center;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 800;
  color: var(--black);
  max-width: 780px;
  margin: 0 auto 14px;
  line-height: 1.2;
}
.section__title--dark { color: var(--black); }
.section__lead {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
  color: var(--gray-700);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ============ CURSOS ============ */
.cursos { background: var(--gray-50); }
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.course-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 16px;
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.course-card__icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--yellow), #ffe98a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
}
.course-card__icon svg { width: 26px; height: 26px; }
.course-card h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.3; }

.courses-more {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.courses-more__hint {
  max-width: 420px;
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.55;
}
.badge-pill {
  display: inline-block;
  background: var(--black);
  color: var(--yellow);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .03em;
  padding: 10px 20px;
  border-radius: 999px;
}
.badge-pill--dark { background: var(--black); color: var(--yellow); margin-bottom: 16px; }

/* ============ TRUST (por que agora + diploma + preço + cta) ============ */
.trust { background: var(--yellow); }
.trust-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 680px;
  margin: 28px auto 40px;
}
.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.trust-list__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--black);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-list__icon svg { width: 24px; height: 24px; }
.trust-list h3 { font-size: 1.15rem; font-weight: 800; color: var(--black); margin-bottom: 4px; }
.trust-list p { font-size: 1rem; line-height: 1.6; color: rgba(0,0,0,.78); }

.trust-price {
  text-align: center;
  background: rgba(255,255,255,.92);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 30px 28px;
  max-width: 440px;
  margin: 0 auto 36px;
}
.trust-price__label { color: var(--gray-700); font-weight: 600; margin-bottom: 2px; }
.trust-price__value {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--black);
}
.trust-price__value strong { color: var(--whatsapp-dark); }
.trust-price__note { font-size: .85rem; color: var(--gray-500); margin-top: 6px; }

.trust-cta { text-align: center; }
.trust-cta p {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 20px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ FOOTER ============ */
.footer { background: var(--black); color: rgba(255,255,255,.6); padding: 34px 0; }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
}
.footer__legal { width: 100%; margin-top: 6px; font-size: .75rem; color: rgba(255,255,255,.4); }

/* ============ FLOATING WHATSAPP BUTTON ============ */
.fab-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px -6px rgba(37,211,102,.65);
  z-index: 50;
  opacity: 0;
  transform: translateY(16px) scale(.9);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background-color .2s ease;
}
.fab-whatsapp.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.fab-whatsapp:hover { background: var(--whatsapp-dark); transform: translateY(-3px) scale(1.04); }
.fab-whatsapp svg { width: 30px; height: 30px; }

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .dot, .hero__scroll span { animation: none; }
}

/* ============ RESPONSIVE ============ */
@media (min-width: 900px) {
  .hero__scroll { display: block; }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__content { order: 1; text-align: left; }
  .hero__form-wrap { order: 2; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .topbar { display: none; }
  .hero { padding: 14px 0 20px; min-height: 100svh; }
  .hero__grid { gap: 14px; }
  .hero__eyebrow { font-size: .7rem; margin-top: 8px; }
  .hero__city { font-size: clamp(1.9rem, 9.5vw, 3.2rem); margin-bottom: 2px; }
  .hero__region { letter-spacing: .2em; font-size: .8rem; margin-top: 2px; }
  .hero__headline { gap: 6px; margin: 8px 0 6px; }
  .hero__headline-text { font-size: clamp(1rem, 4.6vw, 1.3rem); }
  .highlight { font-size: clamp(1rem, 4.6vw, 1.3rem); }
  .hero__sub {
    font-size: .84rem;
    line-height: 1.45;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .hero__badges { display: none; }
  .lead-form { padding: 14px 16px; gap: 7px; border-radius: var(--radius-md); }
  .lead-form__kicker { font-size: .68rem; }
  .lead-form__title { font-size: 1rem; margin-bottom: 2px; }
  .field { gap: 3px; }
  .field label { font-size: .72rem; line-height: 1.2; }
  .field input, .field select { padding: 8px 10px; font-size: .88rem; }
  .field select { padding-right: 34px; background-size: 16px; }
  .lead-form .btn--whatsapp { padding: 12px 20px; font-size: .88rem; margin-top: 2px; }
  .lead-form__note { display: none; }
  .courses-grid { grid-template-columns: 1fr; }
  .trust-list { gap: 20px; }
  .trust-list h3 { font-size: 1.05rem; }
  .trust-list p { font-size: .94rem; }
  .trust-price { padding: 24px 20px; }
  .trust-cta p { font-size: 1.08rem; }
}