/* ================= Variáveis de Estilo (Tema Laranja e Roxo) ================= */
:root {
    --primary-color: #E85D1B; /* Laranja da logo */
    --primary-hover: #C94C12;
    --secondary-color: #49247A; /* Roxo da logo */
    --secondary-hover: #371A5E;
    --dark-bg: #1A1A1A;
    --light-bg: #F4F4F6;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --whatsapp: #25D366;
    --transition: all 0.3s ease;
}

/* ================= Reset e Base ================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 800; line-height: 1.2; }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.bg-light { background-color: var(--light-bg); }

/* ================= Botões ================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 28px; font-weight: 700; font-family: 'Poppins', sans-serif;
    text-transform: uppercase; letter-spacing: 0.5px; transition: var(--transition);
    cursor: pointer; border: none; border-radius: 4px; font-size: 0.95rem;
}

.btn-primary { background-color: var(--primary-color); color: var(--white); }
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(232, 93, 27, 0.3); }

.btn-outline { background-color: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background-color: var(--white); color: var(--secondary-color); border-color: var(--white); }

.btn-whatsapp { background-color: var(--whatsapp); color: var(--white); gap: 10px; }
.btn-whatsapp:hover { background-color: #1ebe5d; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--secondary-color); text-transform: uppercase; font-size: 0.85rem; transition: var(--transition); margin-top: 15px;}
.link-arrow:hover { gap: 13px; color: var(--primary-color); }

/* ================= Header ================= */
header {
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.98); 
    backdrop-filter: blur(8px); z-index: 1000;
    padding: 12px 0; transition: var(--transition);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    border-bottom: 3px solid var(--secondary-color);
}

header .container { display: flex; justify-content: space-between; align-items: center; }

nav ul { list-style: none; display: flex; gap: 30px; align-items: center; }
nav a { font-weight: 600; color: var(--secondary-color); transition: var(--transition); font-size: 0.95rem; text-transform: uppercase;}
nav a:hover { color: var(--primary-color); }

/* ================= Hero Section ================= */
.hero {
    position: relative; padding: 180px 0 120px;
    background: url('../assets/img/hero-telhas-gourmet.jpg') center/cover no-repeat;
    background-color: var(--secondary-color); /* Fundo fallback roxo */
    min-height: 90vh; display: flex; align-items: center; color: var(--white);
}

.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(73, 36, 122, 0.95) 0%, rgba(73, 36, 122, 0.7) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 750px; }

.badge { display: inline-block; background: var(--primary-color); color: var(--white); padding: 6px 18px; font-weight: 700; font-family: 'Poppins', sans-serif; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 25px; border-radius: 4px; letter-spacing: 1px;}

