/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d4af37;
    --primary-color-rgb: 212, 175, 55;
    --primary-dark: #b8941f;
    --secondary-color: #2c2c2c;
    --accent-color: #f8f8f8;
    --accent-color-dark: #f0f0f0;
    --text-dark: #333333;
    --text-light: #666666;
    --text-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --skeleton-base: #e6e6e6;
    --skeleton-highlight: #f4f4f4;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

body.is-loading {
    cursor: progress;
}

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

[data-skeleton].skeleton {
    position: relative;
    color: transparent !important;
    border-radius: 12px;
    overflow: hidden;
    pointer-events: none;
}

[data-skeleton].skeleton > * {
    visibility: hidden;
}

[data-skeleton].skeleton::after,
.skeleton-element::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, var(--skeleton-highlight) 50%, rgba(255, 255, 255, 0) 100%);
    animation: skeletonShimmer 1.6s infinite;
    transform: translateX(-100%);
    z-index: 1;
}

.skeleton-element,
[data-skeleton].skeleton {
    background: var(--skeleton-base);
}

.skeleton-card {
    position: relative;
    overflow: hidden;
}

.skeleton-element {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.skeleton-element.skeleton-image {
    height: 200px;
    margin-bottom: 1.5rem;
    border-radius: calc(var(--border-radius) - 8px);
}

.skeleton-element.skeleton-image.tall {
    height: 250px;
}

.skeleton-element.skeleton-line {
    height: 16px;
    margin-bottom: 0.85rem;
    border-radius: 999px;
}

.skeleton-element.skeleton-line.large {
    height: 24px;
    margin-bottom: 1rem;
}

.skeleton-element.skeleton-line.short {
    width: 60%;
}

.skeleton-element.skeleton-line.stars {
    width: 140px;
    height: 20px;
    margin: 0 auto 1rem;
}

.skeleton-element.skeleton-button {
    height: 48px;
    border-radius: var(--border-radius);
    margin-top: 1.5rem;
}

.skeleton-element.skeleton-pill {
    height: 40px;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

[data-skeleton][data-skeleton-type="title"].skeleton {
    min-height: 3rem;
    max-width: min(100%, 540px);
}

[data-skeleton][data-skeleton-type="subtitle"].skeleton {
    min-height: 1.4rem;
    max-width: min(100%, 620px);
}

[data-skeleton][data-skeleton-type="text"].skeleton,
[data-skeleton][data-skeleton-type="card-text"].skeleton {
    min-height: 1.1rem;
    max-width: min(100%, 420px);
}

[data-skeleton][data-skeleton-type="cta-title"].skeleton {
    min-height: 2.4rem;
    max-width: min(100%, 400px);
}

[data-skeleton][data-skeleton-type="cta-text"].skeleton {
    min-height: 1.2rem;
    max-width: 100%;
}

[data-skeleton][data-skeleton-type="image"].skeleton {
    min-height: 340px;
    border-radius: var(--border-radius);
}

[data-skeleton][data-skeleton-type="badge"].skeleton {
    width: 180px;
    height: 36px;
    border-radius: 999px;
}

[data-skeleton][data-skeleton-type="footer"].skeleton {
    min-height: 1rem;
    max-width: min(100%, 360px);
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--gradient);
    color: var(--text-white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hidden {
    display: none !important;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    height: 48px;
    width: auto;
    object-fit: contain;
}

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

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

.nav-menu.active {
    right: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 7rem 2rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--text-dark);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(var(--primary-color-rgb), 0.2);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(var(--primary-color-rgb), 0.2);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-dark);
}

.hero-title .highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transform: rotate(2deg);
    transition: var(--transition);
}

.hero-image-container:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-floating-card {
    position: absolute;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-floating-card.card-1 {
    top: 10%;
    left: -10%;
    animation: float 3s ease-in-out infinite;
}

.hero-floating-card.card-2 {
    bottom: 15%;
    right: -15%;
    animation: float 3s ease-in-out infinite 1.5s;
}

.hero-floating-card h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.hero-floating-card p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
}

