/* =====================================================
   SMART IDIOMAS
   CONTATO.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;

}

.nav a::after{

    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:0;
    height:3px;
    background:var(--secondary);
    transition:.35s;

}

.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(-4px);

}

/* ===================================
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:320px;

    height:320px;

    border-radius:50%;

    background:rgba(255,255,255,.05);

    left:-100px;

    bottom:-120px;

}

.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:760px;

    margin:auto;

    color:rgba(255,255,255,.9);

    line-height:2;

}

/* ===================================
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:720px;

    margin:auto;

    color:var(--text-light);

    line-height:1.9;

}

/* ===================================
TELEFONES
=================================== */

.phones{

    background:white;

}

.phones-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.phone-card{

    background:white;

    border-radius:24px;

    padding:40px 30px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.phone-card:hover{

    transform:translateY(-10px);

}

.phone-icon{

    width:90px;

    height:90px;

    margin:0 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;

}

.phone-card h3{

    color:var(--primary);

    font-size:1.5rem;

    margin-bottom:12px;

}

.phone-card strong{

    display:block;

    font-size:1.3rem;

    color:var(--secondary);

    margin-bottom:30px;

}

.phone-buttons{

    display:flex;

    flex-direction:column;

    gap:15px;

}

.btn-call,
.btn-whatsapp{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    width:100%;

    height:55px;

    border-radius:16px;

    color:white;

    font-weight:600;

    transition:.3s;

}

.btn-call{

    background:var(--primary);

}

.btn-call:hover{

    background:var(--primary-light);

}

.btn-whatsapp{

    background:#25D366;

}

.btn-whatsapp:hover{

    background:#1ea952;

}

.btn-call i,
.btn-whatsapp i{

    font-size:18px;

}

/* =====================================================
LOCALIZAÇÃO
===================================================== */

.locations{

    background:var(--light);

}

.locations-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.location-card{

    background:white;

    border-radius:24px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.location-card:hover{

    transform:translateY(-8px);

}

.location-header{

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--primary-light)
    );

    padding:18px;

    text-align:center;

}

.location-header h3{

    color:white;

    font-size:1.25rem;

    font-weight:600;

}

.location-card iframe{

    width:100%;

    height:280px;

    border:0;

    display:block;

}

.location-body{

    padding:30px;

}

.location-body p{

    color:var(--text-light);

    line-height:1.8;

    margin-bottom:25px;

}

.btn-route{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    width:100%;

    height:55px;

    background:var(--primary);

    color:white;

    border-radius:16px;

    font-weight:600;

    transition:.3s;

}

.btn-route:hover{

    background:var(--primary-light);

}

/* =====================================================
EQUIPE
===================================================== */

.team{

    background:white;

}

.team-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.team-card{

    background:var(--light);

    border-radius:24px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:.35s;

}

.team-card:hover{

    transform:translateY(-10px);

}

.team-card img{

    width:100%;

    height:420px;

    object-fit:cover;

}

.team-info{

    padding:30px;

    text-align:center;

}

.team-info span{

    display:block;

    color:var(--secondary);

    font-weight:600;

    margin-bottom:12px;

}

.team-info h3{

    color:var(--primary);

    font-size:1.5rem;

}

/* =====================================================
HORÁRIOS
===================================================== */

.schedule{

    background:var(--light);

}

.schedule-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.schedule-card{

    background:white;

    padding:35px;

    border-radius:24px;

    box-shadow:var(--shadow);

    transition:.35s;

    border-top:5px solid var(--primary);

}

.schedule-card:hover{

    transform:translateY(-8px);

}

.schedule-card h3{

    color:var(--primary);

    margin-bottom:25px;

    font-size:1.4rem;

}

.schedule-card p{

    color:var(--text-light);

    line-height:1.8;

    margin-bottom:18px;

}

.schedule-card strong{

    color:var(--secondary);

}

/* =====================================================
CTA
===================================================== */

.contact-cta{

    background:linear-gradient(
        135deg,
        var(--secondary),
        #ff4d57
    );

    text-align:center;

    color:white;

    position:relative;

    overflow:hidden;

}

