/* =========================================================
   RESET GERAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #f4f4f4;
}

a{
    text-decoration: none;
    color: black;
}


/* =========================================================
   HERO (TOPO PRINCIPAL)
========================================================= */

.hero {
    background: #FFB700;
    height: 500px;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    text-align: center;

    padding-top: 140px;
}

.hero h1 {
    font-size: clamp(2.5rem, 10vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 15px;
    color: rgb(0, 0, 0);
    z-index: -1000;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    max-width: 500px;
    margin: 0 auto;
    padding: 0 20px;
    color: #000000;
    z-index: -1000;
}

/* =========================================================
   USER NAME AREA
========================================================= */

#userArea {
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 20px;
}

#userArea button {
    padding: 8px 10px;
    border: 1px solid black;
    background-color: white;
    transition: 0.2s;
}

#userArea button:hover {
    padding: 8px 10px;
    border: 1px solid rgb(255, 255, 255);
    background-color: rgb(255, 0, 0);
}

/* =========================================================
   CONTEÚDO PRINCIPAL
========================================================= */

.content {
    position: relative;
    min-height: 900px;
}


/* =========================================================
   CARROSSEL PRINCIPAL (CARD FLUTUANTE)
========================================================= */

.carousel-wrapper {
    width: 900px;
    max-width: 90%;
    margin: auto;
    position: relative;
    top: -180px;
}

.carousel {
    overflow: hidden;
    border-radius: 35px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .15);

    
}

.carousel-track {
    display: flex;
    transition: transform .5s ease;
}

.card {
    min-width: 100%;
    background: white;

        padding: 10px 10px;


        /* vidro */
        background: rgba(255, 255, 255, 0.12);

        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);

        border: 1px solid rgba(255, 255, 255, 0.25);

        /* profundidade */
        box-shadow:
            0 15px 40px rgba(0, 0, 0, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 35px;
}

.card-info {
    text-align: center;
    padding: 35px;
}

.card-info h2 {
    margin-bottom: 15px;
}

.card-info p {
    color: #666;
    margin-bottom: 25px;
}

.card-info button {
    border: none;
    background: #efb400;
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}


/* =========================================================
   SETAS DO CARROSSEL
========================================================= */

.arrow {
    width: 60px;
    height: 60px;

    border: 1px solid rgb(43, 43, 43);
    border-radius: 50%;
    background: white;

    box-shadow: 0 5px 20px rgba(0, 0, 0, .15);

    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    cursor: pointer;
    font-size: 2rem;
    z-index: 10;
}

.left {
    left: -90px;
}

.right {
    right: -90px;
}


/* =========================================================
   INDICADORES (DOTS)
========================================================= */

.dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: -120px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
}

.dot.active {
    background: #efb400;
}


/* =========================================================
   BENEFÍCIOS
========================================================= */

.benefits {
    width: 1200px;
    max-width: 90%;
    margin: 80px auto;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.benefit {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
}

.benefit h3 {
    margin-bottom: 10px;
}

.benefit p {
    color: #666;
}


/* =========================================================
   RESPONSIVO GERAL
========================================================= */

@media(max-width:768px) {

    .hero h1 {
        font-size: 3rem;
    }

    .card img {
        height: 240px;
    }

    .left {
        left: -20px;
    }

    .right {
        right: -20px;
    }

    .hero {
        height: 650px;
        padding-top: 170px;
    }

    .hero-content {
        position: relative;

        width: min(900px, 100%);
        margin: 0 auto;

        padding: 30px 30px;


        /* vidro */
        background: rgba(255, 255, 255, 0.12);

        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);

        border: 1px solid rgba(24, 24, 24, 0.096);

        /* profundidade */
        box-shadow:
            0 15px 40px rgba(0, 0, 0, 0.295),
            inset 0 1px 0 rgba(255, 255, 255, 0.26);

        overflow: hidden;
    }

    .carousel-wrapper {
        top: -140px;
    }

    .card-info {
        padding: 20px;
    }

    .card-info h2 {
        font-size: 1.3rem;
    }

    .card-info p {
        font-size: .95rem;
    }

    .left {
        left: -10px;
    }

    .right {
        right: -10px;
    }
}

@media (max-width: 420px) {

    .hero {
        height: 700px;
    }

    .hero h1 {
        font-size: 3.3rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .logo-island {
        width: 120px;
        height: 100px;
    }

    .menu-btn {
        width: 50px;
        height: 50px;
    }

    .carousel-wrapper {
        width: 95%;
        top: -120px;
    }

    .dots {
        margin-top: -100px;
    }
}

@media (max-width: 251px) {

    .hero {
        height: 700px;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .logo-island {
        width: 120px;
        height: 100px;
    }

    .menu-btn {
        width: 50px;
        height: 50px;
    }

    .carousel-wrapper {
        width: 95%;
        top: -120px;
    }
}


/* =========================================================
   HEADER MOBILE
========================================================= */

.mobile-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

.logo-island {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);

    width: 120px;
    height: 100px;

    background: #FFB700;
    border-radius: 0 0 25px 25px;

    display: flex;
    justify-content: center;
    align-items: center;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.473);
}

.logo-island img {
    width: 90px;
}

.menu-btn {
    position: absolute;
    top: 15px;
    right: 15px;

    width: 55px;
    height: 55px;

    border: none;
    border-radius: 50%;
    background: white;

    font-size: 28px;
    cursor: pointer;

    z-index: 10001;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.329);
}


.mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;

    width: 280px;
    height: 100vh;

    background: white;
    transition: .3s;

    z-index: 10000;
    padding-top: 120px;

    box-shadow: -10px 0 30px rgba(0, 0, 0, .15);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    display: block;
    padding: 18px;
    text-decoration: none;
    color: #222;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    transition: 0.2s;
}

.mobile-menu a:hover {
    background: #858585;
}


/* =========================================================
   TABS / SEÇÃO DE CONTEÚDO
========================================================= */

.tabs-section {
    width: 1200px;
    max-width: 90%;
    margin: 60px auto;
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
}

.tab-btn {
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    padding: 10px;
    color: #777;
}

.tab-btn.active {
    color: #012f87;
    border-bottom: 3px solid #efb400;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}


/* =========================================================
   MINI CARROSSEL
========================================================= */

.mini-carousel {
    position: relative;
    max-width: 400px;
    margin: auto;
}

.mini-window {
    overflow: hidden;
}

.mini-track {
    display: flex;
    transition: transform .4s ease;
    will-change: transform;
}

.mini-card {
    min-width: 75%;
    margin: 0 2.5%;

    background: white;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;

    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
}

.mini-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.mini-card h3 {
    padding: 20px 20px 10px;
}

.mini-card p {
    padding: 0 20px;
    color: #666;
}

.mini-card button {
    margin: 20px;
    border: none;
    background: #efb400;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    cursor: pointer;
}


/* =========================================================
   SETAS MINI CARROSSEL
========================================================= */

.mini-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 50px;
    height: 50px;

    border: none;
    border-radius: 50%;

    background: white;

    cursor: pointer;
    z-index: 5;

    box-shadow: 0 5px 20px rgba(0, 0, 0, .15);
}

.prev {
    left: -15px;
}

.next {
    right: -15px;
}


/* =========================================================
   AJUSTES FINAIS DO CARROSSEL
========================================================= */

.carousel {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.card {
    flex: 0 0 100%;
}

#userArea {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}