/* RBvidros - Estilo Refinado 2026 */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #2E8B57;
    --primary-dark: #1B4D3E;
    --black: #000000;
    --white: #FFFFFF;
    --bg: #F9F8F1;
    --text: #333333;
    --gray-light: #f4f4f4;
    --font-main: 'Inter', sans-serif;
    --font-title: 'Poppins', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background-color: var(--white);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Tipografia e Hierarquia */
h1, h2, h3 { font-family: var(--font-title); color: var(--black); line-height: 1.2; }
.section-tag { color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; display: block; margin-bottom: 15px; }
.section-title { font-size: 2.8rem; margin-bottom: 25px; }
.section-sub { font-size: 1.15rem; color: #666; margin-bottom: 40px; }

/* Botões */
.btn-primary { background: var(--primary); color: var(--white); padding: 14px 28px; border-radius: 8px; text-decoration: none; font-weight: 600; display: inline-block; transition: 0.3s; border: none; cursor: pointer; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-secondary { background: var(--primary); color: var(--white); padding: 14px 28px; border-radius: 8px; text-decoration: none; font-weight: 600; display: inline-block; transition: 0.3s; border: none; cursor: pointer; }
.btn-secondary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-block { display: block; text-align: center; }

/* Header */
header { background: rgba(255,255,255,0.95); padding: 20px 0; position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0,0,0,0.05); }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 80px; width: auto; }
.nav-links { display: flex; list-style: none; gap: 35px; }
.nav-links a { text-decoration: none; color: var(--black); font-weight: 500; font-size: 0.95rem; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

/* Hero */
.hero { 
    padding: 140px 0; 
    background: linear-gradient(rgba(249,248,241,0.9), rgba(249,248,241,0.9)), url('images/hero-bg.jpeg') no-repeat center center/cover; 
    color: var(--black);
    text-align: left;
}
.hero .section-tag { color: var(--primary); font-weight: 700; }
.hero h1 { font-size: 3.8rem; color: var(--black); margin-bottom: 25px; max-width: 800px; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 1.3rem; margin-bottom: 40px; max-width: 650px; color: var(--black); }
.hero-btns { display: flex; gap: 20px; margin-bottom: 60px; }
.hero-stats { display: flex; gap: 50px; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 40px; }
.stat-item strong { display: block; font-size: 2rem; color: var(--black); }
.stat-item span { font-size: 0.9rem; color: var(--black); opacity: 0.8; }

/* Seções Gerais */
section { padding: 120px 0; }
.section-header { text-align: center; max-width: 800px; margin: 0 auto 80px; }

/* Sobre */
.about { background-color: var(--gray-light); }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 60px; }
.about-content p { margin-bottom: 25px; font-size: 1.1rem; color: #444; }
.about-features { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 40px; }
.about-features li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1.05rem; }
.about-features li span { color: var(--primary); font-size: 1.3rem; }

