/* CSS Unificado - SimCard Identificações */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --color-primary: #004831; /* Verde marca */
    --color-primary-hover: #003020;
    --color-secondary: #0065cb; /* Azul */
    --color-accent: #f76a0c; /* Laranja Destaque */
    --color-bg-light: #f8f8f8;
    --color-bg-white: #ffffff;
    --color-bg-dark: #0d1821;
    --color-text: #2c2c2c;
    --color-text-muted: #666666;
    --color-text-light: #ffffff;
    
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-white {
    background-color: var(--color-bg-white);
    color: var(--color-primary);
}

.btn-white:hover {
    background-color: var(--color-bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Header & Navbar */
.header-wrapper {
    background-color: var(--color-bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0 180px;
    background-color: #004831; /* Verde sólido da marca */
    color: var(--color-text-light);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2rem, 3.2vw, 3.6rem);
    color: var(--color-text-light);
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.25;
}

.hero-content h1 span {
    color: var(--color-text-light);
}

.hero-content p {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Slideshow - sem fundo e sem borda */
.hero-slider {
    position: relative;
    width: 100%;
    height: 420px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    filter: drop-shadow(0px 8px 16px rgba(0,0,0,0.15));
}

/* Wave Divider na base do Hero */
.hero-divider {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 10;
}

.hero-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.hero-divider .shape-fill {
    fill: #ffffff;
}

/* Benefits Section */
.benefits {
    padding: 60px 0;
    background-color: var(--color-bg-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-card {
    background-color: var(--color-bg-light);
    padding: 30px 20px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.benefit-card:hover {
    transform: translateY(-5px);
    background-color: var(--color-bg-white);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
}

.benefit-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.benefit-card p {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* Showcase/Gallery Section */
.showcase {
    padding: 80px 0;
    background-color: var(--color-bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 18px;
    color: var(--color-text-muted);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.showcase-card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.showcase-img {
    aspect-ratio: 1;
    overflow: hidden;
}

.showcase-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.showcase-card:hover .showcase-img img {
    transform: scale(1.05);
}

.showcase-info {
    padding: 20px;
    text-align: center;
}

.showcase-info h3 {
    font-size: 16px;
    color: var(--color-text);
    font-weight: 600;
}

/* Call to Action Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}

.testimonials .section-header h2 {
    color: var(--color-text-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.08);
}

.testimonial-text {
    font-size: 16px;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.9;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-primary);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 16px;
}

/* Features/Services Detail Grid */
.details-section {
    padding: 80px 0;
    background-color: var(--color-bg-white);
}

.details-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.details-row:last-child {
    margin-bottom: 0;
    grid-template-columns: 1.2fr 1fr;
}

.details-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.details-info h2 {
    font-size: 28px;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.details-info h4 {
    font-size: 18px;
    color: var(--color-accent);
    margin-bottom: 20px;
    font-weight: 500;
}

.details-info p {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

/* Footer styling */
.footer {
    background-color: #003624;
    color: var(--color-text-light);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--color-text-light);
    position: relative;
    padding-bottom: 8px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-accent);
}

.footer-col p {
    font-size: 15px;
    opacity: 0.8;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    opacity: 0.8;
}

/* WhatsApp Floating Badge */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* Custom Sub-pages Styles */
/* Pages Header Banner */
.page-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, #002216 0%, #004831 100%);
    color: var(--color-text-light);
    text-align: center;
}

.page-banner h1 {
    font-size: 36px;
    color: var(--color-text-light);
}

/* Catalog Page Grids */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 60px 0;
}

.catalog-card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.catalog-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.catalog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.catalog-info h3 {
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.catalog-info p {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.catalog-actions {
    display: flex;
    gap: 8px;
}

.catalog-actions .btn {
    flex: 1;
    padding: 10px 6px;
    font-size: 12px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

/* Contato Form Page */
.contact-wrapper {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr 1.35fr;
    gap: 40px;
}

.contact-info-panel {
    background-color: var(--color-bg-light);
    padding: 35px 30px;
    border-radius: var(--border-radius-lg);
}

.contact-info-panel h2 {
    font-size: 24px;
    color: var(--color-primary);
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-icon,
img.contact-icon,
.contact-item img {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

.contact-text {
    flex: 1;
    min-width: 0;
}

.contact-text h3 {
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.contact-text p {
    font-size: 14.5px;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 4px;
}

.contact-text a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.contact-text a:hover {
    color: var(--color-primary);
}

.contact-form-panel {
    background-color: var(--color-bg-white);
    padding: 35px 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-form-panel h2 {
    font-size: 24px;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.contact-form-panel > p {
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-size: 15px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 72, 49, 0.1);
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

/* Localizacao Page */
.map-container {
    height: 450px;
    width: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-top: 40px;
    border: 1px solid rgba(0,0,0,0.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Sobre Nos Page Custom Layout */
.about-intro {
    padding: 80px 0;
    background-color: var(--color-bg-white);
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro-content h2 {
    font-size: 32px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.about-intro-content p {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-intro-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.values-section {
    padding: 80px 0;
    background-color: var(--color-bg-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.value-card {
    background-color: var(--color-bg-white);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03);
}

.value-card img {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.value-card h3 {
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.value-card p {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .benefits-grid,
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-bg-white);
        padding: 20px;
        box-shadow: var(--shadow-md);
        gap: 15px;
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero-grid,
    .about-intro-grid,
    .details-row,
    .details-row:last-child,
    .testimonials-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero {
        padding: 60px 0;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-slider {
        height: 300px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .showcase-grid,
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .details-row {
        margin-bottom: 40px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

/* ----------------------------------------------------
   AJUSTES GERAIS DE CONVERSÃO E FIDELIDADE VISUAL
   ---------------------------------------------------- */

/* 1. Menu Dropdown para Produtos */
.nav-links li {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-bg-white);
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius);
    list-style: none;
    padding: 10px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    border: 1px solid rgba(0,0,0,0.05);
    text-align: left;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--color-primary);
    font-size: 15px;
    font-weight: 500;
    width: 100%;
    transition: var(--transition);
}

.dropdown-menu a::after {
    display: none; /* Remove barra inferior nos submenus */
}

.dropdown-menu a:hover {
    background-color: var(--color-bg-light);
    color: var(--color-accent) !important;
    padding-left: 25px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.arrow {
    font-size: 10px;
    margin-left: 2px;
    vertical-align: middle;
}

/* 2. Ícones Sociais no Header e Botão Acesso */
.social-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-right: 10px;
    vertical-align: middle;
}

.social-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.instagram-icon {
    color: #e1306c;
}

.instagram-icon:hover {
    transform: scale(1.15);
    color: #b51c51;
}

.whatsapp-icon {
    color: #25d366;
}

.whatsapp-icon:hover {
    transform: scale(1.15);
    color: #1b9c4b;
}

.btn-acesso {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    font-size: 13px;
    padding: 6px 14px;
    font-weight: 600;
    border-radius: 4px;
    border: 1px solid var(--color-primary);
    transition: var(--transition);
    vertical-align: middle;
}

.btn-acesso:hover {
    background-color: transparent;
    color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 3. Correção da Z-Index do Grid e Divider */
.hero-grid {
    position: relative;
    z-index: 20;
}

.hero-divider {
    z-index: 5;
}

/* 4. Nome dos Clientes Corrigido (Nomes Claros nos Depoimentos) */
.testimonial-name {
    color: var(--color-text-light) !important;
}

/* 5. Remoção de Relevo (box-shadow) e arredondamento nas Imagens de Detalhe */
.details-image img {
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Estilo para Dropdown Responsivo no Mobile */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 20px;
        min-width: auto;
        border: none;
        display: none;
    }
    
    .dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .nav-cta {
        display: flex;
        justify-content: center;
        margin-top: 20px;
        padding-top: 15px;
        border-top: 1px solid rgba(0,0,0,0.05);
    }
}
