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

html {
    scroll-behavior: smooth;
}

/* EJUVV Brand Colors */
:root {
    --ejuvv-pink: #53215b;
    --ejuvv-dark-blue: #0a0a2b;
    --ejuvv-light-yellow: #f5f6f8;
    
    /* Semantic Colors - Light Mode Default */
    --bg-body: #f5f6f8;
    --text-body: #0a0a2b;
    --bg-card: #ffffff;
    
    /* Mappings */
    --white: #f5f6f8;
    --gray-50: #f5f6f8;
    --gray-100: #f5f6f8;
    --gray-200: #f5f6f8;
    --gray-300: #0a0a2b;
    --gray-400: #0a0a2b;
    --gray-500: #0a0a2b;
    --gray-600: #0a0a2b;
    --gray-700: #0a0a2b;
    --gray-800: #0a0a2b;
    --gray-900: #0a0a2b;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Header Colors */
    --bg-header: rgba(255, 255, 255, 0.95);
    --bg-header-scrolled: rgba(255, 255, 255, 0.98);
}

/* Dark Mode */
.dark-mode {
    /* Swap Backgrounds to Dark */
    --bg-body: #0a0a2b;
    --text-body: #f5f6f8;
    --bg-card: #0a0a2b;
    
    --white: #0a0a2b;
    
    /* Header Colors Dark */
    --bg-header: rgba(10, 10, 43, 0.95);
    --bg-header-scrolled: rgba(10, 10, 43, 0.98);
    
    /* Background grays become dark */
    --gray-50: #0a0a2b;
    --gray-100: #0a0a2b;
    --gray-200: #0a0a2b;
    
    /* Text grays become light */
    --gray-300: #f5f6f8;
    --gray-400: #f5f6f8;
    --gray-500: #f5f6f8;
    --gray-600: #f5f6f8;
    --gray-700: #f5f6f8;
    --gray-800: #f5f6f8;
    --gray-900: #f5f6f8;
    
    --shadow-sm: 0 1px 2px 0 rgba(255, 255, 255, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(255, 255, 255, 0.07), 0 2px 4px -1px rgba(255, 255, 255, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(255, 255, 255, 0.07), 0 4px 6px -2px rgba(255, 255, 255, 0.03);
    
    color-scheme: dark;
}

body {
    font-family: 'Fira Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-body);
    background-color: var(--bg-body);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dark-mode .navbar {
    background-color: var(--gray-100);
}

.dark-mode .service-card,
.dark-mode .testimonial-card,
.dark-mode .contact-form {
    background-color: var(--gray-200);
}

.dark-mode-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--ejuvv-pink);
    color: #f5f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    border: none;
    transition: transform 0.3s ease;
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 4rem;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--ejuvv-pink) 0%, var(--ejuvv-dark-blue) 100%);
    color: var(--white);
}

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

.btn-secondary {
    background: var(--white);
    color: var(--ejuvv-pink);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--ejuvv-pink);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-header);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background: var(--bg-header-scrolled);
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ejuvv-pink) 0%, var(--ejuvv-dark-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 1.25rem;
}

.logo-text {
    font-weight: bold;
    font-size: 1.25rem;
    color: var(--gray-900);
}

.nav-desktop {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

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

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

.nav-actions {
    display: none;
}

@media (min-width: 768px) {
    .nav-actions {
        display: block;
    }
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-700);
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--gray-200);
}

.nav-mobile.active {
    display: flex;
}

.mobile-cta {
    margin-top: 1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--white);
    text-align: center;
    padding-top: 4rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1; /* Garante que fique atrás de outros conteúdos */
  
    /* Define a sua imagem como fundo */
    background-image: url('img/imagemdefundo.jpg');
  
    /* Propriedades para ajustar a imagem */
    background-size: cover;       /* Faz a imagem cobrir todo o espaço, sem distorcer */
    background-position: center;  /* Centraliza a imagem */
    background-repeat: no-repeat; /* Evita que a imagem se repita */
}



.hero-content {
    max-width: 4xl;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-title-highlight {
    display: block;
    color: var(--ejuvv-light-yellow);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
    }
}

/* Stats Section */
.stats {
    background: var(--ejuvv-pink);
    color: var(--white);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .stat-value {
        font-size: 2.5rem;
    }
}

.stat-label {
    opacity: 0.8;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.text-primary {
    color: var(--ejuvv-pink);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.6;
}

/* About Section */
.about {
    background: var(--gray-50);
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.about-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.about-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.about-card-title {
    color: var(--ejuvv-pink);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-card-text {
    color: var(--gray-600);
    line-height: 1.6;
}

.about-card-text p {
    margin-bottom: 0.5rem;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

.services-carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto 0;
    padding: 0 2rem;
}

.services-carousel {
    overflow: hidden;
    position: relative;
}

.services-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .service-card {
        flex: 0 0 calc(100% / 3);
        max-width: calc(100% / 3);
    }
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--ejuvv-pink);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.service-description {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.services-nav {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.services-nav-btn {
    background-color: var(--ejuvv-pink);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: background-color 0.3s ease;
    pointer-events: auto;
}

.services-nav-btn:hover {
    background-color: var(--ejuvv-dark-blue);
}

.prev-btn {
    margin-left: -20px;
}

.next-btn {
    margin-right: -20px;
}

/* Indicadores do carrossel */
.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gray-300);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.indicator:hover {
    transform: scale(1.2);
}

.indicator.active {
    background-color: var(--ejuvv-pink);
}

/* Animações para os cards */
.service-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.3s ease;
    animation: fadeIn 0.5s ease-in-out;
}

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

/* Animação para o carrossel */
.services-track {
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: var(--gray-100);
}

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

.testimonial-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.testimonial-content {
    flex: 1;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--gray-700);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    color: var(--ejuvv-pink);
    opacity: 0.2;
    position: absolute;
    top: -2rem;
    left: -1rem;
    font-family: serif;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--ejuvv-pink);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
}

.author-info h4 {
    margin: 0;
    color: var(--gray-800);
    font-size: 1rem;
}

.author-info p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Clients Section */
.clients {
    background: var(--gray-50);
    padding: 4rem 0;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.client-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.client-item:hover {
    box-shadow: var(--shadow-md);
}

.client-logo {
    max-height: 4rem;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(0%);
    transition: filter 0.3s ease;
}

/* Removido o efeito hover que restaurava a cor, já que as imagens agora estão sempre coloridas */

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--gray-100);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--ejuvv-pink) 0%, var(--ejuvv-dark-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.contact-details p {
    color: var(--gray-600);
    line-height: 1.6;
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    width: 100%;
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--gray-800);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ejuvv-pink);
    box-shadow: 0 0 0 3px rgba(83, 33, 91, 0.1);
}

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

.submit-btn {
    background-color: var(--ejuvv-pink);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--ejuvv-dark-blue);
}

/* Footer */
.footer {
    background: var(--ejuvv-dark-blue);
    color: #f5f6f8;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: #f5f6f8;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-title {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: #f5f6f8;
}

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

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

.footer-links a {
    color: #f5f6f8;
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.8;
}

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

.footer-contact {
    color: #f5f6f8;
    opacity: 0.8;
}

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

.footer-bottom {
    border-top: 1px solid rgba(245, 246, 248, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #f5f6f8;
    opacity: 0.6;
}

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

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

/* Responsive adjustments */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 1rem 1.5rem;
    }
}

