/* Reset e Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(135deg, #5c55a0 0%, #8c4d9d 50%, #c04384 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(92, 85, 160, 0.2);
    color: #5c55a0;
    border: 1px solid rgba(92, 85, 160, 0.3);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: #ffffff;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #cccccc;
    max-width: 1000px;
    margin: 0 auto;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(92, 85, 160, 0.2);
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 120px;
    height: 50px;
    border-radius: 8px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.logo-highlight {
    background: linear-gradient(135deg, #5c55a0 0%, #8c4d9d 50%, #c04384 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
    position: relative;
}

.nav-link:hover {
    color: #5c55a0;
    background: rgba(92, 85, 160, 0.1);
}

.btn-cta {
    background: linear-gradient(135deg, #5c55a0 0%, #8c4d9d 50%, #c04384 100%);
    color: #ffffff !important;
    padding: 12px 24px !important;
    border-radius: 12px;
    font-weight: 600;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(92, 85, 160, 0.3);
    background: linear-gradient(135deg, #4a4280 0%, #704080 50%, #a03570 100%);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(92, 85, 160, 0.2);
    border-radius: 12px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 8px 0;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: rgba(92, 85, 160, 0.1);
    color: #5c55a0;
}

/* Mobile Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 120px 0 70px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(92, 85, 160, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(140, 77, 157, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(192, 67, 132, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #5c55a0 0%, #8c4d9d 50%, #c04384 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(92, 85, 160, 0.4);
    background: linear-gradient(135deg, #4a4280 0%, #704080 50%, #a03570 100%);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    height: 400px;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    box-shadow: 0 8px 32px 0 rgba(44, 44, 84, 0.25), 0 1.5px 6px 0 rgba(0,0,0,0.10);
}

.hero-image img:first-child {
    opacity: 1;
    z-index: 1;
}

.hero-image .carousel-dots {
    display: none !important;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* Segmentos */
.segmentos {
    background: rgba(26, 26, 26, 0.8);
}

.segmentos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Alinhar à esquerda quando há apenas 1 item */
.segmentos-grid:has(.segmento-card:only-child) {
    grid-template-columns: repeat(3, 1fr);
    justify-items: start;
}

.segmentos-grid:has(.segmento-card:only-child) .segmento-card {
    grid-column: 1;
    width: 100%;
    max-width: none;
}

