css/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #1a252f; /* Azul escuro elegante */
    --accent-color: #bfa15f;  /* Dourado institucional de óticas */
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.section {
    padding: 70px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

/* CABEÇALHO */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo-img {
    max-height: 50px; /* Garante que o logo mantenha uma proporção elegante */
    width: auto;
    display: block;
}

.nav a {
    text-decoration: none;
    color: var(--primary-color);
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--accent-color);
}

.nav .btn-contato {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 4px;
}

.nav .btn-contato:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

/* BANNER PRINCIPAL (HERO) */
.hero {
    background-image: url('https://unsplash.com'); 
    background-size: cover;
    background-position: center;
    height: 65vh;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 37, 47, 0.75);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 750px;
}

.hero-content h2 {
    font-size: 2.6rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* BOTÕES */
.btn-primary {
    background-color: #25d366; /* Verde Oficial do WhatsApp */
    color: var(--white);
    text-decoration: none;
    padding: 15px 32px;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    transition: transform 0.2s, background-color 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #20ba56;
}

/* GRID DE CATEGORIAS (2 colunas simétricas pós-remoção das lentes) */
.grid-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border-top: 4px solid var(--accent-color);
}

.icon-card {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* SOBRE NÓS */
.about-content {
    max-width: 850px;
    text-align: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: justify;
}

/* CONTATO E LOJAS DUPLAS */
.grid-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.contact-info {
    background: var(--light-bg);
    padding: 35px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.contact-info h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 12px;
}

/* BLOCO DE AÇÃO INFERIOR */
.center-action {
    text-align: center;
    max-width: 600px;
    margin: 50px auto 0 auto;
    padding-top: 30px;
    border-top: 1px solid #eef0f2;
}

.center-action h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.center-action p {
    margin-bottom: 20px;
}

.btn-whatsapp-block {
    background-color: #25d366;
    color: var(--white);
    text-decoration: none;
    display: inline-block;
    padding: 14px 30px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-whatsapp-block:hover {
    background-color: #20ba56;
    transform: translateY(-2px);
}

/* RODAPÉ */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 3px solid var(--accent-color);
}

/* WHATSAPP FLUTUANTE */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 4px 10px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .header class .container {
        flex-direction: column;
        gap: 15px;
    }
    .header {
        padding: 20px 0;
    }
    .nav a {
        margin: 0 8px;
        font-size: 0.95rem;
    }
    .hero h2 {
        font-size: 1.9rem;
    }
    .section {
        padding: 50px 0;
    }
}