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

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --whatsapp-green: #25D366;
    --border-color: #e5e7eb;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    -webkit-tap-highlight-color: transparent;
}

/* Smooth fade-in animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-card,
.service-card,
.step {
    animation: fadeInUp 0.6s ease-out;
}

.about-card:nth-child(1) { animation-delay: 0.1s; }
.about-card:nth-child(2) { animation-delay: 0.2s; }
.about-card:nth-child(3) { animation-delay: 0.3s; }

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: left;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 70px;
}

.hero-photo {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    animation: fadeInUp 0.8s ease-out;
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.verification-badge {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10;
    animation: fadeInUp 1s ease-out;
    white-space: nowrap;
}

.badge-icon {
    width: 32px;
    height: 32px;
    background: #e0e7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-icon svg {
    width: 20px;
    height: 20px;
}

.badge-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.badge-verified {
    font-size: 0.875rem;
    font-weight: 700;
    color: #2563eb;
    line-height: 1.2;
}

.badge-crm {
    font-size: 0.75rem;
    font-weight: 500;
    color: #1f2937;
    line-height: 1.2;
}

.hero-photo:hover {
    transform: scale(1.02);
    transition: transform 0.3s;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp-hero {
    background: var(--whatsapp-green) !important;
    color: var(--white) !important;
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-hero:hover {
    background: #20ba5a !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* WhatsApp Section */
.whatsapp-section {
    padding: 4rem 0;
    background: var(--bg-light);
    text-align: center;
}

.btn-whatsapp-simple {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: var(--whatsapp-green);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.btn-whatsapp-simple:hover {
    background: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.15);
    max-width: 600px;
    margin: 0 auto;
    border: 2px solid rgba(37, 211, 102, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.25);
}

.whatsapp-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.whatsapp-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.whatsapp-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.btn-whatsapp {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--whatsapp-green);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s, transform 0.3s;
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
}

/* Mobile Contact Button */
.mobile-contact-button {
    display: none;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    text-align: center;
}

.btn-mobile-contact {
    display: inline-block;
    width: 100%;
    max-width: 400px;
    padding: 1.2rem 2.5rem;
    background: var(--whatsapp-green);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.btn-mobile-contact:hover {
    background: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.btn-mobile-contact:active {
    transform: translateY(-1px);
}

/* WhatsApp Overlay */
.whatsapp-overlay {
    position: relative;
    z-index: 100;
    margin-top: -40px;
    margin-bottom: -40px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.whatsapp-overlay-content {
    background: transparent;
    border-radius: 20px;
    padding: 0;
    box-shadow: none;
    text-align: center;
    max-width: 500px;
    width: 100%;
    border: none;
}

.btn-overlay-whatsapp {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: var(--whatsapp-green);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    width: 100%;
    max-width: 400px;
}

.btn-overlay-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* Consultation Visual Section */
.consultation-visual {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0f4f8 0%, #e0e7ff 100%);
}

.visual-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.visual-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.visual-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.2;
    font-weight: 700;
}

.visual-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
}

.visual-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.consultation-illustration {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    margin-bottom: 70px;
}

.consultation-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    animation: float 6s ease-in-out infinite;
    transition: transform 0.3s;
}

.consultation-photo:hover {
    transform: scale(1.02);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--white);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.about-badge-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.about-badge-container .verification-badge {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.about-card {
    text-align: center;
    padding: 2.5rem;
    border-radius: 16px;
    background: var(--white);
    border: 2px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
}

.about-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.about-card p {
    color: var(--text-light);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--bg-light);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.2);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: var(--white);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -20px;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.3;
}

.step:last-child::after {
    display: none;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    transition: transform 0.3s;
}

