/* =====================================================
   SMART IDIOMAS
   PROJETOS.CSS
===================================================== */

:root{

    --primary:#00245b;
    --primary-light:#003d96;
    --secondary:#e1141d;

    --white:#ffffff;
    --light:#f5f7fb;
    --gray:#eef3f8;

    --text:#2d3748;
    --text-light:#64748b;

    --radius:24px;

    --shadow:
    0 20px 45px rgba(0,0,0,.08);

    --transition:.35s ease;

}

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    background:var(--light);

    color:var(--text);

    overflow-x:hidden;

}

img{

    display:block;

    max-width:100%;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

.container{

    width:min(1200px,92%);

    margin:auto;

}

/* ===================================
HEADER
=================================== */

.header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:999;

    background:rgba(255,255,255,.95);

    backdrop-filter:blur(15px);

    transition:.35s;

}

.header.scrolled{

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:90px;

}

.logo img{

    height:72px;

}

.nav ul{

    display:flex;

    gap:40px;

}

.nav a{

    color:var(--primary);

    font-weight:600;

    position:relative;

    transition:.3s;

}

.nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:3px;

    background:var(--secondary);

    transition:.3s;

}

.nav a:hover::after,

.nav .active::after{

    width:100%;

}

.btn-header{

    background:var(--secondary);

    color:white;

    padding:15px 28px;

    border-radius:50px;

    font-weight:600;

    transition:.35s;

}

.btn-header:hover{

    transform:translateY(-5px);

    box-shadow:0 15px 30px rgba(225,20,29,.30);

}

/* ===================================
BANNER
=================================== */

.page-header{

    background:

    linear-gradient(
        135deg,
        var(--primary),
        var(--primary-light)
    );

    padding:170px 0 90px;

    text-align:center;

    position:relative;

    overflow:hidden;

}

.page-header::before{

    content:"";

    position:absolute;

    width:450px;

    height:450px;

    border-radius:50%;

    background:

    rgba(255,255,255,.05);

    top:-180px;

    right:-120px;

}

.page-header::after{

    content:"";

    position:absolute;

    width:300px;

    height:300px;

    border-radius:50%;

    background:

    rgba(255,255,255,.04);

    bottom:-100px;

    left:-80px;

}

.page-header .container{

    position:relative;

    z-index:2;

}

.page-header span{

    display:inline-block;

    color:rgba(255,255,255,.75);

    letter-spacing:4px;

    margin-bottom:18px;

}

.page-header h1{

    color:white;

    font-size:4.5rem;

    margin-bottom:20px;

}

.page-header p{

    max-width:820px;

    margin:auto;

    color:rgba(255,255,255,.90);

    line-height:2;

    font-size:1.1rem;

}

/* ===================================
SEÇÕES
=================================== */

section{

    padding:110px 0;

}

.subtitle{

    display:inline-block;

    color:var(--secondary);

    font-weight:700;

    letter-spacing:2px;

    margin-bottom:15px;

}

.section-title{

    text-align:center;

    margin-bottom:70px;

}

.section-title h2{

    color:var(--primary);

    font-size:3rem;

    margin-bottom:20px;

}

.section-title p{

    max-width:750px;

    margin:auto;

    color:var(--text-light);

    line-height:1.9;

}
/* =====================================================
   PROJETOS
===================================================== */

.project-section{

    background:white;

}

.project-section.light{

    background:var(--light);

}

.project-grid{

    display:grid;

    grid-template-columns:1.2fr .8fr;

    gap:70px;

    align-items:center;

}

.project-grid.reverse{

    grid-template-columns:.8fr 1.2fr;

}

/* ===================================
TEXTO
=================================== */

.project-content h2{

    color:var(--primary);

    font-size:3rem;

    margin-bottom:25px;

    line-height:1.2;

}

.project-content p{

    color:var(--text-light);

    line-height:2;

    margin-bottom:20px;

    font-size:1.05rem;

}

/* ===================================
CARDS
=================================== */

.project-cards{

    display:grid;

    gap:25px;

}

.info-card{

    background:white;

    padding:35px;

    border-radius:24px;

    box-shadow:var(--shadow);

    border-left:6px solid var(--secondary);

    transition:.35s;

}

.info-card:hover{

    transform:translateY(-8px);

    box-shadow:

    0 30px 60px rgba(0,0,0,.12);

}

.info-card h3{

    color:var(--primary);

    margin-bottom:20px;

    font-size:1.35rem;

}

.info-card ul{

    display:flex;

    flex-direction:column;

    gap:14px;

}

.info-card li{

    color:var(--text-light);

    padding-left:28px;

    position:relative;

    line-height:1.8;

}

.info-card li::before{

    content:"✔";

    position:absolute;

    left:0;

    color:var(--secondary);

    font-weight:700;

}

/* ===================================
DESTAQUE DOS PROJETOS
=================================== */

.project-content{

    position:relative;

}

.project-content::before{

    content:"";

    width:90px;

    height:5px;

    background:var(--secondary);

    display:block;

    margin-bottom:25px;

    border-radius:10px;

}

/* ===================================
ANIMAÇÃO
=================================== */

.project-section:hover .info-card{

    transform:translateY(-5px);

}

.project-section:hover .project-content::before{

    width:130px;

    transition:.4s;

}

