/* ===========================
   RC DEV - STYLE.CSS
=========================== */

:root{
    --primary:#2563eb;
    --secondary:#7c3aed;
    --accent:#00d4ff;
    --dark:#060816;
    --dark2:#0d1226;
    --white:#ffffff;
    --gray:#c9d1d9;
    --glass:rgba(255,255,255,.05);
    --border:rgba(255,255,255,.08);
    --radius:18px;
    --shadow:0 20px 60px rgba(0,0,0,.35);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:var(--dark);
    color:var(--white);
    overflow-x:hidden;
}

/* Fundo */

body::before{
    content:"";
    position:fixed;
    width:600px;
    height:600px;
    background:#2563eb;
    filter:blur(220px);
    left:-180px;
    top:-180px;
    opacity:.30;
    z-index:-2;
}

body::after{
    content:"";
    position:fixed;
    width:550px;
    height:550px;
    background:#7c3aed;
    filter:blur(220px);
    right:-200px;
    bottom:-180px;
    opacity:.25;
    z-index:-2;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:#fff;
}

.container{
    width:min(1180px,92%);
    margin:auto;
}

/* ===========================
HEADER
=========================== */

header{
    position:fixed;
    top:0;
    width:100%;
    z-index:999;
    backdrop-filter:blur(18px);
    background:rgba(6,8,22,.75);
    border-bottom:1px solid var(--border);
}

header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:80px;
}

.logo{
    font-size:32px;
    font-weight:800;
}

.logo span{
    color:var(--accent);
}

nav{
    display:flex;
    gap:35px;
}

nav a{
    position:relative;
    transition:.3s;
}

nav a:hover{
    color:var(--accent);
}

nav a::after{
    content:"";
    position:absolute;
    width:0%;
    height:2px;
    background:var(--accent);
    bottom:-6px;
    left:0;
    transition:.3s;
}

nav a:hover::after{
    width:100%;
}

.menu{
    display:none;
    font-size:30px;
    cursor:pointer;
    color:#fff;
}

/* ===========================
BOTÕES
=========================== */

.btn{
    display:inline-block;
    padding:15px 35px;
    border-radius:999px;
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    color:#fff;
    font-weight:600;
    transition:.35s;
    box-shadow:0 10px 30px rgba(37,99,235,.35);
}

.btn:hover{
    transform:translateY(-5px);
    box-shadow:0 20px 45px rgba(37,99,235,.45);
}

/* ===========================
HERO
=========================== */

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    padding-top:80px;
}

.hero-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
}

.hero h4{
    color:var(--accent);
    margin-bottom:15px;
    letter-spacing:2px;
}

.hero h1{
    font-size:64px;
    line-height:1.1;
    margin-bottom:25px;
}

.hero h1 span{
    background:linear-gradient(90deg,#00d4ff,#7c3aed);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero p{
    color:var(--gray);
    line-height:1.9;
    margin-bottom:35px;
}

.hero-image img{
    border-radius:24px;
    box-shadow:var(--shadow);
    transition:.5s;
}

.hero-image img:hover{
    transform:translateY(-10px) scale(1.02);
}

/* ===========================
SEÇÕES
=========================== */

section{
    padding:100px 0;
}

section h2{
    text-align:center;
    font-size:42px;
    margin-bottom:15px;
}

.subtitle{
    text-align:center;
    color:var(--gray);
    margin-bottom:60px;
}

/* ===========================
SOBRE
=========================== */

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.about-grid img{
    border-radius:20px;
    box-shadow:var(--shadow);
}

.stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-top:35px;
}

.stats div{
    background:var(--glass);
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:25px;
    text-align:center;
    backdrop-filter:blur(10px);
}

.stats h2{
    color:var(--accent);
    margin-bottom:10px;
}

/* ==========================================
RESPONSIVIDADE
========================================== */

/* Notebook */
@media (max-width:1200px){

.hero-grid,
.about-grid{
    gap:50px;
}

.hero h1{
    font-size:52px;
}

}


/* Tablet */

@media (max-width:992px){

header .container{
    height:75px;
}

.menu{
    display:block;
}

nav{
    position:absolute;
    top:75px;
    left:0;
    width:100%;
    background:#0d1226;
    flex-direction:column;
    align-items:center;
    gap:20px;
    padding:25px 0;
    display:none;
    border-bottom:1px solid rgba(255,255,255,.08);
}

nav.active{
    display:flex;
}

.hero{
    min-height:auto;
    padding:140px 0 80px;
}

.hero-grid{
    grid-template-columns:1fr;
    text-align:center;
    gap:50px;
}

.hero h1{
    font-size:48px;
}

.hero-image{
    order:-1;
}

.about-grid{
    grid-template-columns:1fr;
}

.stats{
    grid-template-columns:repeat(3,1fr);
}

}


/* Celular */

@media (max-width:768px){

.container{
    width:92%;
}

section{
    padding:70px 0;
}

.hero h1{
    font-size:38px;
}

.hero h4{
    font-size:15px;
}

.hero p{
    font-size:15px;
}

section h2{
    font-size:32px;
}

.stats{
    grid-template-columns:1fr;
}

.btn{
    width:100%;
    text-align:center;
}

.logo{
    font-size:26px;
}

.hero-image img,
.about-grid img{
    border-radius:18px;
}

}


/* Celulares pequenos */

@media (max-width:480px){

header .container{
    height:70px;
}

nav{
    top:70px;
}

.hero{
    padding-top:120px;
}

.hero h1{
    font-size:30px;
}

.hero p{
    font-size:14px;
    line-height:1.8;
}

section h2{
    font-size:28px;
}

.subtitle{
    font-size:15px;
}

.btn{
    padding:14px 20px;
    font-size:15px;
}

.stats div{
    padding:18px;
}

}


/* Telas grandes */

@media (min-width:1600px){

.container{
    max-width:1400px;
}

.hero h1{
    font-size:80px;
}

.hero p{
    font-size:20px;
}

}