/* =========================
   RESPONSIVO GLOBAL
   ========================= */

/* Desktop grande */
@media screen and (max-width: 1600px) {
  .container {
    width: min(94%, 1320px);
  }

  .banner-content {
    margin-left: 60px;
  }

  .nav-links {
    gap: 18px;
  }
}

/* Notebook / desktop menor */
@media screen and (max-width: 1440px) {
  .container {
    width: 94%;
  }

  .brand-logo {
    width: 56px;
    height: 56px;
  }

  .brand-text {
    font-size: 1rem;
  }

  .main-nav {
    margin-left: auto;
    margin-right: 20px;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links a,
  .dropdown-toggle {
    font-size: 0.9rem;
  }

  .banner-content {
    margin-left: 20px;
    max-width: 680px;
  }

  .dna-svg-wrap {
    left: 0;
    top: 0;
    width: min(100%, 520px);
    margin: 0;
  }

  .subtitle {
    max-width: 100%;
    font-size: clamp(2rem, 5vw, 3.6rem);
    padding: 14px 28px;
  }

  .subtitle1 {
    font-size: clamp(1.3rem, 2.8vw, 2.4rem);
  }

  .about-container,
  .vip-content,
  .inscricao-grid {
    gap: 28px;
  }

  .about-highlights {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Tablet horizontal / notebook pequeno */
@media screen and (max-width: 1024px) {
  .menu-toggle {
    display: flex;
    z-index: 1002;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    width: 300px;
    max-width: 86vw;
    height: calc(100vh - var(--header-height));
    padding: 24px 18px;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-left: 1px solid var(--border);
    overflow-y: auto;
    margin: 0;

    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1001;
  }

  .main-nav.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    position: static;
    left: auto;
    width: 100%;
  }

  .nav-links > li {
    width: 100%;
  }

  .nav-links a,
  .dropdown-toggle {
    width: 100%;
    padding: 12px 10px;
    justify-content: space-between;
    font-size: 0.95rem;
  }

  .dropdown-menu {
    position: static;
    display: none;
    min-width: 100%;
    margin-top: 8px;
    padding: 8px 0;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown:hover .dropdown-menu {
    display: none;
  }

  .dropdown.open:hover .dropdown-menu {
    display: block;
  }

  .login-dropdown {
    padding: 12px;
  }

  .login-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .login-box input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: #fff;
  }

  .login-box input::placeholder {
    color: rgba(255,255,255,0.48);
  }

  .login-box .btn {
    width: 100%;
  }

  .login-link {
    align-self: center;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.68);
  }

  .banner.bbb27-hero {
    min-height: auto;
    padding: 130px 0 70px;
  }

  .banner-container {
    min-height: auto;
    justify-content: center;
  }

  .banner-content {
    margin-left: 0;
    max-width: 100%;
    align-items: center;
    text-align: center;
    padding: 0 10px;
  }

  .dna-svg-wrap {
    width: min(100%, 460px);
    margin: 0 auto;
  }

  .subtitle {
    align-self: center;
    text-align: center;
    max-width: 100%;
    white-space: normal;
    left: 0;
  }

  .subtitle1 {
    align-self: center;
    text-align: center;
    margin-left: 0;
    left: 0;
    top: 0;
  }

  .banner-actions {
    justify-content: center;
  }

  .about-container,
  .vip-content,
  .inscricao-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-content,
  .about-content-depoimento,
  .inscricao-texto,
  .vip-text {
    max-width: 100%;
    text-align: center;
  }

  .about-image,
  .vip-card,
  .banner-video {
    justify-content: center;
  }

  .about-highlights {
    grid-template-columns: 1fr;
    margin: 24px 0;
  }

  .container-botao,
  .container-botao-depoimento,
  .vip-buttons,
  .banner-actions {
    justify-content: center;
  }

  .midia-grid,
  .cursos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .depoimentos-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .btn-footer {
    margin: 0 auto;
    left: 0;
    top: 0;
    width: auto;
  }

  .footer-col1,
  .footer-col2,
  .footer-col3 {
    display: block;
    width: auto;
    position: static;
  }
}

/* Tablet vertical */
@media screen and (max-width: 768px) {
  :root {
    --header-height: 88px;
  }

  body {
    padding-top: var(--header-height);
  }

  .site-header,
  .navbar-container {
    min-height: var(--header-height);
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand-text {
    font-size: 0.95rem;
  }

  .banner.bbb27-hero {
    padding: 115px 0 56px;
    background-position: center;
  }

  .banner-content {
    padding: 0 6px;
  }

  .dna-svg-wrap {
    width: min(100%, 360px);
  }

  .dna-svg-video {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: block;
    object-fit: cover;
  }

  .subtitle {
    min-height: auto;
    padding: 12px 18px;
    font-size: clamp(1.7rem, 7vw, 2.5rem);
    border-radius: 18px 0;
    width: auto;
  }

  .subtitle::before {
    border-radius: 20px 0;
  }

  .subtitle1 {
    font-size: clamp(1.2rem, 5vw, 1.9rem);
    margin-bottom: 20px;
  }

  .banner-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .banner-actions .btn {
    width: min(100%, 320px);
  }

  .section-header h2,
  .section-bonus-header h2,
  .blog-header h2,
  .cursos-header h2,
  .midia-kit h2,
  .about-title,
  .vip-text h2,
  .inscricao-texto h2,
  .cta-box h2 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .about-text,
  .about-text-depoimento,
  .inscricao-texto p,
  .vip-description,
  .section-header p,
  .blog-header p,
  .cursos-header p {
    font-size: 0.96rem;
    line-height: 1.7;
    padding-right: 0;
  }

  .midia-grid,
  .cursos-grid {
    grid-template-columns: 1fr;
  }

  .blog-card {
    flex: 0 0 280px;
    max-width: 280px;
  }

  .inscricao-form-card,
  .cta-box,
  .vip-box {
    padding: 22px 18px;
  }

  .video-card {
    max-width: 100%;
  }

  .about-image {
    margin-top: 0;
  }

  .about-highlights,
  .footer-socials {
    left: 0;
    top: 0;
    margin-left: 0;
    width: auto;
    position: static;
  }

  .about .btn {
    right: 0;
  }
}

/* Celular grande */
@media screen and (max-width: 480px) {
  .container {
    width: 94%;
  }

  .brand {
    gap: 8px;
  }

  .brand-text {
    font-size: 0.88rem;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .main-nav {
    width: 100%;
    max-width: 100%;
  }

  .banner.bbb27-hero {
    padding: 108px 0 50px;
  }

  .dna-svg-wrap {
    width: min(100%, 290px);
  }

  .subtitle {
    font-size: 1.5rem;
    padding: 10px 14px;
  }

  .subtitle1 {
    font-size: 1.1rem;
  }

  .about-image img {
    width: min(100%, 280px);
  }

  .about-card,
  .topic-card,
  .about-bonus-card {
    padding: 16px 14px;
  }

  .blog-card {
    flex: 0 0 250px;
    max-width: 250px;
  }

  .blog-content {
    padding: 18px;
  }

  .blog-content h3 {
    font-size: 22px;
  }

  .curso-content {
    padding: 18px;
  }

  .curso-content h3 {
    font-size: 18px;
  }

  .inscricao-form-card {
    padding: 18px 14px;
    border-radius: 18px;
  }

  .inscricao-form h3 {
    text-align: center;
    font-size: 1.25rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    min-height: 48px;
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  .btn,
  .btn-primary,
  .btn-secondary {
    min-height: 50px;
    padding: 0 18px;
  }

  .footer-grid {
    gap: 20px;
  }

  .footer-col h4,
  .footer-col1 h4,
  .footer-col2 h4 {
    font-size: 1.35rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Celular pequeno */
@media screen and (max-width: 375px) {
  .dna-svg-wrap {
    width: min(100%, 250px);
  }

  .subtitle {
    font-size: 1.3rem;
  }

  .subtitle1 {
    font-size: 1rem;
  }

  .brand-text {
    display: none;
  }

  .blog-card {
    flex: 0 0 230px;
    max-width: 230px;
  }

  .about-image img {
    width: min(100%, 240px);
  }

  .inscricao-texto h2,
  .vip-text h2,
  .about-title {
    font-size: 1.8rem;
  }
}


/* ESCONDER LINKS RÁPIDOS E INSCRIÇÕES NO CELULAR */
@media screen and (max-width: 768px) {

  .footer-col3,
  .footer-col1 {
    display: none !important;
  }

}

/* =========================================
   FOOTER PREMIUM MOBILE
========================================= */
@media screen and (max-width: 768px) {

  .footer {
    padding: 50px 0 25px;
  }

  .footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
  }

  /* ESCONDE COLUNAS */
  .footer-col3,
  .footer-col1 {
    display: none !important;
  }

  /* COLUNA PRINCIPAL */
  .footer-brand {
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  .footer-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
  }

  .footer-logo {
    width: 85px;
    height: auto;
    object-fit: contain;
  }

  .logo {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 8px;
  }

  .footer-brand-text {
    max-width: 320px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.72);
  }

  /* REDES SOCIAIS */
  .footer-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 22px;
  }

  .social-link {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);

    transition: 0.3s ease;
  }

  .social-link svg {
    width: 20px;
    height: 20px;
    fill: #fff;
  }

  .social-link:hover {
    transform: translateY(-4px);
    background: rgba(229, 9, 20, 0.18);
    border-color: rgba(229, 9, 20, 0.35);
  }

  /* CONTATO */
  .footer-col2 {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }

  .footer-contact-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.72);
    margin-bottom: 18px;
  }

  .btn-footer {
    width: 100%;
    min-height: 54px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 700;
  }

  /* BOTTOM */
  .footer-bottom {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.08);

    display: flex;
    flex-direction: column;
    gap: 10px;

    text-align: center;
  }

  .footer-bottom p,
  .footer-bottom span {
    font-size: 0.82rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.55);
  }

  .footer-bottom strong a {
    color: #fff;
  }
}

