:root {
    --primary: #ff6b9d;
    /* Vibrant Pink */
    --primary-light: #ffebf2;
    --secondary: #4dabf7;
    /* Vibrant Blue */
    --accent: #ffd43b;
    /* Vibrant Yellow */
    --bg: #f8f9fa;
    --text: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 20px;
    --font-main: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

/* -- UI Components -- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #ff85b1);
    color: white;
    box-shadow: 0 10px 20px rgba(255, 107, 157, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(255, 107, 157, 0.4);
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

/* -- Sections -- */

/* Hero */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background: radial-gradient(circle at top right, var(--primary-light), transparent),
        radial-gradient(circle at bottom left, #e7f5ff, transparent);
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 60px;
    align-items: center;
}

.hero-content {
    grid-column: 1;
    grid-row: 1;
}

.hero-image {
    grid-column: 2;
    grid-row: 1 / span 2;
    position: relative;
}

.hero-btns {
    grid-column: 1;
    grid-row: 2;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 24px;
    color: var(--text);
}

.hero-content h1 span {
    color: var(--primary);
    position: relative;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: 0.5s;
}

/* Carousel */
.projects-carousel {
    padding: 100px 0;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    margin: 40px auto 0;
    max-width: 900px;
    /* Evita que a imagem fique gigante no desktop */
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    padding: 0 20px;
}

.carousel-slide img {
    width: 100%;
    aspect-ratio: 3/2;
    /* Padrão horizontal elegante */
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.carousel-nav .dot {
    width: 10px;
    height: 10px;
    background: #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-nav .dot.active {
    width: 30px;
    background: var(--primary);
}

/* Pricing */
.pricing {
    padding: 80px 0;
    /* Reduced from 100px */
    background-color: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.price-card {
    padding: 50px 30px;
    text-align: center;
    transition: 0.3s;
    position: relative;
}

.price-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.price-card.featured .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.price-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.price-value {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--primary);
}

.price-value small {
    font-size: 1.2rem;
    color: var(--text-light);
}

.price-card ul {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.price-card ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* FAQ */
.faq {
    padding: 100px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    width: 100%;
    padding: 25px;
    text-align: left;
    background: var(--white);
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 25px;
    max-height: 500px;
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
    /* Hardware acceleration */
}

/* Specific class to bypass JS reveal for critical elements */
.immediate-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

[data-reveal].reveal-left {
    transform: translateX(-50px);
}

[data-reveal].reveal-right {
    transform: translateX(50px);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* Enhanced Hover Effects */
.glass-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.95);
}

.price-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.hero-image img:hover {
    transform: scale(1.02) rotate(-1deg);
}

/* Mobile */
@media (max-width: 768px) {
    header .container {
        justify-content: center !important;
        padding-top: 10px;
    }

    .hero {
        padding-top: 140px !important;
        /* Give more space for the centered logo */
    }

    [data-reveal] {
        transition: 0.3s ease-out;
        /* Even snappier */
        transform: none !important;
        /* No movement on mobile to prevent layout jank */
        will-change: opacity;
    }

    [data-reveal].reveal-left,
    [data-reveal].reveal-right {
        transform: none !important;
    }

    .guarantee-card {
        flex-direction: column;
        text-align: center !important;
        padding: 40px 20px !important;
    }

    .guarantee-icon img {
        width: 140px !important;
    }

    .nav-btn {
        display: none;
    }

    .hero-grid {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
    }

    .hero-btns {
        order: 3;
        margin-top: 10px;
    }

    .hero-content h1 {
        font-size: 1.9rem !important;
        line-height: 1.1;
        margin-bottom: 20px;
        letter-spacing: -0.01em;
        width: 100%;
        /* Font size reduced to force more words per line */
    }

    .container {
        padding: 0 8px;
        /* Marginal padding for maximum horizontal space */
    }

    .price-card.featured {
        transform: scale(1);
    }

    /* Reduce vertical gaps between sections on mobile */
    section {
        padding: 50px 0 !important;
    }
}