/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Variáveis CSS para consistência */
    --primary-blue: #1D3A8F;
    --primary-orange: #FF8C00;
    --primary-green: #4CAF50;
    --whatsapp-green: #25D366;
    --text-dark: #333;
    --text-light: #666;
    --background-light: #ffffff;
    --white: #ffffff;
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 15px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 12px 24px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --border-radius-small: 8px;
    --transition: all 0.3s ease;
    
    /* Breakpoints */
    --mobile: 480px;
    --tablet: 768px;
    --desktop: 1024px;
    --large-desktop: 1200px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    overflow-x: hidden;
}

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

/* Header */
.header {
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.header-top {
    background: #e0e0e0;
    padding: 8px 20px;
    font-size: 14px;
    color: #666;
}

.header-main {
    background: #fff;
    padding: 12px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.landing-page-text {
    font-weight: 600;
    font-size: 16px;
}

.handoff {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--primary-green);
    font-weight: 500;
}

.handoff i {
    background: var(--primary-green);
    color: #333;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    font-size: 12px;
}

.header-bottom {
    background: #e0e0e0;
    padding: 8px 20px;
    font-size: 14px;
    color: #666;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.logo h1 {
    color: #333;
    font-size: 24px;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    opacity: 0.8;
}

.banner-background {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2196F3 0%, #004080 50%, #004080 100%);
}

.banner-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><path d="M0,200 Q300,50 600,200 T1200,200 L1200,400 L0,400 Z" fill="%23FF8C00" opacity="0.9"/></svg>') no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.banner-text {
    flex: 1;
    color: #333;
    font-family: 'Inter', sans-serif;
    max-width: 500px;
}

.banner-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.banner-text h2.highlight {
    font-size: 42px;
    margin-bottom: 20px;
}

.ampersand {
    font-size: 48px;
    font-weight: 300;
    opacity: 0.7;
    margin: 10px 0;
    font-style: italic;
}

.banner-text p {
    font-size: 20px;
    margin: 8px 0;
    font-weight: 500;
}

.banner-text p.highlight-text {
    font-size: 24px;
    font-weight: 700;
    margin-top: 15px;
}

.banner-graphics {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    height: 300px;
}

/* 3D Price Tag */
.price-tag-3d {
    position: relative;
    z-index: 3;
    margin-right: 40px;
}

.tag-loop {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

.tag-loop::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #4A4A4A;
    border-radius: 50%;
}

.tag-body {
    width: 120px;
    height: 80px;
    background: #FFD700;
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    box-shadow: var(--shadow-heavy);
    transform: rotate(-5deg);
}

.tag-body::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    border-radius: 15px;
    z-index: -1;
}

.percentage {
    font-size: 48px;
    font-weight: 900;
    color: #4A4A4A;
    font-family: 'Inter', sans-serif;
}

/* 3D Delivery Box */
.delivery-box {
    position: relative;
    width: 100px;
    height: 80px;
    background: #F5DEB3;
    border-radius: 8px;
    box-shadow: var(--shadow-heavy);
    transform: rotate(5deg);
}

.box-strap {
    position: absolute;
    background: #D2B48C;
    border-radius: 2px;
}

.box-strap.horizontal {
    top: 20px;
    left: -5px;
    right: -5px;
    height: 8px;
}

.box-strap.vertical {
    left: 20px;
    top: -5px;
    bottom: -5px;
    width: 8px;
}

.box-label {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 30px;
    background: #D2B48C;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    justify-content: space-around;
    align-items: flex-start;
    padding: 4px 2px;
}

.label-line {
    width: 12px;
    height: 2px;
    background: white;
    border-radius: 1px;
}

.price-tag {
    background: #FFC107;
    color: #333;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.box-icon {
    background: #8D6E63;
    color: #333;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    font-size: 24px;
}

/* Offers Section */
.offers-section {
    padding: 40px 20px;
    background: var(--background-light);
}

