:root{
--roxo:#7367F0;
--azul:#7CC8FF;
--amarelo:#FFD86B;
--bg:#F8FAFF;
}
*{margin:0;padding:0;box-sizing:border-box}

html{scroll-behavior:smooth}

body {
 font-family: Nunito, sans-serif;
    background:linear-gradient(#fff,#f7f3ff,#eef7ff);
    color:#555;   
}

.container{
 width:min(1100px,90%);
 margin:auto
}

.header{
    position: sticky;
    top:0;
    z-index:1000;
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(10px);
    box-shadow:0 3px 12px rgba(0,0,0,.08)}

.header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0
}

 nav a{
    text-decoration:none;
    margin-left:22px;
    color:#555;
    font-weight:700}

.hero{
    padding:90px 0}

.hero-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center}

.tag{
    display:inline-block;
    background:#fff3c9;
    color:#9d7600;
    padding:8px 18px;
    border-radius:999px;
    font-weight:700}

h1,h2,h3{
    font-family:Poppins,Arial;
    font-size: 30px;
}

h1{
    font-size:3rem;
    color:var(--roxo);
    margin:20px 0}

.btn{
    display:inline-block;
    margin-top: 25px;
    background:linear-gradient(90deg,var(--roxo),var(--azul));
    padding:14px 28px;
    border-radius:40px;
    color:#fff;
    text-decoration:none;
    font-weight:700;
    position:relative;
    overflow:hidden
}
.btn:before{
    content:"";
    position:absolute;
    left:-70px;
    top:0;
    width:50px;
    height:100%;
    background:rgba(255,255,255,.35);
    transform:skewX(-20deg);
    transition:.7s}

.btn:hover:before{
    left:120%
}
.cards{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:30px;
    padding:40px 0
}

.card{
    background:#fff;
    border-radius:24px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    overflow:hidden;
    transition:.35s;
    position:relative;
    min-height:270px;
}

.card:before{
    content:"";
    display:block;
    height:8px;
    background:linear-gradient(90deg,var(--roxo),var(--azul),var(--amarelo))
}
.card:hover{
    transform:translateY(-8px)
}
.card h3,.card ul{
    padding:0 30px 30px;
    font-size:20px;
}

.placeholder{
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    background:#eef4ff;
    border:2px dashed #9bbef5;
    color:#557;
    padding:40px;
    min-height:220px;
    font-weight:700}

.hero-grid > img{
    width:100%;
    height:360px;
    object-fit:cover;
    border-radius:16px;
    display:block;
}

.about{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0;
}
.about-content{
    max-width: 850px;
}
.about div{
    max-width: 850px;
}

.about h2{
    margin-bottom: 25px;
}

.about p{
    line-height: 1.9;
    font-size:20px;
    margin-bottom: 25px;
}

.foto{
    min-height:380px}

.gallery{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    padding:30px 0
}

.gallery img{
    width:100%;
    height:260px;
    object-fit:cover;
    display:block;
    border-radius:16px;
    transition:.4s;
}
.gallery img:hover{
    transform:scale(1.03);
    filter:brightness(.9);
}

.cta{
    padding:90px 20px;
    text-align:center;
    background:linear-gradient(135deg,var(--roxo),var(--azul));
    color:#fff}

.whatsapp{
    background:#25D366
}
footer{
    text-align:center;
    padding:30px;
    background:#2d2d44;
    color:#fff}

/* =========================================
   RESPONSIVIDADE PARA CELULAR
   ========================================= */

@media (max-width: 700px) {

    /* Evita qualquer conteúdo escapar
       para fora da largura da tela */
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Container ocupa a largura disponível */
    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }


    /* =========================================
       CABEÇALHO
       ========================================= */

    .header .container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    nav {
        width: 100%;
    }

    nav a {
        margin-left: 0;
        margin-right: 15px;
    }


    /* =========================================
       HERO / INÍCIO
       ========================================= */

    .hero {
        padding: 50px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 100%;
    }

    .hero-grid > div {
        width: 100%;
        min-width: 0;
    }

    .hero h1 {
        font-size: 42px;
        line-height: 1.15;
        margin: 20px 0;
        word-break: normal;
    }

    .hero p {
        font-size: 17px;
        line-height: 1.6;
    }

    .hero img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 20px;
    }


    /* =========================================
       SERVIÇOS / CARDS
       ========================================= */

    .services,
    .cards {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 20px;
    }

    .card {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }


    /* =========================================
       GALERIA
       ========================================= */

    .gallery {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 20px;
    }

    .gallery .placeholder,
    .gallery img {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }


    /* =========================================
       IMAGENS
       ========================================= */

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


    /* =========================================
       BOTÕES
       ========================================= */

    .btn {
        max-width: 100%;
        box-sizing: border-box;
    }


    /* =========================================
       SEÇÕES
       ========================================= */

    section {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

}
