/* ===============================
   RESET E BASE
================================= */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    background: url("../images/fundo.jpeg") no-repeat top center;
    background-size: 100% auto;
    background-color: #44157d; /* cor para continuar abaixo */
}

header {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 15px 15px 32px;
    background: transparent;
}

/* ===============================
   TITULOS
================================= */
.titulo-principal {
    font-size: 47px;
    margin: 22px 0 -13px 0;
    text-shadow: 2px 2px 2px rgb(49 14 90);
}

.subtitulo-principal {
    font-size: 20px;
    font-weight: bold;
    padding: 0 12px;
    line-height: 33px;
    margin-top: 22px;
    text-shadow: 2px 2px 2px rgb(49 14 90);
}

/* ===============================
   HEADER BUTTONS
================================= */
.header-buttons {
    display: flex;
    gap: 10px;
    margin-top: 25px;
    justify-content: center;
}

/* ===============================
   GALERIA DE FOTOS
================================= */
.galeria {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.galeria img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: 0.3s;
}

.galeria img:hover {
    transform: scale(1.05);
}

/* ===============================
   CONTAINER PRINCIPAL
================================= */
.container {
    padding: 20px;
    max-width: 500px;
    margin: auto;
}

.pedidoTitulo {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
    line-height: 29px;
    text-shadow: 2px 2px 2px rgb(49 14 90);
}

#tituloPedido.animar {
    animation: zoomTriplo 1.1s ease-out;
}

@keyframes zoomTriplo {
    0%   { transform: scale(0.8); opacity: 0; }
    25%  { transform: scale(1.12); opacity: 1; }
    40%  { transform: scale(0.95); }
    60%  { transform: scale(1.08); }
    75%  { transform: scale(0.97); }
    100% { transform: scale(1); }
}

/* ===============================
   CARDS
================================= */
.card {
    background: #fff;
    padding: 16px 18px 11px 18px;
    margin-bottom: 25px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    color: #000;
}

.card h2 {
    margin-top: 0;
    font-size: 18px;
    margin-bottom: 15px;
}

/* ===============================
   LABELS E INPUTS
================================= */
label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
}

label span {
    display: block;
    padding: 12px;
    border-radius: 10px;
    background: #efefef;
    transition: 0.2s;
    font-weight: 500;
}

input[type="radio"],
input[type="checkbox"] {
    display: none;
}

input:checked + span {
    background: #6b19ac;
    color: #fff;
}

input:checked + span::after {
    content: "✔";
    position: absolute;
    right: 15px;
    font-weight: bold;
}

/* ===============================
   BOTOES PRINCIPAIS
================================= */
.buttons {
    position: relative;
    bottom: 0;
    left: 0;
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 -4px 15px rgb(0 0 0 / 10%);
    display: flex;
    gap: 10px;
    margin: -20px 20px 19px 20px;
    border-radius: 16px;
}

