/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;700&display=swap');

/* === CSS VARIABLES === */
:root {
    --black: #1a1a1a;
    --white: #ffffff;
    --gold: #c69c6d;
    --background: #fdfdfd;
    --light-gray: #f7f7f7;
    --font-main: 'Comfortaa', cursive;
    --transition-fast: 0.3s ease-in-out;
    --transition-medium: 0.4s ease-in-out;
    --box-shadow-light: 0 4px 15px rgba(0,0,0,0.06);
    --border-radius: 10px;
}

/* === RESET / BASE STYLES === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-main); background-color: var(--background); color: var(--black); overflow-x: hidden; line-height: 1.7; font-size: 16px; }
.site-wrapper { opacity: 0; visibility: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; border-radius: var(--border-radius); }

/* === REUSABLE COMPONENTS === */
.container { max-width: 1140px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 2; }
.section { padding: 7rem 0; position: relative; overflow: hidden; }
.section-title { font-size: clamp(2.2rem, 4vw, 3rem); text-align: center; margin-bottom: 4rem; font-weight: 700; color: var(--black); }
.button { display: inline-flex; align-items: center; justify-content: center; background-color: var(--gold); color: var(--white); padding: 14px 35px; border-radius: 50px; font-weight: 700; transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast); box-shadow: 0 4px 12px rgba(198, 156, 109, 0.35); }
.button:hover { transform: translateY(-4px); background-color: #b3895e; box-shadow: 0 7px 15px rgba(198, 156, 109, 0.4); }
.button-outline { display: inline-block; background-color: transparent; color: var(--gold); padding: 12px 30px; border-radius: 50px; font-weight: 700; border: 2px solid var(--gold); transition: all 0.3s ease; }
.button-outline:hover { background-color: var(--gold); color: var(--white); transform: translateY(-4px); }
.section-cta { text-align: center; margin-top: 4rem; }

/* === LOADER, CURSOR, HEADER, HERO === */
#loader { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: var(--background); z-index: 1000; display: flex; justify-content: center; align-items: center; }
.loader-logo { width: 100px; animation: pulse 1.5s infinite ease-in-out; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }
.cursor { width: 35px; height: 35px; border: 2px solid var(--gold); border-radius: 50%; position: fixed; transform: translate(-50%, -50%); pointer-events: none; z-index: 9999; transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s, opacity 0.3s; opacity: 0; }
.cursor.grow-strong { width: 60px; height: 60px; background-color: rgba(198, 156, 109, 0.3); border-color: transparent; }
.cursor.hidden { opacity: 0; }
#header { position: fixed; width: 100%; top: 0; left: 0; z-index: 100; padding: 1.5rem 0; transition: background-color var(--transition-medium), box-shadow var(--transition-medium), padding var(--transition-medium); }
#header.scrolled { background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--box-shadow-light); padding: 1rem 0; }
#header nav { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 80px; }
.nav-links { display: flex; align-items: center; gap: 3rem; }
.nav-link { font-weight: 700; position: relative; padding-bottom: 5px; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--gold); transition: width var(--transition-fast); }
.nav-link:hover::after { width: 100%; }
.nav-link.button:hover::after { width: 0; }
.menu-icon { display: none; cursor: pointer; }
.menu-icon div { width: 25px; height: 2px; background-color: var(--black); margin: 5px 0; transition: all 0.3s ease; }
#hero { min-height: 100vh; display: flex; align-items: center; background: url('../assets/images/hero-image.jpg') no-repeat center center/cover; color: var(--white); background-color: rgba(0,0,0,0.4); background-blend-mode: multiply; }
.hero-title { font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 700; line-height: 1.1; margin-bottom: 1.5rem; }
.hero-title span { display: inline-block; }
.hero-subtitle { font-size: 1.25rem; max-width: 550px; margin-bottom: 2.5rem; }

/* === SERVICES SECTION === */
#services { background-color: var(--light-gray); position: relative; }
#services::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('../assets/parrten.png'); background-repeat: repeat; opacity: 0.3; filter: blur(4px); transform: scale(1.1); z-index: 1; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2.5rem; }
.card { position: relative; background-color: rgba(255, 255, 255, 0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); padding: 2.5rem 2rem; border-radius: var(--border-radius); box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1); min-height: 280px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; transition: background-color var(--transition-fast); }
.card:hover { background-color: rgba(253, 253, 253, 0.95); }
.card-content { text-align: center; }
.card h3 { color: var(--gold); margin-bottom: 1rem; font-size: 1.3rem; }
.card-icon-wrapper { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0; }
.card-icon-wrapper i { width: 48px; height: 48px; color: var(--gold); }
.card-link { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); opacity: 0; font-weight: 700; color: var(--black); }

