/* =========================================
   TEMA ESCURO - Variáveis e Base
   ========================================= */
:root {
    --bg-black: #121212;       
    --bg-dark-gray: #1A1A1A;   
    --bg-white: #FFFFFF;       
    
    --brand-orange: #FF6B00;   
    --brand-blue: #448AFF;     
    --brand-red: #FF3D00;      
    
    --text-light: #FFFFFF;     
    --text-gray: #B0B0B0;      
    --text-dark: #121212;      

    --glow-orange: rgba(255, 107, 0, 0.6);
    --glow-blue: rgba(68, 138, 255, 0.6);
    --glow-red: rgba(255, 61, 0, 0.6);

    --font-body: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 130px; }

body { 
    font-family: var(--font-body); 
    background-color: var(--bg-black); 
    overflow-x: hidden; 
    color: var(--text-light); 
}

.container { max-width: 1300px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; transition: all 0.3s ease; }

/* =========================================
   Títulos Padrões
   ========================================= */
.section-subtitle { display: inline-block; color: var(--brand-orange); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 0.5rem; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: clamp(2rem, 3vw, 2.8rem); color: var(--text-light); font-weight: 800; margin-bottom: 1rem; }
.section-header p { color: var(--text-gray); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* =========================================
   Header & Logotipo (Imagem + Texto)
   ========================================= */
.site-header { background-color: var(--bg-black); box-shadow: 0 4px 20px rgba(0,0,0,0.5); position: sticky; top: 0; z-index: 90; border-bottom: 1px solid rgba(255,255,255,0.1); }
.header-flex { display: flex; justify-content: space-between; align-items: center; height: 80px; }

.logo, .logo-mobile-wrapper { display: flex; align-items: center; gap: 12px; height: 100%; padding: 5px 0; }
.logo-img { max-height: 55px; width: auto; object-fit: contain; transition: transform 0.3s ease; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); }
.logo-img:hover { transform: scale(1.05); }

.logo-text { font-size: clamp(1.1rem, 3vw, 1.5rem); font-weight: 800; color: var(--text-light);  letter-spacing: 1px; }
.text-orange { color: var(--brand-orange); }

.header-actions { display: flex; align-items: center; gap: 1.5rem; }
.nav-link { color: var(--text-light); font-weight: 700; display: flex; align-items: center; gap: 5px; }
.nav-link:hover { color: var(--brand-orange); }

.btn-contact { background-color: var(--brand-orange); color: var(--text-light); padding: 10px 24px; border-radius: 50px; font-weight: 700; text-align: center; }
.btn-contact:hover { background-color: var(--brand-blue); box-shadow: 0 0 15px var(--glow-blue); }

.header-categories { border-top: 1px solid rgba(255, 255, 255, 0.1); background-color: var(--bg-black); }
.category-list { display: flex; list-style: none; gap: 2rem; padding: 15px 0; justify-content: center; }
.category-list li a { color: var(--text-gray); font-weight: 700; font-size: 0.95rem; }
.category-list li a:hover { color: var(--brand-orange); }
.category-list li.highlight a { color: var(--brand-orange); display: flex; align-items: center; gap: 4px; }

/* Menu Mobile */
.menu-toggle, .menu-close { background: none; border: none; font-size: 2rem; color: var(--text-light); cursor: pointer; display: flex; align-items: center; }
.mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); z-index: 99; opacity: 0; visibility: hidden; transition: 0.3s; }
.mobile-menu { position: fixed; top: 0; right: -100%; width: 300px; max-width: 85vw; height: 100vh; background-color: var(--bg-black); border-left: 1px solid rgba(255,255,255,0.1); z-index: 100; display: flex; flex-direction: column; transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1); }
.mobile-menu.active { right: 0; }
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); background-color: var(--bg-dark-gray); }
.logo-img-mobile { max-height: 40px; width: auto; object-fit: contain; }
.mobile-menu-body { padding: 20px; display: flex; flex-direction: column; height: 100%; overflow-y: auto;}
.mobile-category-list { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
.mobile-category-list li a { font-size: 1.1rem; font-weight: 600; color: var(--text-light); display: block;}
.mobile-category-list li.highlight a { color: var(--brand-orange); font-weight: 700; }
.mobile-menu-footer { margin-top: auto; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px;}
.btn-full { width: 100%; display: block; padding: 15px; margin-top: 15px; }

/* =========================================
   Hero Carousel (Imagens e Overlays)
   ========================================= */
.hero-carousel { width: 100%; padding: 2rem 0; background-color: var(--bg-black); }
.swiper { width: 100%; padding-bottom: 40px; }
.swiper-slide { display: flex; align-items: center; justify-content: space-between; border-radius: 20px; padding: clamp(2rem, 5vw, 4rem); min-height: 400px; transition: transform 0.3s ease; overflow: hidden; }
.swiper-slide:not(.swiper-slide-active) { transform: scale(0.95); opacity: 0.5; filter: grayscale(50%); }

.slide-bg-image { background-size: cover; background-position: center; background-repeat: no-repeat; position: relative; }
.slide-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 20px; z-index: 1; }
.overlay-orange { background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(255, 107, 0, 0.4) 100%); }
.overlay-blue { background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(68, 138, 255, 0.4) 100%); }
.overlay-red { background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(255, 61, 0, 0.4) 100%); }

