* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    background-color: #ffffff !important;
    color: white;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Estilos do cabeçalho */
header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    transition: all 0.3s ease;
    /* iOS safe area support */
    padding-top: env(safe-area-inset-top, 20px);
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
}

header.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #031e4e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo img {
    height: 104px; /* Increased 30% from 80px (80 * 1.3 = 104px) */
    width: auto;
    transition: all 0.3s ease;
}

header.scrolled .logo {
    color: #031e4e;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 104px; /* Match logo height for better alignment */
}

/* Desktop: Show navigation links */
@media (min-width: 769px) {
    .nav-links {
        display: flex !important;
        list-style: none;
        position: static !important;
        background: none !important;
        width: auto !important;
        height: auto !important;
        flex-direction: row !important;
        left: auto !important;
        top: auto !important;
        align-items: center; /* Better vertical alignment with logo */
    }
}

/* Mobile: Hide navigation links by default */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        list-style: none;
    }
}

/* Desktop: Hide hamburger menu */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* Mobile: Show hamburger menu */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
}

/* Desktop: Horizontal spacing for nav items */
@media (min-width: 769px) {
    .nav-links li {
        margin-left: 30px;
    }
}

/* Mobile: Vertical spacing for nav items */
@media (max-width: 768px) {
    .nav-links li {
        margin: 20px 0;
    }
}

/* Desktop: Standard nav link styling */
@media (min-width: 769px) {
    .nav-links a {
        color: #031e4e;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s ease;
        padding: 15px 0; /* Add vertical padding for better alignment */
        font-size: inherit;
        background: none !important;
        display: flex;
        align-items: center;
    }
    
    .nav-links a:hover {
        color: #4b371c;
    }
}

/* Mobile: Large touch-friendly nav links */
@media (max-width: 768px) {
    .nav-links a {
        font-size: 20px;
        font-weight: 600;
        color: #031e4e;
        text-decoration: none;
        padding: 15px 30px;
        display: block;
        border-radius: 10px;
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: rgba(3, 30, 78, 0.1);
        touch-action: manipulation;
    }
    
    .nav-links a:hover,
    .nav-links a:active {
        background-color: rgba(3, 30, 78, 0.1);
    }
}

header.scrolled .nav-links a {
    color: #031e4e;
}

/* Estilos da seção hero */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    z-index: 1;
    background-color: white;
}

.hero-container {
    display: flex;
    align-items: center;
}

.hero-content {
    width: 50%;
    z-index: 1;
}

.badge {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    padding: 8px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #4b371c;
}

.hero h1 {
    font-size: 46px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #4b371c;
}

.hero h1 span {
    color: #031e4e;
}

.hero h1 .highlight {
    color: #031e4e;
    font-weight: bold;
    position: relative;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 500px;
    color: #4b371c;
}

.cta-button {
    display: inline-block;
    padding: 16px 32px;
    background-color: #031e4e;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(3, 30, 78, 0.3);
    animation: pulse 2s infinite;
}

.cta-button:hover {
    background-color: #052a68;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(3, 30, 78, 0.4);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(3, 30, 78, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(3, 30, 78, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(3, 30, 78, 0.3);
    }
}

