/* Reset CSS baseado no reset do Andy Bell */

/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
    list-style: none;
}

/* Set core root defaults */
html:focus-within {
    scroll-behavior: smooth;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
}

a {
    text-decoration: none;
}

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Make images easier to work with */
img,
picture {
    max-width: 100%;
    display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
    font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Variables */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

:root {
    --fonte-principal: 'Ubuntu', sans-serif;
}

/* base.css */
body {
    font-family: var(--fonte-principal);
    color: #333333;
}

main {
    padding: 2.5rem 0 2.5rem;
    max-width: 1360px;
    margin: 0 auto;
}

@media (max-width:1280px) {
    main {
        padding: 0.625rem;
    }
}

.btn {
    font-size: 1.25rem;
    width: 161px;
    height: 48px;
    border-radius: 25px;
    color: #ffffff;
    font-weight: 400;
    padding: 10px 20px;
    transition: background-color 0.3s, border 0.3s;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #ffffff;
    line-height: 23px;
}

.btn-filled {
    background-color: #ffffff;
    color: #2a4e61;
}

.btn:hover {
    background-color: #2a4e61;
    color: #ffffff;
    border-color: #2a4e61;
}

.forQuery {
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 20px;
}

@media (max-width: 767px) {
    .forQuery {
        padding: 60px 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .forQuery {
        padding: 100px 0;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .forQuery {
        padding: 100px 0;
    }
}

@media (min-width: 1200px) and (max-width: 1500px) {
    .forQuery {
        padding: 30px 0;
    }
}

.forQuery .Query_border {
    border: 1px solid #BABABA;
    padding: 38px 50px;
    text-align: center;
}

@media (max-width: 767px) {
    .forQuery .Query_border {
        padding: 20px;
    }
}

.forQuery .Query_border .Query_text {
    text-align: center;
}

.forQuery .Query_border p {
    font-size: 30px;
    color: #1F1F1F;
    font-weight: 400;
    margin-bottom: 20px;
    text-align: center;
}

@media (max-width: 767px) {
    .forQuery .Query_border p {
        font-size: 18px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .forQuery .Query_border p {
        font-size: 18px;
    }
}

.forQuery .Query_border .phone_num {
    text-align: center;
}

.forQuery .Query_border .phone_num a {
    background: #009DFF;
    color: #fff;
    padding: 12px 53px;
    border-radius: 30px;
    display: inline-block;
    font-size: 18px;
    border: 1px solid transparent;
    text-align: center;
}

.forQuery .Query_border .phone_num a:hover {
    color: #009DFF;
    border: 1px solid #009DFF;
    background: #fff;
}

#clube-beneficios {
    background: #fff;
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}

.beneficios-box {
    background: rgba(0, 0, 0, 0.45) url('images/banner-beneficios.png') center center / cover no-repeat;
    background-blend-mode: overlay;
    padding: 60px 20px;
    border-radius: 12px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.beneficios-box h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.beneficios-box h2 span {
    color: #00e0b0;
}

.beneficios-box p {
    font-size: 1.1rem;
    color: #f2f2f2;
    margin-bottom: 35px;
}

.beneficios-lista {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.beneficios-lista li {
    font-size: 1rem;
    color: #fff;
}

/* Botão */
.btn-beneficios {
    display: inline-block;
    background: linear-gradient(90deg, #00e0b0, #2a4e61);
    color: #fff;
    padding: 14px 40px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 4px 15px #2a4e61;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-beneficios:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(42, 78, 97, 0.5);
}

/* Responsivo */
@media (max-width: 768px) {
    .beneficios-lista {
        flex-direction: column;
        gap: 10px;
    }
}



/* ====================== HEADER ================= */

.header {
  position: relative; /* ❌ removido o fixed, agora o cabeçalho fica no topo */
  width: 100%;
  border-radius: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 2rem;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Logo */
.logo img {
  height: 48px;
  display: block;
}

/* Remove qualquer espaço lateral do input */
.menu-toggle {
  display: none;
}

/* Navegação desktop */
.nav-center ul {
  display: flex;
  gap: 2.5rem;
}

.nav-center a {
  font-size: 1.15rem;
  color: #2a4f62;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-center a:hover {
  color: #84bfe7;
}

/* Container principal do menu */
.nav-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

/* Ícone do menu (hambúrguer) */
.menu-icon {
  width: 30px;
  height: 30px;
  display: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-icon img {
  width: 100%;
  height: 100%;
  transition: opacity 0.3s ease;
}

.menu-icon:hover img {
  opacity: 0.7;
}

/* ==================== RESPONSIVIDADE HEADER ==================== */
@media (max-width: 1024px) {
  .menu-icon {
    display: block;
  }

  .nav-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    flex-direction: column;
    padding: 80px 20px 20px;
    background-color: #ffffff;
    gap: 2rem;
    transition: right 0.3s ease;
    align-items: flex-start;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  }

  .nav-center ul {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }

  .nav-center a {
    width: 100%;
    border-bottom: 1px solid #eeeeee;
    padding: 0.3rem 0;
    font-size: 1rem;
    display: block;
  }

  .menu-toggle:checked ~ .nav-container {
    right: 0;
  }
}

/* ÍCONES SOCIAIS CENTRALIZADOS NO RODAPÉ DO BANNER */
.social-group-banner {
    position: absolute;
    bottom: 25px;
    /* distância da base do banner */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 25px;
    z-index: 2;
}

.social-icon {
    font-size: 2rem;
    color: #fff;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon.whatsapp:hover {
    color: #25D366;
}

.social-icon.instagram:hover {
    color: #E4405F;
}


/* ====================== HERO ================= */

/* hero.css */
.hero-section {
    background: url(images/hero.jpg) no-repeat center;
    background-size: cover;

    height: 500px;
    position: relative;
    border-radius: 20px;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 6rem;
}

.hero-content {
    color: #ffffff;
    max-width: 360px;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-content .hero-title {
    font-size: 1.87rem;
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 36px;
    letter-spacing: 3px;
}

.hero-content .hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
}

@media (max-width:768px) {
    .hero-section {
        height: 660px;
        background-image: url(images/hero-mobile.jpg);
    }

    .hero-overlay {
        padding: 0;
    }

    .hero-content .hero-title {
        font-size: 1.5rem;
    }

    .hero-content .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-content {
        max-width: 330px;
        margin: 0 auto;
    }

    .btn {
        font-size: 1.2rem;
    }

}


/* ====================== GUIA COMERCIAL ================= */

/* Sessão de Categorias */
.categories-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; /* Mantém o espaçamento entre os cards */
    margin-bottom: 50px;
    padding: 0 10px;
}

/* Card */
.category-card {
    /* ✨ NOVO CÁLCULO PARA 10 CARDS EM TELA GRANDE */
    /* Calcula a largura de 1/10 do contêiner menos o espaço do gap (15px) */
    flex: 0 0 calc(11% - 13.5px); /* 100% / 10 = 10%. Ajuste: 15px * 9 (espaços) / 10 (cards) = 13.5px */
    max-width: calc(11% - 13.5px);
    aspect-ratio: 1 / 1; /* mantém formato quadrado */
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background-color: #000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 100px; /* Mantido para evitar cards muito pequenos */
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Fundo escurecido */
.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

/* Conteúdo centralizado */
.category-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    text-align: center;
    padding: 10px; 
    
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
}

/* Botão centralizado e adaptável (MANTIDO) */
.btn.btn-outline {
    display: block;
    width: 100%;
    max-width: 95%;
    padding: 8px 15px;
    border: 2px solid #fff;
    border-radius: 25px;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.4); 
    backdrop-filter: blur(2px); 
    transition: 0.3s;
    
    white-space: normal; 
    word-break: break-word; 
    font-size: 0.75rem;
    line-height: 1.2;
    text-align: center;
    
    height: auto; 
    min-height: unset;
}

.btn.btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Ajuste no base.css */
.btn {
    font-size: 1.25rem;
    width: 161px; 
    height: 48px;
    border-radius: 25px;
}

.gastronomia {
    background: url(images/gastronomia.webp) no-repeat center/cover;
}

.servicos {
    background: url(images/servicos.webp) no-repeat center/cover;
}

.comercio {
    background: url(images/comercio.webp) no-repeat center/cover;
}

.saude {
    background: url(images/saude.webp) no-repeat center/cover;
}

.beleza {
    background: url(images/beleza.webp) no-repeat center/cover;
}

.esportes {
    background: url(images/esportes.webp) no-repeat center/cover;
}

.pet {
    background: url(images/pet.webp) no-repeat center/cover;
}

.automotivo {
    background: url(images/automotivo.webp) no-repeat center/cover;
}

.serra { /* Novo nome de classe */
    background: url(images/serracipo.webp) no-repeat center/cover;
}



/* ===== YAHU É O MEU SENHOR !!! AVANT DIGITAL É PRÓSPERA EM NOME DE YAHUSHUA HAMASHIACH, AMÉM!!!=== */

/* ====================== SESSÃO DESTAQUES CLIENTES ====================== */

/* Card 1*/
.avant {
    background: url(images/avant.webp) no-repeat center/cover;
}

/* Card 2*/
.renata {
    background: url(images/reprospera.webp) no-repeat center/cover;
}

/* Card 3*/
.cegtintas {
    background: url(images/cegtintasautomotivas.webp) no-repeat center/cover;
}

/* Card 4*/
.lokal {
    background: url(images/lokalbaterias.webp) no-repeat center/cover;
}

/* Card 5*/
.raizes {
    background: url(images/raizesdosentirmassoterapia.webp) no-repeat center/cover;
}

/* Card 6*/
.mascattes {
    background: url(images/pousadamascattes.webp) no-repeat center/cover;
}

/* Card 7*/
.wj {
    background: url(images/wjempreitadas.webp) no-repeat center/cover;
}

/* Card 8*/
.andorinhas { /* Novo nome de classe */
    background: url(images/andorinhas.webp) no-repeat center/cover;
}

/* Card 9*/
.otica { /* Novo nome de classe */
    background: url(images/oticalagoasanta.webp) no-repeat center/cover;
}

/* Card 10
.anuncio { 
    background: url(images/anuncio.webp) no-repeat center/cover;
}
*/

/* ====================== RESPONSIVIDADE GUIA COMERCIAL (OTIMIZADA) ====================== */
@media (max-width: 1024px) {
    .categories-section {
        gap: 10px;
        justify-content: center;
    }

    .category-card {
        /* ✨ NOVO CÁLCULO PARA 5 CARDS POR LINHA */
        flex: 0 0 calc(20% - 8px); /* 100% / 5 = 20%. Ajuste: 10px * 4 (espaços) / 5 (cards) = 8px */
        max-width: calc(20% - 8px);
        min-width: 120px;
    }

    .btn.btn-outline {
        font-size: 0.85rem;
        padding: 8px 10px;
    }
}

/* Telas até 900px → mantém 3 por linha, mas melhora espaçamento */
@media (max-width: 900px) {
  .categories-section {
    gap: 10px;
    justify-content: center;
  }

  .category-card {
    flex: 0 0 calc(33.33% - 10px);
    max-width: calc(33.33% - 10px);
    min-width: 140px;
  }

  .btn.btn-outline {
    font-size: 0.85rem;
    padding: 8px 10px;
  }
}

/* 3. Telas de Smartphones (até 600px) → 3 CARDS POR LINHA (Como solicitado para celular/mínimo) */
@media (max-width: 600px) {
    .categories-section {
        gap: 8px;
        padding: 0 8px;
    }

    .category-card {
        /* ✨ NOVO CÁLCULO PARA 3 CARDS POR LINHA */
        flex: 0 0 calc(33.33% - 5.33px); /* 100% / 3 = 33.33%. Ajuste: 8px * 2 (espaços) / 3 (cards) ≈ 5.33px */
        max-width: calc(33.33% - 5.33px);
        min-width: 100px;
    }

    .category-content {
        padding: 6px;
    }

    .btn.btn-outline {
        font-size: 0.7rem;
        padding: 7px 10px;
        max-width: 90%;
        border-width: 1px;
    }
}

/* 4. Telas muito pequenas (opcional - menos que 3 por linha) */
@media (max-width: 400px) {
    .category-card {
        /* Opcional: manter 3 por linha ou ajustar para 2 (50%) - Mantive 3 para não quebrar a regra mínima */
        flex: 0 0 calc(33.33% - 5.33px);
        max-width: calc(33.33% - 5.33px);
    }
}

/* ====================== SEÇÃO DESTAQUES (CORRIGIDA) ====================== */

.products-header {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 18px;
    padding-top: 6px;
}

.section-title {
    margin: 0;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #222;
}

/* GRID PRINCIPAL: agora com altura fixa por linha */
.grid-inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas:
        "highlight highlight sneaker-purple sneaker-color"
        "highlight highlight sneaker-white sneaker-silver"
        "bottom1 bottom2 bottom3 bottom4";
    gap: 30px;
    margin-bottom: 40px;

    /* cada linha do grid terá altura fixa — ajuste 300px conforme necessário */
    grid-auto-rows: 300px;
}

/* CARDS GERAIS */
.card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    cursor: pointer;
    background-color: #000; /* Padrão preto no desktop */
}

.card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
}

/* IMAGEM cobre todo o card (DEFAULT / DESKTOP) */
.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* OVERLAY ESCURO */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.25s ease;
    z-index: 1;
}

.card:hover .overlay {
    background: rgba(0, 0, 0, 0.45);
}

/* LABEL DO CARD (posição inferior) */
.card-label {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
    z-index: 2;
    padding: 0 8px;
    white-space: nowrap;
}

/* TÍTULOS MAIS GORDINHOS E DESTACADOS PARA OS 2 PRIMEIROS */
.destaque-label {
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: 0.6px;
    text-shadow: 0 3px 7px rgba(0, 0, 0, 0.8);
}

/* BLOCO DESTACADO DUPLO:
    Este bloco agora é um grid interno de 2 linhas, cada uma com altura igual
    Assim, highlight = 2 linhas do grid principal, e cada metade ocupa 1 linha interna */
.highlight {
    grid-area: highlight;
    display: grid;
    grid-template-rows: 1fr 1fr;
    /* duas linhas internas iguais */
    gap: 30px;
    height: 100%;
    /* importante para preencher as 2 linhas do grid externo */
}

.half-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: block;
    height: 100%;
}