.hero-floating-card .rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #fbbf24;
    font-size: 0.8rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.hero-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    z-index: -1;
}

.hero-decoration.decoration-1 {
    top: 10%;
    right: 10%;
    animation: float 4s ease-in-out infinite;
}

.hero-decoration.decoration-2 {
    bottom: 20%;
    left: 5%;
    width: 150px;
    height: 150px;
    animation: float 4s ease-in-out infinite 2s;
}

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

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--accent-color);
}

.section-header {
    margin-bottom: 4rem;
}

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

.empty-state {
    text-align: center;
    color: var(--text-light);
    margin-top: 2rem;
    font-size: 1rem;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.service-media {
    margin-bottom: 1.5rem;
}

.service-card.has-image .service-media {
    margin-bottom: 1.75rem;
}

.service-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: calc(var(--border-radius) - 12px);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

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

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

.service-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

/* About Section */
.about {
    padding: 6rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about-features {
    margin: 3rem 0;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.about-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--gradient);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    box-shadow: var(--shadow);
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    background: var(--accent-color);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: white;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
}

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

.testimonial-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.testimonial-stars {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial-author strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--accent-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 1rem;
}

.contact-description {
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    white-space: pre-line;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.contact-cta {
    display: flex;
    align-items: center;
}

.cta-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    width: 100%;
}

.cta-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.cta-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-features {
    margin-top: 2rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.cta-feature i {
    color: var(--primary-color);
}

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

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

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

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

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

.footer-links a {
    color: var(--text-white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-contact h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-contact p {
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

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

/* Booking Modal */
.booking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.booking-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.booking-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    z-index: 10;
}

.booking-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.booking-header h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

.booking-chat {
    height: 500px;
}

/* Chat Widget Flutuante */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
}

.chat-button {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    transition: var(--transition);
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
}

.chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.6);
}

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

.chat-button:hover::before {
    left: 100%;
}

.chat-button-text {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: var(--text-dark);
    padding: 0.75rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-50%) translateX(10px);
    transition: var(--transition);
    pointer-events: none;
}

.chat-button-text::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.chat-widget:hover .chat-button-text {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.chat-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    animation: bounce 1s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6), 0 0 0 10px rgba(212, 175, 55, 0.1);
    }
    100% {
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Chat Widget Expandido */
.chat-widget-expanded {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 400px;
    height: 600px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 2001;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideInUp 0.3s ease-out;
}

.chat-widget-expanded.active {
    display: flex;
}

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

.chat-widget-header {
    background: var(--gradient);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-widget-header h3 {
    font-size: 1.1rem;
    margin: 0;
}

.chat-widget-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.chat-widget-body {
    flex: 1;
    overflow: hidden;
}

.chat-widget-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Remover WhatsApp float button antigo */
.whatsapp-float {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .booking-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.featured {
        transform: none;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}


@media (max-width: 600px) {
    header nav {
        justify-content: center !important;
    }

    header button {
        display: none !important;
    }

    .hero-container .hero-visual, 
    .hero-container .hero-decoration,
    .hero-container .hero-stats {
        display: none !important;
    }

    .hero-container {
        display: flex !important;
        padding: 7rem 2rem 1rem;
    }

    .hero-container .hero-actions {
        flex-direction: row;
    }
}



/* Reset e base específico para o chat */
#exibeChat * {
    box-sizing: border-box !important;
}

/* Variáveis CSS para consistência */

/* #exibeChat {
    --primary-color: #2563eb !important;
    --secondary-color: #10b981 !important;
    --gradient: linear-gradient(135deg, #2563eb, #10b981) !important;
    --text-dark: #1e293b !important;
    --text-light: #64748b !important;
    --text-white: #ffffff !important;
    --border-radius: 12px !important;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    --transition: all 0.3s ease !important;
} */

/* Container principal do chat */
#exibeChat .chat-window-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

#exibeChat .chat-window {    
    width: 100% !important;
    height: 100% !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: none !important;
    box-shadow: -1px 1px 18px 8px #00000036;
    max-width: 441px;
}

/* Layout principal */
#exibeChat .chat-layout {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}

/* Header do chat */
#exibeChat .chat-header {
    background: var(--gradient) !important;
    color: var(--text-white) !important;
    padding: 1.5rem !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
}