.contact-cta::before{

    content:"";

    position:absolute;

    width:420px;

    height:420px;

    border-radius:50%;

    background:rgba(255,255,255,.05);

    top:-180px;

    right:-120px;

}

.contact-cta::after{

    content:"";

    position:absolute;

    width:320px;

    height:320px;

    border-radius:50%;

    background:rgba(255,255,255,.05);

    bottom:-120px;

    left:-80px;

}

.contact-cta .container{

    position:relative;

    z-index:2;

}

.contact-cta h2{

    color:#fff;

    font-size:3rem;

    margin:20px 0;

}

.contact-cta p{

    max-width:760px;

    margin:auto;

    margin-bottom:45px;

    color:rgba(255,255,255,.9);

    line-height:2;

}

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.hero-btn-primary,
.hero-btn-secondary{

    min-width:280px;

    height:58px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50px;

    font-weight:600;

    transition:.35s;

}

.hero-btn-primary{

    background:white;

    color:var(--secondary);

}

.hero-btn-primary:hover{

    transform:translateY(-4px);

}

.hero-btn-secondary{

    border:2px solid white;

    color:white;

}

.hero-btn-secondary:hover{

    background:white;

    color:var(--secondary);

}

/* =====================================================
FOOTER
===================================================== */

.footer{

    background:#001937;

    color:white;

    padding:80px 0 0;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:45px;

}

.footer-brand img{

    width:180px;

    margin-bottom:20px;

}

.footer-brand p{

    color:rgba(255,255,255,.7);

    line-height:1.9;

}

.footer h3{

    margin-bottom:20px;

}

.footer ul{

    display:flex;

    flex-direction:column;

    gap:12px;

}

.footer a{

    color:rgba(255,255,255,.75);

    transition:.3s;

}

.footer a:hover{

    color:white;

    padding-left:5px;

}

.footer-copy{

    margin-top:70px;

    border-top:1px solid rgba(255,255,255,.08);

    padding:25px;

    text-align:center;

    color:rgba(255,255,255,.6);

}

/* =====================================================
BOTÃO TOPO
===================================================== */

.back-to-top{

    position:fixed;

    right:25px;

    bottom:100px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:var(--primary);

    color:white;

    cursor:pointer;

    display:flex;

    justify-content:center;

    align-items:center;

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:999;

}

.back-to-top.show{

    opacity:1;

    visibility:visible;

}

.back-to-top:hover{

    background:var(--primary-light);

    transform:translateY(-5px);

}

/* =====================================================
WHATSAPP
===================================================== */

.whatsapp{

    position:fixed;

    right:25px;

    bottom:25px;

    width:62px;

    height:62px;

    border-radius:50%;

    background:#25D366;

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:1.8rem;

    box-shadow:0 15px 30px rgba(37,211,102,.35);

    transition:.35s;

    z-index:999;

}

.whatsapp:hover{

    transform:scale(1.08);

}

/* =====================================================
ANIMAÇÕES
===================================================== */

.reveal{

    opacity:0;

    transform:translateY(60px);

    transition:1s;

}

.reveal.active{

    opacity:1;

    transform:none;

}

/* =====================================================
RESPONSIVO
===================================================== */

@media(max-width:1100px){

    .phones-grid,
    .locations-grid,
    .team-grid,
    .schedule-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .footer-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:768px){

    section{

        padding:80px 0;

    }

    .page-header{

        padding:150px 0 70px;

    }

    .page-header h1{

        font-size:2.8rem;

    }

    .section-title h2{

        font-size:2.2rem;

    }

    .phones-grid,
    .locations-grid,
    .team-grid,
    .schedule-grid{

        grid-template-columns:1fr;

    }

    .hero-buttons{

        flex-direction:column;

        align-items:center;

    }

    .hero-btn-primary,
    .hero-btn-secondary{

        width:100%;

        max-width:380px;

    }

    .footer-grid{

        grid-template-columns:1fr;

        text-align:center;

    }

    .footer-brand img{

        margin:auto auto 20px;

    }

}

@media(max-width:480px){

    .page-header h1{

        font-size:2.3rem;

    }

    .phone-card,
    .schedule-card,
    .team-card,
    .location-card{

        border-radius:18px;

    }

}