/* Variáveis de Cores e Configurações Globais */
:root {
    --primary-red: #93191b;
    --highlight-red: #d32f2f;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f7f7f7;
    --white: #ffffff;
    --font-main: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-red);
}

.btn-white:hover {
    background-color: #f0f0f0;
}

.btn-red {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-red:hover {
    background-color: #7a1516;
}

/* Header */
.header {
    background-color: var(--primary-red);
    padding: 20px 0;
    position: sticky; /* Essa é a mágica que faz ele colar na tela */
    top: 0; /* Diz para colar exatamente no topo */
    z-index: 999; /* Garante que fique por cima de todas as imagens e textos */
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Sombra elegante para dar destaque na rolagem */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-width: 180px;
    height: auto;
}

/* Botão Menu Mobile (Oculto no Desktop) */
.menu-toggle {
    display: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--white);
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background-image: url('img/mercadao/banner.jpg'); 
    background-size: cover;
    background-position: center;
    background-color: #222;
    min-height: 600px;
    position: relative;
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(15,15,15,0.95) 12%, rgba(20,20,20,0.8) 50%, rgba(0,0,0,0) 100%);
    width: 100%;
    height: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-content {
    color: var(--white);
    width: 100%;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.highlight-red {
    color: var(--highlight-red);
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 40px;
    font-weight: 400;
    color: #e0e0e0;
}

/* Features Cards */
.features {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.feature-card {
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    flex: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.icon-red {
    color: var(--primary-red);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* Vitrine de Setores */
.sectors-showcase {
    margin-top: 80px;
    margin-bottom: 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* NOVO: Estilo dos Cards Coloridos (Cores Setorizadas) */
.sector-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 260px; /* Altura moderna reduzida */
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Cores Específicas dos Setores (Gradientes) */
.bg-lojas { background: linear-gradient(135deg, #a855f7, #7e22ce); }
.bg-bares { background: linear-gradient(135deg, #f97316, #c2410c); }
.bg-hortifruti { background: linear-gradient(135deg, #22c55e, #15803d); }
.bg-saude { background: linear-gradient(135deg, #0ea5e9, #0369a1); }

/* O Ícone Gigante no Fundo */
.sector-icon-bg {
    position: absolute;
    top: -10px;
    right: -20px;
    font-size: 11rem;
    color: rgba(255, 255, 255, 0.2); /* Branco bem visível e integrado com a cor de fundo */
    transition: all 0.5s ease;
    z-index: 1;
}

.sector-content {
    position: relative;
    z-index: 3;
    padding: 30px;
    width: 100%;
    color: var(--white);
    transform: translateY(15px);
    transition: transform 0.4s ease;
    /* Sombra interna sutil para a leitura do texto sobre qualquer cor de fundo */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
}

.sector-content h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Destaque no título */
}

.sector-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.sector-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white); /* Botão de "ver mais" em destaque branco */
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Efeitos de Hover (Quando passa o mouse) */
.sector-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15); 
}

.sector-card:hover .sector-icon-bg {
    color: rgba(255, 255, 255, 0.35); /* Ícone brilha mais branco */
    transform: scale(1.1) rotate(-5deg);
}

.sector-card:hover .sector-content {
    transform: translateY(0);
}

.sector-card:hover .sector-link {
    opacity: 1;
}

/* Seção de Informações (Mapa e Horários) */
.info-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 80px;
    margin-bottom: 80px;
    scroll-margin-top: 80px; 
}

.location-card {
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.map-wrapper {
    width: 100%;
    flex-grow: 1;
    min-height: 250px;
}

.address-details {
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.address-text {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.address-text .icon-red {
    font-size: 1.5rem;
    margin-top: 2px;
}

.address-text strong {
    display: block;
    color: var(--primary-red);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.address-text p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.btn-outline-red {
    border: 1px solid var(--primary-red);
    color: var(--primary-red);
    background: transparent;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-outline-red:hover {
    background: var(--primary-red);
    color: var(--white);
}

/* Seção de Horários (Direita) */
.hours-section {
    display: flex;
    flex-direction: column;
}

.hours-header-banner {
    background-color: var(--primary-red);
    border-radius: 12px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.hours-header-banner i {
    font-size: 2.2rem;
}

.hours-header-banner h2 {
    font-size: 1.3rem;
    margin-bottom: 0;
    color: var(--white);
    flex-grow: 1;
    text-align: center;
}

.hours-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hour-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-circle {
    background-color: var(--primary-red);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.hour-info h4 {
    color: var(--primary-red);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.hour-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hour-info p:last-child {
    margin-bottom: 0;
}

/* Badge de Status */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.status-badge.open {
    background-color: #2e7d32;
    color: #ffffff;
}

.status-badge.closed {
    background-color: #424242;
    color: #ffffff;
}

/* PÁGINA: LISTAGEM DE BOXES (boxes.html) */
.page-header-section {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
}

.page-title i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.page-title h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.page-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.filters-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    width: 300px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    outline: none;
    transition: border 0.3s ease;
}

.search-box input:focus {
    border-color: var(--primary-red);
}

.category-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background-color: var(--white);
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 30px;
    font-family: var(--font-main);
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.filter-btn.active {
    background-color: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

.boxes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 80px;
}

.box-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--text-dark);
}

.box-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.box-card-img {
    width: 100%;
    height: 160px;
    object-fit: cover; 
    object-position: top; 
    display: block; 
}

.box-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.box-card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.box-card-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
    margin-bottom: 15px;
    flex-grow: 1;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 15px;
    width: fit-content;
}

/* Novas Classes de Cores das Categorias Setorizadas */
.tag-lojas-servicos { background-color: #f3e8ff; color: #7e22ce; }
.tag-bares-restaurantes { background-color: #fef3c7; color: #d97706; }
.tag-doces-cafes { background-color: #fee2e2; color: #dc2626; }
.tag-saude-beleza { background-color: #e0f2fe; color: #0284c7; }
.tag-emporios-hortifruti { background-color: #dcfce7; color: #16a34a; }

.box-location {
    font-size: 0.8rem;
    color: #888;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

/* =========================================
   PÁGINA: DETALHE DO BOX (box-detalhe.html)
   ========================================= */
.box-detail-section {
    margin-top: 60px;
    margin-bottom: 80px;
}

.box-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr; 
    gap: 50px;
    align-items: start; 
}

.box-info-texts { grid-column: 1; grid-row: 1; }
.box-info-bottom { grid-column: 1; grid-row: 2; width: 100%; }
.box-image-main { grid-column: 2; grid-row: 1 / span 2; display: flex; justify-content: flex-end; }

.back-link {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 30px;
    margin-top: 0; 
    transition: opacity 0.3s ease;
}
.back-link:hover { opacity: 0.7; }
.back-link i { margin-right: 5px; }

.box-title {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.box-subtitle {
    font-size: 1.05rem;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    font-weight: 700;
}

.title-underline {
    width: 50px;
    height: 4px;
    background-color: var(--primary-red);
    margin-bottom: 30px;
}

.box-description {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    text-align: justify; /* Alinhamento reto nas bordas */
}

/* === GRID DE STATUS EM LINHA === */
.box-info-status {
    display: flex;
    flex-wrap: wrap; 
    gap: 15px;
    margin-top: 35px;
    border-top: 1px solid #eee;
    padding-top: 35px;
    width: 100%;
}

.status-card {
    flex: 1; 
    min-width: 0;
    background-color: var(--bg-light); 
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-card i {
    font-size: 1.8rem;
    color: var(--primary-red);
}

.status-card span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 2px;
}

.status-card strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.4;
    white-space: nowrap; 
}

/* === CARD ACORDEÃO (INTERATIVO) === */
.accordion-card {
    cursor: pointer;
    position: relative;
    padding-right: 35px; 
    transition: border 0.3s ease;
}

.accordion-card:hover {
    border-color: #d1d1d1;
}

.accordion-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem !important; 
    color: var(--primary-red);
    transition: transform 0.3s ease;
}

.accordion-card.active .accordion-icon {
    transform: translateY(-50%) rotate(180deg);
}

/* Dropdown Oculto */
.accordion-content {
    position: absolute;
    top: calc(100% + 8px); 
    left: 0;
    width: 100%;
    background-color: var(--white);
    border: 1px solid #eaeaea;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.2s ease;
    z-index: 50; 
    opacity: 0;
}

.accordion-card.active .accordion-content {
    max-height: 400px; 
    padding: 20px;
    opacity: 1;
}

/* Formatação do Dropdown de Horários ajustada para melhor legibilidade */
.horario-linha {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px; /* Adiciona respiro entre o nome do dia e a hora */
    font-size: 0.85rem;
    color: var(--text-dark);
    padding: 8px 0; /* Aumenta o respiro vertical */
    border-bottom: 1px solid #f0f0f0;
}
.horario-linha:last-child { border-bottom: none; }
.horario-linha.dia-hoje { font-weight: 700; color: var(--primary-red); }

/* Garante que o horário fique bem alinhado à direita */
.horario-linha strong {
    text-align: right;
    white-space: nowrap; 
}

/* Bloco Siga-nos */
.social-contact-container {
    background-color: var(--bg-light);
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    width: 100%; 
    box-sizing: border-box; 
}

.social-title {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 15px;
}

.social-inner-box {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-inner-box a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #fca5a5; 
    color: var(--primary-red);
    font-size: 1.3rem;
    background-color: var(--white);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-inner-box a:hover {
    background-color: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

.image-wrapper {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.image-wrapper img { width: 100%; display: block; }

/* Footer */
.footer, #contato {
    background-color: #1a1a1a;
    color: #e0e0e0;
    padding: 60px 0 20px;
    margin-top: 0;
    scroll-margin-top: 80px; /* Garante que ao clicar no menu, o título não fique colado no topo */
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-red);
    transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #e0e0e0; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--highlight-red); }

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--primary-red);
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.85rem;
    color: #888;
}

/* =========================================
   RESPONSIVIDADE (Tablets e Celulares)
   ========================================= */

@media (max-width: 992px) {
    .info-section { grid-template-columns: 1fr; }
    .address-details { flex-direction: column; align-items: flex-start; }
    .box-detail-grid { display: flex; flex-direction: column; gap: 30px; }
    .box-image-main { width: 100%; justify-content: center; }
    .hero-content h1 { font-size: 2.8rem; }
    
    .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
    .sobre-image { min-height: 350px; }
    .sobre-features { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links {
        position: absolute; top: 100%; left: 0; width: 100%;
        background-color: var(--primary-red); flex-direction: column;
        align-items: center; gap: 0; padding: 0; max-height: 0;
        overflow: hidden; transition: max-height 0.3s ease-out;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    .nav-links.active { max-height: 350px; padding: 15px 0; }
    .nav-links li { width: 100%; text-align: center; padding: 15px 0; }
    .header .btn-white { display: none; }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-about p { margin: 0 auto 20px; }
    .social-links { justify-content: center; }
    .footer-contact p { justify-content: center; }
    .sectors-grid { grid-template-columns: 1fr; }
    .features { flex-direction: column; }
    .box-title { font-size: 2.2rem; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }
    .hours-header-banner { flex-direction: column; gap: 15px; text-align: center; }

    .image-wrapper { width: 100%; aspect-ratio: 1 / 1; }
    .image-wrapper img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

    /* Correção do Layout Mobile e Dropdown de Horário */
    .box-info-status {
        display: flex;
        flex-direction: row; 
        flex-wrap: wrap;
        gap: 10px; 
        margin-top: 15px;
        padding-top: 20px;
        width: 100%;
        overflow: visible;
    }

    .status-card { 
        flex: 1; 
        min-width: 140px;
        padding: 12px 10px; 
        gap: 8px; 
        justify-content: center; 
    }
    
    .accordion-card { padding-right: 25px; }
    .accordion-icon { right: 8px; }

    .status-card i { font-size: 1.3rem; }
    .status-card span { font-size: 0.75rem; line-height: 1.1; }

    .status-card:nth-child(2) span { font-size: 0.75rem; }
    .status-card:nth-child(2) span::after { content: none; }

    .status-card strong { font-size: 0.85rem; white-space: normal; line-height: 1.3; }

    .social-contact-container { padding: 15px; }
    
    .sobre-header h2 { font-size: 1.8rem; }
    .sobre-text h3 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.8rem; }
    .address-details { flex-direction: column; align-items: stretch; text-align: center; gap: 20px; }
    .address-text { flex-direction: column; align-items: center; }
    .btn-outline-red { width: 100%; }
    .hour-card { flex-direction: column; text-align: center; gap: 15px; padding: 25px 20px; }
    .hour-info p { justify-content: center; }
    .search-box { width: 100%; }
}

/* Aviso de Horários Dinâmicos */
.hours-disclaimer {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 20px;
    text-align: center;
    line-height: 1.5;
}

/* =========================================
   PÁGINA: SOBRE NÓS (sobre.html) 
   ========================================= */
.text-center {
    text-align: center;
}

.sobre-header {
    margin-top: 60px;
    margin-bottom: 50px;
}

.icon-circle-outline {
    width: 45px;
    height: 45px;
    border: 2px solid var(--primary-red);
    border-radius: 50%;
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.2rem;
}

.sobre-header h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.sobre-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.sobre-content {
    margin-bottom: 60px;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sobre-image {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

.sobre-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.sobre-text h3 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.title-underline-small {
    width: 60px;
    height: 3px;
    background-color: var(--primary-red);
    margin-bottom: 30px;
}

.sobre-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: justify; 
}

/* Feature Cards do Sobre */
.sobre-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 80px;
}

.s-feature-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 25px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.s-feature-card i {
    font-size: 2.5rem;
    color: var(--primary-red);
    flex-shrink: 0;
}

.s-feature-text h4 {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.s-feature-text p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* =========================================
   EFEITOS DE ROLAGEM (SCROLL ANIMATION)
   ========================================= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px); /* Começa um pouco mais para baixo */
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    will-change: opacity, transform;
}

/* Classe ativada pelo JavaScript quando o elemento entra na tela */
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Transição ligeiramente mais rápida para os cards da lista de lojas */
.box-card.animate-on-scroll {
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* =========================================
   ASSINATURA DO DESENVOLVEDOR
   ========================================= */
.developer-credit {
    margin-top: 8px;
    font-size: 0.75rem;
    color: #666;
}

.developer-credit a {
    color: #999;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.developer-credit a:hover {
    color: var(--highlight-red);
}