/* linha azul separadora entre as metades (só estética) */
.top-half {
    border-bottom: 4px solid #2a4e61;
}

.bottom-half {
    border-top: 4px solid #2a4e61;
}

/* GARANTE que os cards da direita fiquem com a mesma altura das linhas definidas */
.sneaker-purple {
    grid-area: sneaker-purple;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .grid-inner {
        width: 92%;
        grid-template-columns: 1fr;
        grid-template-rows: auto; /* Permite que a altura da linha se ajuste */
        grid-template-areas: "highlight" "sneaker-purple" "sneaker-color" "sneaker-white" "sneaker-silver" "bottom1" "bottom2" "bottom3" "bottom4";
        gap: 18px;
    }

    /* ** CORREÇÃO PARA ELIMINAR O ESPAÇO BRANCO E MANTER IMAGEM INTEIRA ** */
    .card {
        background-color: transparent; /* Garante que nenhum fundo apareça */
        height: auto; /* O card se adapta ao seu conteúdo */
        min-height: unset; /* Remove min-height fixo */
    }

    .card-img {
        object-fit: contain; /* Mantém o comportamento de mostrar a imagem inteira */
        width: 100%;
        height: auto; /* A altura da imagem se adapta à proporção */
        margin: auto;
    }
    /* ********************************************************************** */

    /* Remova ou ajuste estas regras se usou a Solução 2, pois elas impõem altura fixa */
    .highlight,
    .sneaker-white,
    .sneaker-purple,
    .sneaker-color,
    .sneaker-silver,
    .bottom1,
    .bottom2,
    .bottom3,
    .bottom4 {
        /* min-height: 240px; <-- Remova esta linha para esses cards */
        min-height: auto;
        border-radius: 14px;
    }

    .highlight {
        /* min-height: 360px; <-- Remova esta linha */
        min-height: auto;
    }
}