.segmento-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(92, 85, 160, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.segmento-card:hover {
    transform: translateY(-10px);
    border-color: rgba(92, 85, 160, 0.5);
    box-shadow: 0 20px 40px rgba(92, 85, 160, 0.2);
}

.card-image {
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.segmento-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.card-content p {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5c55a0;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.card-link:hover {
    color: #8c4d9d;
    transform: translateX(5px);
}

/* Painel LED */
.painel-led {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.painel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.painel-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(140, 77, 157, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.painel-card:hover {
    transform: translateY(-10px);
    border-color: rgba(140, 77, 157, 0.5);
    box-shadow: 0 20px 40px rgba(140, 77, 157, 0.2);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #5c55a0 0%, #8c4d9d 50%, #c04384 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #ffffff;
}

.painel-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.painel-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* Sobre */
.sobre {
    background: rgba(26, 26, 26, 0.8);
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.sobre-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sobre-valores {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.valores-grid {
    display: grid;
    gap: 2rem;
}

.valor-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(192, 67, 132, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.valor-item h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #c04384;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.valor-item p {
    color: #cccccc;
    line-height: 1.6;
}

/* Serviços */
.servicos {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.servico-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(140, 77, 157, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.servico-card:hover {
    transform: translateY(-10px);
    border-color: rgba(140, 77, 157, 0.5);
    box-shadow: 0 20px 40px rgba(140, 77, 157, 0.2);
}

.servico-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #5c55a0 0%, #8c4d9d 50%, #c04384 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #ffffff;
}

.servico-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.servico-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* Contato */
.contato {
    background: rgba(26, 26, 26, 0.8);
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contato-details {
    margin-top: 2rem;
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(192, 67, 132, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.contato-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #5c55a0 0%, #8c4d9d 50%, #c04384 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
}

.contato-item h4 {
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.contato-item p {
    color: #cccccc;
}

/* Form */
.form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(92, 85, 160, 0.2);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(92, 85, 160, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5c55a0;
    box-shadow: 0 0 0 3px rgba(92, 85, 160, 0.1);
}

.form-group label {
    position: absolute;
    top: 16px;
    left: 16px;
    color: #cccccc;
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group select:focus + label,
.form-group select:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -8px;
    left: 12px;
    font-size: 0.8rem;
    color: #5c55a0;
    background: rgba(0, 0, 0, 0.9);
    padding: 0 8px;
    border-radius: 4px;
}

.form-group select option {
    background: #1a1a1a;
    color: #ffffff;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border-top: 1px solid rgba(92, 85, 160, 0.2);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-info p {
    color: #cccccc;
    line-height: 1.6;
    margin-top: 1rem;
}

.footer-column h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #5c55a0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(92, 85, 160, 0.2);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(92, 85, 160, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cccccc;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg, #5c55a0 0%, #8c4d9d 50%, #c04384 100%);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-bottom p {
    color: #cccccc;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: pulse 2s infinite;
    margin-top: 20px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        max-height: 80vh;
        transition: 0.3s;
        padding: 20px 0;
        opacity: 0;
        visibility: hidden;
        overflow-y: auto;
        display: flex !important;
        border-bottom: 1px solid rgba(92, 85, 160, 0.2);
    }

    .nav-menu.active {
        left: 0;
        opacity: 1;
        visibility: visible;
    }

    .nav-item {
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: inline-block;
        padding: 10px 20px;
        font-size: 1rem;
    }

    .dropdown {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .dropdown-menu {
        display: none;
        position: static;
        width: 100%;
        background: rgba(255, 255, 255, 0.05);
        border: none;
        border-radius: 8px;
        padding: 0;
        margin: 2px 0;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
        padding: 5px 0;
    }

    .dropdown-menu li {
        opacity: 0.9;
        margin: 2px 0;
    }

    .dropdown-menu a {
        padding: 8px 20px;
        color: #ffffff;
        font-size: 0.95rem;
    }

    .dropdown-toggle {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
    }

    .dropdown-toggle i {
        transition: transform 0.3s ease;
        margin-left: 8px;
    }

    .dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
    }

    .btn-cta {
        margin: 10px auto;
        width: auto;
        min-width: 200px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-image {
        max-width: 500px;
    }
    
    .hero-image img {
        max-width: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .sobre-content,
    .contato-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sobre-text {
        text-align: center;
    }
    
    .sobre-valores {
        justify-content: flex-start;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .segmentos-grid,
    .painel-grid,
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .card-image {
        height: 200px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-image {
        max-width: 500px;
    }
    
    .hero-image img {
        max-width: 500px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-primary {
        padding: 12px 24px;
        font-size: 1rem;
        margin-top: 15px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
}

/* Product Categories Navigation */
.product-categories {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.categories-nav {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-bottom: 3rem;
    background: #333333;
    border-radius: 8px;
    padding: 4px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.category-link {
    padding: 12px 20px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.category-link:hover,
.category-link.active {
    background: linear-gradient(135deg, #5c55a0 0%, #8c4d9d 50%, #c04384 100%);
    color: #ffffff;
}

.products-title {
    text-align: center;
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 4rem;
    font-weight: 700;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Alinhar à esquerda quando há apenas 1 item */
.products-grid:has(.product-card:only-child) {
    grid-template-columns: repeat(3, 1fr);
    justify-items: start;
}

.products-grid:has(.product-card:only-child) .product-card {
    grid-column: 1;
    width: 100%;
    max-width: none;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(92, 85, 160, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Carousel Styles */
.product-image {
    position: relative;
    overflow: hidden;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none;
}

.carousel-btn {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    opacity: 0;
}

.carousel-btn:hover {
    background: rgba(92, 85, 160, 0.8);
    transform: scale(1.1);
}

.product-image:hover .carousel-btn {
    opacity: 1;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #5c55a0;
    transform: scale(1.2);
}

.product-info {
    padding: 2rem;
}

.product-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-align: center;
}

.product-subtitle {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Product Specifications */
.product-specs {
    margin-bottom: 1.5rem;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(92, 85, 160, 0.2);
    font-size: 0.85rem;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    color: #cccccc;
    font-weight: 500;
    flex: 1;
}

.spec-value {
    color: #ffffff;
    font-weight: 600;
    text-align: right;
    flex: 1;
}

/* Product Button */
.product-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #5c55a0 0%, #8c4d9d 50%, #c04384 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design for Products */
@media (max-width: 768px) {
    .categories-nav {
        flex-direction: column;
        gap: 8px;
        padding: 8px;
    }
    
    .category-link {
        padding: 16px 20px;
        font-size: 12px;
    }
    
    .products-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Centralizar quando há apenas 1 item em mobile */
    .products-grid:has(.product-card:only-child) {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    
    .products-grid:has(.product-card:only-child) .product-card {
        grid-column: 1;
        max-width: 100%;
    }
    
    .product-card {
        margin: 0 10px;
    }
    
    .product-categories {
        padding: 100px 0 60px;
    }
    
    /* Centralizar segmentos quando há apenas 1 item em mobile */
    .segmentos-grid:has(.segmento-card:only-child) {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    
    .segmentos-grid:has(.segmento-card:only-child) .segmento-card {
        grid-column: 1;
        max-width: 100%;
    }
    
    /* Carousel mobile adjustments */
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .carousel-dots {
        bottom: 10px;
    }
    
    .dot {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 480px) {
    .products-title {
        font-size: 1.5rem;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-name {
        font-size: 1.2rem;
    }
    
    .spec-row {
        font-size: 0.8rem;
    }
    
    .card-image {
        height: 180px;
    }
}
