:root {
    /* Colors based on instructions and reference */
    --primary-blue: #0A1C40; /* Dark Blue */
    --primary-orange: #FF5E00; /* Bright Green */
    --secondary-blue: #0E295E;
    --dark-bg: #050E20; /* Very dark blue for footer */
    --text-dark: #1A1A1A;
    --text-gray: #666666;
    --text-light: #F4F4F4;
    --white: #FFFFFF;
    --border-color: #EAEAEA;
    --hover-orange: #D95000;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Height of the sticky header */
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-blue);
}

.section-title {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

/* Buttons */
button {
    cursor: pointer;
    font-family: var(--font-primary);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover, .btn-orange:hover, .btn-listen:hover {
    background-color: var(--hover-orange);
}

.btn-orange {
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    text-align: center;
}

.btn-full {
    width: 100%;
}

.btn-outline {
    display: inline-block;
    border: 1px solid var(--border-color);
    color: var(--primary-blue);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    margin-top: 15px;
    transition: all 0.3s;
}

.btn-outline:hover {
    border-color: var(--primary-blue);
    background-color: var(--primary-blue);
    color: var(--white);
}

/* 1. Topbar */
.topbar {
    background-color: var(--primary-blue);
    color: var(--text-light);
    font-size: 0.8rem;
    padding: 8px 0;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    color: var(--text-light);
    font-size: 0.95rem;
}

.social-icons a:hover {
    color: var(--primary-orange);
}

/* 2. Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 60px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-orange);
}

.header-action {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* 3. Hero */
.hero {
    display: flex;
    position: relative;
    height: 500px;
    background-color: var(--primary-blue);
}

.hero-left {
    flex: 1;
    background: linear-gradient(90deg, rgba(10,28,64,0.95) 0%, rgba(10,28,64,0.7) 50%, rgba(10,28,64,0) 100%);
    color: var(--white);
    padding: 60px 40px 60px calc((100vw - 1280px) / 2 + 20px);
    z-index: 2;
    position: relative;
}

.hero-right {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.hero-content {
    max-width: 500px;
    padding-top: 20px;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255,255,255,0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.live-badge .dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-orange);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary-orange);
}

.hero-logo {
    max-width: 280px;
    margin-bottom: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.btn-listen {
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 14px 30px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.whatsapp-info {
    font-size: 0.9rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-info strong {
    color: var(--white);
}

/* Player */
.player-container {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 10;
}

.player-wrapper {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    height: 100px;
}

.player-now-playing {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.track-cover {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-gray);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 3px;
}

.track-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.2;
}

.track-artist {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: center;
}

.play-pause-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--white);
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.play-pause-btn:hover {
    background-color: var(--primary-orange);
    color: var(--white);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
}

#volume-slider {
    width: 80px;
    accent-color: var(--primary-orange);
}

.player-next {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex: 1;
    text-align: right;
}

.next-title {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.next-artist {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.next-time {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-blue);
}

/* Main Content Grid */
.section {
    padding: 60px 0;
}

.main-content {
    padding-top: 100px; /* Space for absolute player */
}

.grid-3-col {
    display: grid;
    grid-template-columns: 280px 1fr 300px;
    gap: 30px;
}

/* Schedule */
.schedule-list li {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.schedule-list .time {
    font-weight: 700;
    color: var(--text-gray);
    width: 60px;
}

.schedule-list .program {
    font-weight: 600;
    flex: 1;
}

.schedule-list li.active .time, .schedule-list li.active .program {
    color: var(--primary-blue);
    font-weight: 800;
}

.badge-live {
    background-color: var(--primary-orange);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Destaques */
.news-card-main {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 380px;
}

.news-card-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--white);
}

.news-content .category {
    background-color: var(--primary-orange);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 12px;
}

.news-content h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.news-meta {
    font-size: 0.85rem;
    color: #ccc;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
}

.carousel-dots .dot.active {
    background-color: var(--primary-orange);
    width: 16px;
    border-radius: 4px;
}

/* Mais Lidas */
.most-read-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.most-read-list .number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-orange);
    line-height: 1;
}

.most-read-list h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    line-height: 1.3;
}

.most-read-list .meta {
    font-size: 0.75rem;
    color: var(--text-gray);
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.section-header .section-title {
    margin-bottom: 0;
}

.link-more {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

.link-more:hover {
    color: var(--primary-orange);
}

/* Programas e Podcasts Grids */
.programas-grid, .podcasts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Program Cards */
.program-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
}

.program-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--white);
}

.card-overlay h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.card-overlay .presenter {
    font-size: 0.8rem;
    color: #ddd;
    margin-bottom: 8px;
}

.card-overlay .desc {
    font-size: 0.8rem;
    color: #ccc;
    display: none; /* Show on hover maybe, or keep hidden to match ref */
}

.card-overlay .schedule {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
    margin-top: 10px;
}

/* Podcast Cards */
.podcast-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.podcast-card .img-wrapper {
    position: relative;
    height: 160px;
}

.podcast-card .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
}