.offers-section h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    color: var(--text-dark);
}

.offers-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 0 20px;
}

/* Product Sections */
.product-section {
    padding: 40px 20px;
}

.see-all-btn {
    background: var(--primary-green);
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    transition: var(--transition);
}

.see-all-btn:hover {
    background: #45a049;
}

.section-subtitle {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.section-subtitle span {
    color: var(--text-light);
    font-size: 14px;
}

.see-more-btn {
    background: var(--primary-green);
    color: #333;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.see-more-btn:hover {
    background: #45a049;
}

/* Product Cards */
.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    min-height: 350px;
}

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

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

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

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

.product-image .fas.fa-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #ff6b6b;
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition);
}

.product-image .fas.fa-heart:hover {
    color: #e74c3c;
    transform: scale(1.1);
}

.discount-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-orange);
    color: #333;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.out-of-stock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    z-index: 3;
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    justify-content: center;
}

.product-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.3;
    min-height: 42px;
    display: flex;
    align-items: flex-start;
}

.price {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    font-weight: 500;
}

.new-price {
    font-size: 20px;
    font-weight: 700;
    color: #2196F3;
}

.weight {
    display: inline-block;
    background: var(--primary-green);
    color: #333;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 15px;
    align-self: flex-start;
}

.buy-btn {
    width: 100%;
    background: var(--primary-green);
    color: #333;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: auto;
}

.buy-btn:hover {
    background: #45a049;
}

.buy-btn.unavailable {
    background: #ccc;
    cursor: not-allowed;
}

.buy-btn.unavailable:hover {
    background: #ccc;
}

/* Feature Blocks */
.feature-blocks {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-block {
    background: var(--primary-orange);
    color: #333;
    padding: 30px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    min-height: 120px;
}

.feature-icon {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.icon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    justify-content: center;
}

.feature-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
}

.feature-content p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
    margin: 0;
}

.feature-content::before {
    content: '';
    width: 100%;
    height: 2px;
    background: white;
    margin-bottom: 15px;
    opacity: 0.8;
}

/* Veterinary Clinic Banner */
.vet-clinic-banner {
    padding: 0 20px;
    margin: 60px auto;
    max-width: 1200px;
}

.vet-content {
    width: 100%;
    margin: 0;
    display: block;
}

.vet-image {
    width: 100%;
}

.vet-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: var(--border-radius);
}

/* Brand Logos - Carousel */
.brand-logos {
    padding: 40px 20px;
    background: var(--background-light);
    overflow: hidden;
}

.carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: var(--border-radius);
}

.carousel-track {
    display: flex;
    animation: autoScroll 14s linear infinite;
    width: calc(200% + 20px);
}

.carousel-slide {
    flex: 0 0 auto;
    width: 200px;
    height: 120px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: white;
    border-radius: var(--border-radius-small);
    box-shadow: var(--shadow-light);
}

.carousel-slide img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    opacity: 0.8;
    transition: var(--transition);
}

.carousel-slide img:hover {
    opacity: 1;
}

@keyframes autoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.carousel-container:hover .carousel-track {
    animation-play-state: paused;
}

/* Newsletter Section */
.newsletter-section {
    background: url('../images/fundo.png') center/cover no-repeat;
    color: #333;
    padding: 60px 20px;
    position: relative;
    min-height: 400px;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.newsletter-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.newsletter-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    align-items: flex-start;
}

.form-inputs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.input-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
}

