/*
Theme Name: AtendeSaaS
Theme URI: https://www.example.com/atendesaas
Author: Manus
Author URI: https://www.example.com
Description: Um tema para sites de SaaS de atendimento para WhatsApp, baseado no design do site atendechat.com.br.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: atendesaas
Tags: saas, atendimento, whatsapp, elementor, responsive
*/

:root {
    --primary-color: #4D4DFF;
    --secondary-color: #00C2CB;
    --text-color: #495460;
    --dark-color: #0C1523;
    --light-color: #FFFFFF;
    --background-color: #F5F7FA;
    --border-radius: 50px;
    --box-shadow: 0 10px 30px rgba(77, 77, 255, 0.1);
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

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

.btn-outline:hover {
    background-color: var(--dark-color);
    color: var(--light-color);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--light-color);
    border: 2px solid #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-whatsapp:hover {
    background-color: transparent;
    color: #25D366;
}

.btn-whatsapp::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('images/whatsapp-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
}

/* Header */
.header {
    padding: 20px 0;
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

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

.menu a {
    color: var(--dark-color);
    font-weight: 500;
}

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

.cta-header {
    display: flex;
    gap: 15px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: var(--light-color);
}

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

.highlight {
    color: var(--primary-color);
}

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

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--box-shadow);
}

/* Solution Section */
.solution {
    padding: 80px 0;
    background-color: var(--background-color);
}

.solution-box {
    background-color: var(--light-color);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin-bottom: 50px;
}

.solution-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.crown-icon {
    font-size: 2rem;
    margin-right: 15px;
}

.solution-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.check-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 15px;
    font-weight: bold;
}

.solution-image img {
    border-radius: 20px;
    box-shadow: var(--box-shadow);
}

/* Omnichannel Section */
.omnichannel {
    padding: 80px 0;
    text-align: center;
}

.subtitle {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

.omnichannel-image {
    margin-top: 50px;
}

.omnichannel-image img {
    border-radius: 20px;
    box-shadow: var(--box-shadow);
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--background-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: var(--light-color);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(77, 77, 255, 0.1);
    border-radius: 50%;
}

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

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: var(--light-color);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
}

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.testimonial-author h4 {
    margin-bottom: 5px;
}

.testimonial-author p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background-color: var(--background-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background-color: var(--light-color);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 30px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.price span {
    font-size: 1rem;
    font-weight: 400;
}

.pricing-features {
    margin-bottom: 30px;
}

.pricing-features li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    text-align: center;
    background-color: var(--light-color);
}

.cta h2 {
    margin-bottom: 20px;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--background-color);
}

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

.contact-form {
    background-color: var(--light-color);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--box-shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

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

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

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

.footer-logo p {
    margin-top: 20px;
}

.footer h4 {
    color: var(--light-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links ul li a:hover {
    color: var(--light-color);
}

.footer-contact p {
    margin-bottom: 10px;
}

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

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

.social-icons a:hover {
    background-color: var(--primary-color);
}

.social-icons img {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal a:hover {
    color: var(--light-color);
}

/* WhatsApp Flutuante */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.floating-whatsapp a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.floating-whatsapp a:hover {
    transform: scale(1.1);
}

.floating-whatsapp img {
    width: 30px;
    height: 30px;
}

/* WordPress Specific Styles */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.wp-block-button__link {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 12px 30px;
    font-weight: 600;
}

.wp-block-button.is-style-outline .wp-block-button__link {
    background-color: transparent;
    color: var(--dark-color);
    border: 2px solid var(--dark-color);
}

/* Responsividade */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero .container,
    .contact .container {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        order: -1;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .menu ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .cta-header {
        margin-top: 20px;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .cta-header {
        flex-direction: column;
        width: 100%;
    }
}
