/* =====================================================
   RG POLIMENTOS - Estilo Clean & Professional
   Versão: 1.0 - Simplificada 2026
   ===================================================== */

/* 🎨 VARIÁVEIS */
:root {
    --white: #FFFFFF;
    --cream: #F9F7F2;
    --gold: #C9A961;
    --gold-dark: #A68A4D;
    --text: #2D2D2D;
    --text-light: #666666;
    --border: #E5E5E5;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.6;
}

/* Tipografia */
h1, h2, h3, h4, h5 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }

p { color: var(--text-light); margin-bottom: 1rem; }

/* 🧭 NAVBAR */
.navbar {
    background: var(--white) !important;
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.navbar-brand img { height: 40px; }

.nav-link {
    color: var(--text) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover { color: var(--gold) !important; }

/* ✨ HERO */
.hero {
    background:url('../imagens/externo.jfif');
    background-size: cover;
    background-position: center;
    padding: 160px 20px 100px;
    text-align: center;
    margin-top: 70px;
}

.hero h1 span { color: var(--gold); }

.hero .lead {
    color: #FFFFFF;
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

/* BOTÕES */
.btn-gold {
    background: var(--gold);
    color: var(--white) !important;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-gold:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

.btn-outline-gold {
    color: var(--gold) !important;
    border: 2px solid var(--gold) !important;
    background: transparent;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 500;
    transition: 0.3s;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--white) !important;
}

/* DIVISÓRIA */
.divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 1rem auto 2rem;
}

/* SEÇÕES */
.section-title { text-align: center; margin-bottom: 3rem; }

.bg-cream { background: var(--cream) !important; }

/* CARDS DE SERVIÇO */
.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    height: 100%;
    border: 1px solid var(--border);
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    transition: 0.3s;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.5rem;
}

.service-card h5 { font-size: 1.2rem; margin-bottom: 12px; }

.service-card p { font-size: 0.9rem; margin: 0; }

/* GALERIA */
.galeria-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.galeria-img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* CONTATO */
.contact-box {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    border-top: 4px solid var(--gold);
}

.contact-box .btn-gold { margin: 0.5rem; }

/* INFO EMPRESA */
.company-info {
    background: var(--text);
    color: var(--white);
    padding: 2.5rem 0;
    text-align: center;
}

.company-info h5 {
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.company-info p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.company-info i { color: var(--gold); }

.company-info a { color: var(--gold); }

/* FOOTER */
footer {
    background: #1a1a1a;
    color: rgba(255,255,255,0.6);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: white !important;
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37,211,102,0.6);
}

.whatsapp-float i { font-size: 1.3rem; }

/* RESPONSIVO */
@media (max-width: 768px) {
    .hero { padding: 140px 15px 80px; }
    .service-card { padding: 24px 20px; }
    .galeria-img { height: 200px; }
    .contact-box { padding: 2rem 1.5rem; }
    .whatsapp-float span { display: none; }
    .btn-gold, .btn-outline-gold { width: 100%; justify-content: center; }
}

/* FOCUS ACESSIBILIDADE */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

section { scroll-margin-top: 80px; }