/* RESPONSIVO WHATSAPP FLUTUANTE */
@media screen and (max-width: 768px) {
  .whatsapp-float {
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
    font-size: 26px;
  }

  .whatsapp-chat {
    right: 14px;
    bottom: 88px;
    width: 360px;
    max-width: calc(100vw - 28px);
    border-radius: 22px;
  }

  .whatsapp-header {
    padding: 16px;
  }

  .whatsapp-header strong {
    font-size: 1.35rem;
  }

  .whatsapp-body {
    padding: 16px;
  }

  .whatsapp-body textarea {
    min-height: 96px;
    font-size: 0.95rem;
  }

  .whatsapp-send {
    min-height: 52px;
  }
}

@media screen and (max-width: 480px) {
  .whatsapp-float {
    right: 15px;
    bottom: 15px;
    width: 56px;
    height: 56px;
    font-size: 25px;
  }

  .whatsapp-chat {
    right: 12px;
    bottom: 82px;
    width: calc(100vw - 24px);
    max-height: calc(100vh - 120px);
  }

  .whatsapp-header {
    padding: 15px 16px;
  }

  .whatsapp-header strong {
    font-size: 1.25rem;
  }

  .whatsapp-header span {
    font-size: 0.78rem;
  }

  .whatsapp-body {
    padding: 15px;
  }

  .whatsapp-body p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .whatsapp-body textarea {
    min-height: 90px;
    padding: 12px;
    font-size: 0.9rem;
  }

  .whatsapp-send {
    min-height: 50px;
    font-size: 0.9rem;
  }

  .whatsapp-close {
    top: 8px;
    right: 10px;
    font-size: 26px;
  }
}

