
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    background-color: white;
}

header {
    position: relative;
    height: 120px;
    background: #050505;
    overflow: hidden;
  }

  header canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 1;
  }
  .logo {
    max-width: 170px;
    margin: 0.85rem;
    filter: drop-shadow(0 0 5px white) drop-shadow(0 0 5px white);
    transition: filter 0.3s ease;
    position: relative;
    z-index: 1;
  }

  .logo:hover {
    filter: drop-shadow(0 0 8px white) drop-shadow(0 0 8px white);
  }

/* Estilos para o slider */

.galeria-slider {
    position: relative;
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    background-color: black;
    margin-top: -1px; /* Elimina espacio entre navbar y carrusel */
  }
  
  .galeria-slider picture,
  .galeria-slider img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
  
  .responsive-banner {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    max-height: 100%;
  }
  @media (min-width: 768px) {
    .galeria-slider {
      height: 450px;
    }
  }
  
  
  .galeria-slider .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  
  .galeria-slider .slide.active {
    opacity: 1;
    position: relative;
    z-index: 1;
  }
  
  @media (min-width: 769px) {
    .galeria-slider {
      height: 450px;
      aspect-ratio: unset;
    }
  }
  
  
  /* Botões de navegação */
  .galeria-slider .prev,
  .galeria-slider .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 24px;
    border: none;
    cursor: pointer;
    z-index: 2;
  }
  
  .galeria-slider .prev { left: 10px; }
  .galeria-slider .next { right: 10px; }
  
  /* Indicadores */
  .galeria-slider .indicadores {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
  }
  
  .galeria-slider .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
  }
  
  .galeria-slider .dot.active {
    background: red;
  }
  
  
  
  
  /* Botões de navegação */
  .prev, .next {
    position: absolute;
    top: 50%;
    padding: 10px;
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    cursor: pointer;
    transform: translateY(-50%);
    font-size: 2rem;
    z-index: 2;
  }
  
  .prev { left: 10px; }
  .next { right: 10px; }
  
  /* Indicadores (bolinhas) */
  .indicadores {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
  }
  
  .dot {
    height: 12px;
    width: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .dot.active {
    background-color: #ff0000;
  }
  
  /* Responsivo para celular */
  @media (max-width: 768px) {
    .galeria-slider {
      height: auto;
      aspect-ratio: 16 / 9; /* mantém proporção bonita */
      max-height: none;
    }
  
    .slide img {
      height: auto;
      aspect-ratio: 16 / 9;
      object-fit: cover;
    }
  }
  
  
nav {
    background-color: #000000;
    padding: 10px 20px;
    width: 100%;
    text-align: right;
    position: relative;
    z-index: 100;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
    font-weight: bold;
    padding: 5px 10px;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.navbar-toggler {
    background-color: #ff0000; /* Cor do botão - você pode mudar */
    border-color: #ff0000; /* Cor da borda do botão */
    border-radius: 5px; /* Arredondar se quiser */
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    /* Branco por padrão. Mude stroke='white' para a cor desejada, ex: 'red' */
}

nav a:hover {
    color: #ff0000;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
}

nav a:last-child {
    margin-right: 50px;
}

.navbar-brand {
    color: white;
    background-color: black;
}

.bg-body-tertiary {
    background-color: black !important;
}

.bs-navbar-color {
    color: white;
}

.nav-item {
    color: white;
}

.nav-link {
    color: white !important;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #ff0000 !important;
}

.nav-link.active {
    color: #ff0000 !important;
    font-weight: 600;
}

.services-container {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.service-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    animation: float 3s ease-in-out infinite;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.service-card img {
    width: 100%; /* Ocupa toda a largura do contêiner */
    max-width: 200px; /* Define um tamanho máximo */
    height: 150px; /* Define uma altura fixa */
    object-fit: cover; /* Garante que a imagem preencha sem distorcer */
    display: block;
    margin: 0 auto 1rem; /* Centraliza a imagem */
    border-radius: 18px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #ff000011, #00000011);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(255,0,0,0.2);
}

.service-card h3 {
    color: #ff0000;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: #333;
    margin-bottom: 1.5rem;
}

.service-details {
    list-style: none;
    text-align: left;
    padding: 0 1rem;
}

.service-details li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-details li::before {
    content: '•';
    color: #ff0000;
    position: absolute;
    left: 0;
    font-weight: bold;
}

footer {
    background-color: #000000;
    color: white;
    padding: 1.5rem 0;
    text-align: center;
    position: relative;
}

.footer-logo {
    filter: drop-shadow(0 0 5px white);
    transition: all 0.3s ease;
}

/* Separador de secciones */
.section-divider {
    height: 4px;
    background: linear-gradient(90deg, #000000, #ff0000, #000000);
    margin: 3rem 0;
    position: relative;
}

/* Mejoramos el espacio entre secciones */
section {
    padding: 4rem 0;
}

/* Estilos para la sección de YouTube */
.youtube-section {
    background: #f8f9fa;
    padding: 3rem 0;
}

/* Estilos para la sección de Cursos */
.cursos-section {
    background: #f5f5f5;
    padding: 5rem 0;
}

.cursos-section .lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

.cursos-img-container {
    padding: 1rem;
    margin-bottom: 2rem;
}

.cursos-img-container img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    transform: translateY(0);
}

.cursos-img-container img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.cursos-content {
    padding: 1rem;
}

/* Estilos para los mensajes de alerta del formulario */
.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    animation: fadeIn 0.3s ease-in-out;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.9);
    color: white;
    border: 1px solid rgba(40, 167, 69, 1);
}

.alert-info {
    background-color: rgba(0, 123, 255, 0.9);
    color: white;
    border: 1px solid rgba(0, 123, 255, 1);
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.9);
    color: white;
    border: 1px solid rgba(220, 53, 69, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.youtube-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 15px rgba(255, 0, 0, 0.15);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.youtube-preview img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.youtube-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.youtube-link:hover img {
    transform: scale(1.05);
}

.youtube-link:hover .play-button svg {
    transform: scale(1.2);
    fill: #ff0000;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.5);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-button svg {
    fill: #ff0000;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.youtube-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.btn-youtube {
    background-color: #ff0000;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-youtube:hover {
    background-color: #cc0000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
}

.page-title {
    text-align: center;
    color: #000000;
    margin: 2rem 0;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #ff0000, #000000);
}

/* Cookie Consent Bar */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-text {
    flex: 1;
    margin-right: 1rem;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.accept-btn {
    background-color: #b60d0d;
    color: white;
}

.accept-btn:hover {
    background-color: #8f0a0a;
}

.settings-btn {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.settings-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.privacy-link {
    color: #b60d0d;
    text-decoration: none;
}

.privacy-link:hover {
    text-decoration: underline;
}

/* Hero Section & CTA */
.hero-section {
    position: relative;
    margin-top: 0;
    padding-top: 0;
}

.cta-container {
    background-color: #f5f5f5;
    padding: 3rem 0;
    border-top: 5px solid #ff0000;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cta-btn {
    background-color: #ff0000 !important;
    border-color: #ff0000 !important;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: #d10000 !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 0, 0, 0.4);
}

.cta-btn-secondary {
    border-color: #000 !important;
    color: #000 !important;
    font-weight: bold;
}

.cta-btn-secondary:hover {
    background-color: #000 !important;
    color: #fff !important;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 80px; /* Above cookie consent */
    right: 20px;
    z-index: 999;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-button {
    background-color: #db1c1c;
    color: white;
    padding: 15px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(211, 37, 37, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(207, 62, 30, 0.4);
    background-color: #b12717;
}

.whatsapp-icon {
    font-size: 1.5rem;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.whatsapp-link {
    display: inline-block;
    background-color: #25d366;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    margin: 15px 0;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.whatsapp-link:hover {
    background-color: #128c7e;
}

.whatsapp-link i {
    margin-right: 8px;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #ff0000;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #cc0000;
}

h2 {
    color: #000000;
    margin-bottom: 1rem;
}


/* Estilos para o modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 15px 20px;
    width: 70%;
    max-width: 650px;
    border-radius: 8px;
    position: relative;
    animation: modalOpen 0.3s ease-out;
}

@keyframes modalOpen {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 5px;
    font-size: 24px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
}

.close-modal:hover {
    color: #ff0000;
}

.modal-image {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.modal-description {
    line-height: 1.5;
    color: #333;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.modal-title {
    color: #ff0000;
    margin-bottom: 12px;
    padding-right: 30px;
    font-size: 1.4rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    min-height: calc(100vh - 200px); /* Adjust for header, nav, and footer height */
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 25px rgba(255,0,0,0.15);
}

.contact-icon {
    font-size: 3rem;
    color: #ff0000;
    margin-bottom: 1.5rem;
}

.contact-title {
    color: #000000;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.contact-info {
    font-size: 1.2rem;
    color: #333;
    margin: 0.8rem 0;
    line-height: 1.8;
}

.whatsapp-link {
    display: inline-block;
    background-color: #25d366;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    margin: 20px 0;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.whatsapp-link:hover {
    background-color: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.page-title {
    text-align: center;
    color: #000000;
    margin: 3rem 0;
    font-size: 2.8rem;
    position: relative;
    padding-bottom: 1.5rem;
    font-weight: bold;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #ff0000, #000000);
    border-radius: 2px;
}

.map-container {
    margin-top: 4rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Estilos para la sección Sobre Nós */
.about-section {
    padding: 60px 0;
    background-color: #ffffff;
    position: relative;
}

.about-image {
    text-align: center;
    margin-bottom: 30px;
}

.about-image img {
    max-width: 80%;
    height: auto;
}

.about-content h3 {
    font-weight: 600;
    margin-bottom: 20px;
    color: #000;
}

.about-content p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.about-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(224, 7, 7, 0.1);
    margin-right: 15px;
    color: #e00707;
}

.feature-text {
    font-weight: 500;
}

/* Estilos para la sección de contacto */
.contact-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.contact-section .section-title {
    margin-bottom: 50px;
    text-align: center;
}

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

.info-icon {
    margin-right: 20px;
    width: 50px;
    height: 50px;
    background-color: #ff0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 3px 10px rgba(255, 0, 0, 0.2);
}

.info-content h4 {
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 600;
}

.info-content p {
    margin-bottom: 0;
    color: #6c757d;
}

.contact-social h4 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.social-links {
    display: flex;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link.youtube {
    background-color: #FF0000;
}

.social-link.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.social-link.whatsapp {
    background-color: #25D366;
}

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

.contact-form-container {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.form-label {
    font-weight: 500;
}

.form-control {
    border-radius: 5px;
    padding: 10px 15px;
    height: auto;
    border: 1px solid #ced4da;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.contact-submit {
    background-color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
}

.contact-submit:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Estilos para el mapa */
.map-container {
    width: 100%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Mejoras en los enlaces de contacto */
.info-content a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--primary-color);
}

@media (max-width: 991px) {
    .info-item {
        margin-bottom: 20px;
    }
    
    .contact-form-container {
        margin-top: 40px;
    }
    
    .map-container {
        height: 350px;
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .map-container {
        height: 300px;
    }
    
    .contact-section {
        padding: 60px 0;
    }
}