/* ====================== FOOTER ================= */

/* footer.css */
.site-footer {
    background-color: #333333;
    color: #ffffff;
}

.footer-content {
    max-width: 1360px;
    margin: 0 auto;
    padding: 2.5rem;
    display: flex;
    justify-content: space-between;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 3.125rem;
}

.footer-nav ul {
    display: flex;
    gap: 1.25rem;
}

.footer-nav ul ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-nav strong {
    color: #EDEDED;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: block;
    font-weight: 400;
}

.footer-nav li a {
    color: #ffffff;
}

.footer-nav li a:hover {
    text-decoration: underline;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
}

.newsletter-form input {
    border-radius: 30px;
    color: #AAAAAA;
    padding: 0.75rem 1.25rem;
    width: 21.5rem;
}

.footer-social span {
    margin-bottom: 1rem;
    display: block;
}

.footer-social ul {
    display: flex;
    gap: 1.25rem;
}

.footer-social li a:hover img {
    opacity: 0.7;
}

.footer-copy {
    font-size: 1.25rem;
    text-align: center;
    padding: 20px 0;
}

@media (max-width: 1000px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-social ul {
        gap: 1rem;
    }

    .footer-copy {
        font-size: 1rem;
        padding: 1.5rem 0 1.5rem;
    }
}