/* style.css - V7.0 (Logo Grande & Mobile Ajustado) */

/* --- 1. BASE --- */
body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background-color: #f4f7f6;
    margin: 0; padding: 0;
    overflow-x: hidden;
}

@media (max-width: 991px) { body { padding-bottom: 80px; } }

/* --- 2. CORES DINÂMICAS --- */
:root {
    --primary: #0d6efd; 
    --primary-dark: #0a58ca;
}
/* Estas variáveis são sobrescritas pelo index.php com a cor Dourada */

.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.btn-primary {
    background-color: var(--primary); border-color: var(--primary);
    padding: 12px 25px; font-weight: 600; border-radius: 50px;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: var(--primary-dark); transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* --- 3. NAVBAR --- */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 8px 0; /* Navbar ligeiramente mais compacta no padding */
}
.nav-link { font-weight: 600; color: #555 !important; font-size: 0.95rem; }
.nav-link:hover { color: var(--primary) !important; }

/* LOGO GRANDE EM DESKTOP */
.logo-img { 
    height: 85px; /* Aumentado de 60px para 85px */
    width: auto; 
    transition: all 0.3s; 
}
@media (max-width: 991px) { 
    .logo-img { height: 45px; } /* Mantém pequeno no telemóvel */
}

/* --- 4. HERO SECTION --- */
.hero-full-screen {
    position: relative; width: 100%; height: 80vh; min-height: 550px;
    margin-top: 100px; /* Mais espaço topo por causa do logo maior */
    background: #000; overflow: hidden;
}

.hero-carousel, .hero-carousel .carousel-inner, .hero-carousel .carousel-item { height: 100%; width: 100%; }
.hero-carousel img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transform: scale(1.05); }

.hero-content-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center;
    z-index: 10; padding: 20px;
}

.hero-title {
    font-size: 3.5rem; font-weight: 800; color: white;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6); margin-bottom: 15px; letter-spacing: -1px;
}
.hero-subtitle {
    font-size: 1.25rem; color: #eee; margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6); max-width: 700px; font-weight: 400;
}

/* AJUSTES MOBILE DO TEXTO */
@media (max-width: 768px) {
    .hero-full-screen { height: 65vh; min-height: 450px; margin-top: 65px; }
    
    /* Título mais pequeno no telemóvel */
    .hero-title { 
        font-size: 1.7rem; /* Reduzido de 2.2rem */
        line-height: 1.2; 
        padding: 0 10px;
    }
    .hero-subtitle { font-size: 0.95rem; padding: 0 15px; margin-bottom: 20px; }
    .btn-lg { padding: 8px 20px; font-size: 0.85rem; }
}

/* --- 5. SECÇÕES GERAIS --- */
.section-padding { padding: 80px 0; }
@media (max-width: 768px) { .section-padding { padding: 50px 0; } }

.hover-card {
    background: #fff; border: 1px solid #eee; border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s; height: 100%;
}
.hover-card:hover {
    transform: translateY(-5px); box-shadow: 0 1rem 3rem rgba(0,0,0,0.08) !important; border-color: var(--primary);
}
.icon-square {
    width: 65px; height: 65px; border-radius: 14px;
    background-color: rgba(0,0,0,0.05); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; margin-bottom: 20px;
}

/* --- 6. CONTACTOS & REDES --- */
.google-card { border-left: 4px solid #ea4335; background: #fff; }

.contact-box { border-radius: 20px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.contact-info-panel { padding: 50px; background: var(--primary); color: white; }
.contact-form-panel { padding: 50px; background: white; }
@media (max-width: 768px) { .contact-info-panel, .contact-form-panel { padding: 30px; } }

/* Botões Redes Sociais */
.social-btn {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.2); color: white;
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none; margin-right: 10px; transition: all 0.3s;
}
.social-btn:hover { background: white; color: var(--primary); transform: scale(1.1); }

/* --- 7. BARRA MÓVEL --- */
.mobile-bottom-nav { display: none; }
@media (max-width: 991px) {
    .mobile-bottom-nav {
        display: flex; justify-content: space-around; align-items: center;
        position: fixed; bottom: 0; left: 0; width: 100%; height: 75px;
        background: #fff; z-index: 2100; border-top: 1px solid rgba(0,0,0,0.08);
        box-shadow: 0 -5px 20px rgba(0,0,0,0.05); padding-bottom: 5px;
    }
    .nav-item-mobile {
        text-align: center; text-decoration: none; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #999; height: 100%;
    }
    .nav-item-mobile i { font-size: 22px; margin-bottom: 4px; background: rgba(0,0,0,0.03); padding: 8px; border-radius: 12px; transition: all 0.2s; }
    .nav-item-mobile span { font-size: 10px; font-weight: 600; letter-spacing: 0.5px; }
    .nav-item-mobile:active, .nav-item-mobile:hover { color: var(--primary); }
    .nav-item-mobile:active i { background: rgba(0,0,0,0.1); transform: scale(0.95); }
    .nav-item-mobile.highlight i { color: #ea4335; }
}

/* --- 8. CHAT & FOOTER --- */
.chat-float {
    position: fixed; bottom: 90px; right: 20px;
    background-color: var(--primary); color: white;
    width: 55px; height: 55px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 2000; cursor: pointer; border: none;
}
.chat-box {
    display: none; flex-direction: column; position: fixed; bottom: 100px; right: 30px;
    width: 360px; height: 550px; background: white; border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2); z-index: 2000; border: 1px solid #eee; overflow: hidden;
}
.chat-box.active { display: flex; }
.chat-header { background: var(--primary); color: white; padding: 15px; font-weight: bold; display: flex; justify-content: space-between; }
.chat-iframe { flex-grow: 1; width: 100%; border: none; }

@media (max-width: 991px) {
    .chat-box { right: 0; bottom: 75px; width: 100%; height: 70%; border-radius: 20px 20px 0 0; }
    .chat-float { display: none !important; }
}
.form-control { padding: 12px 15px; border-radius: 10px; border: 1px solid #ddd; }
.form-control:focus { box-shadow: 0 0 0 3px rgba(0,0,0,0.1); border-color: var(--primary); }