/* ================= Variáveis de Estilo (Tema Industrial) ================= */
:root {
    --primary-color: #d32f2f; /* Vermelho forte / Laranja queimado */
    --primary-hover: #b71c1c;
    --dark-bg: #121212;
    --darker-bg: #0a0a0a;
    --light-bg: #f5f5f5;
    --text-dark: #333333;
    --text-light: #e0e0e0;
    --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: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--light-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Teko', sans-serif; text-transform: uppercase; line-height: 1.1; }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================= Botões ================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    border-radius: 4px; /* Bordas menos arredondadas para ar industrial */
}

.btn-primary { background-color: var(--primary-color); color: var(--white); }
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4); }

.btn-outline { background-color: transparent; border: 2px solid var(--primary-color); color: var(--primary-color); }
.btn-outline:hover { background-color: var(--primary-color); color: var(--white); }

.btn-whatsapp { background-color: var(--whatsapp); color: var(--white); gap: 10px; border-radius: 4px; }
.btn-whatsapp:hover { background-color: #1ebe5d; transform: translateY(-2px); }

.btn-large { padding: 18px 40px; font-size: 1.1rem; }

/* ================= Títulos de Seção ================= */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 3.5rem; color: var(--dark-bg); margin-bottom: 10px; position: relative; display: inline-block; }
.section-title h2::after { content: ''; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); width: 60px; height: 4px; background-color: var(--primary-color); }
.section-title p { color: #666; font-size: 1.1rem; font-weight: 400; }

/* ================= Header ================= */
header {
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(18, 18, 18, 0.95); /* Header escuro */
    backdrop-filter: blur(8px);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    border-bottom: 2px solid var(--primary-color);
}

header .container { display: flex; justify-content: space-between; align-items: center; }

.logo img { height: 60px; object-fit: contain; }

nav ul { list-style: none; display: flex; gap: 30px; align-items: center; }
nav a { font-weight: 500; color: var(--white); transition: var(--transition); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; }
nav a:hover { color: var(--primary-color); }

/* ================= Hero Section ================= */
.hero {
    position: relative;
    padding: 180px 0 120px;
    background: url('../assets/img/hero-bg.jpg') center/cover no-repeat fixed; /* Adicione foto de oficina escura/fagulhas */
    min-height: 100vh;
    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(10,10,10,0.95) 0%, rgba(10,10,10,0.7) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 650px; }

.badge { display: inline-block; background: rgba(255,255,255,0.1); border: 1px solid var(--primary-color); color: var(--primary-color); padding: 5px 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; margin-bottom: 20px; border-radius: 3px; }

.hero-content h1 { font-size: 5.5rem; margin-bottom: 20px; color: var(--white); text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero-content p { font-size: 1.2rem; color: var(--text-light); margin-bottom: 40px; font-weight: 300; }
.hero-content p strong { color: var(--white); font-weight: 700; }

.hero-actions { display: flex; gap: 20px; margin-bottom: 40px; }

.hero-features { display: flex; gap: 25px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; }
.hero-features div { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 400; color: #ccc; }
.hero-features i { color: var(--primary-color); font-size: 1.2rem; }

/* ================= Sobre a Retífica ================= */
.about { padding: 100px 0; background-color: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: 4rem; color: var(--dark-bg); margin-bottom: 25px; }
.about-text p { margin-bottom: 20px; color: #555; text-align: justify; font-size: 1.05rem; }
.about-text .btn { margin-top: 15px; }

.about-image { position: relative; }
.about-image img { border-radius: 5px; box-shadow: 15px 15px 0px var(--primary-color); }
.experience-badge { position: absolute; bottom: -30px; left: -30px; background: var(--dark-bg); color: var(--white); padding: 25px; border-radius: 5px; display: flex; align-items: center; gap: 15px; border-bottom: 5px solid var(--primary-color); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.experience-badge .number { font-family: 'Teko', sans-serif; font-size: 4.5rem; line-height: 1; color: var(--primary-color); }
.experience-badge .text { font-size: 1rem; font-weight: 700; text-transform: uppercase; line-height: 1.2; }

/* ================= Serviços ================= */
.services { padding: 100px 0; background-color: var(--light-bg); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }

.service-card { background: var(--white); padding: 40px 30px; border-radius: 5px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: var(--transition); border-bottom: 3px solid transparent; }
.service-card:hover { transform: translateY(-10px); border-bottom-color: var(--primary-color); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }

.service-icon { font-size: 3rem; color: var(--primary-color); margin-bottom: 20px; }
.service-card h3 { font-size: 2.2rem; color: var(--dark-bg); margin-bottom: 15px; }
.service-card p { color: #666; font-size: 0.95rem; margin-bottom: 25px; }

.service-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--dark-bg); text-transform: uppercase; font-size: 0.85rem; transition: var(--transition); }
.service-link:hover { color: var(--primary-color); gap: 12px; }

/* ================= Logística (Banner Escuro) ================= */
.logistics { padding: 100px 0; background: url('../assets/img/fazenda-bg.jpg') center/cover fixed; position: relative; color: var(--white); text-align: center; }
.logistics::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(18,18,18,0.85); }
.logistics-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.logistics-content h2 { font-size: 4rem; margin-bottom: 20px; }
.logistics-content h2 span { color: var(--primary-color); }
.logistics-content p { font-size: 1.2rem; color: #ccc; margin-bottom: 40px; }

/* ================= Footer ================= */
footer { background-color: var(--darker-bg); color: #999; 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; }

.footer-logo { max-width: 200px; margin-bottom: 20px; filter: grayscale(100%) brightness(200%); }
.about-footer p { margin-bottom: 20px; }

.footer-col h3 { color: var(--white); font-size: 1.8rem; margin-bottom: 25px; 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: 4px; font-size: 1.2rem; }

.social-links { display: flex; gap: 15px; }
.social-links a { width: 45px; height: 45px; background: rgba(255,255,255,0.05); display: flex; justify-content: center; align-items: center; color: var(--white); border-radius: 3px; transition: var(--transition); }
.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.05); font-size: 0.85rem; color: #666; }

/* ================= WhatsApp Flutuante ================= */
.float-wa { position: fixed; bottom: 30px; right: 30px; background-color: var(--whatsapp); color: white; width: 65px; height: 65px; border-radius: 50px; 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.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ================= Responsivo ================= */
@media (max-width: 991px) {
    .about-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 4rem; }
    .experience-badge { left: 20px; bottom: -20px; }
    nav ul { display: none; /* Menu Hamburguer seria o ideal no mobile real */ }
    header .btn-primary { display: none; } /* Oculta botão do header no celular para não espremer a logo */
}
@media (max-width: 768px) {
    .hero { padding-top: 140px; }
    .hero-features { flex-direction: column; align-items: flex-start; gap: 15px; }
    .hero-actions { flex-direction: column; }
    .hero-content h1 { font-size: 3.5rem; }
    .logistics-content h2 { font-size: 3rem; }
}