:root {
    --primary-blue: #0A192F;
    --secondary-orange: #FF6B6B;
    --light-gray: #F4F4F4;
    --text-color: #333;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--light-gray);
    line-height: 1.6;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo {
    width: 75px;
    height: 75px;
    border-radius: 50%;
}

header .logo img {
    height: 75px;
}

header nav a {
    color: #06327a;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 600;
    transition: color 0.3s;
}

header nav a:hover {
    color: #fc9d38;
}

.navSandwich {
    display: none;
    color: #06327a;
    font-size: 1.5rem;
    cursor: pointer;
}

.menu_mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba( 255, 255, 255, 0.95);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(-100%);
    transition: transform 0.4s ease-in-out;
}

.menu_mobile.show-menu {
    transform: translateX(0);
}

.menu_mobile .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: #06327a;
    cursor: pointer;
}

.menu_mobile a {
    padding: 15px;
    width: 80%;
    text-align: center;
    color: #03255c;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.5rem;
    transition: background-color 0.3s;
}

.menu_mobile a:hover {
    color: #fc9d38;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 15px;
}

/* Hero Section */
.hero {
    background: #fff;
    background-image: url("../imagens/Cadernos/fd_img.jpg");
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 4rem 5%;
    gap: 2rem;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: #03255c;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
}

.cta-button {
    background-color:  #fc9d38;
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s;
    display: inline-block;
    margin-top: 1rem;
}

.cta-button:hover {
    background-color: #f3ad7c;
}

.hero-image {
    width: 400px;
    height: 400px;
    background-color: #ddd;
    border-radius: 10px;
}

/* Benefits Section */
.benefits {
    text-align: center;
    padding: 4rem 5%;
    background-color: var(--light-gray);
}

.benefits h2 {
    font-size: 2.5rem;
    color: #153885;
    margin-bottom: 3rem;
}

.benefits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.benefit-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    transition: transform 0.3s;
}

.benefit-item i {
    font-size: 5rem;
    color: rgb(7, 92, 189);
    margin-bottom: 1rem;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(5, 15, 53, 0.3);
    transition: transform 0.5s;
}

.benefit-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    border-radius: 50%;
}

/* Pricing Section */
.pricing {
    text-align: center;
    padding: 4rem 5%;
}

.pricing h2 {
    font-size: 2.5rem;
    color: #03255c;
    margin-bottom: 3rem;
}

.pricing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.price-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    transition: transform 0.3s;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0px 20px rgba(0,0,0,0.8);
}

.price-card h2 {
    color: #06327a;
    margin-top: 0;
}

.price-card .price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-orange);
    margin: 1rem 0;
}

.price-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 2rem;
}

.price-card li {
    margin-bottom: 0.5rem;
    color: #555;
    text-align: center;
}

.price-card .highlight {
    font-weight: bold;
    color: var(--primary-blue);
}

/* Galeria de Vídeos e Imagens */
.gallery {
    text-align: center;
    padding: 4rem 5%;
    background-color: #fff;
}

.gallery h2 {
    font-size: 2.5rem;
    color: #03255c;
    margin-bottom: 3rem;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item .play-icon,
.gallery-item .expand-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.gallery-item:hover .play-icon,
.gallery-item:hover .expand-icon {
    opacity: 1;
}

/* Lightbox (Modal) */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none; /* Oculto por padrão */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox.show {
    display: flex; /* Exibe quando a classe 'show' é adicionada */
}

.lightbox-content {
    max-width: 70%;
    max-height: 80%;
    position: relative;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 80%;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: #fc9d38;
}

/* Botão de Voltar ao Topo */
#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--secondary-orange);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 999;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: #fff;
    text-align: center;
    padding: 1.5rem;
}

/* Responsividade */
@media (max-width: 768px) {
    header { 
        padding: 1rem;
    } 
    header .logo {
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }
    header .logo img {
        height: 50px;
    }    
    header nav {
        display: none;
    } 
    .navSandwich {
        display: block;
    }
}