/* WordPress-style CSS Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

body {
    background-color: #ffffff;
    color: #333333;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

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

/* WordPress Site Structure */
.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
}

/* Header Styles */
.site-header {
    background: #ffffff;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

.site-branding {
    text-align: center;
}

.custom-logo {
    max-height: 80px;
    width: auto;
}

/* Hero Section - WordPress Cover Block Style */
.hero-section {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7), rgba(51, 65, 85, 0.7)), url('office-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

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

.wp-block-cover__inner-container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 60px 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.site-branding-hero {
    margin-bottom: 40px;
}

.hero-logo {
    max-height: 120px;
    width: auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-description {
    font-size: 1.1rem;
    color: #fbbf24;
    margin-bottom: 40px;
    font-weight: 500;
}

/* WordPress Block Styles */
.wp-block-group {
    padding: 80px 0;
}

.wp-block-columns {
    display: grid;
    gap: 40px;
}

.wp-block-column {
    flex: 1;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
    color: #1e293b;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.6;
}

.text-center {
    text-align: center;
}

/* Button Styles - WordPress Button Block */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    gap: 10px;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn-outline {
    background: transparent;
    color: #1e293b;
    border: 2px solid #e2e8f0;
}

.btn-outline:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* About Section */
.about-section {
    background: #f8fafc;
}

.about-section .wp-block-columns {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.about-section .wp-block-column {
    padding: 0 20px;
}

.about-section .section-title {
    text-align: left;
    margin-bottom: 25px;
    line-height: 1.3;
}

.about-section .section-content {
    text-align: left;
}

.about-section .section-content p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #4a5568;
    font-size: 1.1rem;
}

.worker-image {
    text-align: center;
    padding: 0 20px;
}

.worker-placeholder {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    padding: 60px 40px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
    max-width: 400px;
    margin: 0 auto;
}

.worker-placeholder i {
    font-size: 4rem;
}

.worker-placeholder span {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

/* Problems Section */
.problems-section {
    background: #ffffff;
}

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

.problem-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.problem-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.problem-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.problem-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e293b;
}

.problem-item p {
    color: #64748b;
    line-height: 1.6;
}

/* Injustice Section */
.injustice-section {
    background: linear-gradient(135deg, #1e40af, #3730a3);
    color: white;
    text-align: center;
}

.injustice-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.injustice-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* Services Section */
.services-section {
    background: #f8fafc;
}

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

.service-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.8rem;
}

.service-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e293b;
}

.service-item p {
    color: #64748b;
    line-height: 1.6;
}

/* About Firm Section */
.about-firm-section {
    background: #ffffff;
}

.about-firm-section .wp-block-columns {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.office-image {
    text-align: center;
}

.office-placeholder {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    padding: 60px 40px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.office-placeholder i {
    font-size: 4rem;
}

.office-placeholder span {
    font-size: 1.2rem;
    font-weight: 600;
}

.about-firm-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1e293b;
    line-height: 1.3;
}

.about-firm-section p {
    margin-bottom: 20px;
    color: #64748b;
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials-section {
    background: #f8fafc;
}

.google-reviews-widget {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

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

.review-logo {
    height: 60px;
    width: auto;
}

.review-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1e293b;
}

.stars {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fbbf24;
}

.stars span {
    margin-left: 10px;
    color: #64748b;
    font-size: 0.9rem;
}

.review-item {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    margin-bottom: 30px;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background: #e2e8f0;
    border-radius: 50%;
}

.reviewer-info strong {
    display: block;
    font-weight: 600;
    color: #1e293b;
}

.reviewer-info span {
    font-size: 0.9rem;
    color: #64748b;
}

.review-stars {
    color: #fbbf24;
    margin-bottom: 10px;
}

.review-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    max-height: 80px;
    width: auto;
}

.footer-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #ffffff;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    color: #10b981;
    font-size: 1.2rem;
    margin-top: 2px;
}

.contact-item a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #10b981;
}

.contact-item span {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.5;
}

.site-info {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #475569;
    color: #94a3b8;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: scale(1.1);
}

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