/* === PHILOSOPHY SECTION (MINIMALIST) === */
#philosophy { background-color: var(--white); }
.philosophy-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.philosophy-nav { display: flex; flex-direction: column; gap: 1rem; }
.philosophy-tab { background: none; border: none; border-left: 3px solid #eee; padding: 1rem 1.5rem; text-align: left; cursor: pointer; }
.philosophy-tab .tab-number { font-size: 0.9rem; color: #999; display: block; margin-bottom: 0.25rem; transition: color var(--transition-fast); }
.philosophy-tab .tab-title { font-family: var(--font-main); font-size: 1.5rem; font-weight: 700; color: #999; transition: color var(--transition-fast); }
.philosophy-tab.active { border-left-color: var(--gold); }
.philosophy-tab.active .tab-number, .philosophy-tab.active .tab-title { color: var(--black); }
.philosophy-display { position: relative; min-height: 400px; }
.philosophy-image-container { position: relative; width: 100%; height: 100%; min-height: 400px; border-radius: var(--border-radius); overflow: hidden; }
.philosophy-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; visibility: hidden; }
.philosophy-image.active { opacity: 1; visibility: visible; }
.philosophy-text-container { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); }
.philosophy-text { color: var(--white); font-size: 1.1rem; line-height: 1.7; position: absolute; bottom: 2rem; left: 2rem; right: 2rem; opacity: 0; visibility: hidden; }
.philosophy-text.active { opacity: 1; visibility: visible; }

/* === PORTFOLIO, TESTIMONIALS === */
#portfolio { background-color: var(--light-gray); }
.portfolio-stats { display: flex; justify-content: center; gap: 4rem; text-align: center; flex-wrap: wrap; }
.stat { padding: 1rem; }
.stat-number { font-size: 4rem; font-weight: 700; color: var(--gold); }
#testimonials { background-color: var(--white); }
.testimonial-slider { position: relative; max-width: 750px; margin: 0 auto; text-align: center; min-height: 180px; }
.testimonial-slide { position: absolute; width: 100%; opacity: 0; transition: opacity 0.5s ease-in-out; }
.testimonial-slide.active { opacity: 1; }
.testimonial-text { font-size: 1.3rem; font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author { font-weight: 700; color: var(--gold); }
.slider-controls { text-align: center; margin-top: 2rem; }
.slider-controls button { background: transparent; border: 2px solid var(--gold); color: var(--gold); width: 50px; height: 50px; border-radius: 50%; font-size: 1.5rem; margin: 0 0.5rem; cursor: pointer; transition: all 0.3s ease; }
.slider-controls button:hover { background-color: var(--gold); color: var(--white); }

/* === FAQ SECTION === */
#faq { background-color: var(--light-gray); }
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: var(--border-radius); margin-bottom: 1rem; box-shadow: var(--box-shadow-light); overflow: hidden; }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; cursor: pointer; }
.faq-question h4 { margin-right: 1rem; }
.faq-question span { font-size: 1.5rem; color: var(--gold); transition: transform 0.3s ease; }
.faq-item.active .faq-question span { transform: rotate(45deg); }
.faq-answer { max-height: 0; transition: max-height 0.5s ease-out; }
.faq-answer p { padding: 0 1.5rem 1.5rem; line-height: 1.6; }
.faq-image-column { position: relative; min-height: 350px; }
.faq-image-display { width: 100%; height: 100%; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--box-shadow-light); }
.faq-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; visibility: hidden; transition: opacity 0.5s ease-in-out; }
.faq-image.active { opacity: 1; visibility: visible; }

