:root {
    --primary: #ff4d00;
    --primary-dark: #cc3d00;
    --bg: #0a0a0a;
    --text: #ffffff;
    --text-muted: #a0a0a0;
    --card-bg: #1a1a1a;
    --accent: #00f2ff;
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 45px;
    /* Altura ideal sugerida */
    width: auto;
    display: block;
}

.logo span {
    color: var(--primary);
}

.logo-text {
    display: none;
    /* Escondido por padrão, mostrado via JS se a imagem falhar */
}

.logo-text span {
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    text-align: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%);
}

.oversized-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.highlight {
    color: var(--primary);
}

.subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 30px rgba(255, 77, 0, 0.3);
}

.cta-button:hover {
    transform: scale(1.05);
    background-color: var(--primary-dark);
    box-shadow: 0 15px 40px rgba(255, 77, 0, 0.5);
}

.cta-button.large {
    font-size: 1.5rem;
    padding: 1.5rem 4rem;
}

.cta-button.secondary {
    background: #2a2a2a;
    box-shadow: none;
    border: 1px solid #3a3a3a;
}

.cta-button.secondary:hover {
    background: #3a3a3a;
    transform: translateY(-2px);
    border-color: var(--primary);
}

/* Player Section */
.player-section {
    padding: 6rem 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 4rem;
}

.player-container {
    background: var(--card-bg);
    border-radius: 30px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.visualizer-container {
    height: 150px;
    background: #000;
    border-radius: 15px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#visualizer {
    width: 100%;
    height: 100%;
}

.player-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.player-btn {
    padding: 1.5rem;
    border: none;
    background: #2a2a2a;
    color: white;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.player-btn:hover {
    background: #3a3a3a;
    transform: translateY(-5px);
}

.player-btn.active {
    background: var(--primary);
}

.now-playing {
    text-align: center;
    font-weight: 600;
    color: var(--accent);
}

/* Features */
.features {
    padding: 6rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s;
    background: #222;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 2rem;
}

.faq-item.active .faq-question {
    color: var(--primary);
}

/* Footer */
.footer {
    padding: 8rem 0 4rem;
    text-align: center;
    background: linear-gradient(to bottom, #0a0a0a, #1a1a1a);
}

.footer-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 3rem;
}

.copyright {
    margin-top: 4rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Segment Focus */
.segments {
    padding: 6rem 0;
    background: #050505;
}

.segments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.segment-item {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.segment-item.supermarket {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&q=80&w=800');
}

.segment-item.gym {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&q=80&w=800');
}

.segment-item.road {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?auto=format&fit=crop&q=80&w=800');
}

.segment-item.pharmacy {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1586015555751-63bb77f4322a?auto=format&fit=crop&q=80&w=800');
}

.segment-item.fashion {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1441986300917-64674bd600d8?auto=format&fit=crop&q=80&w=800');
}

.segment-item.bakery {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1509440159596-0249088772ff?auto=format&fit=crop&q=80&w=800');
}

.segment-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.segment-overlay.highlight {
    border-top: 4px solid var(--primary);
}

.segment-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.segment-overlay p {
    color: var(--text-muted);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--card-bg);
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.modal-body {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 1rem;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
}

#play-car-announcement {
    width: 100%;
    margin-top: 1rem;
}

/* New Support Styles */
/* Botão Suporte no Menu - Versão Refinada */
.navbar nav ul li a.support-nav {
    background: transparent !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    border: 1px solid var(--primary) !important;
    color: var(--text) !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-left: 10px !important;
    display: inline-block !important;
    line-height: 1 !important;
}

.navbar nav ul li a.support-nav:hover {
    background: var(--primary) !important;
    color: white !important;
    box-shadow: 0 0 15px rgba(255, 77, 0, 0.4) !important;
}

/* Botão WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background: #128c7e;
    box-shadow: 0 6px 20px rgba(0, 255, 0, 0.2);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: white;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    .whatsapp-btn {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
}