.slide-content { max-width: 550px; z-index: 2; position: relative; }
.slide-content h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.1; margin-bottom: 1rem; color: var(--text-light); text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
.slide-content p { font-size: clamp(1rem, 2vw, 1.1rem); font-weight: 600; margin-bottom: 2rem; color: var(--text-gray); text-shadow: 0 1px 5px rgba(0,0,0,0.8); }

.btn-slide { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 32px; font-size: 1.1rem; font-weight: 800; border-radius: 50px; text-transform: uppercase; transition: all 0.3s ease; color: var(--text-light); }
.btn-orange-glow { background-color: var(--brand-orange); box-shadow: 0 0 15px var(--glow-orange); animation: pulse-orange 2s infinite alternate; }
.btn-blue-glow { background-color: var(--brand-blue); box-shadow: 0 0 15px var(--glow-blue); animation: pulse-blue 2s infinite alternate; }

@keyframes pulse-orange { 0% { box-shadow: 0 0 10px var(--glow-orange); } 100% { box-shadow: 0 0 30px var(--glow-orange), 0 0 50px rgba(255, 107, 0, 0.3); } }
@keyframes pulse-blue { 0% { box-shadow: 0 0 10px var(--glow-blue); } 100% { box-shadow: 0 0 30px var(--glow-blue), 0 0 50px rgba(68, 138, 255, 0.3); } }

.swiper-button-next, .swiper-button-prev { color: var(--text-light); background: rgba(255, 255, 255, 0.1); width: 50px; height: 50px; border-radius: 50%; backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.2); }
.swiper-button-next:hover, .swiper-button-prev:hover { background: var(--brand-orange); border-color: var(--brand-orange); }
.swiper-pagination-bullet { background: var(--text-gray); opacity: 0.5; }
.swiper-pagination-bullet-active { background: var(--brand-orange) !important; opacity: 1; }

/* =========================================
   Secção Sobre Nós
   ========================================= */
.about-section { padding: 6rem 0; background-color: var(--bg-black); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text p { font-size: 1.1rem; color: var(--text-gray); margin-bottom: 1rem; line-height: 1.7; }
.about-text strong { color: var(--text-light); }
.about-features { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.feature-item { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text-light); }
.feature-item i { color: var(--text-light); font-size: 1.5rem; background: var(--brand-orange); border-radius: 50%; padding: 5px; box-shadow: 0 0 10px var(--glow-orange); }
.about-image { position: relative; }
.image-placeholder img { width: 100%; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.3); display: block; }
.experience-badge { position: absolute; bottom: -20px; left: -20px; background-color: var(--brand-orange); color: var(--text-light); padding: 20px; border-radius: 15px; display: flex; align-items: center; gap: 15px; box-shadow: 0 10px 30px var(--glow-orange); animation: pulse-orange 3s infinite alternate; }
.experience-badge .number { font-size: 2.5rem; font-weight: 800; }
.experience-badge .text { font-weight: 700; line-height: 1.2; }

/* =========================================
   Secção Portfólio
   ========================================= */
