/* UniCesumar – Vestibular com Bolsa de Estudos
   Estilos principais da landing page
   ================================================ */

/* ── RESET & BASE ── */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --navy:       #002060;
    --navy-dark:  #001240;
    --navy-mid:   #003087;
    --teal:       #00B4D8;
    --teal-dark:  #0090B0;
    --verde:      #00A651;
    --verde-dark: #008040;
    --cinza-bg:   #F4F6FB;
    --borda:      #D4DCF0;
    --muted:      #5A6278;
    --branco:     #FFFFFF;
    --texto:      #1A1D3B;
  }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Open Sans', sans-serif;
    color: var(--texto);
    background: var(--branco);
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.6;
  }

  /* ── HEADER ── */
  header {
    background: var(--navy-dark);
    padding: 0 20px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,.4);
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
  }
  .logo-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }
  .logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 18px;
    color: #fff;
    letter-spacing: -.3px;
  }
  .logo-text em { font-style: normal; color: var(--teal); }
  .nav-desktop {
    display: flex;
    gap: 20px;
    list-style: none;
  }
  .nav-desktop a {
    color: rgba(255,255,255,.8);
    font-size: 13px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: color .2s;
  }
  .nav-desktop a:hover { color: #fff; }
  .btn-inscreva {
    background: var(--verde);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    padding: 9px 18px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap;
  }
  .btn-inscreva:hover { background: var(--verde-dark); }

  /* ── HERO ── */
  .hero {
    background: linear-gradient(155deg, var(--navy-dark) 0%, var(--navy) 45%, #00366B 100%);
    padding: 56px 20px 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 360px; height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,180,216,.14) 0%, transparent 70%);
    pointer-events: none;
  }
  .hero::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -60px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,166,81,.07) 0%, transparent 70%);
    pointer-events: none;
  }
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(0,180,216,.15);
    border: 1px solid rgba(0,180,216,.35);
    color: var(--teal);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
  }
  .badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--teal);
    animation: blink 1.8s infinite;
  }
  @keyframes blink {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .4; transform: scale(1.3); }
  }
  .hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(26px, 6vw, 52px);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 14px;
  }
  .hero h1 em { font-style: normal; color: var(--teal); }
  .hero-sub {
    font-size: clamp(14px, 2.5vw, 17px);
    color: rgba(255,255,255,.83);
    max-width: 540px;
    margin: 0 auto 34px;
    line-height: 1.7;
  }
  .hero-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .btn-verde {
    background: var(--verde);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 14px;
    padding: 14px 30px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .5px;
    box-shadow: 0 5px 20px rgba(0,166,81,.4);
    transition: transform .15s, background .2s;
    width: 100%;
    max-width: 280px;
  }
  .btn-verde:hover { background: var(--verde-dark); transform: translateY(-2px); }
  .btn-ghost {
    background: transparent;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 30px;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,.45);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: all .2s;
    width: 100%;
    max-width: 280px;
  }
  .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

  /* ── STATS ── */
  .stats {
    background: var(--navy-mid);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  .stat {
    text-align: center;
    padding: 14px 20px;
    border-right: 1px solid rgba(255,255,255,.15);
    flex: 1;
    min-width: 100px;
  }
  .stat:last-child { border-right: none; }
  .stat strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(18px, 3vw, 22px);
    color: var(--teal);
  }
  .stat span {
    font-size: 10px;
    color: rgba(255,255,255,.72);
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  /* ── SECTIONS ── */
  .sec { padding: 52px 20px; max-width: 960px; margin: 0 auto; }
  .sec-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(20px, 4vw, 30px);
    color: var(--navy);
    text-align: center;
    margin-bottom: 8px;
  }
  .sec-sub {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 36px;
  }

  /* ── CURSOS ── */
  .cursos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
  .curso {
    background: #fff;
    border: 1.5px solid var(--borda);
    border-radius: 14px;
    padding: 28px 18px 22px;
    text-align: center;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    position: relative;
  }
  .curso::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--teal);
    border-radius: 0 0 12px 12px;
    transform: scaleX(0);
    transition: transform .25s;
    transform-origin: center;
  }
  .curso:hover::after { transform: scaleX(1); }
  .curso:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,32,96,.12);
    border-color: var(--teal);
  }
  .curso-ico { font-size: 40px; display: block; margin-bottom: 14px; }
  .curso h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--navy);
    margin-bottom: 8px;
  }
  .curso p { font-size: 13px; color: var(--muted); line-height: 1.55; }
  .curso-tag {
    display: inline-block;
    margin-top: 12px;
    background: #E5F8FB;
    color: var(--teal-dark);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
  }

  /* ── BOLSA BANNER ── */
  .bolsa-bg {
    background: linear-gradient(130deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
    padding: 48px 20px;
    text-align: center;
  }
  .bolsa-bg h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(20px, 4vw, 34px);
    color: #fff;
    margin-bottom: 10px;
  }
  .bolsa-bg h2 span { color: var(--teal); }
  .bolsa-bg p {
    color: rgba(255,255,255,.8);
    font-size: 14px;
    max-width: 500px;
    margin: 0 auto 28px;
    line-height: 1.65;
  }
  .bolsa-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    max-width: 560px;
    margin: 0 auto;
  }
  .b-card {
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(0,180,216,.28);
    border-radius: 12px;
    padding: 18px 12px;
    text-align: center;
  }
  .b-card strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(22px, 4vw, 28px);
    color: var(--teal);
    margin-bottom: 4px;
  }
  .b-card span { font-size: 12px; color: rgba(255,255,255,.8); }

  /* ── BENEFÍCIOS ── */
  .bene-bg { background: var(--cinza-bg); }
  .bene-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
  }
  .bene {
    background: #fff;
    border-radius: 12px;
    padding: 22px 16px;
    border-left: 4px solid var(--teal);
    border-radius: 0 12px 12px 0;
  }
  .bene-ico { font-size: 26px; margin-bottom: 10px; display: block; }
  .bene h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--navy);
    margin-bottom: 5px;
  }
  .bene p { font-size: 13px; color: var(--muted); line-height: 1.55; }

  /* ── FORMULÁRIO ── */
  .form-sec {
    background: linear-gradient(150deg, var(--navy-dark) 0%, var(--navy) 60%, #00366B 100%);
    padding: 56px 20px;
  }
  .form-card {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px;
    box-shadow: 0 24px 64px rgba(0,0,0,.28);
  }
  .form-card h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--navy);
    text-align: center;
    margin-bottom: 6px;
  }
  .form-card .fsub {
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 24px;
    line-height: 1.6;
  }
  .fgrp { margin-bottom: 14px; }
  .fgrp label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 11px;
    color: var(--navy);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: .5px;
  }
  .fgrp input,
  .fgrp select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #D0D8EC;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    color: var(--texto);
    background: #fff;
    outline: none;
    transition: border-color .2s;
    -webkit-appearance: none;
    appearance: none;
  }
  .fgrp input:focus,
  .fgrp select:focus { border-color: var(--teal); }
  .fgrp select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
  }
  .btn-submit {
    width: 100%;
    background: var(--verde);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 15px;
    padding: 15px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-top: 6px;
    transition: background .2s, transform .15s;
    box-shadow: 0 4px 16px rgba(0,166,81,.3);
  }
  .btn-submit:hover { background: var(--verde-dark); transform: translateY(-1px); }
  .btn-submit:active { transform: translateY(0); }
  .f-privacy {
    text-align: center;
    font-size: 11px;
    color: #aaa;
    margin-top: 12px;
  }
  /* Loading state */
  .btn-submit.loading {
    background: #888;
    cursor: not-allowed;
    transform: none;
  }
  #success { display: none; text-align: center; padding: 16px 0; }
  #success .chk { font-size: 52px; display: block; margin-bottom: 12px; }
  #success h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--navy);
    margin-bottom: 8px;
  }
  #success p { font-size: 14px; color: var(--muted); line-height: 1.6; }

  /* ── FOOTER ── */
  footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,.6);
    text-align: center;
    padding: 22px 20px;
    font-size: 13px;
    line-height: 1.7;
  }
  footer strong { color: #fff; }

  /* ── FLOAT CTA ── */
  .float-cta {
    position: fixed;
    bottom: 20px; right: 20px;
    background: var(--verde);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 13px;
    padding: 13px 20px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(0,166,81,.45);
    z-index: 200;
    text-transform: uppercase;
    letter-spacing: .5px;
    animation: fbounce 3s ease-in-out infinite;
    transition: background .2s;
  }
  .float-cta:hover { background: var(--verde-dark); }
  @keyframes fbounce {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-5px); }
  }

  /* ── RESPONSIVIDADE ── */

  /* Tablet (max 768px) */
  @media (max-width: 768px) {
    .logo-img{
         width: 50px;
    }
    .nav-desktop { display: none; }
    .hero { padding: 44px 20px 60px; }
    .hero-btns { flex-direction: column; align-items: center; }
    .btn-verde, .btn-ghost { max-width: 100%; }
    .stats { flex-wrap: wrap; }
    .stat { flex: 0 0 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
    .stat:nth-child(1), .stat:nth-child(2) { border-right: 1px solid rgba(255,255,255,.12); }
    .stat:nth-child(3), .stat:nth-child(4) { border-bottom: none; }
    .cursos-grid { grid-template-columns: repeat(2, 1fr); }
    .bolsa-cards { grid-template-columns: repeat(2, 1fr); }
    .bene-grid { grid-template-columns: 1fr 1fr; }
    .form-card { padding: 28px 20px; }
  }

  /* Mobile (max 480px) */
  @media (max-width: 480px) {
    header { padding: 0 16px; }
    .logo-text { font-size: 16px; }
    .btn-inscreva { font-size: 12px; padding: 8px 14px; }
    .hero { padding: 36px 16px 52px; }
    .hero-badge { font-size: 10px; padding: 5px 13px; }
    .stat { flex: 0 0 50%; }
    .cursos-grid { grid-template-columns: 1fr; gap: 12px; }
    .bolsa-cards { grid-template-columns: repeat(2, 1fr); }
    .bene-grid { grid-template-columns: 1fr; }
    .sec { padding: 40px 16px; }
    .bolsa-bg { padding: 40px 16px; }
    .form-card { padding: 24px 16px; border-radius: 12px; }
    .form-card h2 { font-size: 18px; }
    .float-cta {
      bottom: 14px; right: 14px;
      font-size: 12px;
      padding: 12px 16px;
    }
    .curso { padding: 24px 14px 18px; }
    .bene { padding: 18px 14px; }
  }

  /* Extra small (max 360px) */
  @media (max-width: 360px) {
    .hero h1 { font-size: 22px; }
    .bolsa-cards { grid-template-columns: 1fr 1fr; }
    .b-card { padding: 14px 8px; }
    .b-card strong { font-size: 20px; }
    
  }
.logo-img {
  height: 100px;
  width: auto;
  display: block;
}