/* ======================================================
   ÁGUA & GÁS DELIVERY
   style.css
====================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
/* =======================
   VARIÁVEIS
======================= */
:root
{
    --azul:#0d6efd;
    --azul-escuro:#0056d2;
    --verde:#28a745;
    --verde-hover:#1f8b39;
    --vermelho:#dc3545;
    --cinza:#f5f7fb;
    --texto:#333;
    --branco:#fff;
    --sombra:0 8px 25px rgba(0,0,0,.10);
    --radius:18px;
    --transicao:.30s;
}
/* =======================
   RESET
======================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html
{
    scroll-behavior:smooth;
}

body
{
    font-family:'Poppins',sans-serif;
    background:var(--cinza);
    color:var(--texto);
}
/* =======================
   NAVBAR
======================= */
.navbar
{
    padding:15px 0;
    transition:.4s;
}
.navbar-brand
{
    font-size:28px;
    font-weight:700;
}
.nav-link
{
    margin-left:15px;
    font-weight:500;
    transition:.3s;
}
.nav-link:hover
{
    color:#ffd43b !important;
}
/* =======================
   HERO
======================= */
.hero
{
    min-height:650px;
    display:flex;
    align-items:center;
    background:linear-gradient(135deg,#0d6efd,#0b5ed7);
    color:white;
}
.hero h1
{
    font-size:58px;
    font-weight:800;
}
.hero p
{
    font-size:22px;
    margin:30px 0;
}
.hero img
{
    animation:flutuar 4s infinite ease-in-out;
}
@keyframes flutuar
{
    0%
    {
        transform:translateY(0);
    }
    50%
    {
        transform:translateY(-12px);
    }
    100%
    {
        transform:translateY(0);
    }
}
/* =======================
   BOTÕES
======================= */
.btn
{
    border-radius:50px;
    transition:.3s;
    font-weight:600;
}
.btn-primary
{
    background:var(--azul);
    border:none;
}
.btn-primary:hover
{
    background:var(--azul-escuro);
    transform:translateY(-3px);
    box-shadow:var(--sombra);
}
.btn-success
{
    background:var(--verde);
}
.btn-success:hover
{
    background:var(--verde-hover);
}
/* =======================
   TÍTULOS
======================= */
section h2
{
    font-size:40px;
    font-weight:700;
    margin-bottom:50px;
    position:relative;
}
section h2::after
{
    content:"";
    width:90px;
    height:5px;
    background:var(--azul);
    display:block;
    margin:15px auto;
    border-radius:10px;
}
/* =======================
   CARDS
======================= */
.card
{
    border:none;
    border-radius:var(--radius);
    overflow:hidden;
    transition:.35s;
    box-shadow:var(--sombra);
}
.card:hover
{
    transform:translateY(-12px);
}
.card img
{
    transition:.4s;
}
.card:hover img
{
    transform:scale(1.08);
}
.card-body
{
    padding:25px;
}
.card h5
{
    font-weight:700;
}
.card h3
{
    color:var(--verde);
    font-weight:700;
}
/* =======================
   CATEGORIAS
======================= */
.categoria
{
    background:white;
    border-radius:20px;
    padding:40px;
    transition:.3s;
}
.categoria:hover
{
    transform:translateY(-10px);
    box-shadow:var(--sombra);
}
.categoria i
{
    font-size:55px;
    color:var(--azul);
}
/* =======================
   BENEFÍCIOS
======================= */
.beneficio
{
    text-align:center;
    padding:30px;
}
.beneficio i
{
    font-size:60px;
    color:var(--azul);
    margin-bottom:20px;
}
/* =======================
   RODAPÉ
======================= */
footer
{
    background:#111;
    color:white;
}
footer a
{
    color:white;
    text-decoration:none;
}
footer a:hover
{
    color:#ffd43b;
}
/* =======================
   WHATSAPP
======================= */
.whatsapp
{
    position:fixed;
    bottom:25px;
    right:25px;
    width:65px;
    height:65px;
    background:#25D366;
    color:white;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    box-shadow:0 5px 20px rgba(0,0,0,.25);
    z-index:999;
    transition:.3s;
}
.whatsapp:hover
{
    transform:scale(1.1);
}
/* =======================
   ANIMAÇÕES
======================= */
.fadeUp
{
    animation:fadeUp .8s;
}

@keyframes fadeUp
{
    from
    {
        opacity:0;
        transform:translateY(40px);
    }
    to
    {
        opacity:1;
        transform:translateY(0);
    }
}
/* =======================
   RESPONSIVO
======================= */
@media(max-width:992px)
{
    .hero
    {
    text-align:center;
    padding:70px 20px;
    }
    .hero h1
    {
    font-size:42px;
    }
    .hero p
    {
    font-size:18px;
    }
    section h2
    {
    font-size:32px;
    }
}
@media(max-width:576px)
{
    .navbar-brand
    {
        font-size:22px;
    }
    .hero h1
    {
        font-size:34px;
    }
    .card
    {
        margin-bottom:25px;
    }
}
.produto-img{
    width:100%;
    height:250px;
    object-fit:contain;
    background:#fff;
    padding:10px;
}
#carrinhoMobile{
    position:fixed;
    bottom:95px;
    right:15px;
    z-index:9999;
    display:none;
    border-radius:50px;
    padding:12px 18px;
}

@media(max-width:768px){

    #carrinhoMobile{
        display:flex;
        align-items:center;
        gap:8px;
    }

}