/* Header */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
    padding: 20px 0;
    background: transparent;
}

.header.scrolled {
    background: rgba(242, 235, 220, 0.98);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
    color: var(--white);
    transition: var(--transition);
}

.header.scrolled .nav-links a {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.header.scrolled .btn-header {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Hero */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #111, #333);
    z-index: -2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-image: url('../img/slider-1.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    width: 100%;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 20px;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.highlight-text {
    font-size: 1.5rem !important;
    font-weight: 600;
    color: var(--primary-color) !important;
    margin: 30px 0 15px !important;
}

.signature {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color) !important;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-links h4, .footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(242, 235, 220, 0.1);
    transition: var(--transition);
    color: var(--white);
}

.social-icons a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.social-icons a[title="WhatsApp"]:hover {
    background: var(--whatsapp-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(242, 235, 220, 0.1);
    opacity: 0.5;
    font-size: 0.9rem;
}

/* =========================================
   MOBILE RESPONSIVENESS
========================================= */
@media (max-width: 991px) {
    /* Ajustes solicitados */
    .logo-img { height: 28px; }
    
    .footer-brand { 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
    }

    .about-grid { display: flex; flex-direction: column; gap: 40px; }
    
    .hero-title { font-size: 2.3rem; margin-bottom: 15px; }
    
    /* Afastando a legenda do botão e diminuindo a fonte */
    .hero-subtitle { 
        font-size: 0.95rem; 
        margin-bottom: 2.5rem; 
        padding: 0 15px; 
        line-height: 1.4;
    }
    
    .header-content { flex-direction: column; gap: 15px; }
    .nav-links { display: none; }
    
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .social-icons { justify-content: center; }
}

/* ===== Smartphone pequeno (<= 480px) ===== */
@media (max-width: 480px) {
    .header-content { flex-direction: row; justify-content: space-between; align-items: center; gap: 0; }
    .logo-img { height: 24px; width: auto; } /* Redução extra para telas muito pequenas */
    .btn-header { padding: 9px 14px; font-size: 0.72rem; white-space: nowrap; }
    .hero { min-height: 88vh; }
    .hero-title { font-size: 1.95rem; line-height: 1.15; letter-spacing: -0.5px; }
    .hero-subtitle { font-size: 0.9rem; }
    .section-title { font-size: 1.6rem; }
    .about-text p { font-size: 0.98rem; }
    .footer-content { gap: 28px; }
    .footer-brand p { font-size: 0.95rem; }

    /* About agora em coluna única (imagem removida), centraliza e limita largura de leitura */
    .about-grid { grid-template-columns: 1fr; }
    .about-text { max-width: 760px; margin: 0 auto; }
}