.podcast-card:hover .play-overlay {
    color: var(--white);
}

.podcast-content {
    padding: 20px;
}

.podcast-content .badge {
    background-color: var(--primary-orange);
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}

.podcast-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.podcast-content .presenter {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.podcast-content .desc {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

.podcast-content .episodes {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-blue);
}

/* Últimas MÚSICAS */
.music-history li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.music-history .time {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-weight: 600;
    width: 45px;
}

.music-history img {
    border-radius: 4px;
}

.music-history .song-title {
    font-weight: 600;
    font-size: 0.9rem;
    flex: 1;
}

.music-history .song-artist {
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* App Banner */
.app-banner {
    background-color: var(--primary-orange);
    border-radius: 12px;
    padding: 30px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.app-content {
    position: relative;
    z-index: 2;
}

.app-content h3 {
    color: var(--white);
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.app-content p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.app-buttons {
    display: flex;
    gap: 10px;
}

.store-badge {
    height: 36px;
    width: auto;
}

.app-image {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 180px;
    z-index: 1;
}

.app-image img {
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Social List */
.social-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.social-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
}

.social-item:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.social-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-item-left i {
    font-size: 1.2rem;
}

/* Banner Anuncie */
.banner-anuncie-wrapper {
    padding-top: 0;
}

.banner-anuncie {
    background: linear-gradient(90deg, var(--primary-blue) 0%, #153b82 50%, var(--primary-orange) 100%);
    border-radius: 8px;
    padding: 40px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.banner-anuncie::after {
    content: '';
    position: absolute;
    top: 0;
    right: 20%;
    height: 100%;
    width: 30%;
    background-image: url('https://images.unsplash.com/photo-1590602847861-f357a9332bbc?q=80&w=800&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    mix-blend-mode: overlay;
}

.banner-anuncie-content {
    position: relative;
    z-index: 2;
}

.banner-anuncie-content h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.banner-anuncie-action {
    position: relative;
    z-index: 2;
}

/* Bottom Bar */
.bottom-bar {
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 15px 0;
}

.bottom-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.whatsapp-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
}

.whatsapp-cta i {
    font-size: 1.5rem;
}

.bottom-bar-left p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.bottom-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: #a0aec0;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr 1fr 1.5fr;
    gap: 30px;
    padding-bottom: 50px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 0.85rem;
}

.footer-col a:hover {
    color: var(--white);
}

.brand-col .footer-logo {
    height: 50px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.footer-slogan {
    font-size: 0.85rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-slogan strong {
    color: var(--white);
    display: block;
    margin-bottom: 5px;
}

.footer-social-small {
    display: flex;
    gap: 15px;
}

.footer-social-small a {
    color: var(--white);
    font-size: 1.1rem;
}

.app-downloads {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.listen-col p {
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.listen-col .btn-orange {
    margin-bottom: 20px;
}

.footer-whatsapp {
    font-size: 0.85rem;
}

.footer-whatsapp i {
    color: var(--primary-orange);
    margin-right: 5px;
}

.footer-whatsapp strong {
    color: var(--white);
    font-size: 1.1rem;
    display: block;
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    font-size: 0.75rem;
    text-align: left;
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-3-col, .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .col-mais-lidas, .col-social {
        grid-column: 1 / -1;
    }
    .programas-grid, .podcasts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .topbar-left {
        display: none;
    }
    
    .header-inner {
        padding: 0 10px;
    }

    /* Menu Mobile */
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 20px;
        z-index: 99;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .header-action .btn-primary {
        display: none; /* Hide 'OUVIR AGORA' from header on mobile to save space */
    }

    /* Hero */
    .hero {
        flex-direction: column;
        height: auto;
    }
    .hero-left {
        padding: 40px 20px 80px; /* Mais padding embaixo pro player */
        max-width: 100%;
        background: rgba(10,28,64,0.85); /* Fundo um pouco mais sólido para leitura na imagem inteira */
    }
    .hero-logo {
        max-width: 200px;
        margin-bottom: 20px;
    }
    .hero-bg {
        object-position: center;
    }

    /* Player */
    .player-container {
        position: relative;
        bottom: 0;
        transform: none;
        left: 0;
        padding: 0 15px;
        margin-top: -60px; /* Puxa pra cima sobre o fundo */
    }
    .player-wrapper {
        flex-direction: column;
        height: auto;
        gap: 15px;
        padding: 20px;
        text-align: center;
    }
    .player-now-playing {
        flex-direction: column;
        text-align: center;
    }
    .player-next {
        justify-content: center;
        text-align: center;
    }
    .volume-control {
        display: none; /* Esconde controle de volume em mobile */
    }
    .play-pause-btn {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    .track-cover {
        width: 50px;
        height: 50px;
    }

    /* Espaçamentos GERAIS */
    .main-content {
        padding-top: 40px;
    }
    .section {
        padding: 40px 0;
    }
    .grid-3-col {
        grid-template-columns: 1fr;
    }
    .programas-grid, .podcasts-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .bottom-bar-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .banner-anuncie {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px 20px;
    }
}
