/* 
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎨 IDENTIDADE VISUAL & VARIÁVEIS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
*/
:root {
    /* Cores */
    --color-orange: #FF6B35;
    --color-yellow: #FFD700;
    --color-blue: #00B4D8;
    --color-sand: #FFF8F0;
    --color-bg-dark: #0A0A0A;
    --color-bg-lighter: #111827;
    --color-whatsapp: #25D366;

    /* Tipografia */
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Outros */
    --transition: all 0.3s ease;
    --glass-bg: rgba(17, 24, 39, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    max-width: 100vw;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    color: var(--color-sand);
    line-height: 1.6;
}

/* Typography Globals */
h1,
h2,
h3,
h4,
.logo,
.hero-title,
.section-header h2 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.highlight {
    color: var(--color-orange);
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

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

/* 
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧩 COMPONENTES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
*/
.img-logo {
    height: 85px;
    /* Tamanho aumentado para maior destaque */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    /* Sombra suave para dar profundidade e destaque */
    transition: transform 0.3s ease;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--color-whatsapp);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-primary:hover {
    background-color: #20b858;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-accent {
    background-color: var(--color-blue);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.btn-accent:hover {
    background-color: #0096b8;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-sand);
    border: 2px solid var(--color-sand);
}

.btn-secondary:hover {
    background-color: var(--color-sand);
    color: var(--color-bg-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-sand);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.8rem 1.5rem;
    font-size: 1.1rem;
    width: 100%;
}

.btn-outline:hover {
    border-color: var(--color-whatsapp);
    color: var(--color-whatsapp);
    background-color: rgba(37, 211, 102, 0.05);
}

.btn-primary-small {
    background-color: var(--color-orange);
    color: white;
    padding: 0.6rem 1.5rem;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-primary-small:hover {
    background-color: #e55a2b;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

/* WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--color-whatsapp);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #20b858;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Headers de Seção */
.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--color-sand);
}

.section-header h2 span {
    color: var(--color-orange);
}

.section-header p {
    color: #a1a1aa;
    font-size: 1.1rem;
}

/* Cut Sections */
.diagonal-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--color-bg-dark);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
    z-index: 2;
}

.diagonal-top-right {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: var(--color-bg-dark);
    clip-path: polygon(0 0, 100% 100%, 0 100%);
    z-index: 2;
}

/* 
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 LAYOUT ESTRUTURAL
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
*/

/* Header / Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 50;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    color: var(--color-sand);
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--color-orange);
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a:not(.btn-primary-small) {
    color: var(--color-sand);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
}

.nav a:not(.btn-primary-small):hover {
    color: var(--color-orange);
}

/* 1. HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('./assets/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 5rem;
    line-height: 0.9;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #e4e4e7;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* 2. BARRA DE DIFERENCIAIS */
.features-bar {
    background: linear-gradient(90deg, var(--color-orange), #ff8a5c);
    padding: 2rem 0;
    position: relative;
    z-index: 3;
}

.features-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.feature-item i {
    font-size: 1.5rem;
}

/* 3. NOSSOS ESPORTES */
.sports {
    padding: 8rem 0;
    background-color: var(--color-bg-dark);
    position: relative;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.sport-card {
    position: relative;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    filter: brightness(0.6);
}

.sport-card:hover .card-bg {
    transform: scale(1.1);
    filter: brightness(0.4);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition);
}

.sport-card:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid var(--color-orange);
    border-radius: 12px;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.sport-card:hover:after {
    opacity: 1;
}

.card-content h3 {
    font-size: 2.5rem;
    margin: 0;
    color: white;
}

.card-content p {
    color: #e4e4e7;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* Câmeras Banner */
.cameras-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--glass-bg), rgba(0, 180, 216, 0.1));
    border: 1px solid var(--color-blue);
    padding: 2.5rem 3rem;
    border-radius: 16px;
    margin-top: 4rem;
    gap: 2rem;
    box-shadow: 0 10px 30px rgba(0, 180, 216, 0.15);
}