.hero-image {
    width: 45%;
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Buttons styles */
.buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary {
    background-color: #031e4e;
    color: white;
    border: none;
}

.btn-secondary {
    background-color: rgba(0, 0, 0, 0.1);
    color: #031e4e;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn svg {
    margin-left: 8px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

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

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #4b371c;
    font-size: 14px;
}

.scroll-indicator svg {
    margin-top: 10px;
    animation: bounce 2s infinite;
}

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

/* Background decorations */
.bg-decoration {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.bg-circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
}

.bg-circle-2 {
    width: 150px;
    height: 150px;
    bottom: 50px;
    left: 50px;
    opacity: 0.5;
}

/* Blob animation container */
.blob-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

/* The blob itself */
.blob {
    position: absolute;
    top: -10%;
    right: -30%;
    width: 100%;
    height: 120%;
    background: #031e4e;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: blob-movement 20s infinite alternate;
    opacity: 0.6;
    transform-origin: center center;
}

@keyframes blob-movement {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    20% {
        border-radius: 50% 50% 70% 30% / 50% 40% 60% 50%;
        transform: translate(0%, 2%) rotate(3deg) scale(1.02);
    }
    40% {
        border-radius: 70% 30% 30% 70% / 70% 30% 70% 30%;
        transform: translate(-2%, 5%) rotate(8deg) scale(1.05);
    }
    60% {
        border-radius: 30% 70% 50% 50% / 40% 50% 50% 60%;
        transform: translate(2%, -3%) rotate(-5deg) scale(0.98);
    }
    80% {
        border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
        transform: translate(3%, -5%) rotate(-8deg) scale(0.95);
    }
    100% {
        border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
        transform: translate(1%, 8%) rotate(5deg) scale(1.08);
    }
}

/* Seção de História */
.about-us {
    padding: 100px 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.about-card {
    max-width: 1000px;
    margin: 0 auto 60px;
    background-color: rgba(245, 245, 220, 0.3);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}

.section-badge {
    display: inline-block;
    background-color: rgba(3, 30, 78, 0.1);
    border-radius: 30px;
    padding: 8px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #031e4e;
    font-weight: 600;
}

.about-content {
    padding: 60px;
    position: relative;
    z-index: 1;
}

.about-intro {
    font-size: 24px;
    line-height: 1.6;
    color: #031e4e;
    font-weight: 500;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(3, 30, 78, 0.1);
    padding-bottom: 30px;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-text p {
    font-size: 20px;
    line-height: 1.8;
    color: #031e4e;
    margin: 0;
    font-weight: bold;
}

/* Carrossel de Especialidades */
.specialties-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 60px;
}

.carousel-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    background-color: white;
    touch-action: pan-y; /* Allow vertical scrolling but capture horizontal gestures */
}

/* Carousel navigation arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(3, 30, 78, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(3, 30, 78, 0.3);
}

.carousel-arrow:hover {
    background: rgba(3, 30, 78, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(3, 30, 78, 0.4);
}

.prev-arrow {
    left: 20px;
}

.next-arrow {
    right: 20px;
}

.carousel-arrow svg {
    width: 24px;
    height: 24px;
}

/* Hide arrows on mobile devices */
@media (max-width: 768px) {
    .carousel-arrow {
        display: none;
    }
}

/* Fixed WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: #25D366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    /* iOS safe area support */
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    right: calc(20px + env(safe-area-inset-right, 0px));
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    background: #20C157;
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1); /* Make icon white */
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: calc(15px + env(safe-area-inset-bottom, 0px));
        right: calc(15px + env(safe-area-inset-right, 0px));
    }
    
    .whatsapp-float img {
        width: 30px;
        height: 30px;
    }
}

.carousel-track {
    display: flex;
    animation: carousel 30s linear infinite;
    width: fit-content;
}

.carousel-card {
    flex: 0 0 300px;
    background-color: white;
    border-radius: 16px;
    margin: 0 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(3, 30, 78, 0.15);
}

.carousel-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-icon img {
    max-width: 90%;
    max-height: 90%;
    object-fit: cover;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    object-position: center center;
}

.carousel-card h3 {
    color: #031e4e;
    font-size: 20px;
    margin-bottom: 15px;
}

.carousel-card p {
    color: #4b371c;
    font-size: 14px;
    line-height: 1.6;
}

@keyframes carousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 4 - 30px * 4)); /* Width of 4 cards + their margins */
    }
}

@media (max-width: 768px) {
    .about-content {
        padding: 30px;
    }
    
    .about-intro {
        font-size: 20px;
    }
    
    .carousel-card {
        flex: 0 0 260px;
    }
    
    @keyframes carousel {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-260px * 4 - 30px * 4)); /* Width of 4 cards + their margins for mobile */
        }
    }
}

.timeline-content {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 50px;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: 49px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, 
        rgba(3, 30, 78, 0.2) 0%,
        rgba(3, 30, 78, 0.4) 35%,
        rgba(3, 30, 78, 0.6) 65%,
        rgba(3, 30, 78, 0.8) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 70px;
    transform: translateX(0);
    opacity: 1;
}

