/* =============================================
   HOME.CSS - Giro Dance | Padrão Sênior UX/UI
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* =============================================
   VARIÁVEIS CSS
   ============================================= */
:root {
    /* Cores principais */
    --primary-orange: #F56E1D;
    --primary-orange-dark: #d45a0f;
    --primary-orange-light: #ff8c42;
    --secondary-black: #000000;
    --text-primary: #282726;
    --text-secondary: #4E4E4E;
    --text-light: #6B6B6B;
    --bg-light: #EAEAEA;
    --bg-white: #ffffff;
    --bg-gray: #F8F9FA;
    
    /* Sombras */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.2);
    
    /* Transições */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --radius-full: 9999px;
}

/* =============================================
   RESET E CONFIGURAÇÕES GLOBAIS
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Remove estilos de link padrão */
a {
    text-decoration: none !important;
    color: inherit !important;
    transition: var(--transition-base);
}

/* =============================================
   NAVEGAÇÃO PRINCIPAL
   ============================================= */
.navback {
    background-color: var(--secondary-black);
    color: var(--bg-white);
    font-family: 'Montserrat', sans-serif;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

.navback .container-fluid {
    padding: 0 var(--spacing-lg);
}

.logo {
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
}

.logo:hover {
    transform: scale(1.05);
}

.navback .navbar-nav {
    gap: var(--spacing-md);
}

.navback .navbar-nav .nav-item {
    margin: 0 !important;
}

.navback .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 600;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
    position: relative;
}

.navback .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-orange-light));
    transition: transform var(--transition-base);
}

.navback .navbar-nav .nav-link:hover {
    color: var(--primary-orange) !important;
    background: rgba(245, 110, 29, 0.1);
}

.navback .navbar-nav .nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.navback .navbar-nav .nav-link.active {
    color: var(--primary-orange) !important;
    background: rgba(245, 110, 29, 0.15);
}

/* Botão Login */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none !important;
    border-radius: var(--radius-full) !important;
    cursor: pointer;
    padding: 0.65rem 1.75rem !important;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark)) !important;
    color: var(--bg-white) !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem !important;
    font-weight: 700;
    text-align: center;
    line-height: normal;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
    width: auto !important;
    height: auto !important;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 110, 29, 0.35) !important;
    background: linear-gradient(135deg, var(--primary-orange-light), var(--primary-orange)) !important;
}

.btn:active {
    transform: translateY(0);
}

/* Mobile menu toggle */
.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    padding: 0.5rem;
    transition: var(--transition-base);
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-orange) !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(245, 110, 29, 0.25);
}

/* =============================================
   HERO SECTION (GIROCREW)
   ============================================= */
.girocrew {
    width: 100%;
    min-height: 85vh;
    color: var(--bg-white);
    position: relative;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-3xl) var(--spacing-lg);
}

.girocrew::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/girocrew.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: -2;
}

.girocrew::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: -1;
}

.girocrew-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 700px;
    width: 90%;
    padding: var(--spacing-2xl) var(--spacing-xl);
    background: rgba(0, 0, 0, 0.5);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s ease-out;
}

.animate-on-scroll {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.girocrew h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0 0 var(--spacing-md) 0;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.girocrew span {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.7;
    display: block;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    margin-bottom: var(--spacing-lg);
}

.girocrew-text button {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    font-weight: 700;
    width: auto;
    min-width: 12rem;
    padding: 1rem 2.5rem !important;
    height: auto !important;
    margin-top: var(--spacing-md);
    white-space: nowrap;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.girocrew-text button:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 12px 32px rgba(245, 110, 29, 0.45) !important;
}

/* =============================================
   SEÇÃO DE CARDS (FLASHCARDS)
   ============================================= */
.flashcards {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-primary);
    padding: var(--spacing-3xl) var(--spacing-lg);
    background: var(--bg-white);
}

.flashcards h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.flashcards > span {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 400;
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-2xl);
    display: block;
    color: var(--text-secondary);
    line-height: 1.7;
}

.blocklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    list-style: none;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.blocklist li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: var(--spacing-xl) var(--spacing-lg);
    border-radius: var(--radius-xl);
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 2px solid transparent;
    min-height: 320px;
}

.blocklist li:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-orange);
}

.blocklist li img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: var(--spacing-md);
    transition: var(--transition-base);
}

.blocklist li:hover img {
    transform: scale(1.1);
}

.flashtitle {
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    margin: var(--spacing-md) 0 var(--spacing-sm);
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
}

