/*
Theme Name: Cruzeiro Bet Azul
Theme URI: https://example.com/
Author: Augusto
Author URI: https://example.com/
Description: Tema WordPress baseado no wireframe "Nossa História em Azul - Cruzeiro".
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cruzeirobet
*/

html {
    scroll-behavior: smooth;
}

:root {
    --cruzeiro-blue: #0033A0;
    --cruzeiro-white: #FFFFFF;
}

body {
    font-family: Arial, sans-serif;
}

.navbar {
    background-color: var(--cruzeiro-blue);
    border-bottom: 2px solid #002675;
    padding: 1rem 0;
}

.navbar-brand img {
    height: 50px;
}

.navbar-nav .nav-link {
    color: #fff;
    font-weight: 600;
    margin: 0 1rem;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #e0e0e0;
}

.hero-section {
    background-color: #f8f9fa;
    padding: 60px 0 100px 0;
    text-align: center;
    border-bottom: 2px solid #e0e0e0;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 3rem;
}

.before-after-container {
    /* ocupar toda a largura útil do .container do Bootstrap */
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.before-after-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    cursor: ew-resize;
    user-select: none;
}

.image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.after-container {
    clip-path: inset(0 0 0 50%);
    transition: clip-path 0.05s ease;
}

.image-label {
    position: absolute;
    top: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 10;
}

.label-before {
    left: 20px;
}

.label-after {
    right: 20px;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: left 0.05s ease;
}

.slider-line {
    flex: 1;
    width: 4px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.slider-button {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    cursor: ew-resize;
    gap: 2px;
}

.slider-button i {
    font-size: 1rem;
    color: #333;
}

.slider-button:hover {
    background-color: var(--cruzeiro-blue);
}

.slider-button:hover i {
    color: white;
}

.features-section {
    padding: 80px 0;
    background-color: var(--cruzeiro-white);
}

/* Seções de Conteúdo */
.content-section {
    padding: 80px 0;
    background-color: var(--cruzeiro-white);
}

.content-section:nth-child(even) {
    background-color: #f8f9fa;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--cruzeiro-blue);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}

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

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-body {
        font-size: 1rem;
    }
    
    .content-section {
        padding: 60px 0;
    }
}

/* ============================================
   ESTILOS PARA DÚVIDAS FREQUENTES (FAQ)
   ============================================ */
.faq-section {
    padding: 80px 0;
    background-color: #FFF;
}

.faq-header {
    margin-bottom: 50px;
}

.faq-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-top: 15px;
}

#faqAccordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    background-color: #fff;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: var(--cruzeiro-blue);
    box-shadow: 0 2px 8px rgba(0, 51, 160, 0.1);
}

.accordion-item:has(.accordion-button:not(.collapsed)) {
    border-color: var(--cruzeiro-blue);
}

.accordion-button {
    background-color: #fff !important;
    border: none !important;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333 !important;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: none !important;
}

.accordion-button.collapsed {
    background-color: #fff !important;
    color: #333 !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--cruzeiro-blue) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.accordion-button:focus {
    box-shadow: none !important;
    border-color: transparent !important;
    outline: none !important;
}

.accordion-button:hover {
    background-color: #f8f9fa !important;
}

.accordion-button:not(.collapsed):hover {
    background-color: var(--cruzeiro-blue) !important;
    opacity: 0.9;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(180deg);
}

.accordion-collapse {
    background-color: #fff !important;
    border: none !important;
}

.accordion-body {
    padding: 25px;
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    background-color: #fff !important;
    border: none !important;
}

.accordion-body p {
    margin-bottom: 15px;
}

.accordion-body p:last-child {
    margin-bottom: 0;
}

