:root {
    --primary: #ffca28;
    --primary-dark: #f57f17;
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --text-main: #ffffff;
    --text-muted: #b0b0b0;
    --accent: #ffb300;
    --whatsapp: #25d366;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 202, 40, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 202, 40, 0.05) 0%, transparent 50%);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background: transparent;
}

.divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.divider .shape-fill {
    fill: #050505;
}

.divider.flip {
    transform: rotate(180deg);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeIn 0.8s ease forwards;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.7) 50%,
            rgba(0, 0, 0, 0) 100%);
    backdrop-filter: blur(3px);
    z-index: 1000;
    border-bottom: none;
    transition: background 0.3s;
}

/* Adjust logo size and position if needed */
.logo img {
    height: 60px;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-main);
}

/* Hero & Slider */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    filter: brightness(0.4);
}

.slide.active {
    opacity: 1;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: opacity 0.5s ease;
}

.hero-content p {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 300;
    transition: opacity 0.5s ease;
}

.btn {
    padding: 15px 40px;
    background: var(--primary);
    color: var(--bg-dark);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 202, 40, 0.3);
    background: var(--primary-dark);
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    padding: 10px 0;
    margin-top: 10px;
    display: inline-block;
    transition: all 0.3s;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.btn-link:hover {
    color: white;
    transform: translateX(5px);
}

.more-text {
    animation: fadeIn 0.5s ease;
}

/* Sections */
section {
    padding: 100px 10%;
}

.section-title.left {
    text-align: left;
    margin-bottom: 30px;
}

.section-title.left::after {
    margin: 15px 0;
}

/* About Section Overhaul (Editorial Style) */
.about-container {
    display: block;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.about-container::after {
    content: "";
    clear: both;
    display: table;
}

.about-image {
    float: left;
    width: 350px;
    margin: 10px 40px 30px 0;
    position: relative;
    z-index: 5;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--glass-border);
}

.about-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    clear: both;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    position: relative;
    background: var(--glass);
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: all 0.4s;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('imagens/fundocards.jpg') center/cover;
    filter: blur(10px) brightness(0.2);
    z-index: -1;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.feature-card:hover::before {
    opacity: 0.6;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-muted);
}

.glass-card {
    position: relative;
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    transition: transform 0.3s;
    overflow: hidden;
    z-index: 1;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('imagens/fundocards.jpg') center/cover;
    filter: blur(12px) brightness(0.2);
    z-index: -1;
    opacity: 0.4;
}

.glass-card:hover {
    transform: translateY(-5px);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    position: relative;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    overflow: hidden;
    z-index: 1;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('imagens/fundocards.jpg') center/cover;
    filter: blur(8px) brightness(0.15);
    z-index: -1;
    opacity: 0.3;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 2px solid var(--primary);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-name {
    font-weight: 800;
    color: var(--primary);
}

/* Footer */
footer {
    background: #050505;
    padding: 60px 10% 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icons svg {
    width: 20px;
    height: 20px;
    fill: white;
    transition: fill 0.3s;
}

.social-icons a:hover {
    transform: scale(1.1) translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(255, 202, 40, 0.2);
}

#link-instagram:hover svg {
    fill: #E1306C;
}

#link-facebook:hover svg {
    fill: #1877F2;
}

#link-whatsapp:hover {
    border-color: var(--whatsapp);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
}

#link-whatsapp:hover svg {
    fill: var(--whatsapp);
}

.footer-info h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-legal {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: var(--text-muted);
}

#map-container iframe {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    filter: invert(90%) hue-rotate(180deg) brightness(0.9);
    /* Dark mode map effect */
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-container {
        display: block;
        text-align: center;
    }

    .about-image {
        float: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto 30px;
    }

    .section-title.left {
        text-align: center;
    }

    .section-title.left::after {
        margin: 15px auto;
    }

    .about-stats {
        justify-content: center;
    }

    section {
        padding: 60px 5%;
    }

    /* Mobile Menu Implementation */
    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        left: -100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        justify-content: center;
        align-items: center;
        transition: all 0.5s ease;
        z-index: 1000;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }
}