/* ==========================================
   TELABRASIL.NET.BR
   CSS RESPONSIVO COMPLETO
========================================== */

:root{

    --primary:#0d6efd;
    --primary-dark:#084298;

    --success:#198754;
    --success-hover:#157347;

    --text:#333333;
    --background:#f5f7fa;

    --white:#ffffff;

    --shadow:
        0 4px 16px rgba(0,0,0,.08);

}

/* RESET */

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

html{
    scroll-behavior:smooth;
}

body{

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    background:var(--background);

    color:var(--text);

    line-height:1.7;

    overflow-x:hidden;

}

/* IMAGENS */

img{
    max-width:100%;
    height:auto;
    display:block;
}

/* CONTAINER */

.container{

    width:min(92%,1200px);

    margin:auto;

}

/* HEADER */

header{

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #3b82f6
        );

    color:white;

    text-align:center;

    padding:
        clamp(3rem,8vw,6rem)
        1rem;

}

header h1{

    font-size:
        clamp(
            2rem,
            5vw,
            4rem
        );

    margin-bottom:1rem;

}

header p{

    font-size:
        clamp(
            1rem,
            2vw,
            1.3rem
        );

    max-width:700px;

    margin:auto;

}

/* NAVBAR */

nav{

    background:var(--primary-dark);

    position:sticky;

    top:0;

    z-index:9999;

}

/* CONTAINER MENU */

.nav-container{

    display:flex;

    align-items:center;

    justify-content:space-between;

    min-height:70px;

}

/* LOGO */

.logo{

    color:white;

    text-decoration:none;

    font-weight:700;

    font-size:1.25rem;

}

/* MENU DESKTOP */

.nav-menu{

    display:flex;

    gap:24px;

}

.nav-menu a{

    color:white;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.nav-menu a:hover{

    opacity:.8;

}

/* BOTÃO HAMBÚRGUER */

.menu-toggle{

    display:none;

    border:none;

    background:none;

    color:white;

    cursor:pointer;

    font-size:2rem;

}

/* MAIN */

main{

    margin:
        2rem auto;

}

/* CARDS */

.card{

    background:white;

    padding:2rem;

    border-radius:16px;

    box-shadow:var(--shadow);

    margin-bottom:2rem;

}

.card h2{

    margin-bottom:1rem;

    font-size:
        clamp(
            1.4rem,
            3vw,
            2rem
        );

}

.card p{

    margin-bottom:1rem;

}

.card ul{

    padding-left:1.5rem;

}

.card li{

    margin-bottom:.5rem;

}

/* HERO */

.hero{

    text-align:center;

}

.hero p{

    max-width:800px;

    margin:auto;

}

/* BOTÕES */

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-height:48px;

    padding:
        14px 28px;

    border-radius:8px;

    text-decoration:none;

    font-weight:600;

    color:white;

    background:var(--success);

    transition:.3s;

}

.btn:hover{

    background:var(--success-hover);

    transform:translateY(-2px);

}

/* FOOTER */

footer{

    background:#111827;

    color:white;

    text-align:center;

    padding:2rem 1rem;

    margin-top:2rem;

}

footer p{

    margin-bottom:.5rem;

}

/* TABLET */

@media (max-width:768px){

    .menu-toggle{

        display:block;

    }

    .nav-menu{

        display:none;

        position:absolute;

        top:70px;

        left:0;

        width:100%;

        background:var(--primary-dark);

        flex-direction:column;

        gap:0;

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

    }

    .nav-menu.active{

        display:flex;

    }

    .nav-menu a{

        padding:16px;

        border-bottom:
            1px solid rgba(255,255,255,.1);

    }

    .card{

        padding:1.5rem;

    }

}

/* CELULAR */

@media (max-width:480px){

    header{

        padding:3rem 1rem;

    }

    .card{

        padding:1.25rem;

        border-radius:12px;

    }

    .btn{

        width:100%;

    }

}

/* DARK MODE */

@media (prefers-color-scheme: dark){

    body{

        background:#111827;

        color:#f3f4f6;

    }

    .card{

        background:#1f2937;

        color:#f3f4f6;

    }

}