/* ====================
   CONFIGURAÇÕES GLOBAIS
   ==================== */
:root {
    --primary: #5a2ca0;
    --primary-light: #7c4ddb;
    --primary-dark: #3d1a70;
    --silver: #e0e0e0;
    --silver-dark: #b0b0b0;
    --white: #ffffff;
    --dark: #1a1a2e;
    --transition-default: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/poppins/v20/pxiByp8kv8JHgFVrLDz8Z1xlFQ.woff2) format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/poppins/v20/pxiEyp8kv8JHgFVrJJfecg.woff2) format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/poppins/v20/pxiByp8kv8JHgFVrLGT9Z1xlFQ.woff2) format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/poppins/v20/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2) format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/poppins/v20/pxiByp8kv8JHgFVrLCz7Z1xlFQ.woff2) format('woff2');
}

body {
    background-color: #f8f9fa;
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.5;
}

/* ====================
   LAYOUT E CONTAINERS
   ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

main {
    display: block;
}

.section {
    padding: 100px 0;
    position: relative;
}

/* ====================
   CABEÇALHO E NAVEGAÇÃO
   ==================== */
header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    top: 0;
    left: 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    color: var(--white);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

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

.menu {
    display: flex;
    gap: 30px;
}

.menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--silver);
    transition: width 0.3s ease;
}

.menu a:hover {
    color: var(--silver);
}

.menu a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* ====================
   SEÇÃO HERO
   ==================== */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, rgba(90, 44, 160, 0.9), rgba(90, 44, 160, 0.7)), url('https://www.iautomatize.com/logo.webp') center/cover no-repeat;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    top: -50%;
    left: -50%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.7s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--white);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.9s;
}

.cta-button:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* ====================
   PRINCIPAIS PRODUTOS
   ==================== */
.main-products-section {
    padding: 80px 0 60px;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.03), rgba(90, 44, 160, 0.08));
    position: relative;
    overflow: hidden;
}

.main-products-section::before,
.main-products-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.main-products-section::before {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124, 77, 219, 0.15), transparent 70%);
    top: -150px;
    right: -100px;
}

.main-products-section::after {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1), transparent 70%);
    bottom: -100px;
    left: -50px;
}

.main-products-container {
    position: relative;
    z-index: 2;
}

.main-products-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.main-products-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-block;
    position: relative;
    margin-bottom: 15px;
}

.main-products-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.main-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.main-product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.main-product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(90, 44, 160, 0.2);
}

.main-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    z-index: 2;
}

.main-product-header {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.main-product-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.main-product-card:hover .main-product-header img {
    transform: scale(1.1);
}

.main-product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(61, 26, 112, 0.3), rgba(61, 26, 112, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    color: var(--white);
    text-align: center;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.main-product-card:hover .main-product-overlay {
    opacity: 1;
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.2);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.main-product-card:hover .product-icon {
    transform: scale(1.1) rotate(5deg);
}

.main-product-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.main-product-body {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.main-product-description {
    font-size: 1rem;
    color: var(--dark);
    line-height: 1.6;
    margin-bottom: 25px;
}

.main-product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.feature-tag {
    background: rgba(90, 44, 160, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.feature-tag i {
    font-size: 0.75rem;
}

.main-product-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.product-button {
    display: inline-block;
    background: rgba(90, 44, 160, 0.1);
    color: var(--primary);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
}

.product-button:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(90, 44, 160, 0.3);
}

/* ====================
   TÍTULOS DE SEÇÕES
   ==================== */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--primary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.secondary-title {
    text-align: center;
    margin: 40px 0 20px;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 600;
}

.clients-section .secondary-title {
    color: var(--white);
}

/* ====================
   PRODUTOS
   ==================== */
.top-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.product-card.top {
    border-top: 5px solid var(--primary);
}

.product-image {
    height: 200px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-details {
    padding: 25px;
}

.product-details h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary);
}

.product-details p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 10px;
}

/* ====================
   PRODUTOS SECUNDÁRIOS
   ==================== */
.secondary-products-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    margin: 0 auto;
}

.secondary-products-wrapper {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    animation: autoScroll 30s linear infinite;
    width: max-content;
}

@keyframes autoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 4 - 80px));
    }
}

.secondary-product-card {
    min-width: 250px;
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-align: center;
    border-top: 3px solid transparent;
}

.secondary-product-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-top: 3px solid var(--primary);
}

.secondary-product-card .product-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(90, 44, 160, 0.3);
}

.secondary-product-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
}

.secondary-product-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.secondary-products-container:hover .secondary-products-wrapper {
    animation-play-state: paused;
}

/* ====================
   CLIENTES
   ==================== */
.clients-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    position: relative;
}

.clients-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBmaWxsPSIjNWEyY2EwIj48L3JlY3Q+CjxwYXRoIGQ9Ik0wIDVMNSAwWk02IDRMNCA2Wk0tMSAxTDEgLTFaIiBzdHJva2U9IiM3YzRkZGIiIHN0cm9rZS13aWR0aD0iMSI+PC9wYXRoPgo8L3N2Zz4=');
    opacity: 0.1;
}