.portfolio-section { padding: 6rem 0; background-color: var(--bg-dark-gray); }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.portfolio-card { background-color: var(--bg-black); padding: 3rem 2rem; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); transition: transform 0.3s ease, box-shadow 0.3s ease; border-bottom: 4px solid transparent; border: 1px solid rgba(255,255,255,0.05); }
.portfolio-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.4); border-bottom: 4px solid var(--brand-orange); }
.card-icon { width: 70px; height: 70px; background-color: rgba(255, 107, 0, 0.1); color: var(--brand-orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; margin-bottom: 1.5rem; transition: all 0.3s ease; }
.portfolio-card:hover .card-icon { background-color: var(--brand-orange); color: var(--text-light); box-shadow: 0 0 20px var(--glow-orange); }
.portfolio-card h3 { font-size: 1.4rem; font-weight: 700; color: var(--text-light); margin-bottom: 1rem; }
.portfolio-card p { color: var(--text-gray); line-height: 1.6; margin-bottom: 2rem; }
.btn-card { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-orange); font-weight: 700; transition: color 0.3s; }
.btn-card:hover { color: var(--brand-blue); }

/* =========================================
   Marcas Parceiras & Depoimentos
   ========================================= */
/* =========================================
   Secção Marcas Parceiras (Fundo Branco & Cores Reais)
   ========================================= */
.brands-section {
    padding: 6rem 0;
    background-color: var(--bg-white); /* Fundo Branco */
    border-top: 1px solid #eee;
}

/* Forçar Headline e Texto para Preto nesta seção */
.brands-section .section-header h2 {
    color: #000000 !important;
}

.brands-section .section-header p {
    color: #444444;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 3rem;
    align-items: center;
    justify-items: center;
    margin-top: 2rem;
}

.brand-item img {
    max-width: 160px; /* Ajuste o tamanho conforme necessário */
    height: auto;
    /* REMOVIDO: filter grayscale e opacity */
    filter: none !important; 
    transition: transform 0.3s ease;
    cursor: default;
}

.brand-item:hover img {
    transform: scale(1.1); /* Mantém apenas o leve zoom ao passar o mouse */
}

/* Ajuste de responsividade para marcas */
@media (max-width: 768px) {
    .brands-grid {
        grid-template-columns: 1fr 1fr; /* Duas colunas no mobile */
        gap: 2rem;
    }
    .brand-item img {
        max-width: 130px;
    }
}

.testimonials-section { padding: 6rem 0; background-color: var(--bg-dark-gray); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; margin-top: 3rem; }
.testimonial-card { background-color: var(--bg-black); padding: 3rem 2.5rem; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); position: relative; transition: transform 0.3s ease; border: 1px solid rgba(255,255,255,0.05); }
.testimonial-card:hover { transform: translateY(-5px); border-color: var(--brand-orange); }
.testimonial-card i.ph-quotes { font-size: 3rem; color: var(--brand-orange); position: absolute; top: -20px; left: 30px; background: var(--bg-black); padding: 0 10px; }
.testimonial-card p { font-size: 1.1rem; font-style: italic; color: var(--text-gray); line-height: 1.7; margin-top: 1rem; margin-bottom: 2rem; }
.testimonial-author h4 { color: var(--text-light); font-weight: 800; font-size: 1.2rem; }
.testimonial-author span { color: var(--brand-orange); font-weight: 600; font-size: 0.9rem; }

/* =========================================
   SECÇÃO LOJAS E FOOTER (FUNDO BRANCO)
   ========================================= */