.cameras-icon {
    font-size: 3rem;
    color: var(--color-blue);
    background: rgba(0, 180, 216, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.cameras-text {
    flex: 1;
}

.cameras-text h3 {
    font-size: 2rem;
    color: var(--color-sand);
    margin-bottom: 0.5rem;
}

.cameras-text p {
    color: #e4e4e7;
    font-size: 1.1rem;
}


/* 4. POR QUE O SPAÇO BEACH? */
.why-us {
    padding: 6rem 0;
    background-color: var(--color-bg-lighter);
    position: relative;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-blue);
    box-shadow: 0 10px 30px rgba(0, 180, 216, 0.1);
}

.icon-box {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, var(--color-orange), #ff8a5c);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.benefit-text h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-sand);
}

.benefit-text p {
    color: #a1a1aa;
}

/* 5. COMO FUNCIONA */
.how-it-works {
    padding: 8rem 0;
    background-color: var(--color-bg-dark);
    position: relative;
    background-image: radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(5px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--color-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 180, 216, 0.3);
}

.step-icon {
    font-size: 3rem;
    color: var(--color-yellow);
    margin: 1.5rem 0 1rem;
}

.step h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: #a1a1aa;
    font-size: 0.95rem;
}

.step-arrow {
    color: var(--color-orange);
    font-size: 2rem;
    opacity: 0.5;
}

/* 6. LOCALIZAÇÃO */
.location {
    padding: 6rem 0;
    background-color: var(--color-bg-lighter);
}

.location-wrapper {
    display: flex;
    gap: 4rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.location-info {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-info h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.location-info h2 span {
    color: var(--color-blue);
}

.address-box {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.address-box i {
    font-size: 2rem;
    color: var(--color-orange);
    margin-top: 0.5rem;
}

.address-box h4 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.address-box p {
    color: #a1a1aa;
    font-size: 1.1rem;
}

.map-container {
    flex: 1;
    min-height: 400px;
    display: flex;
}

.map-container iframe {
    flex: 1;
    width: 100%;
}

/* 7. RODAPÉ */
.footer {
    background-color: #050505;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    gap: 2rem;
}

.footer-brand p {
    color: #a1a1aa;
    margin-top: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--color-sand);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.footer-social a:hover {
    background: var(--color-orange);
    border-color: var(--color-orange);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    color: #52525b;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

/* 
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📱 RESPONSIVIDADE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
*/

@media (max-width: 1024px) {
    .sports-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-wrapper {
        flex-direction: column;
    }

    .map-container {
        min-height: 300px;
    }
}

@media (max-width: 768px) {

    /* Zera os delays de animação no mobile para não deixar tela vazia */
    [data-aos][data-aos][data-aos-delay] {
        transition-delay: 0s !important;
        animation-delay: 0s !important;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero {
        background-attachment: scroll !important;
        background-position: center top !important;
        background-size: cover !important;
        -webkit-background-size: cover !important;
        /* Resolve bug no iOS/Mobile onde a imagem de fundo some ou fica com zoom infinito */
    }

    .img-logo {
        height: 65px;
        /* Ajuste responsivo, porém ainda destacado */
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .nav {
        display: none;
        /* Em um projeto real, adicionar menu hamburger */
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

    .cameras-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }

    .cameras-icon {
        display: none;
    }

    .cameras-text h3 {
        font-size: 1.4rem;
    }

    .cameras-text p {
        font-size: 0.95rem;
    }

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

    .steps-container {
        flex-direction: column;
        gap: 3rem;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .location-info {
        padding: 2rem;
    }

    .map-container {
        min-height: auto;
        aspect-ratio: 1 / 1;
        margin: 0 2rem 2rem 2rem;
        border-radius: 16px;
        overflow: hidden;
        background-color: rgba(255, 255, 255, 0.05); /* Placeholder de carregamento */
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .feature-item {
        font-size: 0.9rem;
        gap: 0.5rem;
    }

    .feature-item i {
        font-size: 1.2rem;
    }
}