button {
    flex: 1;
    padding: 20px 0;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.btn-add {
    background: linear-gradient(135deg, #8e24aa, #6a1b9a);
    color: #fff;
}

.btn-final {
    background: linear-gradient(135deg, #25D366, #1ebe5d);
    color: #fff;
}

.btn-refazer {
    background: linear-gradient(135deg, #ff5252, #d32f2f);
    color: #fff;
}

/* ===============================
   SELECT E INPUTS
================================= */
input, select {
    width: 100%;
    padding: 17px;
    border-radius: 8px;
    border: 1px solid #5a5a5a;
    margin-bottom: 18px;
    font-size: 16px;
}

/* ===============================
   RESUMO PEDIDO
================================= */
#resumoBox {
    display: none;
    background: #fff;
    padding: 2px 20px 20px 20px;
    border-radius: 16px;
    margin-bottom: -2px;
}

/* ===============================
   BOTOES TOPO
================================= */
.btn-topo {
    flex:1;
    padding:15px 0!important;
    border:none;
    border-radius:55px;
    background:#ffa091;
    color:#fff;
    font-weight:bold;
    cursor:pointer;
    font-size: 18px;
}

/* ===============================
   BOX SUSPENSO
================================= */
.box-suspenso {
    display:none;
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    background:#fff;
    padding:9px 20px 20px 20px;
    border-radius:20px 20px 0 0;
    box-shadow:0 -5px 20px rgba(0,0,0,0.2);
    animation: subir 0.3s ease;
    z-index:999;
}

.btn-fechar {
    margin-top: 15px;
    padding: 13px 22px;
    border: none;
    border-radius: 8px;
    color: white;
    background: linear-gradient(135deg, #ff5252, #d32f2f);
    cursor: pointer;
}

@keyframes subir {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.box-titulo {
    text-transform: uppercase;
    font-size: 21px;
    margin-bottom: 28px;
}

/* ===============================
   SECAO INFORMATIVA
================================= */
.secao-info {
    background:#f4f0fa;
    margin-top: 85px;
    padding:40px 20px;
    color:#2b0a4d;
}

.secao-container {
    max-width:1000px;
    margin:auto;
}

.secao-container h2 {
    font-size:26px;
    margin-bottom:20px;
}

.secao-imagem {
    width: -webkit-fill-available;
    border-top-right-radius: 17px;
    margin-bottom: 18px;
}

.secao-container p, .secao-container ul {
    line-height:28px;
    margin-bottom:18px;
}

.secao-container ul {
    padding-left:20px;
}

.secao-container h3 {
    margin-top:30px;
    margin-bottom:15px;
}

/* ===============================
   FOOTER
================================= */
.footer-principal {
    background:#3a0d6b;
    color:white;
    padding:40px 20px 25px 20px;
    margin-top:40px;
}

.footer-container {
    max-width: 1000px;
    margin:auto;
    display:grid;
    gap:30px;
}

.sobre-footer .footer-logo {
    font-size: 55px;
    font-weight: bold;
}

.sobre-footer h3 {
    margin-top: 6px;
    font-size: 21px;
    margin-bottom: 10px;
}

.footer-final {
    text-align:center;
    margin-top:30px;
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,0.2);
    font-size:14px;
}

.footer-home {
    text-align: center;
    padding: 11px;
    color: white;
}

.footer-home a {
    color: white;
    text-decoration: none;
}

/* ===============================
   RESPONSIVO DESKTOP
================================= */
@media (min-width: 900px) {
    body {
        background-size: contain;
    }

    .container {
        max-width: 900px;
        margin: 0 auto;
        padding: 40px 20px;
    }

    .pedidoTitulo {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .card {
        width: 100%;
        padding: 30px;
        margin-bottom: 30px;
    }

    #resumoBox {
        width: 100%;
        padding: 25px 30px;
    }

    .buttons {
        max-width: 860px;
        margin: 30px auto -55px auto;
        justify-content: center;
        gap: 20px;
        top: -70px;
    }

    .btn-add,
    .btn-final {
        font-size: 18px;
    }

    .box-suspenso {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        bottom: auto;
        width: 600px;
        border-radius: 20px;
        animation: none;
    }

    .galeria {
        grid-template-columns: repeat(3, 1fr);
    }

    .galeria img {
        height: 170px;
    }

    header {
        max-width: 1000px;
        margin: 0 auto;
        padding: 40px 20px;
    }
}

.bairros {
    display: inherit;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: -27px;
}

.bairro-link {
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    border-bottom: 1px solid #613d89;
    height: 32px;
}
.bairro-link:hover {
    text-decoration: underline;
}


.bairros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* 3 colunas aprox */
    gap: 10px; /* espaçamento entre bairros */
    margin-top: -20px;
}

/* Opcional: mobile responsivo */
@media (max-width: 768px) {
    .bairros-grid {
        grid-template-columns: 1fr; /* 1 coluna no mobile */
    }
}








/* ===============================
   RADIOS E CHECKBOXES ESTILIZADOS
   FUNCIONA PARA TODOS OS CARDS
================================= */

.card label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
}

.card label span {
    display: block;
    padding: 12px;
    border-radius: 10px;
    background: #efefef;
    transition: 0.2s;
    font-weight: 500;
    position: relative; /* necessário para o ::after */
}

/* esconde o input original */
.card input[type="radio"],
.card input[type="checkbox"] {
    display: none;
}

/* quando selecionado, muda cor de fundo e do texto */
.card input:checked + span {
    background: #6b19ac;
    color: #fff;
}

/* caixinha do lado direito */
.card label span::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #cdcdcd;
    border-radius: 4px;
    background: #fff;
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    font-weight: bold;
}

/* ✔ aparece quando o input está marcado */
.card input:checked + span::after {
    content: "✔";
    background: #5a2385;
    color: #fff;
    border: none;
}

.titulo-principal span {
  display: block; /* quebra linha */
}

.acai {
  font-size: 55px;
}