.input-group label {
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.input-group input {
    width: 250px;
    padding: 15px;
    border: none;
    border-radius: var(--border-radius-small);
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
}

.pet-preferences {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
    margin: 20px 0;
}

.pet-preferences span {
    font-size: 16px;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.pet-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.pet-icon {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.pet-icon:hover {
    transform: scale(1.1);
}

.pet-icon i {
    font-size: 32px;
    color: #333;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.pet-icon span {
    font-size: 14px;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.newsletter-btn {
    background: var(--primary-orange);
    color: #333;
    border: none;
    padding: 15px 40px;
    border-radius: var(--border-radius-small);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.newsletter-btn:hover {
    background: #e67e00;
}

/* Footer */
.footer {
    background: var(--background-light);
    color: var(--text-dark);
    padding: 40px 20px 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 40px;
    gap: 30px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: #4169E1;
}

/* Atendimento Section */
.atendimento-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.contact-info {
    flex: 1;
    margin-bottom: 0;
}

.social-media {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
}

.social-media h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 5px;
}

.social-link {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #4169E1;
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
    padding: 8px 0;
    border-radius: 4px;
}

.social-link:hover {
    color: var(--text-dark);
    background: rgba(65, 105, 225, 0.1);
    padding-left: 8px;
}

.social-link i {
    font-size: 16px;
    width: 16px;
    text-align: center;
}

/* Social Media Specific Colors */
.whatsapp-link {
    color: var(--whatsapp-green);
}

.whatsapp-link:hover {
    color: #20ba5a;
    background: rgba(37, 211, 102, 0.1);
}

.facebook-link {
    color: #1877F2;
}

.facebook-link:hover {
    color: #166fe5;
    background: rgba(24, 119, 242, 0.1);
}

.instagram-link {
    color: #E4405F;
}

.instagram-link:hover {
    color: #d63384;
    background: rgba(228, 64, 95, 0.1);
}

/* Hover effects for all social links */
.social-link:hover {
    transform: translateX(5px);
    transition: var(--transition);
}

.footer-bottom {
    background: var(--background-light);
    border-top: 1px solid #ddd;
    padding: 30px 20px;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.payment-methods h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.payment-icons {
    display: flex;
    align-items: flex-start;
}

.payment-bandeiras {
    height: 40px;
    width: auto;
    opacity: 0.8;
    transition: var(--transition);
}

.payment-bandeiras:hover {
    opacity: 1;
}

.footer-info {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.6;
}

.footer-info p {
    margin-bottom: 8px;
}

.footer-info strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* WhatsApp Section */
.whatsapp-section {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
}

.whatsapp-info {
    color: var(--text-light);
    font-size: 14px;
}

.whatsapp-btn {
    background: var(--whatsapp-green);
    color: #333;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: var(--border-radius-small);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
    border: none;
    cursor: pointer;
}

.whatsapp-btn:hover {
    background: #20ba5a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn i {
    font-size: 16px;
    color: #333;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--whatsapp-green);
    color: #333;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-decoration: none;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

/* Products Grid */
.products-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 0 20px;
}

.offers-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 0 20px;
}

/* ========================================
   RESPONSIVE DESIGN - BREAKPOINTS MODERNOS
   ======================================== */

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
        padding: 0 40px;
    }
    
    .products-grid,
    .offers-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    
    .feature-blocks {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Desktop (1024px - 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
    .products-grid,
    .offers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .feature-blocks {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 15px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .banner-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 40px 20px;
    }

    .banner-text h2 {
        font-size: 28px;
    }

    .banner-text h2.highlight {
        font-size: 32px;
    }

    .banner-text p {
        font-size: 18px;
    }

    .banner-text p.highlight-text {
        font-size: 20px;
    }

    .banner-graphics {
        margin-top: 30px;
        height: 200px;
    }

    .price-tag-3d {
        margin-right: 20px;
    }

    .tag-body {
        width: 100px;
        height: 70px;
    }

    .percentage {
        font-size: 36px;
    }

    .delivery-box {
        width: 80px;
        height: 60px;
    }

    .products-grid,
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 15px;
    }

    .feature-blocks {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .atendimento-content {
        grid-column: span 2;
        flex-direction: row;
        justify-content: space-between;
        gap: 30px;
    }

    .contact-info {
        flex: 1;
    }

    .social-media {
        flex: 1;
        align-items: flex-start;
    }

    .footer-bottom-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .whatsapp-section {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }

    .whatsapp-btn {
        flex-shrink: 0;
    }

    .carousel-slide {
        width: 180px;
        height: 110px;
    }

    .carousel-track {
        width: calc(200% + 15px);
    }
}

/* Mobile Large (481px - 767px) */
@media (max-width: 767px) and (min-width: 481px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 15px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .logo-image {
        height: 50px;
    }

    .nav-menu a {
        font-size: 14px;
    }

    .banner-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 15px;
    }

    .banner-text h2 {
        font-size: 24px;
    }

    .banner-text h2.highlight {
        font-size: 28px;
    }

    .banner-text p {
        font-size: 16px;
    }

    .banner-text p.highlight-text {
        font-size: 18px;
    }

    .banner-graphics {
        margin-top: 20px;
        height: 150px;
    }

    .tag-body {
        width: 80px;
        height: 60px;
    }

    .percentage {
        font-size: 28px;
    }

    .delivery-box {
        width: 60px;
        height: 50px;
    }

    .products-grid,
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
    }

    .product-card {
        min-height: 320px;
    }

    .product-image {
        height: 150px;
    }

    .product-info {
        padding: 15px;
    }

    .product-info h4 {
        font-size: 14px;
        min-height: 36px;
    }

    .new-price {
        font-size: 18px;
    }

    .feature-blocks {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
        margin: 40px auto;
    }

    .feature-block {
        padding: 20px;
        min-height: 100px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-content h3 {
        font-size: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .atendimento-content {
        grid-column: span 1;
        gap: 20px;
    }

    .whatsapp-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .whatsapp-btn {
        width: 100%;
        justify-content: center;
        padding: 15px 20px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 15px;
        right: 15px;
    }

    .carousel-slide {
        width: 150px;
        height: 100px;
    }

    .carousel-track {
        width: calc(200% + 10px);
    }
}

/* Mobile Small (320px - 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .nav-container {
        padding: 10px;
        gap: 10px;
    }

    .nav-menu {
        gap: 10px;
    }

    .logo-image {
        height: 40px;
    }

    .nav-menu a {
        font-size: 12px;
    }

    .banner-content {
        padding: 20px 10px;
    }

    .banner-text h2 {
        font-size: 20px;
    }

    .banner-text h2.highlight {
        font-size: 24px;
    }

    .banner-text p {
        font-size: 14px;
    }

    .banner-text p.highlight-text {
        font-size: 16px;
    }

    .banner-graphics {
        height: 120px;
    }

    .tag-body {
        width: 60px;
        height: 45px;
    }

    .percentage {
        font-size: 20px;
    }

    .delivery-box {
        width: 50px;
        height: 40px;
    }

    .products-grid,
    .offers-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }

    .product-card {
        min-height: 300px;
    }

    .product-image {
        height: 140px;
    }

    .product-info {
        padding: 12px;
    }

    .product-info h4 {
        font-size: 13px;
        min-height: 32px;
    }

    .new-price {
        font-size: 16px;
    }

    .weight {
        font-size: 11px;
        padding: 3px 6px;
    }

    .feature-blocks {
        padding: 0 10px;
        margin: 30px auto;
    }

    .feature-block {
        padding: 15px;
        min-height: 80px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        align-self: center;
    }

    .feature-content h3 {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .feature-content p {
        font-size: 12px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .atendimento-content {
        gap: 15px;
    }

    .social-media {
        gap: 8px;
    }

    .whatsapp-float {
        width: 45px;
        height: 45px;
        font-size: 20px;
        bottom: 10px;
        right: 10px;
    }

    .carousel-slide {
        width: 120px;
        height: 80px;
    }

    .carousel-track {
        width: calc(200% + 5px);
    }

    .footer-bottom-content {
        gap: 20px;
    }

    .footer-info {
        font-size: 11px;
    }

    .payment-bandeiras {
        height: 30px;
    }
}

/* Animações do Banner */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px) rotate(-5deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(-5deg);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px) rotate(5deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(5deg);
    }
}

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

.banner-text h2 {
    animation: fadeInUp 0.8s ease-out;
}

.banner-text h2.highlight {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.ampersand {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.banner-text p {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.banner-text p.highlight-text {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Modo escuro (opcional) */
@media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #ffffff;
        --text-light: #cccccc;
        --background-light: #1a1a1a;
        --white: #2d2d2d;
    }
}

/* Impressão */
@media print {
    .whatsapp-float,
    .whatsapp-btn,
    .carousel-container {
        display: none !important;
    }
    
    .product-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ========================================
   MELHORIAS DE RESPONSIVIDADE APRIMORADAS
   ======================================== */

/* Extra Small Mobile (320px - 374px) */
@media (max-width: 374px) {
    .container {
        padding: 0 8px;
    }
    
    .nav-container {
        padding: 8px;
        gap: 8px;
    }

    .nav-menu {
        gap: 8px;
        font-size: 11px;
    }

    .logo-image {
        height: 35px;
    }

    .products-grid,
    .offers-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 8px;
    }

    .product-card {
        min-height: 280px;
        margin: 0 auto;
        max-width: 280px;
    }

    .product-image {
        height: 120px;
    }

    .product-info {
        padding: 10px;
    }

    .product-info h4 {
        font-size: 12px;
        min-height: 30px;
        line-height: 1.2;
    }

    .new-price {
        font-size: 14px;
    }

    .weight {
        font-size: 10px;
        padding: 2px 4px;
    }

    .feature-blocks {
        padding: 0 8px;
        margin: 20px auto;
        gap: 15px;
    }

    .feature-block {
        padding: 12px;
        min-height: 70px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .feature-content h3 {
        font-size: 16px;
    }

    .feature-content p {
        font-size: 11px;
    }
}

/* Melhorias gerais de alinhamento */
.product-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.product-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 25px rgba(29, 58, 143, 0.15);
}

.product-info h4 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Ajustes específicos para o overlay "sem estoque" */
.out-of-stock-overlay {
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
}

/* Melhorias no banner para melhor responsividade */
.banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 300px;
    justify-content: center;
}

@media (max-width: 768px) {
    .banner-content {
        min-height: 250px;
        padding: 30px 15px;
    }
    
    .nav-menu a {
        padding: 6px 12px;
        border-radius: 6px;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-1px);
    }
}

@media (max-width: 480px) {
    .banner-content {
        min-height: 200px;
        padding: 25px 10px;
    }
    
    .nav-menu a {
        padding: 5px 8px;
        border-radius: 4px;
    }

    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* Melhorias no carrossel para dispositivos móveis */
@media (max-width: 768px) {
    .carousel-slide {
        width: 140px;
        height: 90px;
    }

    .carousel-track {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .carousel-slide {
        width: 120px;
        height: 75px;
    }

    .carousel-track {
        gap: 10px;
    }
}

/* Melhorias específicas para tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .products-grid,
    .offers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .product-card {
        min-height: 360px;
    }

    .feature-blocks {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

/* Ajustes para melhor alinhamento em tablets portrait */
@media (max-width: 768px) and (min-width: 481px) {
    .products-grid,
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 16px;
        justify-items: center;
    }

    .product-card {
        min-height: 340px;
        max-width: 250px;
        width: 100%;
    }

    .feature-blocks {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .feature-block {
        flex-direction: row;
        text-align: left;
        align-items: center;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
        margin-right: 20px;
    }
}

/* Ajustes para dispositivos muito pequenos */
@media (max-width: 480px) {
    .products-grid,
    .offers-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 12px;
        justify-items: center;
    }

    .product-card {
        min-height: 320px;
        max-width: 300px;
        width: 100%;
    }

    .whatsapp-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding: 0 12px;
    }

    .whatsapp-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .feature-block {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .feature-icon {
        margin: 0 auto 10px;
    }
}


/* ========================================
   CORREÇÕES ESPECÍFICAS PARA CARDS E FOOTER
   ======================================== */

/* Correção dos cards - garantir fundo branco */
.product-card {
    background: #ffffff !important;
    border: 1px solid #e0e0e0;
}

/* Melhor alinhamento das imagens nos cards */
.product-image {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Correção do footer - remover fundos escuros */
.footer {
    background: #ffffff !important;
}

.footer-bottom {
    background: #ffffff !important;
}

.footer-content {
    background: #ffffff !important;
}

.footer-column {
    background: #ffffff !important;
}

.atendimento-content {
    background: #ffffff !important;
}

.social-media {
    background: #ffffff !important;
}

.contact-info {
    background: #ffffff !important;
}

/* Melhorias específicas para mobile no footer */
@media (max-width: 768px) {
    .footer-bottom-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .footer-info {
        font-size: 11px;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .footer-info p {
        margin-bottom: 6px;
        padding: 0 10px;
    }
    
    .payment-methods {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .payment-bandeiras {
        height: 35px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 15px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-column {
        margin-bottom: 20px;
    }
    
    .footer-bottom {
        padding: 20px 15px;
    }
    
    .footer-info {
        font-size: 10px;
        line-height: 1.3;
    }
    
    .footer-info p {
        margin-bottom: 4px;
        padding: 0 5px;
    }
    
    .atendimento-content {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .social-media {
        align-items: center;
    }
    
    .contact-info {
        text-align: center;
    }
}

/* Correção específica para cards em todas as seções */
.offers-section .product-card,
.product-section .product-card {
    background: #ffffff !important;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Garantir que todas as imagens dos produtos tenham fundo branco */
.product-image {
    background: #ffffff !important;
    border-radius: 8px;
    margin: 10px;
}

/* Melhorar o contraste dos textos nos cards */
.product-info h4 {
    color: #333333 !important;
}

.product-info .new-price {
    color: #2196F3 !important;
}

.product-info .old-price {
    color: #999999 !important;
}

/* Garantir que o peso/tag tenha boa visibilidade */
.weight {
    background: #4CAF50 !important;
    color: #ffffff !important;
}


/* ========================================
   CORREÇÕES ADICIONAIS PARA ALINHAMENTO
   ======================================== */

/* Garantir que todos os cards tenham fundo branco e boa estrutura */
.product-card {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    min-height: 350px !important;
    overflow: hidden !important;
}

/* Melhorar o container da imagem */
.product-image {
    background: #ffffff !important;
    height: 200px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 15px !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

/* Garantir que as imagens fiquem bem centralizadas */
.product-image img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 6px !important;
}

/* Melhorar o container de informações do produto */
.product-info {
    background: #ffffff !important;
    padding: 20px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

/* Garantir que os textos tenham boa legibilidade */
.product-info h4 {
    color: #333333 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: flex-start !important;
}

/* Melhorar o preço */
.price {
    margin-bottom: 10px !important;
}

.new-price {
    color: #2196F3 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
}

.old-price {
    color: #999999 !important;
    font-size: 14px !important;
    text-decoration: line-through !important;
}

/* Melhorar a tag de peso */
.weight {
    background: #4CAF50 !important;
    color: #ffffff !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    align-self: flex-start !important;
    margin-bottom: 15px !important;
}

/* Garantir que o ícone de coração seja visível */
.product-image .fas.fa-heart {
    color: #ff6b6b !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    padding: 8px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Correção específica para o overlay "sem estoque" */
.out-of-stock-overlay {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #333333 !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Garantir que todas as seções tenham fundo branco */
.offers-section,
.product-section {
    background: #ffffff !important;
}

/* Melhorar o footer em mobile */
@media (max-width: 768px) {
    .footer-bottom-content {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        text-align: center !important;
    }
    
    .footer-info {
        font-size: 11px !important;
        line-height: 1.4 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    .footer-info p {
        margin-bottom: 6px !important;
        padding: 0 10px !important;
        word-break: break-word !important;
    }
}

@media (max-width: 480px) {
    .footer-info {
        font-size: 10px !important;
        line-height: 1.3 !important;
    }
    
    .footer-info p {
        margin-bottom: 4px !important;
        padding: 0 5px !important;
        font-size: 10px !important;
    }
    
    .footer-bottom {
        padding: 15px 10px !important;
    }
}


/* ========================================
   NOVAS FUNCIONALIDADES SOLICITADAS
   ======================================== */

/* Botão WhatsApp acima da seção Ração */
.whatsapp-section-above-racao {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    text-align: center;
}

.whatsapp-btn-above {
    background: var(--whatsapp-green);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: var(--border-radius-small);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    border: none;
    cursor: pointer;
}

.whatsapp-btn-above:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn-above i {
    font-size: 18px;
}

/* Cards clicáveis */
.clickable-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.clickable-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--whatsapp-green);
}

.clickable-card:active {
    transform: translateY(-4px) scale(1.01);
}

/* Remover fundo escuro da seção colaboradores */
.brand-logos {
    background: #ffffff !important;
    padding: 40px 20px;
    overflow: hidden;
}

.payment-methods h4 {
    color: var(--primary-blue) !important;
    font-weight: 700;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 8px;
    margin-bottom: 20px;
}

/* Responsividade para o botão WhatsApp flutuante */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 28px;
        bottom: 15px;
    }
    
    .whatsapp-btn-above {
        padding: 12px 25px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 24px;
        bottom: 10px;
    }
    
    .whatsapp-btn-above {
        padding: 10px 20px;
        font-size: 13px;
        width: 100%;
        justify-content: center;
    }
    
    .whatsapp-section-above-racao {
        padding: 0 15px;
    }
}

/* Melhorar carrossel de colaboradores */
.carousel-slide {
    background: #ffffff !important;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.carousel-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-blue);
}

.carousel-slide img {
    opacity: 0.8;
    transition: var(--transition);
}

.carousel-slide:hover img {
    opacity: 1;
    transform: scale(1.05);
}


/* ========================================
   ALTERAÇÕES SOLICITADAS - FOOTER E WHATSAPP
   ======================================== */

/* Alterar cor da fonte do footer para preto */
.footer {
    color: #000000 !important;
}

.footer-column h4 {
    color: #000000 !important;
}

.footer-column ul li a {
    color: #000000 !important;
}

.footer-column ul li a:hover {
    color: #000000 !important;
    text-decoration: underline;
}

/* Centralizar ícone do WhatsApp no botão flutuante */
.whatsapp-float {
    align-items: center !important;
    justify-content: center !important;
}

.whatsapp-float i {
    color: #ffffff !important;
}

/* ========================================
   MODAL CRM STYLES
   ======================================== */

/* Modal overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

/* Modal content */
.modal-content {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Modal header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
    background: linear-gradient(135deg, var(--primary-blue), #2a4fa3);
    color: var(--white);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--white);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-modal:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Form styles */
.crm-form {
    padding: 25px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background-color: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(29, 58, 143, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select {
    cursor: pointer;
}

/* Checkbox group */
.checkbox-group {
    margin-top: 25px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 2px;
    transform: scale(1.2);
    cursor: pointer;
}

/* Form actions */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.btn-cancel,
.btn-submit {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-cancel {
    background-color: #f5f5f5;
    color: var(--text-dark);
    border: 2px solid #ddd;
}

.btn-cancel:hover {
    background-color: #e0e0e0;
    border-color: #bbb;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-blue), #2a4fa3);
    color: var(--white);
    box-shadow: var(--shadow-light);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #2a4fa3, var(--primary-blue));
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .crm-form {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-cancel,
    .btn-submit {
        width: 100%;
    }
}

/* Melhorar botão flutuante WhatsApp */
.whatsapp-float {
    background: var(--whatsapp-green) !important;
    border: none;
    cursor: pointer;
}

.whatsapp-float i {
    color: white !important;
}

/* Modal CRM Styles - UI/UX Melhorada */
.crm-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.4s ease;
    padding: 20px;
    box-sizing: border-box;
}

.crm-modal-content {
    background-color: #ffffff;
    margin: 0 auto;
    padding: 0;
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: slideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.crm-modal-header {
    background: linear-gradient(135deg, #25D366, #20ba5a);
    color: white;
    padding: 24px 28px;
    position: relative;
    text-align: center;
}

.crm-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.crm-modal-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.crm-modal-header h3::before {
    content: '💬';
    font-size: 24px;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.close-modal:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) rotate(90deg);
}

.crm-form {
    padding: 32px 28px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1f2937;
    font-size: 15px;
    position: relative;
}

.form-group label::after {
    content: '*';
    color: #ef4444;
    margin-left: 4px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #ffffff;
    box-sizing: border-box;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: #25D366;
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.1);
    transform: translateY(-2px);
}

.form-group input::placeholder {
    color: #9ca3af;
    font-style: italic;
}

.form-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.btn-cancel,
.btn-submit {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-cancel {
    background-color: #f8fafc;
    color: #6b7280;
    border: 2px solid #e5e7eb;
}

.btn-cancel:hover {
    background-color: #f1f5f9;
    border-color: #d1d5db;
    transform: translateY(-2px);
}

.btn-submit {
    background: linear-gradient(135deg, #25D366, #20ba5a);
    color: white;
    border: 2px solid transparent;
    position: relative;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-submit:disabled:hover {
    transform: none;
    box-shadow: none;
}

@keyframes fadeIn {
    from { 
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to { 
        opacity: 1;
        backdrop-filter: blur(8px);
    }
}

@keyframes fadeOut {
    from { 
        opacity: 1;
        backdrop-filter: blur(8px);
    }
    to { 
        opacity: 0;
        backdrop-filter: blur(0px);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50%) translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateY(0) scale(1);
    }
}

/* Responsividade do Modal CRM */
@media (max-width: 768px) {
    .crm-modal {
        padding: 15px;
    }
    
    .crm-modal-content {
        max-width: 100%;
        margin: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .crm-modal-header {
        padding: 20px 24px;
    }
    
    .crm-modal-header h3 {
        font-size: 20px;
    }
    
    .crm-form {
        padding: 24px 20px;
    }
    
    .form-group input {
        padding: 14px 16px;
        font-size: 16px; /* Evita zoom no iOS */
    }
    
    .form-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-cancel,
    .btn-submit {
        width: 100%;
        padding: 14px 20px;
    }
}

@media (max-width: 480px) {
    .crm-modal {
        padding: 10px;
    }
    
    .crm-modal-content {
        border-radius: 12px;
    }
    
    .crm-modal-header {
        padding: 18px 20px;
    }
    
    .crm-modal-header h3 {
        font-size: 18px;
    }
    
    .crm-form {
        padding: 20px 16px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        font-size: 14px;
    }
    
    .form-group input {
        padding: 12px 14px;
        border-radius: 10px;
    }
}

/* Melhorias no Botão Flutuante - Responsividade Aprimorada */
@media (max-width: 1200px) {
    .whatsapp-float {
        width: 65px;
        height: 65px;
        font-size: 30px;
        bottom: 25px;
        right: 25px;
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 70px;
        height: 70px;
        font-size: 32px;
        bottom: 20px;
        right: 20px;
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    }
    
    .whatsapp-float:hover {
        transform: scale(1.05);
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 28px;
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 360px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 26px;
        bottom: 12px;
        right: 12px;
    }
}

/* Animações para Toasts */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