.timeline-marker {
    position: absolute;
    left: -50px;
    top: 15px;
}

.marker-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #031e4e;
    background-color: white;
    position: relative;
    z-index: 1;
}

.marker-circle.active {
    background-color: #031e4e;
    box-shadow: 0 0 0 4px rgba(3, 30, 78, 0.2);
}

.marker-line {
    height: calc(100% + 50px);
    width: 2px;
    position: absolute;
    top: 20px;
    left: 9px;
}

.timeline-card {
    background-color: rgba(245, 245, 220, 0.5);
    border-radius: 16px;
    padding: 30px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #031e4e;
    transition: all 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.timeline-card.featured {
    background-color: rgba(3, 30, 78, 0.05);
    border-left: 4px solid #031e4e;
    box-shadow: 0 10px 40px rgba(3, 30, 78, 0.15);
}

.timeline-year {
    display: inline-block;
    background-color: #031e4e;
    color: white;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
    font-size: 14px;
}

.timeline-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #031e4e;
}

.timeline-card p {
    color: #4b371c;
    line-height: 1.7;
}

.about-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(3, 30, 78, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.about-card::after {
    content: '';
    position: absolute;
    bottom: -70px;
    left: -70px;
    width: 250px;
    height: 250px;
    background-color: rgba(3, 30, 78, 0.03);
    border-radius: 50%;
    z-index: 0;
}

@media (max-width: 768px) {
    .about-content {
        padding: 30px;
    }
    
    .about-intro {
        font-size: 20px;
    }
}

/* Seção de Especialidades Médicas */
.doctors-specialties {
    padding: 100px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #031e4e;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #031e4e, rgba(3, 30, 78, 0.5));
    border-radius: 2px;
}

.section-title p {
    font-size: 18px;
    max-width: 800px;
    margin: 20px auto 0;
    color: #4b371c;
    line-height: 1.7;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.doctor-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(3, 30, 78, 0.15);
}

.doctor-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.5s ease;
}

/* Adjust image positioning for specific doctors to show faces better */
.doctor-image img[src="p0msvm0bc9.jpeg"] {
    object-position: center 20%;
}

.doctor-image img[src="4mxvogfys6.jpg"] {
    object-position: center 20%;
}

.doctor-image img[src="u0cg89uphu.jpg"] {
    object-position: center 20%;
}

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

.doctor-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.doctor-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #031e4e;
    font-weight: 600;
}

.doctor-specialty {
    display: inline-block;
    background-color: rgba(3, 30, 78, 0.1);
    color: #031e4e;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.doctor-info p {
    color: #4b371c;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 15px;
}

.doctor-credentials {
    list-style-type: none;
    padding: 0;
    margin: auto 0 0 0;
}

.doctor-credentials li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    color: #4b371c;
    font-size: 14px;
}

.doctor-credentials li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background-color: rgba(3, 30, 78, 0.2);
    border: 2px solid #031e4e;
    border-radius: 50%;
}

.doctors-cta {
    margin-top: 60px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
}

@media (max-width: 900px) {
    .doctors-grid {
        grid-template-columns: 1fr;
    }
    
    .doctor-image {
        height: 240px;
    }
    
    .doctors-cta {
        flex-direction: column;
        align-items: center;
    }
}

/* Features section (keeping for reference) */
.features {
    padding: 80px 0;
    display: none;
}

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

.feature-card {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 30px;
    transition: 0.3s;
    color: #4b371c;
}

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

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.feature-card p {
    opacity: 0.8;
}

/* Seção de Contato */
.contact-section {
    padding: 100px 0;
    background-color: #f9f9f9;
    position: relative;
}

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