#exibeChat .chat-header::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1 )"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>') !important;
    pointer-events: none !important;
}

#exibeChat .chat-heading h1 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin: 0 0 0.5rem 0 !important;
    position: relative !important;
    z-index: 1 !important;
    color: var(--text-white) !important;
}

#exibeChat .chat-header p {
    font-size: 0.9rem !important;
    opacity: 0.9 !important;
    margin: 0 !important;
    position: relative !important;
    z-index: 1 !important;
    line-height: 1.4 !important;
    color: var(--text-white) !important;
}

/* Corpo do chat */
#exibeChat .chat-body {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    position: relative !important;
}

#exibeChat .chat-messages-list {
    /* flex: 1 !important; */
    padding: 1.5rem !important;
    /* overflow-y: auto !important; */
    /* scroll-behavior: smooth !important; */
    height: 300px !important;
    overflow: auto;
}

/* Mensagens */
#exibeChat .chat-message {
    margin-bottom: 1rem !important;
    animation: slideInUp 0.3s ease-out !important;
}


.chat-message.chat-message-from-user:not(.chat-message-transparent) {
    background-color: transparent !important;
}

.chat-message{
    max-width: 100% !important;
}

@keyframes slideInUp {
    from {
        opacity: 0 !important;
        transform: translateY(10px) !important;
    }
    to {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

#exibeChat .chat-message-from-bot {
    display: flex !important;
    justify-content: flex-start !important;
}

#exibeChat .chat-message-from-user {
    display: flex !important;
    justify-content: flex-end !important;
}

#exibeChat .chat-message-markdown {
    background: #f1f5f9 !important;
    color: var(--text-dark) !important;
    padding: 1rem 1.25rem !important;
    border-radius: 18px 18px 18px 4px !important;
    max-width: 80% !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    position: relative !important;
    border: none !important;
}

#exibeChat .chat-message-from-user .chat-message-markdown {
    background: var(--gradient) !important;
    color: var(--text-white) !important;
    border-radius: 18px 18px 4px 18px !important;
}

#exibeChat .chat-message-markdown p {
    margin: 0 !important;
    line-height: 1.5 !important;
    font-size: 0.95rem !important;
}

/* Footer do chat */
#exibeChat .chat-footer {
    padding: 1.5rem !important;
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
}

#exibeChat .chat-input {
    position: relative !important;
    background: #f8fafc !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: var(--border-radius) !important;
    transition: var(--transition) !important;
    overflow: hidden !important;
}

#exibeChat .chat-input:focus-within {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}

#exibeChat .chat-inputs {
    display: flex !important;
    align-items: flex-end !important;
    gap: 0.75rem !important;
    padding: 0.75rem !important;
}

#exibeChat .chat-inputs textarea {
    flex: 1 !important;
    border: none !important;
    background: transparent !important;
    resize: none !important;
    font-family: inherit !important;
    font-size: 0.95rem !important;
    color: var(--text-dark) !important;
    line-height: 1.5 !important;
    padding: 0.5rem 0 !important;
    outline: none !important;
    min-height: 24px !important;
    max-height: 120px !important;
}

#exibeChat .chat-inputs textarea::placeholder {
    color: var(--text-light) !important;
}

#exibeChat .chat-inputs-controls {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

#exibeChat .chat-input-send-button {
    width: 40px !important;
    height: 40px !important;
    border: none !important;
    background: var(--gradient) !important;
    color: var(--text-white) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3) !important;
}

#exibeChat .chat-input-send-button:hover:not(:disabled) {
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4) !important;
}

