:root {
    --primary: #C85A74;
    --primary-light: #E08AA0;
    --primary-dark: #A5455B;
    --black: #000000;
    --white: #FFFFFF;
    --bg-light: #FDF4F6;
    /* Softer pink tint for bg-light */
    --text-main: #2A2A2A;
    --text-muted: #666666;
    --transition: cubic-bezier(0.77, 0, 0.175, 1);
    --border-radius: 20px;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: initial;
    /* GSAP will handle smooth scroll if needed */
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--black);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.container-large {
    max-width: 1400px;
}

.container-small {
    max-width: 800px;
}

.section-padding {
    padding: 120px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Custom Cursor */
#custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    /* Higher than preloader */
    mix-blend-mode: difference;
    transition: transform 0.1s ease-out;
    display: none;
    /* Hidden on mobile */
    opacity: 0;
    /* Começa invisível para não aparecer antes do preloader sumir */
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #FFFFFF;
    z-index: 10000;
    display: flex;
    /* Mantendo flex para centralizar o conteúdo */
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.preloader-content {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    /* Bem acima da fumaça */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.preloader-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.preloader-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.preloader-logo-container img {
    height: 220px;
    /* Mantém impacto total */
    width: auto;
    filter: none;
    margin-bottom: 0;
    /* Centralizado sem texto abaixo */
    position: relative;
}

@keyframes revealLogo {
    0% {
        transform: scale(0.8) translateY(20px);
        opacity: 0;
        filter: blur(10px);
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
        filter: blur(0);
    }
}



#fireworks-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    filter: blur(50px);
    opacity: 0.6;
    z-index: 1;
    /* Camada base para a névoa */
}

@media (min-width: 1024px) {
    #custom-cursor {
        display: block;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-dark);
    transform: translateY(100%);
    transition: 0.4s var(--transition);
    z-index: -1;
}

.btn-primary:hover::before {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    /* Texto branco no Hero */
    border: 1px solid rgba(255, 255, 255, 0.4);
    /* Borda clara */
}

.btn-outline:hover {
    background: var(--white);
    color: var(--black);
}

/* Header */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: 0.5s var(--transition);
    opacity: 0;
    visibility: hidden;
    color: var(--white);
    /* Texto e logo brancos por padrão hero */
}

#main-header.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    color: var(--primary);
    /* Texto rosa ao rolar */
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    position: relative;
    display: block;
    height: 60px;
    /* Garante que os logos se sobreponham no mesmo lugar */
    width: 200px;
}

.logo img {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: opacity 0.4s ease, transform 0.3s ease;
}

.logo-color {
    opacity: 0;
    /* Começa escondido, aparece no scroll */
}

.scrolled .logo-white {
    opacity: 0;
}

.scrolled .logo-color {
    opacity: 1;
}

.logo:hover img {
    transform: translateY(-50%) scale(1.05);
}

.nav-desktop ul {
    display: flex;
    gap: 40px;
}

.nav-desktop a {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    color: inherit;
    /* Segue a cor do header */
    transition: color 0.3s ease;
}

.scrolled .nav-desktop a {
    color: var(--primary);
    /* Links rosas ao rolar */
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: currentColor;
    /* Segue a cor do header (Branco -> Rosa) */
    transition: 0.3s;
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: #000;
    /* Pre-render black back */
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    /* Muito mais claro (antes 0.6) */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 60%),
        linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    z-index: 0;
}

#hero h1,
#hero p {
    color: #b2b2b2;
    /* Inverting text since hero is dark with video */
    position: relative;
    z-index: 5;
    opacity: 1;
    /* Reset explicit default */
}

#hero .reveal-text span {
    color: var(--primary-light);
}

#hero-bg-video {
    filter: brightness(95%) contrast(105%);
    /* Mais brilho e vida */
}

#three-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text-wrapper {
    max-width: 800px;
}

#hero h1 {
    font-size: clamp(48px, 8vw, 86px);
    line-height: 1.1;
    margin-bottom: 24px;
    overflow: hidden;
    /* For reveal effect */
}

#hero h1 span {
    color: var(--primary);
}

