/* -------------------------------------
 *  CSS RESET & VARIABLES
 * ------------------------------------- */

:root {
    /* Base Colors - Dark Mode Premium */
    --bg-main: #0a0a0a;
    --bg-card: #171717;
    --bg-card-hover: #1e1e1e;

    /* Typography Colors */
    --text-primary: #f8f9fa;
    --text-secondary: #adb5bd;

    /* Brand Accent Colors (Requested Palette) */
    --brand-red: #e63946;
    --brand-red-light: #ff6b77;
    --brand-green: #02a54c;
    --brand-green-light: #03c259;
    --brand-blue: #0077b6;
    --brand-blue-light: #0096c7;
    --brand-yellow: #e9c46a;
    --brand-yellow-light: #f4a261;

    /* Glass Effects */
    --glass-bg: rgba(23, 23, 23, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);

    /* Layout */
    --max-width: 1200px;
    --spacing-section: 100px;
    --radius-md: 12px;
    --radius-lg: 20px;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* -------------------------------------
 *  UTILITIES & HELPERS
 * ------------------------------------- */

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5%;
}

.center-text {
    text-align: center;
}

/* Color Highlights */
.highlight-red {
    color: var(--brand-red);
    font-weight: 800;
}

.highlight-green {
    color: var(--brand-green);
    font-weight: 800;
}

.highlight-blue {
    color: var(--brand-blue);
    font-weight: 800;
}

.highlight-yellow {
    color: var(--brand-yellow);
    font-weight: 800;
}

.color-red {
    color: var(--brand-red);
}

.color-green {
    color: var(--brand-green);
}

.color-blue {
    color: var(--brand-blue);
}

.color-yellow {
    color: var(--brand-yellow);
}

.color-red-bg {
    background-color: rgba(230, 57, 70, 0.1);
    color: var(--brand-red);
}

.color-green-bg {
    background-color: rgba(2, 165, 76, 0.15);
    color: var(--brand-green);
}

.color-blue-bg {
    background-color: rgba(0, 119, 182, 0.1);
    color: var(--brand-blue-light);
}

.color-yellow-bg {
    background-color: rgba(233, 196, 106, 0.1);
    color: var(--brand-yellow);
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 16px 36px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.primary-btn {
    background-color: var(--brand-green);
    color: #fff;
    box-shadow: 0 10px 30px rgba(2, 165, 76, 0.3);
}

.primary-btn:hover {
    background-color: var(--brand-green-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(2, 165, 76, 0.4);
}

.secondary-btn {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
}

.secondary-btn:hover {
    background-color: var(--bg-card);
    border-color: var(--brand-green);
}

.pulse-anim {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(2, 165, 76, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(2, 165, 76, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(2, 165, 76, 0);
    }
}

/* Glassmorphism Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 30px;
}

/* Typography Headers */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

h2.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
}

p.section-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 50px auto;
    text-align: center;
}

/* Layout Blocks */
section {
    padding: var(--spacing-section) 0;
}

.dual-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.dual-layout.reverse {
    flex-direction: row-reverse;
}

.dual-layout>div {
    flex: 1;
}

/* -------------------------------------
 *  1. HERO SECTION
 * ------------------------------------- */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, var(--bg-main) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    opacity: 0.12;
    /* Camada ainda mais escura sobre o vídeo */
    object-fit: cover;
}

.hero-logo img {
    max-width: 250px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    animation: fadeUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--brand-red);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.4);
}

.hero-badge::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    margin-right: 8px;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-info-box {
    text-align: left;
    max-width: 500px;
    margin: 0 auto 40px auto;
}

.hero-info-box h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.hero-info-box p {
    color: var(--text-secondary);
}

/* Abstract Background Glows */
.hero-overlay {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 50% 50%, rgba(2, 165, 76, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 30% 70%, rgba(230, 57, 70, 0.05) 0%, transparent 40%);
    z-index: 1;
    pointer-events: none;
}