#exibeChat .chat-input-send-button:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

#exibeChat .chat-input-send-button svg {
    width: 20px !important;
    height: 20px !important;
}

/* Botão de toggle do chat */
#exibeChat .chat-window-toggle {
    position: absolute !important;
    top: -75px !important;
    right: 1rem !important;
    width: 70px !important;
    height: 70px !important;
    background: rgba(var(--primary-color-rgb), 0.8) !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: 0s !important;
    backdrop-filter: blur(10px) !important;
    z-index: 10 !important;
}

#exibeChat.active .chat-window-toggle {
    width: 30px !important;
    height: 30px !important;
    top: 10px !important;
    background: rgba(var(--primary-color-rgb), 0.9)!important;
}

#exibeChat .chat-window-toggle:hover {
    background: rgba(var(--primary-color-rgb), 0.6)!important;
    transform: scale(1.05) !important;
}

#exibeChat .chat-window-toggle svg {
    width: 24px !important;
    height: 24px !important;
    color: var(--text-white) !important;
}

/* Scrollbar personalizada */
#exibeChat .chat-messages-list::-webkit-scrollbar {
    width: 6px !important;
}

#exibeChat .chat-messages-list::-webkit-scrollbar-track {
    background: #f1f5f9 !important;
    border-radius: 3px !important;
}

#exibeChat .chat-messages-list::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 3px !important;
}

#exibeChat .chat-messages-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8 !important;
}

/* Responsividade */
@media (max-width: 480px) {
    #exibeChat .chat-header {
        padding: 1rem !important;
    }
    
    #exibeChat .chat-messages-list {
        padding: 1rem !important;
    }
    
    #exibeChat .chat-footer {
        padding: 1rem !important;
    }
    
    #exibeChat .chat-message-markdown {
        max-width: 90% !important;
        padding: 0.875rem 1rem !important;
    }
}

/* Animações de entrada */
#exibeChat .chat-layout {
    animation: fadeIn 0.3s ease-out !important;
}

@keyframes fadeIn {
    from {
        opacity: 0 !important;
    }
    to {
        opacity: 1 !important;
    }
}

/* Estados de hover e foco melhorados */
#exibeChat .chat-inputs textarea:focus {
    outline: none !important;
}

/* Melhorias de acessibilidade */
#exibeChat .chat-input-send-button:focus {
    outline: 2px solid var(--primary-color) !important;
    outline-offset: 2px !important;
}

/* Indicador de digitação (se necessário) */
#exibeChat .typing-indicator {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 1rem 1.25rem !important;
    color: var(--text-light) !important;
    font-style: italic !important;
}

#exibeChat .typing-dots {
    display: flex !important;
    gap: 0.25rem !important;
}

#exibeChat .typing-dots span {
    width: 6px !important;
    height: 6px !important;
    background: var(--text-light) !important;
    border-radius: 50% !important;
    animation: typingDots 1.4s infinite ease-in-out !important;
}

#exibeChat .typing-dots span:nth-child(1) { 
    animation-delay: -0.32s !important; 
}

#exibeChat .typing-dots span:nth-child(2) { 
    animation-delay: -0.16s !important; 
}

@keyframes typingDots {
    0%, 80%, 100% {
        transform: scale(0.8) !important;
        opacity: 0.5 !important;
    }
    40% {
        transform: scale(1) !important;
        opacity: 1 !important;
    }
}

/* Forçar estilos específicos do n8n */
#exibeChat .n8n-chat {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

#exibeChat .chat-wrapper {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
}


.doctors {
    padding: 6rem 0;
    background: var(--accent-color-dark);
}

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

.doctor-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.doctor-image {
    height: 250px;
    overflow: hidden;
}

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

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

.doctor-info {
    padding: 2rem;
}

.doctor-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.doctor-specialty {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.doctor-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.doctor-credentials {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.doctor-credentials span {
    color: var(--text-light);
    font-size: 0.9rem;
}
