/*
Theme Name: Covel Theme
Theme URI: https://covel.eco.br
Author: Covel
Author URI: https://covel.eco.br
Description: Tema personalizado para Covel - Scooters Elétricas. Suporte completo ao WooCommerce em modo catálogo com páginas de produto no estilo Landing Page.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: covel-theme
Tags: e-commerce, woocommerce, landing-page, green, modern
*/

:root {
    --primary-color: #316EF9; /* Azul do logo - cor principal */
    --secondary-color: #2563EB; /* Azul mais escuro */
    --accent-teal: #06B6D4; /* Ciano - representa sustentabilidade e harmoniza com azul */
    --accent-green: #10B981; /* Verde esmeralda - sustentabilidade */
    --light-bg: #F0F9FF; /* Fundo azul muito claro */
    --card-bg: #ffffff;
    --lime-green: #34D399; /* Verde menta para badges */
    --dark-green: #059669; /* Verde escuro */
    --text-dark: #1F2937; /* Cinza escuro para texto */
    --text-light: #6B7280; /* Cinza médio */
    
    /* Tipografia */
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    font-family: var(--font-body);
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--light-bg);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.hero-title,
.product-hero-title,
.model-name,
.feature-title,
.location-title,
.testimonial-card h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.hero-title,
.product-hero-title {
    font-weight: 700;
    letter-spacing: -0.03em;
}

.hero-subtitle,
.product-hero-subtitle {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
}

.model-name {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.feature-title,
.location-title {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.01em;
}

p, .product-short-description, .product-description {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.75;
    color: #4B5563;
}

.lead {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #374151;
}

.hero-section {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    padding: 120px 0 80px;
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-section[style*="background-image"] {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
    text-shadow: 
        2px 2px 8px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(49, 110, 249, 0.4),
        0 0 60px rgba(49, 110, 249, 0.2);
    animation: fadeInUp 0.8s ease-out;
    letter-spacing: -0.03em;
    font-family: var(--font-heading);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 600px;
    text-shadow: 
        1px 1px 4px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease-out;
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
}

.badge-green {
    background: linear-gradient(90deg, var(--accent-teal), var(--primary-color));
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(49, 110, 249, 0.2);
    animation: fadeInUp 0.6s ease-out;
    text-shadow: none;
    letter-spacing: 0.5px;
}

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

.top-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
}

.btn-primary-custom {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s;
    box-shadow: 
        0 4px 15px rgba(49, 110, 249, 0.4),
        0 0 20px rgba(49, 110, 249, 0.2);
    text-decoration: none;
    display: inline-block;
    animation: fadeInUp 1.2s ease-out;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(49, 110, 249, 0.5),
        0 0 30px rgba(49, 110, 249, 0.3);
    color: #fff;
}

.btn-outline-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    background: transparent;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    animation: fadeInUp 1.2s ease-out;
    box-shadow: 0 0 15px rgba(49, 110, 249, 0.2);
}

.btn-outline-custom:hover {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 
        0 0 25px rgba(49, 110, 249, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    transition: all 0.3s;
    border: 2px solid #DBEAFE;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(49, 110, 249, 0.15);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-green);
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

.model-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 0;
    border: 1px solid #E5E7EB;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.1);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 550px; /* Altura mínima ajustada para 4 colunas */
}

.model-card:hover {
    box-shadow: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    transform: translateY(-2px);
    border-color: #D1D5DB;
}

.model-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
}

.model-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.model-info .d-flex.gap-2 {
    margin-top: auto;
    padding-top: 20px;
}

.model-image {
    background-color: #F8FAFC;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-radius: 10px;
    margin: 15px;
    margin-bottom: 10px;
    overflow: hidden;
    min-height: 200px;
    max-height: 220px;
    width: calc(100% - 30px);
}

.model-image img.product-thumbnail,
.model-image img {
    max-width: 100%;
    max-height: 220px;
    width: auto;
    height: auto;
    transition: transform 0.3s;
    border-radius: 10px;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto;
}

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

.product-price-wrapper {
    padding: 10px 0;
    border-top: 1px solid #DBEAFE;
    border-bottom: 1px solid #DBEAFE;
    margin: 10px 0;
}