/* -------------------------------------
 *  2. AUTHORITY SECTION
 * ------------------------------------- */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 30px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background-color: var(--bg-card-hover);
}

.header-icon {
    font-size: 2.5rem;
    margin-right: 20px;
}

.feature-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

/* -------------------------------------
 *  3. SECOND EDITION
 * ------------------------------------- */

.second-edition-section {
    background-color: #0d0d0d;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.second-edition-section .section-title,
.profile-section .section-title {
    text-align: left;
}

.tag-label {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.second-edition-section .time-highlight {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--brand-blue-light);
}

.second-edition-section .time-highlight span {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.alert-box {
    display: flex;
    align-items: center;
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--brand-green);
}

.alert-box i {
    font-size: 2rem;
    margin-right: 15px;
}

.alert-box p {
    margin: 0;
    font-weight: 500;
}

.edition-graphic {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 0.9) 100%),
        url('../images/manobra-proibida-transito-petrolina.jpg') center/cover no-repeat;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.edition-graphic::after {
    content: "18H";
    position: absolute;
    bottom: -20px;
    right: -10px;
    font-size: 15rem;
    font-family: var(--font-heading);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
}

/* -------------------------------------
 *  4. REACH SECTION
 * ------------------------------------- */

.reach-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 60px;
}

@media (min-width: 768px) {
    .reach-cards {
        grid-template-columns: 1fr 1fr;
    }
}

.reach-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.reach-card:hover {
    transform: translateY(-10px);
}

.card-header {
    padding: 30px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-header i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.card-header span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.radio-logo {
    max-width: 150px;
    margin-bottom: 15px;
}

.card-body {
    padding: 30px;
}

.number-counter {
    font-size: 4.5rem;
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1;
    display: inline-block;
}

.number-suffix {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-secondary);
    margin-left: 5px;
}

.card-body p {
    margin-top: 20px;
    color: var(--text-secondary);
}

.reach-list {
    list-style: none;
    margin-top: 25px;
}

.reach-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 500;
}

.reach-list i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.impact-alert {
    margin-top: 25px;
    background-color: rgba(233, 196, 106, 0.1);
    color: var(--brand-yellow);
    padding: 15px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* -------------------------------------
 *  5. PROFILE SECTION
 * ------------------------------------- */

.credibility-quote {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-style: italic;
    color: #fff;
    border-left: 4px solid var(--brand-green);
    padding-left: 20px;
    margin: 30px 0;
}

.trust-indicators {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.indicator {
    display: flex;
    align-items: flex-start;
}

.indicator i {
    font-size: 2.2rem;
    margin-right: 20px;
    margin-top: 5px;
}

.indicator h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.indicator p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.profile-image-container {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    background-color: transparent;
    border: none;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 992px) {
    .profile-image-container {
        aspect-ratio: auto;
        height: 450px;
        max-width: 350px;
        margin: 0 auto;
    }
}

.profile-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    /* Changed to contain so it doesn't clip on mobile */
}

/* -------------------------------------
 *  6. COMMERCIAL / CTA SECTION
 * ------------------------------------- */

.commercial-section {
    background: linear-gradient(to bottom, #0a0a0a 0%, #111 100%);
    position: relative;
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.format-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.format-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 2.5rem;
}

.format-card h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.format-card .duration {
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.final-cta-container {
    margin-top: 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

@media (min-width: 600px) {
    .final-cta-container {
        flex-direction: row;
        justify-content: center;
    }
}

/* -------------------------------------
 *  FOOTER
 * ------------------------------------- */

.site-footer {
    padding: 40px 0;
    background-color: #050505;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* -------------------------------------
 *  ANIMATIONS & REVEALS
 * ------------------------------------- */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------
 *  MEDIA QUERIES
 * ------------------------------------- */

@media (max-width: 992px) {

    .dual-layout,
    .dual-layout.reverse {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .indicator,
    .alert-box {
        text-align: left;
    }

    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }

    h2.section-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
}