/* 
* Curso de Formação de Arbitragem de Voleibol 2025
* Federação de Volleyball do Rio de Janeiro
* CSS Principal
*/

/* ===== VARIÁVEIS ===== */
:root {
    /* Cores principais */
    --primary-color: #3CABC0;      /* Azul Turquesa */
    --secondary-color: #E94190;    /* Rosa/Magenta */
    --accent-color: #F7B32B;       /* Amarelo/Dourado */
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --gray: #CCCCCC;
    --dark-gray: #666666;
    --black: #333333;
    
    /* Fontes */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    
    /* Tamanhos */
    --container-width: 1200px;
    --header-height: 80px;
    --section-padding: 100px 0;
    --section-padding-mobile: 60px 0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

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

button, input, select, textarea {
    font-family: var(--font-secondary);
    font-size: 16px;
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--gray);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-6 {
    width: 50%;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .col-md-6 {
        width: 100%;
    }
}

.text-center {
    text-align: center;
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--black);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-block {
    display: block;
    width: 100%;
}

/* ===== HEADER ===== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

#header.scrolled {
    height: 70px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    transition: all 0.3s ease;
}

#header.scrolled .logo img {
    height: 40px;
}

#nav {
    display: flex;
    align-items: center;
}

#menu {
    display: flex;
}

#menu li {
    margin: 0 15px;
}

#menu li a {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--black);
    position: relative;
}

#menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

#menu li a:hover::after,
#menu li a.active::after {
    width: 100%;
}

#btn-mobile {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

#hamburger {
    display: block;
    width: 30px;
    border-top: 2px solid var(--black);
    position: relative;
}

#hamburger::after,
#hamburger::before {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--black);
    margin-top: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.cta-header {
    margin-left: 20px;
}

@media (max-width: 992px) {
    #btn-mobile {
        display: block;
    }
    
    #menu {
        display: block;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--white);
        overflow-y: hidden;
        transition: all 0.3s ease;
        visibility: hidden;
        opacity: 0;
    }
    
    #nav.active #menu {
        height: calc(100vh - var(--header-height));
        visibility: visible;
        opacity: 1;
        overflow-y: auto;
    }
    
    #menu li {
        margin: 0;
        padding: 15px 20px;
        border-bottom: 1px solid var(--gray);
    }
    
    #menu li a::after {
        display: none;
    }
    
    .cta-header {
        display: none;
    }
}

/* ===== BANNER ===== */
.banner {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('../images/banner-bg.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
}

.banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(60, 171, 192, 0.9) 0%, rgba(233, 65, 144, 0.8) 100%);
}

.banner-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.banner-content h1 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 48px;
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.banner-content h2 {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 30px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.banner-cta {
    margin-bottom: 40px;
}

.banner-cta .btn {
    margin: 0 10px;
}

.banner-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    margin: 10px 20px;
}

.info-item i {
    font-size: 24px;
    margin-right: 10px;
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 36px;
    }
    
    .banner-content h2 {
        font-size: 20px;
    }
    
    .banner-cta .btn {
        margin: 10px;
    }
}

/* ===== SEÇÕES ===== */
.section {
    padding: var(--section-padding);
}

.section-bg {
    background-color: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto;
}

.section-divider {
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 0 auto 20px;
}

@media (max-width: 768px) {
    .section {
        padding: var(--section-padding-mobile);
    }
    
    .section-header h2 {
        font-size: 30px;
    }
}

/* ===== SOBRE O CURSO ===== */
.section-content h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-content p {
    margin-bottom: 20px;
}

