:root {
    --primary-color: #f08b5c;
    --primary-dark: #a04724;
    --dark-color: #000000;
    --light-color: #ffffff;
    --gray-color: #f5f5f5;
}

@font-face {
    font-family: 'Alpha-Light';
    src: url('fonts/Alpha-Light.otf') format('opentype');
    font-weight: 300; /* Light geralmente corresponde a 300 */
    font-style: normal;
}

.logo {
    font-family: 'Alpha-Light', sans-serif;
    font-size: 1.5rem; /* Ajuste conforme necessário */
    font-weight: 300; /* Para garantir que use a variação light */
    text-decoration: none;
    color: #000; /* ou a cor do seu projeto */
}

/* Opcional: se quiser que "Duarte" (dentro do span) também herde exatamente a mesma formatação */
.logo span {
    font-family: inherit; /* Herda do .logo */
    font-weight: inherit;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--dark-color);
    color: var(--light-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo span {
    color: var(--light-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--light-color);
}

/* Hero Section */

.orange-text {
    color: #f08b5c; /* ou use o código exato da cor laranja que deseja */
}

.white-text {
    color: #FFFFFF;
}

.courses-hero {
    padding: 120px 5% 60px;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/courses-bg.jpg') no-repeat center center;
    background-size: cover;
}

.courses-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.courses-hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Video Section */
.video-explanation {
    padding: 50px 5%;
    background-color: rgba(0, 0, 0, 0.7);
}

.video-wrapper {
    position: relative;
    border-radius: 15px; /* Bordas arredondadas para o container */
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16/9; /* Proporção de retângulo */
}

.course-video {
   width: 100%;
    display: block;
    border-radius: 15px;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: all 0.3s ease; /* Transição suave */
}

.video-caption {
    padding: 20px;
    text-align: center;
}

.video-caption h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.video-caption p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Courses Section */
.courses-container {
    padding: 60px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.8;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.platform-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(240, 139, 92, 0.2);
}

.platform-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(240, 139, 92, 0.1);
    border-color: rgba(240, 139, 92, 0.5);
}

.platform-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.platform-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.platform-card p {
    margin-bottom: 20px;
    opacity: 0.8;
    line-height: 1.6;
    font-size: 0.95rem;
}

.platform-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--dark-color);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--primary-color);
    font-size: 0.9rem;
}

.platform-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: #000;
    padding: 40px 5% 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 25px;
}

.footer-column h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-column p {
    opacity: 0.8;
    line-height: 1.6;
    font-size: 0.9rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(240, 139, 92, 0.2);
    border-radius: 50%;
    margin-right: 12px;
    color: var(--primary-color);
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.copyright {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.85rem;
}

/* WhatsApp Button - Modern Premium Design */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(145deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    border: none;
    outline: none;
    cursor: pointer;
}

.whatsapp-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-out;
    position: relative;
    z-index: 2;
}

.whatsapp-svg {
    width: 100%;
    height: 100%;
    fill: #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

/* Hover Effects */
.whatsapp-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
    background: linear-gradient(145deg, #22C55E, #0E9F6E);
}

.whatsapp-btn:hover .whatsapp-svg {
    transform: rotate(10deg) scale(1.1);
}

/* Active/Pressed State */
.whatsapp-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 85px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(15px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    pointer-events: none;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Pulse Ring Animation */
@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    80%, 100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Glow Animation */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* Button Animations */
.whatsapp-btn {
    animation: float 4s ease-in-out infinite;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whatsapp-btn:hover::before {
    opacity: 1;
}

.whatsapp-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    animation: pulse-ring 2s ease-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
    z-index: 1;
    box-sizing: border-box;
}

/* Responsive Design */
@media (max-width: 768px) {
    .whatsapp-btn {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-icon {
        width: 32px;
        height: 32px;
    }
    
    .whatsapp-tooltip {
        font-size: 13px;
        padding: 8px 14px;
        right: 75px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .whatsapp-btn {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-icon {
        width: 32px;
        height: 32px;
    }
    .whatsapp-tooltip {
        display: none;
    }
}


/* Responsive Design */
@media (max-width: 992px) {
    .courses-hero h1 {
        font-size: 2.4rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        padding-top: 25px;
        transition: left 0.3s;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    nav ul li {
        margin: 12px 0;
    }

    .courses-hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .courses-hero h1 {
        font-size: 2rem;
    }

    .courses-hero p {
        font-size: 1rem;
    }

    .video-explanation {
        padding: 40px 5%;
    }

    .video-caption h3 {
        font-size: 1.3rem;
    }

    .platforms-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

/* Video Play Button */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(240, 139, 92, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.video-play-button i {
    color: #fff;
    font-size: 24px;
    margin-left: 3px;
}

.video-wrapper:hover .video-play-button {
    background: rgba(240, 139, 92, 0.95);
    transform: translate(-50%, -50%) scale(1.1);
}