.flashinfo {
    font-size: clamp(0.95rem, 2.2vw, 1.05rem);
    text-align: center;
    color: var(--text-secondary);
    line-height: 1.6;
    width: 100%;
}

/* =============================================
   SEÇÃO CTA - CONHEÇA NOSSO SISTEMA
   ============================================= */
.cta-sistema {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    padding: var(--spacing-3xl) var(--spacing-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-sistema::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-sistema-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-sistema h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.5px;
}

.cta-sistema p {
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.cta-sistema .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 1.1rem 2.75rem !important;
    background: var(--bg-white) !important;
    color: var(--primary-orange) !important;
    font-size: 1.15rem !important;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.cta-sistema .btn-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25) !important;
    background: var(--bg-gray) !important;
}

.cta-sistema .btn-cta i {
    font-size: 1.25rem;
}

.revbg { position: relative;
  z-index: 2;
}

.rev {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    list-style: none;
    padding: 0;
    width: 100%;
    text-align: center;
}

.pfp {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

.reviews { 
    display: flex;
    gap: 3rem; 
    justify-content: center;
    margin-top: 5rem;
    font-family: Montserrat;
    align-items: flex-start;
    padding: 0;
    color: #282726
}

.revblock {
    background: #fff;
    padding: 24px;
    border-radius: 40px;
    width: 25rem;
    height: auto;
    min-height: 14rem;
    text-align: center;
    list-style: none;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.revblock:hover {
    transform: translateY(-8px);
    box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.15);
}

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

.stars {
    width: 9rem;
    height: auto;
    margin: 0.5rem 0;
}

.name {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 590;
    margin: 0.5rem 0;
    color: #282726;
}

.rev p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: #666;
    margin: 0.5rem 0 0 0;
    line-height: 1.5;
}

.moreinfo {
    display: flex;
    font-family: Montserrat;
    gap: 4rem;
    justify-content: space-around; 
    align-items: flex-start;
    background-color: #EAEAEA;
    position: relative; 
    z-index: 3; 
    margin-top: 0; 
    padding: 4rem 2rem; 
}

.links {
    display: flex;
    list-style: none;
    gap: 1rem;
    font-size: 1rem;
    color: #4E4E4E;
    align-items: center;
    padding: 0;
}

iframe {
    width: 100%;
    max-width: 500px;
    height: 320px;
    border-radius: 12px;
    margin: 0;
}

.locmore {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    width: 100%;
}

.tswift {
    font-size: 1rem;
    color: #4E4E4E;
    text-align: center;
    line-height: 1.6;
}

.smedia {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.mrc {
    margin-bottom: 1.5rem;
}

.social {
    width: 28px;
    height: 28px;
}

.loc {
    background: white;
    border-radius: 24px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    min-height: 28rem;
    width: 48%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loc h3 {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    margin-bottom: 1.5rem;
    margin-top: 0;
    width: 100%; 
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
    text-align: center;
}

.redes h3 {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    margin-bottom: 1.5rem;
    margin-top: 0;
    width: 100%;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
    text-align: center;
}

.redes {
    background: white;
    border-radius: 24px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    min-height: 28rem;
    width: 48%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
   .blocklist,
    .reviews,
    .moreinfo {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3rem; 
    }


    .girocrew {
        min-height: 30rem;
    }

    .girocrew-text-container {
        justify-content: center;
        padding: 1rem;
    }

    .girocrew-text {
        max-width: 95%;
        padding: 1.5rem 1rem;
        margin: 0;
    }

    .girocrew h2 {
        font-size: clamp(1.2rem, 5vw, 1.6rem);
        margin-bottom: 0.8rem;
    }

    .girocrew span {
        font-size: clamp(0.8rem, 3.8vw, 1rem);
    }

    .girocrew-text button {
        font-size: clamp(0.9rem, 3.5vw, 1rem);
        padding: 0.6rem 1.5rem;
        min-width: 8rem;
    }
    .reviews {
        padding-top: 4rem;
        margin-top: 0;
  }

    .moreinfo {
        margin-top: 2rem;
        padding-top: 3rem;
  }
}

    .blocklist li,
    .revblock,
    .loc,
    .redes {
        width: 90%;   
        max-width: 56rem; 
        height: auto; 
    }

    .locmore {
        flex-direction: column; 
        gap: 2rem;
    }

    iframe {
        width: 100%; 
        height: 20rem;
    }

    .tswift {
        margin-left: 0; 
    }
}