.requisitos {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.requisitos h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.requisitos ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.requisitos ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.curso-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.card-item {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid var(--gray);
}

.card-item:last-child {
    border-bottom: none;
}

.card-item .icon {
    width: 60px;
    height: 60px;
    background-color: rgba(60, 171, 192, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

.card-item .icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.card-item .content h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* ===== INSTRUTORES ===== */
.instrutores-tabs {
    margin-top: 30px;
}

.nav-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--gray);
}

.nav-tabs li {
    margin: 0 15px;
}

.nav-tabs li a {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 18px;
    color: var(--dark-gray);
    padding: 10px 0;
    position: relative;
    display: block;
}

.nav-tabs li.active a {
    color: var(--primary-color);
}

.nav-tabs li a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-tabs li.active a::after {
    width: 100%;
}

.tab-content .tab-pane {
    display: none;
}

.tab-content .tab-pane.active {
    display: block;
}

.instrutores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.instrutor-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.instrutor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.instrutor-img {
    height: 250px;
    overflow: hidden;
}

.instrutor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%; /* Ajusta a posição vertical da imagem */
    transition: all 0.3s ease;
}

.instrutor-card:hover .instrutor-img img {
    transform: scale(1.05);
}

.instrutor-info {
    padding: 20px;
}

.instrutor-info h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.instrutor-info .cargo {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 16px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.instrutor-detalhes li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.instrutor-detalhes li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .instrutores-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== PROGRAMA DE ATIVIDADES ===== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-date {
    position: absolute;
    top: 0;
    left: 0;
    width: 180px;
    text-align: right;
    padding-right: 30px;
}

.timeline-date span {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 16px;
    color: var(--primary-color);
    background-color: rgba(60, 171, 192, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
}

.timeline-content {
    margin-left: 200px;
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -10px;
    width: 20px;
    height: 20px;
    background-color: var(--white);
    transform: rotate(45deg);
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-content p {
    margin-bottom: 10px;
}

.timeline-content ul {
    margin-top: 10px;
    margin-bottom: 10px;
}

.timeline-content ul li {
    margin-bottom: 5px;
    position: relative;
    padding-left: 15px;
}

.timeline-content ul li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.timeline-content strong {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-date {
        position: relative;
        width: 100%;
        text-align: left;
        padding-left: 70px;
        margin-bottom: 10px;
    }
    
    .timeline-content {
        margin-left: 70px;
    }
}

/* ===== INSCRIÇÃO ===== */
.inscricao-info {
    margin-bottom: 30px;
}

.info-box {
    display: flex;
    margin-bottom: 30px;
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-box .icon {
    width: 60px;
    height: 60px;
    background-color: rgba(60, 171, 192, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

.info-box .icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.info-box .content h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.form-inscricao {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    margin: 0 -10px;
}

.form-row .form-group {
    padding: 0 10px;
    flex: 1;
}

label {
    display: block;
    font-family: var(--font-primary);
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--black);
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray);
    border-radius: 5px;
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(60, 171, 192, 0.1);
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.form-check input {
    width: auto;
    margin-right: 10px;
}

.form-submit {
    margin-top: 30px;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
}

/* ===== PAGAMENTO ===== */
.pagamento-info {
    margin-bottom: 30px;
}

.pagamento-info h3 {
    margin-bottom: 20px;
}

.valor-curso, .prazo-pagamento, .confirmacao-pagamento {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.valor-curso h4, .prazo-pagamento h4, .confirmacao-pagamento h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.preco {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 36px;
    color: var(--secondary-color);
}

.pix-container {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.qrcode-container {
    margin-bottom: 30px;
}

#qrcode {
    display: inline-block;
    padding: 15px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.pix-codigo h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.codigo-container {
    display: flex;
    margin-bottom: 20px;
}

.codigo-container input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--gray);
    border-radius: 5px 0 0 5px;
    font-size: 14px;
}

.btn-copiar {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-copiar:hover {
    background-color: var(--secondary-color);
}

.pix-info {
    text-align: left;
}

.pix-info p {
    margin-bottom: 10px;
}

/* ===== DÚVIDAS FREQUENTES ===== */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-header h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 18px;
    color: var(--primary-color);
    margin: 0;
}

.accordion-icon i {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.accordion-item.active .accordion-icon i {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 0 20px 20px;
    max-height: 1000px;
}

.faq-contato {
    text-align: center;
    margin-top: 40px;
}

.faq-contato p {
    margin-bottom: 20px;
}

/* ===== CONTATO ===== */
.contato-info {
    margin-bottom: 30px;
}

.contato-item {
    display: flex;
    margin-bottom: 30px;
}

.contato-item .icon {
    width: 60px;
    height: 60px;
    background-color: rgba(60, 171, 192, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

.contato-item .icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.contato-item .content h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.form-contato {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* ===== FOOTER ===== */
#footer {
    background-color: var(--black);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 60px;
}

.footer-info {
    text-align: center;
    margin: 20px 0;
}

.footer-social {
    display: flex;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-links ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links ul li {
    margin: 0 15px;
}

.footer-links ul li a {
    color: var(--gray);
    font-size: 14px;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-social {
        margin-top: 20px;
        justify-content: center;
    }
    
    .footer-links ul {
        flex-direction: column;
    }
    
    .footer-links ul li {
        margin: 10px 0;
    }
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    overflow-y: auto;
}

.modal-content {
    background-color: var(--white);
    margin: 50px auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    position: relative;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.close:hover {
    color: var(--secondary-color);
}

.modal-content h2 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.termos-content h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 18px;
    color: var(--primary-color);
    margin: 20px 0 10px;
}

.programa-completo {
    margin-bottom: 30px;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 992px) {
    :root {
        --section-padding: 80px 0;
        --section-padding-mobile: 50px 0;
    }
    
    .banner-content h1 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
        --section-padding-mobile: 40px 0;
    }
    
    .banner-content h1 {
        font-size: 32px;
    }
    
    .banner-content h2 {
        font-size: 18px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-content h3 {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .banner-content h1 {
        font-size: 28px;
    }
    
    .banner-cta .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .nav-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-tabs li {
        margin: 5px 0;
    }
}


/* ===== MODAL PIX ===== */
.modal-pix {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    animation: fadeIn 0.3s;
}

.modal-pix-content {
    background-color: var(--white);
    margin: 2% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.close-pix {
    color: var(--gray);
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-pix:hover,
.close-pix:focus {
    color: var(--black);
}

.modal-pix h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    font-family: var(--font-primary);
    font-weight: 600;
}

.pix-info {
    background: var(--light-gray);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
}

.pix-info p {
    margin: 5px 0;
    font-size: 16px;
}

.pix-section {
    text-align: center;
    margin-bottom: 20px;
}

.pix-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: var(--font-primary);
    font-weight: 600;
}

#qrcode-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 10px;
}

.pix-code {
    margin: 20px 0;
}

.pix-code label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--black);
    font-family: var(--font-primary);
}

#codigo-pix {
    width: 100%;
    height: 80px;
    padding: 10px;
    border: 2px solid var(--gray);
    border-radius: 5px;
    font-family: monospace;
    font-size: 12px;
    resize: none;
    background: var(--light-gray);
}

.btn-copiar {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    transition: background 0.3s;
    font-family: var(--font-primary);
    font-weight: 500;
}

.btn-copiar:hover {
    background: var(--secondary-color);
}

.pix-details {
    background: #e9ecef;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    text-align: left;
}

.pix-details p {
    margin: 5px 0;
    font-size: 14px;
    word-break: break-all;
}

.pix-instructions {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.pix-instructions h4 {
    color: #856404;
    margin-bottom: 15px;
    font-family: var(--font-primary);
    font-weight: 600;
}

.pix-instructions ol {
    text-align: left;
    padding-left: 20px;
}

.pix-instructions li {
    margin: 8px 0;
    color: #856404;
}

.pix-instructions p {
    text-align: center;
    font-style: italic;
    color: #856404;
    margin-top: 15px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsividade do Modal PIX */
@media (max-width: 768px) {
    .modal-pix-content {
        width: 95%;
        margin: 5% auto;
        padding: 20px;
    }
    
    #qrcode-container canvas {
        max-width: 150px !important;
        max-height: 150px !important;
    }
    
    #codigo-pix {
        font-size: 10px;
        height: 60px;
    }
    
    .modal-pix h2 {
        font-size: 20px;
    }
}