.stores-section { padding: 6rem 0; background-color: var(--bg-white); color: var(--text-dark); }
.stores-section .section-header p { color: #666; }
.stores-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-top: 3rem; }
.store-card { background-color: #F5F5F5; color: var(--text-dark); border-radius: 15px; padding: 2.5rem 2rem; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 15px 35px rgba(0,0,0,0.05); transition: transform 0.3s ease; border-top: 5px solid var(--brand-orange); }
.store-card:hover { transform: translateY(-10px); }
.store-icon { width: 60px; height: 60px; background-color: rgba(255, 107, 0, 0.1); color: var(--brand-orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 1.5rem; }
.store-info p { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 0.5rem; font-size: 1rem; font-weight: 600; color: #555; }
.store-info p i { color: var(--brand-orange); font-size: 1.2rem; }
.store-actions { display: flex; gap: 10px; margin-top: 1.5rem; width: 100%; }
.btn-store { flex: 1; padding: 12px 0; border-radius: 8px; font-weight: 700; font-size: 0.95rem; transition: all 0.3s ease; text-align: center; }
.btn-call { background-color: var(--brand-orange); color: var(--text-light); box-shadow: 0 4px 10px rgba(255, 107, 0, 0.3); }
.btn-call:hover { background-color: var(--brand-red); transform: translateY(-2px); }
.btn-map { background-color: transparent; color: var(--brand-orange); border: 2px solid var(--brand-orange); }
.btn-map:hover { background-color: var(--brand-orange); color: var(--text-light); }

.site-footer { background-color: var(--bg-white); color: var(--text-dark); padding-top: 5rem; border-top: 1px solid #eee; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; padding-bottom: 4rem; }
.footer-about p { color: #666; margin: 1.5rem 0; line-height: 1.7; max-width: 400px; font-weight: 500; }
.social-links { display: flex; gap: 15px; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background-color: rgba(0,0,0,0.05); color: var(--brand-orange); border-radius: 50%; font-size: 1.2rem; transition: all 0.3s ease; }
.social-links a:hover { background-color: var(--brand-orange); color: var(--text-light); transform: translateY(-3px); }
.footer-links ul { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a { color: #666; transition: color 0.3s ease; font-weight: 600; }
.footer-links a:hover { color: var(--brand-orange); padding-left: 5px; }
.footer-contact p { display: flex; align-items: center; gap: 10px; color: #666; margin-bottom: 1rem; font-weight: 600; }
.footer-contact i { color: var(--brand-orange); font-size: 1.2rem; }
.btn-footer { display: inline-block; margin-top: 1rem; padding: 10px 20px; border: 2px solid var(--brand-orange); color: var(--brand-orange); border-radius: 4px; font-weight: 700; transition: all 0.3s ease; }
.btn-footer:hover { background-color: var(--brand-orange); color: var(--text-light); }
.footer-bottom { background-color: #F5F5F5; padding: 1.5rem 0; text-align: center; }
.footer-bottom p { color: #888; font-size: 0.95rem; font-weight: 500; }

/* =========================================
   FORÇAR HEADLINES PARA PRETO NOS FUNDOS CLAROS
   ========================================= */
.stores-section .section-header h2,
.store-info h3,
.footer-links h3, 
.footer-contact h3 {
    color: #000000 !important; 
}

/* =========================================
   Botão Flutuante (Voltar ao Topo)
   ========================================= */
.btn-back-to-top { position: fixed; bottom: 30px; right: 30px; width: 55px; height: 55px; background-color: var(--brand-orange); color: var(--text-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; z-index: 999; box-shadow: 0 5px 15px var(--glow-orange); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.btn-back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.btn-back-to-top:hover { background-color: var(--brand-blue); box-shadow: 0 0 25px var(--glow-blue); transform: translateY(-5px) scale(1.05); color: var(--text-light); }

/* =========================================
   Responsividade (Mobile & Tablets)
   ========================================= */
.mobile-only { display: none; }
@media (max-width: 992px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: flex; }
    .header-flex { height: 70px; }
    .swiper-slide { padding: 2rem 1.5rem; text-align: center; min-height: 380px; justify-content: center; }
    .slide-content { margin: 0 auto; }
    .btn-slide { width: 100%; font-size: 1rem; }
    .about-grid { grid-template-columns: 1fr; }
    .experience-badge { left: 20px; bottom: 20px; }
    .store-actions { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .footer-about p { margin: 1.5rem auto; }
    .social-links { justify-content: center; }
    .footer-contact p { justify-content: center; }
    .btn-back-to-top { bottom: 20px; right: 20px; width: 45px; height: 45px; font-size: 1.2rem; }
}

/* Ajustes específicos do Logotipo no Footer para não quebrar o layout */
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    text-decoration: none;
}

.footer-brand-img {
    max-height: 45px; /* Tamanho ligeiramente menor e mais elegante para o rodapé */
    width: auto;
    object-fit: contain;
}

.footer-brand-text {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 800;
    color: var(--text-dark); /* Força o texto "CHIQUINHO" a ficar preto no fundo branco */
    /* font-style: italic; */
    letter-spacing: 1px;
}

/* Centralizar o logotipo do rodapé nos telemóveis */
@media (max-width: 992px) {
    .footer-brand {
        display: flex;
        justify-content: center;
        width: 100%;
    }
}