.clients-section .section-title h2 {
    color: var(--white);
}

.clients-section .section-title h2::after {
    background: var(--white);
}

.top-clients {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.client-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.client-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.client-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

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

.client-details h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.client-details p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.social-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 15px 0;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--silver);
    background: linear-gradient(135deg, #f9f9f9, #e0e0e0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.solution-tag {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 15px;
    margin-top: 15px;
}

.solution-tag span {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
}

.solution-tag p {
    font-size: 0.95rem;
    color: var(--white);
    margin: 0;
    font-weight: 500;
}

.secondary-clients-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    margin: 0 auto;
    z-index: 2;
}

.secondary-clients-wrapper {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    animation: autoScrollClients 30s linear infinite;
    width: max-content;
}

@keyframes autoScrollClients {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 4 - 80px));
    }
}

.secondary-client-card {
    min-width: 200px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.secondary-client-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0), rgba(255,255,255,0.1));
    z-index: -1;
    transform: rotate(0deg);
    transition: transform 0.5s ease;
}

.secondary-client-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.secondary-client-card:hover::before {
    transform: rotate(180deg);
}

.secondary-client-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.secondary-client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.secondary-client-card:hover .secondary-client-image img {
    transform: scale(1.1);
}

.secondary-client-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--white);
}

.secondary-client-details p {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 10px;
}

.client-solution {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--silver);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.secondary-clients-container:hover .secondary-clients-wrapper {
    animation-play-state: paused;
}

/* ====================
   FOOTER
   ==================== */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-info h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--primary-light);
    bottom: 0;
    left: 0;
}

.footer-info p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.footer-social-highlight {
    flex: 1;
}

.social-highlight-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.social-highlight-links a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.instagram-link {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.05), rgba(188, 42, 141, 0.1)) !important;
}

.whatsapp-link {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.05), rgba(37, 211, 102, 0.1)) !important;
}

.social-highlight-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 0.1);
}

.instagram-link:hover {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(188, 42, 141, 0.2)) !important;
}

.whatsapp-link:hover {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(37, 211, 102, 0.2)) !important;
}

.social-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.8rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.instagram-link .social-icon {
    color: #bc2a8d;
    background: rgba(188, 42, 141, 0.1);
}

.whatsapp-link .social-icon {
    color: #25d366;
    background: rgba(37, 211, 102, 0.1);
}

.social-highlight-links a:hover .social-icon {
    transform: scale(1.1);
}

.social-info {
    flex: 1;
}

.social-info span {
    display: block;
    font-size: 0.85rem;
    color: var(--silver);
    margin-bottom: 5px;
}

.social-info p {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

/* Links de política e termos */
.footer-links {
    text-align: center;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--silver);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.separator {
    display: inline-block;
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--silver);
}

/* ====================
   MODAL
   ==================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    max-width: 600px;
    width: 90%;
    border-radius: 15px;
    padding: 40px;
    position: relative;
    transform: translateY(50px);
    transition: transform 0.5s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary);
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.modal-body p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.modal-body ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.modal-body ul li {
    margin-bottom: 10px;
    line-height: 1.5;
}

/* ====================
   ANIMAÇÕES
   ==================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* ====================
   ACESSIBILIDADE
   ==================== */
:focus {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Melhoria para leitores de tela */
.skip-to-content {
    position: absolute;
    top: -50px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 10px;
    z-index: 9999;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
}

/* Complemento de acessibilidade para botões e controles */
button:not([disabled]),
a:not([aria-hidden="true"]),
input,
select,
textarea {
    transition: all 0.2s ease;
}

button:not([disabled]):focus,
a:not([aria-hidden="true"]):focus,
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(90, 44, 160, 0.3);
}

/* Estilos high-contrast para melhor acessibilidade */
@media (forced-colors: active) {
    .cta-button,
    .product-button,
    .main-product-card,
    .product-card,
    .client-card,
    .secondary-product-card,
    .secondary-client-card {
        border: 2px solid;
    }
}

/* Impressão */
@media print {
    .hero,
    .floating-bubble,
    .chat-box,
    .mobile-toggle,
    .modal,
    .social-highlight-links {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
    
    header {
        position: static;
        background: none;
        color: black;
        box-shadow: none;
    }
    
    .logo {
        color: black;
    }
    
    .main-product-card,
    .product-card,
    .client-card {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    a {
        color: black;
        text-decoration: none;
    }
    
    a::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }
}

/* Animações com redução de movimento para acessibilidade */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
    
    .hero-content h1,
    .hero-content p,
    .cta-button {
        opacity: 1;
        transform: none;
        animation: none;
    }
    
    .secondary-products-wrapper,
    .secondary-clients-wrapper {
        animation: none;
    }
}

/* ====================
   MEDIA QUERIES
   ==================== */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .main-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 50px 0;
        transition: right 0.3s ease;
        z-index: 1001;
    }

    .menu.active {
        right: 0;
    }

    .mobile-toggle {
        display: block;
        z-index: 1002;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .main-product-card {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .hero {
        margin-top: 70px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .top-products,
    .top-clients {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .product-image,
    .main-product-header {
        height: 180px;
    }
}
