/* ================================
   RESET GLOBAL
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* ================================
   VARIÁVEIS
================================ */

:root {
    --cor-primaria: #0d6efd;
    --cor-secundaria: #198754;
    --cor-texto: #212529;
    --cor-card: #ffffff;
    --cor-borda: #e5e7eb;
}

/* ================================
   BODY
================================ */

body {
    /*
    background: linear-gradient(135deg, #0a991ae8, #f8f9fa);
    */
    background: linear-gradient(135deg, #0a991a 0%, #e9f7ef 100%);
    color: var(--cor-texto);
    font-size: 16px;
    line-height: 1.5;
    min-height: 100vh;
}

/* ================================
   HERO
================================ */

.hero {
    background: linear-gradient(135deg,#0d6efd,#198754);
    color: white;
    padding: 30px 10px;
    text-align: center;
    width: 100%;
}

/* ================================
   HEADER
================================ */

header {
    background: linear-gradient(135deg, #1e73e8 0%, #1fa463 100%);
    color: #fff;
    padding: 45px 20px;
    text-align: center;
}

header h1 {
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 8px;
}

header p {
    opacity: 0.9;
    font-size: 16px;
}

/* HEADER TOPO */

.header-topo {
    padding: 40px 20px;
}

.header-topo h1 {
    font-size: 32px;
}

.header-topo p {
    font-size: 16px;
}

/* ================================
   BUSCA
================================ */

header input,
header select {
    border-radius: 12px;
    padding: 12px 16px;
    border: none;
    font-size: 16px;
    margin-bottom: 10px;
}

/* ================================
   CARDS EMPRESAS
================================ */

.card {
    border-radius: 12px;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.card-empresa {
    background: var(--cor-card);
    border: 1px solid var(--cor-borda);
    border-radius: 18px;
    overflow: hidden;
    transition: 0.3s;
    margin-bottom: 18px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    padding: 16px;
    background: #ffffff;
}

.card-empresa:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.10);
}

.card-empresa img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.card-empresa .card-body {
    padding: 18px;
}

.card-empresa h5 {
    font-size: 20px;
    font-weight: 600;
}

.card-empresa p {
    font-size: 15px;
    color: #555;
}

/* ================================
   LISTA EMPRESAS
================================ */

.linha-empresa {
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.linha-empresa img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.empresa-info {
    flex: 1;
}

.linha-empresa .d-flex {
    min-width: 130px;
    justify-content: flex-end;
}

/* ================================
   BOTÕES
================================ */

.btn {
    padding: 12px 18px;
    font-size: 15px;
    border-radius: 12px;
}

.btn-primary {
    background: var(--cor-primaria);
    border: none;
}

.btn-success {
    background: var(--cor-secundaria);
    border: none;
}

/* ================================
   FOOTER
================================ */

footer {
    background: #1a1d20;
    color: #ccc;
    padding: 30px 20px;
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
}

/* =================================
   RESPONSIVO GLOBAL
================================= */

@media (max-width: 768px) {

    body {
        font-size: 17px;
    }

    header {
        padding: 30px 15px;
    }

    header h1 {
        font-size: 24px;
    }

    .header-topo {
        padding: 60px 20px;
    }

    .header-topo h1 {
        font-size: 42px;
        font-weight: 700;
    }

    .header-topo p {
        font-size: 20px;
    }

    .card-empresa img {
        height: 150px;
    }

    .btn {
        width: 100%;
        font-size: 18px;
        padding: 12px 20px;
        margin-top: 8px;
    }

    .linha-empresa {
        flex-direction: column;
        align-items: flex-start;
    }

    .linha-empresa .d-flex {
        width: 100%;
        justify-content: flex-start;
        margin-top: 10px;
    }
}



/* Campo de busca maior */
.input-busca {
    width: 100%;
    height: 48px;
    font-size: 16px;
    padding: 0 15px;
    border-radius: 10px;
}

input[type="text"],
input[type="search"] {
    width: 100%;
    height: 48px;
    font-size: 16px;
    padding: 0 15px;
    border-radius: 10px;
}

.botao-acao {
    width: 100%;
    height: 45px;
    border-radius: 10px;
    font-size: 15px;
}


.termos-box{
    background:#fff3cd;
    border:1px solid #ffeeba;
    border-radius:8px;
    padding:14px 16px;
    font-size:16px;

    display:flex;
    align-items:center;
    gap:10px;
}

.termos-box input[type="checkbox"]{
    transform:scale(1.3);
    cursor:pointer;
}

.termos-box label{
    margin:0;
}

.termos-box a{
    font-weight:bold;
    color:#0d6efd;
}

.form-check {
    padding-left: 25px;
}

.form-check-input {
    margin-left: -20px;
}

html {
    -webkit-text-size-adjust: 100%;
}


/* BOTÃO QR CODE */
.btn-qrcode{
    font-size:16px;
    padding:10px 18px;
}

/* CELULAR */
@media (max-width:768px){

    .btn-qrcode{
        transform: scale(0.6) !important;
        transform-origin: center;
        padding: 4px 8px !important;
        font-size: 12px !important;
    }

}

.filtros a{
    font-size:32px;
    font-weight:bold;
    text-decoration:none;
    margin-right:10px;
}

.filtros{
    margin-bottom:25px;
}