/* Responsive Design - Melhorado */
@media (max-width: 1200px) {
    .container {
        max-width: 1000px;
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 25px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-logo {
        max-height: 100px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .wp-block-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .reviews-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    /* Melhor espaçamento para tablets */
    .wp-block-group {
        padding: 60px 0;
    }
    
    .hero-content {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-section {
        background-attachment: scroll; /* Melhor performance em mobile */
        min-height: 90vh;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 15px;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-logo {
        max-height: 80px;
    }
    
    .site-branding-hero {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 25px;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    /* Correção específica para About Section mobile */
    .about-section .wp-block-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-section .wp-block-column {
        padding: 0 25px;
        text-align: center;
    }
    
    .about-section .section-title {
        text-align: center;
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 20px;
        padding: 0 10px;
    }
    
    .about-section .section-content {
        text-align: center;
        padding: 0 15px;
    }
    
    .about-section .section-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 18px;
        text-align: justify;
        padding: 0 10px;
    }
    
    .worker-image {
        padding: 0 25px;
        margin-top: 30px;
    }
    
    .worker-placeholder {
        padding: 40px 25px;
        margin: 0 auto;
        max-width: 300px;
    }
    
    .worker-placeholder i {
        font-size: 3rem;
    }
    
    .worker-placeholder span {
        font-size: 1.1rem;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .problem-item,
    .service-item {
        padding: 25px 20px;
        margin: 0 10px;
    }
    
    .problem-icon,
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .problem-item h3,
    .service-item h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
        margin: 10px auto;
        max-width: 300px;
        display: block;
    }
    
    .review-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .google-reviews-widget {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
    
    /* Melhor espaçamento para mobile */
    .wp-block-group {
        padding: 50px 0;
    }
    
    .hero-content {
        padding: 30px 15px;
    }
    
    .office-placeholder {
        padding: 40px 25px;
        margin: 0 15px;
    }
    
    .about-firm-section h2 {
        font-size: 1.8rem;
        line-height: 1.3;
        text-align: center;
        padding: 0 15px;
    }
    
    .about-firm-section .wp-block-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-firm-section .wp-block-column {
        text-align: center;
        padding: 0 20px;
    }
    
    .about-firm-section .content p {
        text-align: justify;
        padding: 0 10px;
    }
    
    .injustice-section h2 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 15px;
        padding: 0 15px;
    }
    
    .injustice-section p {
        font-size: 1.1rem;
        padding: 0 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.9rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .hero-logo {
        max-height: 70px;
    }
    
    .section-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Correções específicas para About Section em telas pequenas */
    .about-section .wp-block-column {
        padding: 0 20px;
    }
    
    .about-section .section-title {
        font-size: 1.6rem;
        padding: 0 15px;
        text-align: center;
    }
    
    .about-section .section-content {
        padding: 0 10px;
    }
    
    .about-section .section-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        text-align: justify;
        padding: 0 5px;
        margin-bottom: 16px;
    }
    
    .worker-image {
        padding: 0 20px;
    }
    
    .worker-placeholder {
        padding: 30px 20px;
        max-width: 280px;
    }
    
    .worker-placeholder i {
        font-size: 2.5rem;
    }
    
    .worker-placeholder span {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
        margin: 15px auto;
        max-width: 280px;
    }
    
    .problem-item,
    .service-item {
        padding: 20px 15px;
        margin: 0 5px;
    }
    
    .problem-icon,
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .problem-item h3,
    .service-item h3 {
        font-size: 1.1rem;
    }
    
    .problem-item p,
    .service-item p {
        font-size: 0.95rem;
    }
    
    .google-reviews-widget {
        padding: 25px 15px;
        margin: 0 10px;
    }
    
    .reviews-header {
        gap: 10px;
    }
    
    .review-logo {
        height: 50px;
    }
    
    .review-info h3 {
        font-size: 1rem;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .footer-content h3 {
        font-size: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }
    
    .contact-item a,
    .contact-item span {
        font-size: 1rem;
    }
    
    /* Ajustes específicos para telas muito pequenas */
    .wp-block-group {
        padding: 40px 0;
    }
    
    .hero-content {
        padding: 25px 10px;
    }
    
    .office-placeholder {
        padding: 30px 20px;
        margin: 0 10px;
        max-width: 280px;
    }
    
    .office-placeholder i {
        font-size: 3rem;
    }
    
    .office-placeholder span {
        font-size: 1rem;
    }
    
    .about-firm-section h2 {
        font-size: 1.6rem;
        padding: 0 20px;
    }
    
    .about-firm-section .wp-block-column {
        padding: 0 15px;
    }
    
    .about-firm-section .content p {
        font-size: 0.95rem;
        padding: 0 5px;
    }
    
    .injustice-section h2 {
        font-size: 1.6rem;
        padding: 0 20px;
    }
    
    .injustice-section p {
        font-size: 1rem;
        padding: 0 25px;
    }
}

/* Melhorias adicionais para dispositivos touch */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }
    
    .problem-item:hover,
    .service-item:hover {
        transform: none;
    }
    
    .whatsapp-btn:hover {
        transform: none;
    }
    
    /* Aumentar área de toque para botões */
    .btn {
        min-height: 48px;
        padding: 15px 25px;
    }
    
    .whatsapp-btn {
        min-width: 60px;
        min-height: 60px;
    }
}

/* Melhorias para acessibilidade */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-section {
        background-attachment: scroll;
    }
}

/* Otimizações para impressão */
@media print {
    .whatsapp-float,
    .btn {
        display: none;
    }
    
    .hero-section {
        background: #1e293b;
        color: white;
        min-height: auto;
        padding: 40px 0;
    }
    
    .wp-block-group {
        padding: 30px 0;
    }
}


/* ===== COOKIE CONSENT BANNER LGPD ===== */

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 3px solid #f59e0b;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #f59e0b;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #e2e8f0;
}

.cookie-text a {
    color: #f59e0b;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-text a:hover {
    color: #fbbf24;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.btn-accept {
    background: #10b981;
    color: white;
}

.btn-accept:hover {
    background: #059669;
    transform: translateY(-1px);
}

.btn-reject {
    background: #ef4444;
    color: white;
}

.btn-reject:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

.btn-settings {
    background: transparent;
    color: #e2e8f0;
    border: 1px solid #64748b;
}

.btn-settings:hover {
    background: #64748b;
    color: white;
    transform: translateY(-1px);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

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

.cookie-modal-header {
    padding: 25px 25px 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.cookie-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #ef4444;
}

.cookie-modal-body {
    padding: 0 25px 20px 25px;
    color: #475569;
    line-height: 1.6;
}

.cookie-modal-body h4 {
    color: #1e293b;
    font-weight: 600;
    margin: 20px 0 10px 0;
}

.cookie-modal-body ul {
    margin: 10px 0;
    padding-left: 20px;
}

.cookie-modal-body li {
    margin: 5px 0;
}

.cookie-category {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    background: #f8fafc;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.cookie-category h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.cookie-category p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

/* Cookie Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .slider {
    background-color: #10b981;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

input:disabled + .slider {
    background-color: #94a3b8;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 20px 25px 25px 25px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cookie-modal-footer button {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-save {
    background: #3b82f6;
    color: white;
}

.btn-save:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.btn-accept-all {
    background: #10b981;
    color: white;
}

.btn-accept-all:hover {
    background: #059669;
    transform: translateY(-1px);
}

.btn-close {
    background: #64748b;
    color: white;
}

.btn-close:hover {
    background: #475569;
    transform: translateY(-1px);
}

/* Responsive Design para Cookies */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    
    .cookie-buttons button {
        flex: 1;
        min-width: 80px;
    }
    
    .cookie-modal-content {
        margin: 10px;
        max-height: 90vh;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
    
    .cookie-modal-footer button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-consent {
        padding: 15px;
    }
    
    .cookie-text h4 {
        font-size: 16px;
    }
    
    .cookie-text p {
        font-size: 13px;
    }
    
    .cookie-buttons button {
        padding: 8px 15px;
        font-size: 13px;
        min-width: 70px;
    }
    
    .cookie-modal-header h3 {
        font-size: 18px;
    }
}

/* Animação de entrada do banner */
@keyframes cookieSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent.animate {
    animation: cookieSlideUp 0.5s ease-out;
}

/* Melhorias de acessibilidade para cookies */
@media (prefers-reduced-motion: reduce) {
    .cookie-consent,
    .cookie-modal-content {
        transition: none;
        animation: none;
    }
}

/* Foco para acessibilidade */
.cookie-buttons button:focus,
.cookie-modal-footer button:focus,
.close-modal:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.cookie-switch input:focus + .slider {
    box-shadow: 0 0 0 2px #3b82f6;
}