@media screen and (max-width: 360px) {
  .whatsapp-chat {
    right: 10px;
    bottom: 78px;
    width: calc(100vw - 20px);
    border-radius: 18px;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    width: 52px;
    height: 52px;
    font-size: 23px;
  }
}

/* =========================================
   CHAT MOBILE ESTILO REAL
========================================= */

@media screen and (max-width: 768px) {

  .whatsapp-chat {
    position: fixed;

    right: 16px;
    bottom: 82px;

    left: auto;

    width: 340px;
    max-width: calc(100vw - 32px);

    max-height: 520px;

    border-radius: 22px;

    overflow: hidden;

    display: flex;
    flex-direction: column;
  }

  .whatsapp-body {
    overflow-y: auto;
  }

}

/* CELULAR */
@media screen and (max-width: 480px) {

  .whatsapp-chat {
    right: 14px;
    bottom: 76px;

    width: 320px;
    max-width: calc(100vw - 28px);

    max-height: 500px;

    border-radius: 20px;
  }

  .whatsapp-header {
    padding: 15px 16px;
  }

  .whatsapp-header strong {
    font-size: 1.15rem;
  }

  .whatsapp-body {
    padding: 14px;
  }

  .whatsapp-body textarea {
    min-height: 90px;
    font-size: 16px;
  }

}

/* CELULARES PEQUENOS */
@media screen and (max-width: 360px) {

  .whatsapp-chat {
    width: 300px;
    max-width: calc(100vw - 20px);

    right: 10px;
    bottom: 72px;
  }

}