.accordion-body * {
    background-color: transparent !important;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-header {
        margin-bottom: 30px;
    }
    
    .accordion-button {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .accordion-body {
        padding: 20px;
        font-size: 0.95rem;
    }
}

.feature-card {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    background-color: var(--cruzeiro-white);
}

.feature-card h5 {
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.5;
}

.image-placeholder {
    width: 120px;
    height: 120px;
    background-color: #d0d0d0;
    border-radius: 10px;
    margin: 30px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder i {
    font-size: 3rem;
    color: #999;
}

.btn-outline-dark {
    border: 2px solid #000;
    color: #000;
    font-weight: 600;
    padding: 10px 30px;
    margin: 5px;
    border-radius: 5px;
}

.btn-dark {
    background-color: #000;
    border: 2px solid #000;
    color: #fff;
    font-weight: 600;
    padding: 10px 40px;
    margin: 5px;
    border-radius: 5px;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #000;
    border-radius: 50%;
    color: #000;
    margin: 0 5px;
    text-decoration: none;
    font-size: 1.2rem;
}

.social-icons a:hover {
    background-color: #000;
    color: #fff;
}

footer {
    background-color: var(--cruzeiro-blue);
    color: var(--cruzeiro-white);
    padding: 40px 0;
    margin-top: 80px;
}

footer p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.8;
}

/* Menu do Footer */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-menu li {
    margin: 0;
}

.footer-menu a {
    color: var(--cruzeiro-white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
}

.footer-menu a:hover {
    opacity: 0.8;
    color: var(--cruzeiro-white);
}

@media (max-width: 768px) {
    .footer-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    footer .row {
        text-align: center;
    }
    
    footer .text-md-end {
        text-align: center !important;
        margin-top: 20px;
    }
}

/* ============================================
   ESTILOS PARA UPLOAD E MODAL
   ============================================ */
#cadastroModal .modal-content {
    border-radius: 10px;
}

#cadastroModal .modal-header {
    background-color: var(--cruzeiro-blue);
    color: white;
    border-bottom: none;
}

#cadastroModal .modal-header .btn-close {
    filter: invert(1);
}

#cadastroModal .form-label {
    font-weight: 600;
    color: #333;
}

#cadastroModal .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    padding: 10px;
}

#cadastroModal .form-control:focus {
    border-color: var(--cruzeiro-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 51, 160, 0.25);
}

#preview-container {
    text-align: center;
    margin-top: 15px;
}

#preview-image {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#btnDownload {
    margin-top: 15px;
}

.image-placeholder img {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ============================================
   ESTILOS PARA COMPARTILHAMENTO
   ============================================ */
.social-icons a {
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.social-icons a[href*="instagram"]:hover {
    background-color: #E4405F;
    border-color: #E4405F;
    color: #fff;
}

.social-icons a[href*="twitter"]:hover,
.social-icons a[href*="x.com"]:hover {
    background-color: #000000;
    border-color: #000000;
    color: #fff;
}

.social-icons a[href*="facebook"]:hover {
    background-color: #1877F2;
    border-color: #1877F2;
    color: #fff;
}

.social-icons a[href*="whatsapp"]:hover,
.social-icons a[href*="wa.me"]:hover {
    background-color: #25D366;
    border-color: #25D366;
    color: #fff;
}

.copy-image-link {
    transition: all 0.3s ease;
}

.copy-image-link:hover {
    background-color: var(--cruzeiro-blue);
    border-color: var(--cruzeiro-blue);
    color: #fff;
}

.copy-image-link:disabled {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
    cursor: not-allowed;
}

.copy-caption-link {
    transition: all 0.3s ease;
}

.copy-caption-link:hover {
    background-color: var(--cruzeiro-blue);
    border-color: var(--cruzeiro-blue);
    color: #fff;
}

/* ============================================
   ESTILOS PARA TOAST/NOTIFICAÇÃO
   ============================================ */
#cruzeirobet-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    pointer-events: none;
}

.cruzeirobet-toast {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0;
    min-width: 300px;
    max-width: 400px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
    overflow: hidden;
    border-left: 4px solid #17a2b8;
}

.cruzeirobet-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.cruzeirobet-toast-success {
    border-left-color: #28a745;
}

.cruzeirobet-toast-error {
    border-left-color: #dc3545;
}

.cruzeirobet-toast-info {
    border-left-color: #17a2b8;
}

.cruzeirobet-toast-warning {
    border-left-color: #ffc107;
}

.cruzeirobet-toast-content {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 12px;
}

.cruzeirobet-toast-icon {
    font-size: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.cruzeirobet-toast-message {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    font-weight: 500;
}

.cruzeirobet-toast-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.cruzeirobet-toast-close:hover {
    background: #f0f0f0;
    color: #333;
}

.cruzeirobet-toast-progress {
    height: 3px;
    width: 100%;
    background: #e0e0e0;
    animation: toastProgress 5s linear forwards;
}

@keyframes toastProgress {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

/* Responsivo */
@media (max-width: 576px) {
    #cruzeirobet-toast-container {
        left: 20px;
        right: 20px;
        max-width: 100%;
    }
    
    .cruzeirobet-toast {
        min-width: auto;
        max-width: 100%;
    }
    
    .cruzeirobet-toast {
        transform: translateY(-100px);
    }
    
    .cruzeirobet-toast.show {
        transform: translateY(0);
    }
}