#hero p {
    font-size: clamp(18px, 2vw, 22px);
    color: #b2b2b2;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.scroll-indicator p {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.5;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* Section Common */
.section-tag {
    display: inline-block;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 13px;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 30px;
}

.text-p {
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--text-muted);
}

/* Sobre */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sobre-image-container {
    position: relative;
}

.image-reveal-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
}

.sobre-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: 1s ease;
}

.experience-tag {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 2;
}

.experience-tag span {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.experience-tag p {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 5px;
}

.sobre-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-icon {
    font-size: 24px;
    width: 50px;
    height: 50px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-text strong {
    display: block;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Services */
.center {
    text-align: center;
}

.section-header {
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
    transition: 0.5s var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-image {
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s ease;
}

.service-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.card-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.card-content p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 30px;
    flex-grow: 1;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 14px;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.link-arrow::after {
    content: '→';
    transition: 0.3s var(--transition);
}

.link-arrow:hover {
    color: var(--primary);
}

.link-arrow:hover::after {
    transform: translateX(5px);
}

/* Feedback Carousel */
.feedback-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

.feedback-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.feedback-slide {
    flex: 0 0 100%;
    padding: 0 10px;
}

.feedback-slide .reviews-card {
    padding: 60px;
    margin: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.btn-video {
    background: var(--white);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 30px;
    cursor: pointer;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.play-icon {
    font-size: 10px;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding-left: 2px;
}

.btn-video:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-video:hover .play-icon {
    background: var(--white);
    color: var(--primary);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.carousel-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(200, 90, 116, 0.2);
    background: var(--white);
    color: var(--primary);
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav button:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Footer */
footer {
    background: #0a0a0a;
    color: var(--white);
    padding: 100px 0 40px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo-wrapper {
    margin-bottom: 30px;
}

.footer-logo {
    height: 60px;
    /* Logo mais visível e elegante */
    width: auto;
    display: block;
}

.footer-brand p {
    opacity: 0.6;
    max-width: 300px;
    margin-bottom: 30px;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s var(--transition);
    color: var(--white);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-social svg {
    display: block;
}

.footer-nav h4,
.footer-info h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 700;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-nav a {
    opacity: 0.6;
}

.footer-nav a:hover {
    opacity: 1;
    padding-left: 10px;
}

.footer-info p {
    opacity: 0.6;
    margin-bottom: 10px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    opacity: 0.6;
}

.footer-bottom span {
    color: var(--primary);
    font-weight: 700;
}

/* FAQ Section */
.faq-accordion {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    border-bottom: 1px solid rgba(200, 90, 116, 0.1);
    padding: 24px 0;
}

.faq-question {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.faq-question span {
    font-size: 24px;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin 0.3s ease;
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

.faq-item.active .faq-answer {
    max-height: 150px;
    margin-top: 15px;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.03);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    font-family: inherit;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}

.form-group textarea {
    height: 100px;
    resize: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
}

/* Floating Elements */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #25D366;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
    z-index: 999;
}

/* Animations Trigger Classes */
[data-scroll] {
    opacity: 0;
    transform: translateY(50px);
    transition: 1.2s var(--transition);
}

[data-scroll].is-inview {
    opacity: 1;
    transform: translateY(0);
}

.image-reveal-wrapper img {
    transform: scale(1.2);
    transition: 1.5s var(--transition);
}

.is-inview .image-reveal-wrapper img {
    transform: scale(1);
}

.overlay-reveal {
    position: relative;
    overflow: hidden;
}

.overlay-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
}

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    /* Largura total para mobile */
    height: 100vh;
    background: var(--white);
    z-index: 999;
    padding: 120px 40px;
    transform: translateX(100%);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    display: none;
    /* Escondido por padrão */
    visibility: hidden;
}

.mobile-menu.active {
    display: block;
    visibility: visible;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-menu a {
    font-size: 24px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

#menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

#menu-toggle.active span:nth-child(2) {
    transform: rotate(-45deg) translate(0px, 0px);
    width: 30px;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }

    .nav-desktop,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
        /* Apenas block no mobile, mas visibility: hidden cuida do resto */
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .reviews-card {
        padding: 40px 20px;
    }

    #hero h1 {
        font-size: 50px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }
}
