/* ======================================================
   PROJETO PHOENIX
   Drogaria Americana
   Arquivo: style.css
====================================================== */

/* RESET */

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:Arial, Helvetica, sans-serif;

    background:#f7f8fa;

    color:#333;

    line-height:1.6;

    overflow-x:hidden;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

    color:inherit;

}

ul{

    list-style:none;

}

button{

    border:none;

    cursor:pointer;

    font:inherit;

}

input{

    font:inherit;

}


/* ==========================
        VARIÁVEIS
=========================== */

:root{

    --vermelho:#D71920;
    --vermelho-hover:#B81318;

    --amarelo:#FFD400;

    --branco:#FFFFFF;

    --preto:#222222;

    --cinza:#555555;

    --cinza-claro:#ECECEC;

    --cinza-fundo:#F7F8FA;

    --sombra:0 10px 25px rgba(0,0,0,.08);

    --raio:14px;

    --largura-maxima:1200px;

}


/* ==========================
        CONTAINER
=========================== */

.container{

    width:92%;

    max-width:var(--largura-maxima);

    margin:auto;

}


/* ==========================
        TÍTULOS
=========================== */

h1{

    font-size:3rem;

    line-height:1.1;

}

h2{

    font-size:2.2rem;

    color:var(--vermelho);

    margin-bottom:20px;

}

h3{

    font-size:1.4rem;

}

p{

    margin-bottom:16px;

    color:var(--cinza);

}


/* ==========================
        SEÇÕES
=========================== */

section{

    padding:56px 0;

}


/* ==========================
        BOTÃO PADRÃO
=========================== */

.btn{

    display:inline-block;

    background:var(--vermelho);

    color:white;

    padding:14px 32px;

    border-radius:40px;

    font-weight:bold;

    transition:.3s;

}

.btn:hover{

    background:var(--vermelho-hover);

    transform:translateY(-2px);

}


/* ==========================
        RODAPÉ
=========================== */

footer{

    background:#202020;

    color:white;

    padding:60px 0;

}


/* ==========================
      RESPONSIVIDADE
=========================== */

@media(max-width:992px){

    h1{

        font-size:2.4rem;

    }

    h2{

        font-size:1.8rem;

    }

}

@media(max-width:768px){

    section{

        padding:40px 0;

    }

    h1{

        font-size:2rem;

    }

    h2{

        font-size:1.6rem;

    }

}/* ======================================================
   HEADER
====================================================== */

.header{

    position: sticky;
    top: 0;
    z-index: 1000;

    background: var(--branco);

    box-shadow: var(--sombra);

}

.header-container{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:30px;

    min-height:90px;

}

.logo img{

    width:220px;

    height:auto;

}

.search-box{

    flex:1;

    display:flex;

    align-items:center;

    max-width:520px;

    border:2px solid var(--cinza-claro);

    border-radius:50px;

    overflow:hidden;

    background:white;

}

.search-box input{

    flex:1;

    border:none;

    padding:14px 20px;

    outline:none;

    font-size:1rem;

}

.search-box button{

    width:60px;

    height:50px;

    background:var(--vermelho);

    color:white;

    font-size:1.2rem;

    transition:.3s;

}

.search-box button:hover{

    background:var(--vermelho-hover);

}

.nav ul{

    display:flex;

    gap:28px;

}

.nav a{

    font-weight:600;

    transition:.3s;

}

.nav a:hover{

    color:var(--vermelho);

}

.btn-whatsapp{

    background:#25D366;

    color:white;

    padding:14px 24px;

    border-radius:50px;

    font-weight:bold;

    transition:.3s;

}

.btn-whatsapp:hover{

    transform:translateY(-2px);

    filter:brightness(.95);

}

/* ======================================================
   RESPONSIVO
====================================================== */

@media(max-width:1100px){

    .header-container{

        flex-wrap:wrap;

        justify-content:center;

        padding:15px 0;

    }

    .logo{

        width:100%;

        display:flex;

        justify-content:center;

    }

    .search-box{

        order:3;

        width:100%;

        max-width:100%;

    }

}

@media(max-width:768px){

    .nav{

        display:none;

    }

    .logo img{

        width:180px;

    }

    .btn-whatsapp{

        padding:12px 18px;

        font-size:.9rem;

    }

}