/* Serviços */
.services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.service-card { padding: 45px; background: var(--bg); border-radius: 20px; position: relative; transition: 0.4s; border: 1px solid rgba(0,0,0,0.03); }
.service-card:hover { transform: translateY(-12px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); }
.service-num { position: absolute; top: 30px; right: 40px; font-size: 3.5rem; font-weight: 900; color: rgba(46, 139, 87, 0.08); }
.service-img-container { width: 100%; height: 220px; background: var(--white); border-radius: 12px; margin-bottom: 30px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.service-img-container img { width: 100%; height: 100%; object-fit: cover; }
.service-card h3 { margin-bottom: 18px; font-size: 1.6rem; }
.service-card p { margin-bottom: 25px; color: #555; font-size: 1rem; }
.service-link { text-decoration: none; color: var(--primary); font-weight: 700; font-size: 0.95rem; }

/* Galeria */
.projects { background-color: var(--bg); }
.project-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.gallery-item { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 12px; background: var(--white); box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.gallery-item:hover img { transform: scale(1.08); }

/* Pagamentos */
.pagamentos { background: var(--white); padding: 60px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.pag-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px; }
.pag-title { font-family: var(--font-title); font-size: 1.4rem; font-weight: 600; color: var(--black); }
.pag-subtitle { font-size: 0.95rem; color: #777; margin-top: 4px; }
.pag-icons { display: flex; gap: 30px; flex-wrap: wrap; }
.pag-icon { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1rem; color: #444; border: 1px solid #eee; padding: 10px 20px; border-radius: 50px; }
.pag-dot { width: 10px; height: 10px; border-radius: 50%; }
.pag-dot.pix { background: #32bcad; }
.pag-dot.card { background: var(--primary); }
.pag-dot.cash { background: #e67e22; }

/* Atendimento */
.atendimento { background: var(--white); }
.area-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 100px; align-items: start; }
.area-list { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 40px; margin-top: 35px; }
.area-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.area-dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; opacity: 0.5; }
.area-name { font-weight: 500; color: #444; font-size: 1.05rem; }

.horario-box { background: var(--primary); color: var(--white); padding: 45px; border-radius: 20px; margin-bottom: 30px; }
.horario-title { font-family: var(--font-title); font-size: 1.3rem; font-weight: 600; margin-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 15px; }
.horario-row { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 1.05rem; }
.horario-time.closed { color: rgba(255,255,255,0.4); }

.contato-info { display: flex; flex-direction: column; gap: 15px; padding-left: 10px; }
.contato-item { display: flex; align-items: center; gap: 15px; font-size: 1.1rem; }
.contato-icon { width: 24px; color: var(--primary); }
.contato-item a { color: inherit; text-decoration: none; font-weight: 600; }

/* Contato */
.contact { background-color: var(--gray-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.contact-detail-item { margin-bottom: 15px; font-size: 1.15rem; color: #444; }
.contact-detail-item strong { color: var(--black); font-size: 1.4rem; display: block; margin-bottom: 5px; }
.whatsapp-cta-btn { margin-top: 20px; }

.contact-card { background: var(--white); padding: 50px; border-radius: 24px; box-shadow: 0 15px 50px rgba(0,0,0,0.05); }
.contact-card h3 { font-size: 1.8rem; margin-bottom: 20px; }
.contact-card p { color: #666; margin-bottom: 30px; }
.contact-tips { background: #f8f9fa; padding: 25px; border-radius: 15px; margin-bottom: 35px; border-left: 4px solid var(--primary); }
.contact-tips h4 { font-size: 1.1rem; margin-bottom: 12px; }
.contact-tips ul { list-style: none; }
.contact-tips li { margin-bottom: 8px; font-size: 0.95rem; color: #555; }

/* Footer */
footer { background: #0a0a0a; color: #999; padding: 100px 0 50px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 60px; align-items: center; }
.footer-brand img { height: 70px; width: auto; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-legal p { font-size: 0.85rem; margin-bottom: 8px; }
.footer-phone p { font-size: 1.4rem; font-weight: 700; color: var(--white); }

/* Floating WhatsApp */
.floating-whatsapp { position: fixed; bottom: 40px; right: 40px; width: 65px; height: 65px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 25px rgba(37,211,102,0.3); z-index: 1001; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.floating-whatsapp:hover { transform: scale(1.1) rotate(5deg); }
.floating-whatsapp svg { width: 38px; height: 38px; }

/* Responsividade */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .area-grid, .contact-grid { grid-template-columns: 1fr; gap: 60px; }
    .nav-links { display: none; }
    .section-title { font-size: 2.2rem; }
    .hero-stats { flex-wrap: wrap; gap: 30px; }
}
@media (max-width: 600px) {
    .hero h1 { font-size: 2.2rem; }
    .hero-btns { flex-direction: column; }
    .pag-inner { justify-content: center; text-align: center; }
    .pag-icons { justify-content: center; }
    .area-list { grid-template-columns: 1fr; }
}