.product-price-current {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1.2;
}

.product-price-old {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
    margin-right: 8px;
}

.product-header-info {
    border-bottom: 1px solid #E0F2FE;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.product-categories {
    font-size: 0.9rem;
    color: #888;
}

.product-categories a {
    color: var(--primary-color);
    text-decoration: none;
    margin-right: 5px;
}

.product-categories a:hover {
    text-decoration: underline;
}

.product-short-description {
    color: #4B5563;
    font-size: 0.95rem;
    line-height: 1.75;
    font-family: var(--font-body);
    font-weight: 400;
}

.product-description {
    color: #4B5563;
    font-size: 0.95rem;
    line-height: 1.75;
    font-family: var(--font-body);
    font-weight: 400;
}

.model-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.3;
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

.model-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.model-name a:hover {
    color: var(--primary-color);
}

.specs-list {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.specs-list li {
    padding: 5px 0;
    border-bottom: 1px solid #DBEAFE;
    color: #555;
    font-size: 0.85rem;
}

.specs-list li:before {
    content: "✓ ";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
}

.location-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    height: 100%;
    border: 2px solid #DBEAFE;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.location-card:hover {
    box-shadow: 0 8px 25px rgba(49, 110, 249, 0.15);
    border-color: var(--primary-color);
}

.location-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--dark-green);
}

.map-placeholder {
    background: linear-gradient(135deg, #EFF6FF, #F0F9FF);
    border-radius: 10px;
    height: 200px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    border: 2px solid #DBEAFE;
}

.testimonial-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    border: 2px solid #DBEAFE;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.testimonial-card:hover {
    box-shadow: 0 8px 25px rgba(49, 110, 249, 0.15);
}

.testimonial-card p {
    color: #555;
}

.stars {
    color: #f39c12;
    margin-top: 15px;
}

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

.accordion-button {
    background-color: var(--card-bg);
    color: var(--text-dark);
    font-weight: 600;
    border: 1px solid #DBEAFE;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: #fff;
}

.accordion-item {
    background-color: var(--card-bg);
    border: 1px solid #DBEAFE;
    margin-bottom: 15px;
    border-radius: 10px !important;
    overflow: hidden;
}

.accordion-body {
    background-color: var(--card-bg);
    color: #555;
}