.step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.step p {
    color: var(--text-light);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.contact-info {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-info p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

    .contact {
        padding: 3rem 0;
    }

    .contact-info {
        margin-bottom: 2rem;
    }

    .contact-info p {
        font-size: 0.95rem;
    }

    .contact-form {
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 0 15px;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        box-sizing: border-box;
        font-size: 16px; /* Previne zoom no iOS */
    }

    .contact-form button {
        width: 100%;
        padding: 1rem;
    }

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form button {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: var(--secondary-color);
}

/* Footer */
.footer {
    background: var(--text-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

    .footer {
        padding: 2.5rem 0 1rem;
    }

    .footer-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .footer-section {
        padding: 0 15px;
    }

    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .footer-section p {
        font-size: 0.9rem;
    }

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: var(--whatsapp-green);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 10000;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: bounce 2s ease-in-out infinite, pulse 2s ease-in-out infinite;
    cursor: pointer;
    overflow: visible;
    border: none;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    display: block;
    margin: auto;
    flex-shrink: 0;
}

/* Adjust WhatsApp button position when cookie banner is visible */
.cookie-banner:not([style*="display: none"]) ~ .whatsapp-float,
body:has(.cookie-banner:not([style*="display: none"])) .whatsapp-float {
    bottom: 100px;
}

/* Adjust chatbot position when cookie banner is visible */
.cookie-banner:not([style*="display: none"]) ~ .chatbot-modal,
body:has(.cookie-banner:not([style*="display: none"])) .chatbot-modal {
    bottom: 170px;
}

.whatsapp-float:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.7);
    animation: none;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

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

/* WhatsApp Chat Bot Modal */
.chatbot-modal {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    max-width: calc(100vw - 60px);
    height: 600px;
    max-height: calc(100vh - 150px);
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    flex-direction: column;
    overflow: hidden;
    animation: slideUpChat 0.3s ease-out;
}

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

.chatbot-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chatbot-header {
    background: var(--whatsapp-green);
    color: var(--white);
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.chatbot-header-info h3 {
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
}

.chatbot-header-info p {
    font-size: 0.75rem;
    margin: 0;
    opacity: 0.9;
}

.chatbot-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.75rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
    line-height: 1;
    padding: 0;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    background: #f0f2f5;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    margin-bottom: 0.5rem;
}

.bot-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-content {
    max-width: 75%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    word-wrap: break-word;
}

.bot-message .message-content {
    background: var(--white);
    color: var(--text-color);
    border-radius: 12px 12px 12px 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.user-message .message-content {
    background: var(--whatsapp-green);
    color: var(--white);
    border-radius: 12px 12px 4px 12px;
}

.message-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.chatbot-input-area {
    padding: 1rem;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.chatbot-input-area input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    font-size: 0.9rem;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.chatbot-input-area input:focus {
    border-color: var(--whatsapp-green);
}

.chatbot-send-btn {
    background: var(--whatsapp-green);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 1.2rem;
    padding: 0;
}

.chatbot-send-btn:hover {
    background: #20ba5a;
}

.chatbot-final-button {
    padding: 1rem;
    background: var(--white);
    border-top: 1px solid var(--border-color);
}

.btn-whatsapp-final {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--whatsapp-green);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 10;
    transition: background 0.3s;
}

.btn-whatsapp-final:hover {
    background: #20ba5a;
}

/* Calendar Styles */
.chatbot-calendar-area {
    padding: 1rem;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    max-height: 400px;
    overflow-y: auto;
}

.calendar-container {
    width: 100%;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.calendar-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.calendar-nav {
    background: var(--whatsapp-green);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s;
    padding: 0;
}

.calendar-nav:hover {
    background: #20ba5a;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.calendar-weekdays div {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    padding: 0.5rem 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
    background: var(--bg-light);
    color: var(--text-color);
    border: 2px solid transparent;
}

.calendar-day:hover:not(.empty) {
    background: rgba(37, 211, 102, 0.1);
    border-color: var(--whatsapp-green);
}

.calendar-day.selected {
    background: var(--whatsapp-green);
    color: var(--white);
    font-weight: 600;
    border-color: var(--whatsapp-green);
}


.calendar-day.empty {
    background: transparent;
    cursor: default;
}

.calendar-selected {
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    text-align: center;
}

.calendar-selected p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-color);
    font-weight: 500;
}

.calendar-confirm-btn {
    width: 100%;
    padding: 0.875rem;
    background: var(--whatsapp-green);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.3s;
}

.calendar-confirm-btn:hover:not(:disabled) {
    background: #20ba5a;
}

.calendar-confirm-btn:disabled {
    background: var(--border-color);
    color: var(--text-light);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Legal Pages Styles */
.legal-page {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    min-height: 70vh;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 1rem;
}

.legal-content h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.legal-content p {
    margin-bottom: 1.2rem;
    color: var(--text-light);
    font-size: 1.05rem;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
}

.legal-content li {
    margin-bottom: 0.8rem;
    color: var(--text-light);
    font-size: 1.05rem;
}

.legal-content strong {
    color: var(--text-color);
    font-weight: 600;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.legal-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cookie-table th,
.cookie-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cookie-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-table tr:hover {
    background: var(--bg-light);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    transition: all 0.3s;
}

.back-link:hover {
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    transform: translateX(-5px);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 1rem 1.5rem;
    display: none;
    animation: slideUp 0.5s ease-out;
    border-top: 2px solid var(--primary-color);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

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

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text strong {
    display: block;
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.cookie-banner-text p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-banner-text a:hover {
    color: var(--secondary-color);
}

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn-cookie-accept,
.btn-cookie-reject,
.btn-cookie-info {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-cookie-accept {
    background: var(--primary-color);
    color: var(--white);
}

.btn-cookie-accept:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-cookie-reject {
    background: var(--bg-light);
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.btn-cookie-reject:hover {
    background: var(--border-color);
    transform: translateY(-2px);
}

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

.btn-cookie-info:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .visual-wrapper {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    html {
        font-size: 16px;
        -webkit-text-size-adjust: 100%;
    }

    body {
        font-size: 16px;
    }

    .container {
        padding: 0 15px;
    }

    /* Better touch targets for mobile */
    a, button {
        min-height: 44px;
        min-width: 44px;
    }

    /* Ensure images don't overflow */
    img, svg, video {
        max-width: 100%;
        height: auto;
    }

    .header .container {
        padding: 0.75rem 15px;
    }

    .logo h1 {
        font-size: 1.25rem;
    }

    .nav {
        display: none;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-wrapper {
        gap: 2rem;
    }

    .hero-content h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .btn-whatsapp-hero {
        font-size: 0.95rem;
        padding: 1rem 2rem;
        width: 100%;
        max-width: 100%;
    }

    .hero-photo {
        max-width: 100%;
        border-radius: 15px;
    }

    .verification-badge {
        bottom: -40px;
        left: 50%;
        transform: translateX(-50%);
        padding: 10px 12px;
        gap: 10px;
    }

    .hero-image {
        margin-bottom: 60px;
    }

    .badge-icon {
        width: 28px;
        height: 28px;
    }

    .badge-icon svg {
        width: 18px;
        height: 18px;
    }

    .badge-verified {
        font-size: 0.8rem;
    }

    .badge-crm {
        font-size: 0.7rem;
    }

    .mobile-contact-button {
        display: block;
    }

    .whatsapp-overlay {
        margin-top: -30px;
        margin-bottom: -30px;
        padding: 0 15px;
    }

    .whatsapp-overlay-content {
        padding: 0;
    }

    .btn-overlay-whatsapp {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .consultation-visual {
        padding: 3rem 0;
    }

    .visual-wrapper {
        gap: 2rem;
    }

    .visual-content h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .visual-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .benefits-list {
        text-align: left;
    }

    .benefits-list li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }

    .consultation-illustration svg {
        max-width: 100%;
    }

    .whatsapp-section {
        padding: 3rem 0;
    }

    .btn-whatsapp-simple {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 400px;
    }

    .whatsapp-card {
        padding: 1.5rem;
        margin: 0 15px;
    }

    .whatsapp-card h3 {
        font-size: 1.5rem;
    }

    .whatsapp-card p {
        font-size: 0.95rem;
    }

    .btn-whatsapp {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .about,
    .services,
    .how-it-works,
    .contact {
        padding: 3rem 0;
    }

    .about h2,
    .services h2,
    .how-it-works h2,
    .contact h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-card,
    .service-card {
        padding: 1.5rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step {
        padding: 1.5rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }

    /* Adjust WhatsApp button when cookie banner is visible on mobile */
    .cookie-banner:not([style*="display: none"]) ~ .whatsapp-float,
    body:has(.cookie-banner:not([style*="display: none"])) .whatsapp-float {
        bottom: 140px;
    }

    .chatbot-modal {
        bottom: 80px;
        right: 15px;
        left: 15px;
        width: auto;
        height: 70vh;
        max-height: 600px;
    }

    .chatbot-header {
        padding: 0.875rem 1rem;
    }

    .chatbot-messages {
        padding: 1rem;
    }

    .message-content {
        max-width: 85%;
        font-size: 0.85rem;
    }

    .step::after {
        display: none;
    }

    .benefits-list li {
        font-size: 1rem;
    }

    .legal-content {
        padding: 2rem;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    .legal-content h2 {
        font-size: 1.5rem;
    }

    .legal-content p,
    .legal-content li {
        font-size: 1rem;
    }

    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner-buttons {
        width: 100%;
        justify-content: center;
    }

    .btn-cookie-accept,
    .btn-cookie-reject,
    .btn-cookie-info {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .verification-badge {
        bottom: -35px;
        left: 50%;
        transform: translateX(-50%);
        padding: 8px 10px;
        gap: 8px;
        border-radius: 10px;
    }

    .badge-icon {
        width: 24px;
        height: 24px;
    }

    .badge-icon svg {
        width: 16px;
        height: 16px;
    }

    .badge-verified {
        font-size: 0.75rem;
    }

    .badge-crm {
        font-size: 0.65rem;
    }

    .header .container {
        padding: 0.625rem 12px;
    }

    .logo h1 {
        font-size: 1.1rem;
    }

    .hero {
        padding: 2.5rem 0;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.875rem;
    }

    .btn-whatsapp-hero {
        font-size: 0.875rem;
        padding: 0.875rem 1.5rem;
    }

    .whatsapp-section {
        padding: 2.5rem 0;
    }

    .btn-whatsapp-simple {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 400px;
    }

    .whatsapp-card {
        padding: 1.25rem;
        margin: 0 12px;
    }

    .whatsapp-card h3 {
        font-size: 1.25rem;
    }

    .mobile-contact-button {
        padding: 1.5rem 1rem;
    }

    .btn-mobile-contact {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .whatsapp-overlay {
        margin-top: -25px;
        margin-bottom: -25px;
        padding: 0 12px;
    }

    .whatsapp-overlay-content {
        padding: 0;
    }

    .btn-overlay-whatsapp {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .consultation-visual {
        padding: 2.5rem 0;
    }

    .visual-content h2 {
        font-size: 1.5rem;
    }

    .about,
    .services,
    .how-it-works,
    .contact {
        padding: 2.5rem 0;
    }

    .about h2,
    .services h2,
    .how-it-works h2,
    .contact h2 {
        font-size: 1.5rem;
    }

    .about-card,
    .service-card {
        padding: 1.25rem;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .step h3 {
        font-size: 1.25rem;
    }

    .step p {
        font-size: 0.875rem;
    }

    .cookie-banner {
        padding: 0.75rem 1rem;
    }

    .cookie-banner-content {
        gap: 1rem;
    }

    .cookie-banner-text {
        min-width: 100%;
    }

    .cookie-banner-text strong {
        font-size: 0.9rem;
    }

    .cookie-banner-text p {
        font-size: 0.8rem;
    }

    .cookie-banner-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .btn-cookie-accept,
    .btn-cookie-reject,
    .btn-cookie-info {
        width: 100%;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }

    /* Adjust WhatsApp button when cookie banner is visible on small mobile */
    .cookie-banner:not([style*="display: none"]) ~ .whatsapp-float,
    body:has(.cookie-banner:not([style*="display: none"])) .whatsapp-float {
        bottom: 160px;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-section {
        padding: 0 12px;
    }

    .chatbot-modal {
        bottom: 70px;
        right: 10px;
        left: 10px;
        height: 65vh;
        border-radius: 15px;
    }

    .chatbot-header {
        padding: 0.75rem;
        border-radius: 15px 15px 0 0;
    }

    .chatbot-avatar {
        width: 35px;
        height: 35px;
        font-size: 1.25rem;
    }

    .chatbot-header-info h3 {
        font-size: 0.9rem;
    }

    .chatbot-header-info p {
        font-size: 0.7rem;
    }

    .chatbot-messages {
        padding: 0.875rem;
    }

    .message-content {
        padding: 0.625rem 0.875rem;
        font-size: 0.85rem;
    }

    .chatbot-input-area {
        padding: 0.875rem;
    }

    .chatbot-input-area input {
        font-size: 16px; /* Previne zoom no iOS */
    }

    .chatbot-calendar-area {
        padding: 0.75rem;
        max-height: 350px;
    }

    .calendar-header h4 {
        font-size: 0.9rem;
    }

    .calendar-nav {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    .calendar-day {
        font-size: 0.75rem;
    }

    .calendar-selected {
        padding: 0.625rem;
    }

    .calendar-selected p {
        font-size: 0.8rem;
    }

    .calendar-confirm-btn {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
}

/* Simple Style - Atestado Médico Style */
.header-simple {
    background: #005BBB;
    color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 91, 187, 0.3);
}

.header-simple .logo h1 {
    color: var(--white);
}

.header-simple .nav a {
    color: var(--white);
    font-weight: bold;
}

.header-simple .nav a:hover {
    opacity: 0.8;
}

.hero-simple {
    background: #007ACC;
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

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

.hero-content-simple h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 700;
}

.hero-content-simple p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--white);
    opacity: 0.95;
}

.btn-hero-simple {
    display: inline-block;
    background: #28A745;
    color: var(--white);
    padding: 15px 30px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
}

.btn-hero-simple:hover {
    background: #218838;
    transform: translateY(-2px);
}

.about-simple {
    padding: 60px 20px;
    text-align: center;
    background: var(--bg-light);
}

.about-simple h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-simple p {
    font-size: 1.1em;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.services-simple {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.services-simple h2 {
    font-size: 2em;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-color);
}

.service-item {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-item p {
    font-size: 1em;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 1em;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    background: #005BBB;
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #004494;
}

@media (max-width: 768px) {
    .hero-content-simple h2 {
        font-size: 2em;
    }

    .hero-content-simple p {
        font-size: 1em;
    }

    .header-simple .nav {
        flex-direction: column;
        gap: 10px;
    }

    .header-simple .nav a {
        display: block;
        margin: 5px 0;
    }
}