/* === PRICING SECTION === */
#pricing { background-color: var(--white); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; align-items: center; }
.pricing-card { background-color: var(--light-gray); border-radius: var(--border-radius); padding: 2.5rem; text-align: center; box-shadow: var(--box-shadow-light); position: relative; overflow: hidden; transition: transform var(--transition-fast), box-shadow var(--transition-fast); min-height: 420px; border-top: 4px solid var(--gold); }
.pricing-card:hover { transform: translateY(-10px); box-shadow: 0 12px 35px 0 rgba(0, 0, 0, 0.08); }
.pricing-header { transition: transform 0.4s ease-in-out; }
.pricing-icon { margin-bottom: 1.5rem; }
.pricing-icon i { width: 48px; height: 48px; color: var(--gold); stroke-width: 1.5; }
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.price-label { font-size: 0.9rem; color: #888; margin-bottom: 0.5rem; }
.price-amount { font-size: 2.8rem; font-weight: 700; color: var(--black); }
.features-list { list-style: none; padding: 0; margin-top: 1.5rem; text-align: left; position: absolute; left: 2.5rem; right: 2.5rem; bottom: 40px; opacity: 0; transform: translateY(20px); transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out; }
.features-list li { margin-bottom: 0.75rem; display: flex; align-items: center; font-size: 0.9rem; }
.features-list li::before { content: '✔'; color: var(--gold); margin-right: 0.75rem; font-weight: bold; }
.pricing-card:hover .pricing-header { transform: translateY(-80px); }
.pricing-card:hover .features-list { opacity: 1; transform: translateY(0); }
.pricing-card.featured { transform: scale(1.05); border: 2px solid var(--gold); background-color: var(--white); }
.pricing-card.featured:hover { transform: scale(1.1) translateY(-10px); }
.featured-badge { position: absolute; top: 15px; right: -35px; background-color: var(--gold); color: var(--white); padding: 5px 40px; font-size: 0.8rem; font-weight: 700; transform: rotate(45deg); box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
#pricing .section-cta { margin-top: 5rem; }

/* === CONTACT AND FOOTER === */
#contact { background-color: var(--light-gray); }
#contact p { max-width: 500px; margin: 0 auto 2.5rem auto; font-size: 1.1rem; }
.contact-links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.contact-icon-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: var(--white);
    border: 1px solid #eee;
    border-radius: 50%;
    box-shadow: var(--box-shadow-light);
    transition: all var(--transition-fast);
}
.contact-icon-link i {
    color: var(--black);
    width: 28px;
    height: 28px;
    transition: color var(--transition-fast);
}
.contact-icon-link:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(198, 156, 109, 0.3);
}
.contact-icon-link:hover i {
    color: var(--white);
}
footer { background-color: var(--black); color: var(--white); text-align: center; padding: 2.5rem 0; font-size: 0.9rem; }
footer .credit a { color: var(--gold); font-weight: 700; }

/* ================================== */
/* === AJUSTES RESPONSIVOS ========= */
/* ================================== */
@media (min-width: 992px) {
    .faq-grid { grid-template-columns: 1.2fr 1fr; align-items: flex-start; }
    .faq-image-column { position: sticky; top: 120px; }
}

@media (min-width: 768px) {
    .philosophy-grid { grid-template-columns: 1fr 1.5fr; align-items: center; }
}

@media (max-width: 1023px) {
    body { cursor: auto; }
    .cursor { display: none !important; }
    .section { padding: 5rem 0; }
    .container { padding: 0 1.5rem; }
    .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: 80%; max-width: 350px; background-color: var(--white); flex-direction: column; justify-content: center; gap: 2.5rem; transition: right var(--transition-medium); box-shadow: -5px 0 15px rgba(0,0,0,0.1); z-index: 998; }
    .nav-links.active { right: 0; }
    .menu-icon { display: block; z-index: 999; }
    .menu-icon.active .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
    .menu-icon.active .line2 { transform: rotate(45deg) translate(-5px, -6px); }
    .card:hover .card-icon-wrapper, .card:hover .card-link { display: none; }
}

@media (max-width: 991px) {
    .faq-image-column { order: -1; margin-bottom: 2rem; }
}

@media (max-width: 767px) {
    #hero { text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero .button-outline { margin: 0 auto; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card, .pricing-card.featured { transform: none !important; }
    .pricing-card { min-height: auto; }
    .pricing-card:hover .pricing-header { transform: none; }
    .features-list { position: static; opacity: 1; transform: none; margin-top: 2rem; text-align: center; }
    .features-list li { justify-content: center; }
    #pricing .section-cta { margin-top: 3rem; }
    .portfolio-stats { flex-direction: column; gap: 3rem; }
    .contact-links { flex-direction: row; }

    /* AJUSTE PARA AS SETAS DO SLIDER */
    #testimonials .testimonial-slider {
        padding-bottom: 3rem; /* Adiciona espaço para os botões */
        min-height: 250px; /* Garante altura mínima para textos maiores */
    }
    #testimonials .slider-controls {
        margin-top: 1rem;
    }
    
    /* AJUSTE PARA O BOTÃO "gordinho" */
    .section-cta .button {
        padding: 14px 25px;
        font-size: 0.9rem;
    }
}