footer {
    background: linear-gradient(90deg, #1E3A8A 0%, #1E40AF 100%);
    padding: 30px 0;
    border-top: 2px solid #3B82F6;
}

footer p {
    color: #EFF6FF;
    margin-bottom: 10px;
}

footer .text-muted {
    color: #DBEAFE !important;
}

.mini-header {
    background-color: var(--card-bg);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #DBEAFE;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

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

.site-logo {
    text-decoration: none;
    color: var(--dark-green);
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-text {
    background: linear-gradient(90deg, var(--primary-color), var(--dark-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mini-header-nav {
    display: flex;
    align-items: center;
}

.mini-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.mini-nav-menu li {
    margin: 0;
}

.mini-nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.mini-nav-menu a:hover {
    color: var(--primary-color);
}

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

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

.btn-outline-custom i,
.btn-primary-custom i {
    margin-right: 5px;
}

.product-gallery-wrapper {
    position: relative;
}

.product-main-image {
    border-radius: 15px;
    overflow: hidden;
    background: #f8f9fa;
    padding: 20px;
}

.product-main-image img {
    transition: transform 0.3s;
    border-radius: 15px;
}

.product-main-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-gallery-thumbnails {
    margin-top: 15px;
}

.gallery-thumb {
    border: 3px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    opacity: 0.7;
}

.gallery-thumb:hover {
    opacity: 1;
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.gallery-thumb.active {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(49, 110, 249, 0.3);
}

.product-price-hero {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.product-categories-hero a {
    color: var(--primary-color);
    text-decoration: none;
    margin-right: 10px;
}

.product-categories-hero a:hover {
    text-decoration: underline;
}

.product-description-full {
    padding: 20px 0;
    border-top: 2px solid #DBEAFE;
    margin-top: 30px;
}

.product-description-full h3 {
    color: var(--dark-green);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

#imageModal .modal-content {
    background: transparent;
    border: none;
}

#imageModal .btn-close {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    opacity: 1;
}

#imageModal .btn-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

#imageModal img {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.top-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
}

/* Product Hero Banner */
.product-hero-banner {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0 80px;
}

.product-hero-banner[style*="background-image"] {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.product-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.product-hero-banner .container {
    position: relative;
    z-index: 2;
}

.product-hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.product-hero-badge {
    animation: fadeInUp 0.6s ease-out;
    margin-bottom: 20px;
    display: inline-block;
}

.product-hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
    text-shadow: 
        2px 2px 8px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(49, 110, 249, 0.4),
        0 0 60px rgba(49, 110, 249, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.product-hero-subtitle {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 
        1px 1px 4px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease-out;
    line-height: 1.6;
}

.product-hero-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 
        2px 2px 8px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(49, 110, 249, 0.5);
    animation: fadeInUp 1.1s ease-out;
}

.product-hero-categories {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1.2s ease-out;
}

.product-hero-categories a {
    color: var(--primary-color);
    text-decoration: none;
    margin-right: 10px;
    text-shadow: 0 0 10px rgba(49, 110, 249, 0.5);
}

.product-hero-categories a:hover {
    text-decoration: underline;
    text-shadow: 0 0 15px rgba(49, 110, 249, 0.7);
}

.product-hero-buttons {
    animation: fadeInUp 1.3s ease-out;
}

.product-hero-buttons .btn {
    margin: 5px;
}

.contact-info-card {
    transition: transform 0.3s;
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.contact-item {
    padding-bottom: 15px;
    border-bottom: 1px solid #E0F2FE;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-form-card {
    transition: transform 0.3s;
}

.contact-form-card:hover {
    transform: translateY(-2px);
}

.about-image-wrapper {
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.about-image-wrapper:hover {
    transform: scale(1.02);
}

.about-image-wrapper img {
    transition: transform 0.5s ease;
    width: 100%;
    height: auto;
    display: block;
}

.about-image-wrapper:hover img {
    transform: scale(1.05);
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fff;
    border-radius: 25px;
    border: 2px solid #DBEAFE;
    transition: all 0.3s;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.about-feature-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.about-feature-item:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(49, 110, 249, 0.2);
}

@media (max-width: 992px) {
    .col-lg-3 {
        flex: 0 0 auto;
        width: 50%;
    }
}

.product-hero-buttons .btn {
    margin: 5px;
}

.contact-info-card {
    transition: transform 0.3s;
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.contact-item {
    padding-bottom: 15px;
    border-bottom: 1px solid #E0F2FE;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-form-card {
    transition: transform 0.3s;
}

.contact-form-card:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .product-hero-title {
        font-size: 2.5rem;
    }
    
    .product-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .product-hero-price {
        font-size: 1.8rem;
    }
    
    .product-hero-banner {
        min-height: 60vh;
        padding: 80px 0 60px;
    }
    
    .model-card {
        min-height: auto;
    }
    
    .model-image {
        min-height: 180px;
        max-height: 200px;
        padding: 10px;
    }
    
    .col-lg-3 {
        width: 100%;
    }
    
    .model-content {
        flex-direction: column;
    }
    
    .col-md-6 {
        margin-bottom: 20px;
    }
    
    .mini-header {
        padding: 10px 0;
    }
    
    .mini-nav-menu {
        gap: 1rem;
        font-size: 0.85rem;
        flex-wrap: wrap;
    }
    
    .logo-wrapper img {
        max-height: 40px;
    }
    
    .site-logo {
        font-size: 1.2rem;
    }
    
    .hero-section {
        min-height: 500px;
        padding: 80px 0 60px;
    }
    
    .mini-header-nav {
        flex-direction: column;
        align-items: flex-end;
    }
    
    .product-hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .about-feature-item {
        font-size: 0.85rem;
        padding: 8px 15px;
    }
    
    .about-feature-item i {
        font-size: 1rem;
    }
}

