/* ============================================
   VARIÁVEIS GLOBAIS
   ============================================ */
:root {
    /* Cores Principais */
    --primary-red: #ff3034;
    --primary-green: #007040;
    --primary-gray: #626568;
    --primary-white: #fefefe;
    
    /* Cores Derivadas */
    --primary: var(--primary-red);
    --secondary: var(--primary-green);
    --text-primary: var(--primary-gray);
    --text-secondary: #555555;
    --light-bg: #f8f8f8;
    --white: var(--primary-white);
    --footer-bg: #f5f5f5;
    --border: #e0e0e0;
    
    /* Cores Sociais */
    --facebook: #1877F2;
    --instagram: #E1306C;
    --whatsapp: #25D366;
    
    /* Variáveis de Layout */
    --header-height: 100px;
    --border-radius: 8px;
    --box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

/* ============================================
   RESET E CONFIGURAÇÕES BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   UTILITÁRIOS
   ============================================ */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 600;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
}

.highlight {
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

section {
    padding: 3rem 0 1rem 0;
    margin-top: 4rem ;
}

/* ============================================
   BARRA DE REDES SOCIAIS
   ============================================ */
.social-sidebar {
    position: fixed;
    left: 0;
    top: 66%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    overflow: hidden;
    background-color: var(--primary);
}

.social-btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-btn.facebook:hover {
    background-color: var(--facebook);
}

.social-btn.instagram:hover {
    background-color: var(--instagram);
}

.social-btn.whatsapp:hover {
    background-color: var(--whatsapp);
}

/* ============================================
   HEADER E NAVEGAÇÃO
   ============================================ */
.header {
    background-color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 1rem;
}

.logo-img img {
    height: 70px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo-img img:hover {
    opacity: 0.9;
}

.nav-links {
    display: flex;
    gap: 10px;
}

.nav-link {
    color: var(--text-primary);
    padding: 12px 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

.btn-order {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary);
}

.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 48, 52, 0.3);
    background-color: var(--primary);
}

.btn-order i {
    font-size: 1.5rem;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    padding: 5px;
    transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
    color: var(--primary);
}

/* ============================================
   CARROSSEL DE IMAGENS
   ============================================ */
.image-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 0;
    padding-top: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-wrapper {
    display: flex;
    width: 500%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 20%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Botões de navegação do carrossel */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    border: 2px solid var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background-color: var(--primary);
    color: var(--white);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Indicadores do carrossel */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--white);
    padding: 0;
}

.indicator.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

.indicator:hover {
    background-color: var(--white);
}

/* ============================================
   MENU MOBILE
   ============================================ */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background-color: var(--white);
    z-index: 9999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    border-left: 2px solid var(--primary);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    padding: 25px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--light-bg);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-sub {
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 500;
}

.mobile-menu-close {
    font-size: 1.5rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.mobile-menu-close:hover {
    color: var(--primary);
}

.mobile-nav-links {
    padding: 20px 0;
    flex-grow: 1;
}

.mobile-nav-link {
    display: block;
    padding: 16px 25px;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background-color: var(--light-bg);
    color: var(--primary);
    border-left-color: var(--primary);
}

.mobile-menu-footer {
    padding: 25px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-btn-order,
.mobile-location {
    text-align: center;
    padding: 14px;
    border-radius: var(--border-radius);
}

/* ============================================
   SEÇÃO PRODUTOS
   ============================================ */
.products {
    background-color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
    box-shadow: var(--box-shadow);
    position: relative;
}

.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 48, 52, 0.15);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary);
    border: 2px solid white;
    color: var(--white);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.product-image {
    height: 150px;
    padding-left: 25px;
    display: flex;
    align-items: center;
    justify-content: left;
    color: var(--white);
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary), rgba(255, 48, 52, 0.9));
}

.product-info {
    padding: 25px;
}

.product-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-primary);
    text-align: center;
    font-weight: 600;
}

.product-description {
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
}

/* ============================================
   SEÇÃO SERVIÇOS
   ============================================ */
.services {
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 48, 52, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), rgba(255, 48, 52, 0.9));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 2rem;
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   SEÇÃO SOBRE
   ============================================ */
.about {
    background-color: var(--white);
}

.about-content {
    margin-bottom: 60px;
}

.about-text {
    text-align: center;
}

.about-description {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.7;
    padding-left: 20px;
    border-left: 3px solid var(--primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 48, 52, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), rgba(255, 48, 52, 0.9));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.8rem;
}

.feature-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 600;
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============================================
   SEÇÃO CONTATO
   ============================================ */
.contact {
    background-color: var(--light-bg);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.method-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.method-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 48, 52, 0.1);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), rgba(255, 48, 52, 0.9));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 2rem;
}

.method-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

.method-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 48, 52, 0.3);
    background-color: var(--primary);
}

.contact-info {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    margin-top: 40px;
    border: 1px solid var(--border);
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.contact-item i {
    color: var(--primary);
    font-size: 1.5rem;
}

.anvisa {
    align-items: center;
    justify-items: center;
    justify-self: center;
    padding: 1rem;
    margin-top: 2rem;
    border: 1px solid var(--borda);
    border-radius: 10px;
    width: auto;
    gap: 1rem;
    text-align: center;
}

.anvisa img {
    width: 150px;
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* ============================================
   RODAPÉ
   ============================================ */
.footer {
    background-color: var(--footer-bg);
    padding: 30px 0;
    border-top: 2px solid var(--primary);
    text-align: center;
}

.footer p {
    font-size: 1rem;
    line-height: 1.8;
}

.footer a {
    font-weight: 500;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

/* Tablet (768px - 992px) */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .products-grid,
    .services-grid,
    .features-grid,
    .contact-methods {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .social-sidebar {
        display: none;
    }
    
    .logo-img img {
        height: 60px;
    }
    
    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Tablet Pequeno (max-width: 768px) */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .service-card,
    .product-card,
    .feature-card,
    .method-card {
        padding: 30px 20px;
    }
    
    .service-icon,
    .method-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .product-image {
        height: 130px;
        font-size: 3rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .prev-btn {
        left: 15px;
    }
    
    .next-btn {
        right: 15px;
    }
}

/* Mobile (max-width: 576px) */
@media (max-width: 576px) {
    .products-grid,
    .services-grid,
    .features-grid,
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .mobile-menu {
        width: 280px;
    }
    
    .header {
        height: 90px;
        padding: 10px 0;
        width: 100%;
    }
    
    .logo-img img {
        height: 50px;
    }
    
    .btn-order,
    .btn-primary {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    /* Carrossel responsivo */
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

/* Mobile Muito Pequeno (max-width: 400px) */
@media (max-width: 400px) {
    .container {
        padding: 0 5px;
    }
    
    .mobile-menu {
        width: 260px;
    }
    
    .logo-img img {
        height: 45px;
    }
    
    .header {
        height: 80px;
    }
    
    .service-card,
    .product-card,
    .feature-card,
    .method-card {
        padding: 25px 15px;
    }
}