.hero-content h1 { font-size: 4rem; margin-bottom: 25px; color: var(--white); }
.hero-content h1 span { color: var(--primary-color); }
.hero-content p { font-size: 1.2rem; color: #f0f0f0; margin-bottom: 40px; font-weight: 300; line-height: 1.8;}
.hero-content p strong { color: var(--white); font-weight: 600; }

.hero-actions { display: flex; gap: 20px; }

/* ================= Sobre a Empresa ================= */
.about { padding: 100px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: 2.8rem; color: var(--secondary-color); margin-bottom: 20px; }
.about-text p { margin-bottom: 15px; color: var(--text-light); text-align: justify; font-size: 1.05rem;}

.about-image { position: relative; }
.experience-card { position: absolute; bottom: -30px; right: -30px; background: var(--primary-color); color: var(--white); padding: 30px; border-radius: 8px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.experience-card h3 { font-size: 3.5rem; line-height: 1; margin-bottom: 5px; font-family: 'Montserrat', sans-serif;}
.experience-card p { font-family: 'Poppins', sans-serif; font-weight: 700; text-transform: uppercase; font-size: 0.9rem; line-height: 1.2; margin: 0;}

/* ================= Seções de Produtos ================= */
.products-section { padding: 100px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 3rem; color: var(--secondary-color); margin-bottom: 15px; }
.section-title p { color: var(--text-light); font-size: 1.15rem; max-width: 700px; margin: 0 auto; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }

.product-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: var(--transition); border: 1px solid #eaeaea; text-align: center; padding: 40px 30px;}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); border-bottom: 4px solid var(--primary-color); }

.product-icon-wrap { width: 80px; height: 80px; background: var(--light-bg); border-radius: 50%; display: flex; justify-content: center; align-items: center; margin: 0 auto 20px; color: var(--primary-color); font-size: 2rem; transition: var(--transition);}
.product-card:hover .product-icon-wrap { background: var(--primary-color); color: var(--white); transform: scale(1.1);}

.product-info h3 { font-size: 1.4rem; color: var(--secondary-color); margin-bottom: 15px; }
.product-info p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 20px; min-height: 70px;}

/* ================= Banner Troca de Telhado ================= */
.service-banner { margin-top: 60px; background: var(--secondary-color); color: var(--white); border-radius: 8px; padding: 50px; position: relative; overflow: hidden; text-align: center;}
.service-banner::before { content: ''; position: absolute; top: 0; left: 0; width: 6px; height: 100%; background: var(--primary-color); }
.banner-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto;}
.banner-content h3 { font-size: 2.5rem; margin-bottom: 15px; }
.banner-content h3 span { color: var(--primary-color); }
.banner-content p { font-size: 1.1rem; color: #e6e6e6; margin-bottom: 30px; }

/* ================= Área de Cobertura ================= */
.coverage { padding: 80px 0; text-align: center; background-color: var(--primary-color); color: var(--white); }
.coverage-icon i { font-size: 3rem; margin-bottom: 20px; }
.coverage-content h2 { font-size: 2.5rem; margin-bottom: 15px; color: var(--white); }
.coverage-content p { color: rgba(255,255,255,0.9); margin-bottom: 30px; font-size: 1.1rem;}

.city-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; max-width: 1000px; margin: 0 auto; }
.city-list li { background: rgba(255,255,255,0.15); padding: 10px 20px; border-radius: 50px; font-size: 0.95rem; font-weight: 600; transition: var(--transition); border: 1px solid rgba(255,255,255,0.3);}
.city-list li:hover { background: var(--white); color: var(--primary-color); transform: translateY(-3px);}

/* ================= Footer ================= */
footer { background-color: var(--secondary-color); color: #ccc; padding: 70px 0 30px; border-top: 5px solid var(--primary-color); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 50px; margin-bottom: 50px; }

.about-footer p { margin-bottom: 20px; font-size: 0.95rem; }

.footer-col h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 25px; font-family: 'Poppins', sans-serif; text-transform: uppercase; letter-spacing: 1px;}
.footer-col p { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 15px; font-size: 0.95rem; }
.footer-col i { color: var(--primary-color); margin-top: 5px; font-size: 1.2rem; }
.footer-col a:hover { color: var(--primary-color); transition: var(--transition); }

.social-links { display: flex; gap: 15px; }
.social-links a { width: 42px; height: 42px; background: rgba(255,255,255,0.1); display: inline-flex; justify-content: center; align-items: center; color: var(--white); border-radius: 4px; transition: var(--transition); font-size: 1.1rem;}
.social-links a:hover { background: var(--primary-color); transform: translateY(-3px); }

.copyright { text-align: center; padding-top: 25px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; color: #999; }

/* ================= WhatsApp Flutuante ================= */
.float-wa { position: fixed; bottom: 30px; right: 30px; background-color: var(--whatsapp); color: white; width: 65px; height: 65px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 35px; box-shadow: 2px 2px 15px rgba(0,0,0,0.3); z-index: 100; transition: var(--transition); animation: pulse 2s infinite; }
.float-wa:hover { transform: scale(1.1); }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ================= Animações e Scroll ================= */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ================= Responsivo ================= */
@media (max-width: 991px) {
    .about-grid { grid-template-columns: 1fr; }
    .experience-card { right: 20px; bottom: -20px; padding: 20px; }
    .hero-content h1 { font-size: 3rem; }
    nav ul { display: none; }
    header .btn-primary { display: none; }
}
@media (max-width: 768px) {
    .hero { padding-top: 130px; min-height: 80vh; }
    .hero-actions { flex-direction: column; }
    .section-title h2 { font-size: 2.2rem; }
    .banner-content h3 { font-size: 1.8rem; }
    .city-list { justify-content: flex-start; }
}