/* ===================================
ESPAÇAMENTO
=================================== */

.project-section + .project-section{

    border-top:1px solid #edf2f8;

}

/* =====================================================
   EXPERIÊNCIA SMART
===================================================== */

.smart-experience{

    background:linear-gradient(
        180deg,
        #ffffff,
        #f5f7fb
    );

}

.experience-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    margin-top:60px;

}

.experience-card{

    background:white;

    padding:40px 30px;

    border-radius:24px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:.35s;

    border-top:5px solid transparent;

}

.experience-card:hover{

    transform:translateY(-10px);

    border-color:var(--secondary);

}

.experience-card i{

    width:85px;

    height:85px;

    margin:auto auto 25px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--primary-light)
    );

    color:white;

    font-size:2rem;

}

.experience-card h3{

    color:var(--primary);

    margin-bottom:15px;

}

.experience-card p{

    color:var(--text-light);

    line-height:1.8;

}

/* =====================================================
CTA
===================================================== */

.courses-cta{

    background:linear-gradient(
        135deg,
        var(--secondary),
        #ff4d57
    );

    text-align:center;

    color:white;

    position:relative;

    overflow:hidden;

}

.courses-cta::before{

    content:"";

    position:absolute;

    width:400px;

    height:400px;

    background:rgba(255,255,255,.05);

    border-radius:50%;

    top:-180px;

    right:-120px;

}

.courses-cta::after{

    content:"";

    position:absolute;

    width:320px;

    height:320px;

    background:rgba(255,255,255,.05);

    border-radius:50%;

    bottom:-120px;

    left:-80px;

}

.courses-cta .container{

    position:relative;

    z-index:2;

}

.courses-cta h2{

    color:white;

    font-size:3rem;

    margin:20px 0;

}

.courses-cta p{

    max-width:760px;

    margin:auto;

    margin-bottom:45px;

    line-height:2;

    color:rgba(255,255,255,.9);

}

/* ===================================
BOTÕES
=================================== */

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.hero-btn-primary,
.hero-btn-secondary{

    min-width:280px;

    padding:18px 35px;

    border-radius:60px;

    font-weight:600;

    text-align:center;

    transition:.35s;

}

.hero-btn-primary{

    background:white;

    color:var(--secondary);

    border:2px solid white;

}

.hero-btn-primary:hover{

    background:transparent;

    color:white;

}

.hero-btn-secondary{

    background:transparent;

    color:white;

    border:2px solid white;

}

.hero-btn-secondary:hover{

    background:white;

    color:var(--secondary);

}

/* =====================================================
FOOTER
===================================================== */

.footer{

    background:#001937;

    color:white;

    padding-top:80px;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:50px;

}

.footer-brand img{

    width:180px;

    margin-bottom:25px;

}

.footer-brand p{

    color:rgba(255,255,255,.7);

    line-height:1.8;

}

.footer h3{

    margin-bottom:20px;

}

.footer ul{

    display:flex;

    flex-direction:column;

    gap:14px;

}

.footer a{

    color:rgba(255,255,255,.75);

}

.footer a:hover{

    color:white;

}

.footer-copy{

    margin-top:70px;

    padding:25px;

    text-align:center;

    border-top:1px solid rgba(255,255,255,.08);

    color:rgba(255,255,255,.6);

}

/* =====================================================
RESPONSIVO
===================================================== */

@media(max-width:992px){

    .project-grid,
    .project-grid.reverse{

        grid-template-columns:1fr;

        gap:40px;

    }

    .project-grid.reverse .project-cards{

        order:2;

    }

    .project-grid.reverse .project-content{

        order:1;

    }

    .experience-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .footer-grid{

        grid-template-columns:1fr 1fr;

    }

}

@media(max-width:768px){

    section{

        padding:80px 0;

    }

    .page-header{

        padding:150px 0 80px;

    }

    .page-header h1{

        font-size:2.8rem;

    }

    .project-content h2{

        font-size:2.2rem;

    }

    .experience-grid{

        grid-template-columns:1fr;

    }

    .hero-buttons{

        flex-direction:column;

    }

    .footer-grid{

        grid-template-columns:1fr;

        text-align:center;

    }

    .footer-brand img{

        margin:auto auto 25px;

    }

}

/* =====================================================
ANIMAÇÕES
===================================================== */

.reveal{

    opacity:0;

    transform:translateY(60px);

    transition:1s;

}

.reveal.active{

    opacity:1;

    transform:translateY(0);

}

.reveal-left{

    opacity:0;

    transform:translateX(-60px);

    transition:1s;

}

.reveal-left.active{

    opacity:1;

    transform:translateX(0);

}

.reveal-right{

    opacity:0;

    transform:translateX(60px);

    transition:1s;

}

.reveal-right.active{

    opacity:1;

    transform:translateX(0);

}

/* =====================================================
DARK MODE
===================================================== */

body.dark{

    background:#0f172a;

}

body.dark .project-section{

    background:#111827;

}

body.dark .project-section.light{

    background:#0f172a;

}

body.dark .smart-experience{

    background:#111827;

}

body.dark .info-card,
body.dark .experience-card{

    background:#1e293b;

}

body.dark h2,
body.dark h3{

    color:white;

}

body.dark p,
body.dark li{

    color:#cbd5e1;

}