.contact-card {
    background-color: white;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(3, 30, 78, 0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(3, 30, 78, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.contact-icon svg {
    width: 30px;
    height: 30px;
    color: #031e4e;
}

.contact-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #031e4e;
}

.contact-card address {
    font-style: normal;
    line-height: 1.6;
    color: #4b371c;
    margin-bottom: 20px;
    font-size: 16px;
}

.contact-hours h4 {
    font-size: 16px;
    color: #031e4e;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-hours p {
    color: #4b371c;
    line-height: 1.6;
    font-size: 15px;
}

.phone-numbers, .email-addresses {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.phone-item, .email-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.phone-label, .email-label {
    font-size: 14px;
    color: #031e4e;
    font-weight: 600;
}

.phone-number, .email-addresses a {
    color: #4b371c;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;
}

.phone-number:hover, .email-addresses a:hover {
    color: #031e4e;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Spa Section */
.spa-section {
    padding: 80px 0;
}

.spa-section .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.spa-content {
    flex: 1;
}

.spa-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #031e4e;
}

.spa-content p {
    margin-bottom: 30px;
    color: #4b371c;
}

.spa-image {
    flex: 1;
}

.spa-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Rodapé */
footer {
    padding: 80px 0 20px;
    background-color: white;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

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

.footer-logo {
    justify-self: start;
}

.footer-logo h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #031e4e;
}

.footer-logo p {
    color: #4b371c;
}

.footer-links {
    display: flex;
    justify-content: flex-start;
}

.about-us-column {
    justify-self: center;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #031e4e;
    font-weight: 600;
}

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

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

.footer-column a {
    color: #4b371c;
    text-decoration: none;
    transition: 0.3s;
}

.footer-column a:hover {
    color: #031e4e;
    opacity: 1;
}

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

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-3px);
}

.footer-social img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-bottom p {
    color: #4b371c;
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-logo, .footer-links, .about-us-column {
        width: 100%;
        justify-self: center;
        margin-bottom: 30px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        min-height: 100vh;
        min-height: calc(100vh - env(safe-area-inset-top, 0px));
        padding-top: calc(120px + env(safe-area-inset-top, 0px));
        padding-bottom: 40px;
        justify-content: flex-start;
        overflow: hidden;
        width: 100%;
        box-sizing: border-box;
    }
    
    .hero-container {
        flex-direction: column;
        height: 100%;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-content, .hero-image {
        width: 100%;
    }

    .hero-content {
        margin-bottom: 0;
        order: 1;
        position: relative;
        z-index: 1;
    }
    
    .hero-image {
        order: 2;
        margin-top: 40px;
        position: relative;
        z-index: 1;
    }
    
    /* Mobile hero section adjustments */
    .hero {
        position: relative;
    }
    
    /* Completely hide blob container on mobile */
    .blob-container {
        display: none;
    }
    
    /* Ensure text content stays above the blob */
    .hero-content {
        position: relative;
        z-index: 2;
        background: transparent;
    }
    
    /* Ensure image stays above the blob */
    .hero-image {
        position: relative;
        z-index: 2;
    }
}

    .hero h1 {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 16px;
        margin-top: 0;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 24px;
        padding: 0 10px;
    }

    .badge {
        font-size: 12px;
        padding: 6px 12px;
        margin-bottom: 16px;
    }

    .buttons {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
        align-items: center;
        margin-bottom: 0;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 12px 24px;
    }

    .scroll-indicator {
        position: absolute;
        bottom: 120px;
        font-size: 12px;
        margin-top: 80px;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .hamburger-line {
        width: 25px;
        height: 3px;
        background-color: #031e4e;
        margin: 2px 0;
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .nav-links {
        position: fixed;
        top: calc(90px + env(safe-area-inset-top, 0px));
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px - env(safe-area-inset-top, 0px));
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links a {
        font-size: 20px;
        font-weight: 600;
        color: #031e4e;
        text-decoration: none;
        padding: 15px 30px;
        border-radius: 8px;
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: rgba(3, 30, 78, 0.1);
        touch-action: manipulation;
    }

    .nav-links a:hover,
    .nav-links a:active {
        background-color: rgba(3, 30, 78, 0.1);
    }

    .container {
        padding: 0 max(15px, env(safe-area-inset-left, 0px)) 0 max(15px, env(safe-area-inset-right, 0px));
    }

    .spa-section .container {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }
}