:root {
    --primary-color: #8B0000;
    --secondary-color: #000000;
    --text-color: #333;
    --white: #fff;
    --gray-light: #f5f5f5;
    --gray-dark: #666;
}

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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: var(--gray-light);
    color: var(--text-color);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.header {
    position: fixed;
    /* Mudado para fixed para garantir que fique sempre visível */
    top: 0;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    background-image: url('../frontend/images/naipes_menu.png');
    background-repeat: repeat-x;
    background-size: auto 100%;
    background-position: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.header.scrolled {
    position: fixed;
    top: 0;
    background: rgba(139, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    height: 60px;
    /* Altura menor quando faz scroll */
}

.header.scrolled .nav-container {
    height: 70px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    justify-content: center;
}

.header.scrolled .logo-img {
    display: none;
}

.header.scrolled .nav-menu {
    gap: 30px;
    margin: 0;
}

.header.scrolled .nav-link {
    font-size: 1rem;
    padding: 8px 0;
    white-space: nowrap;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(114, 2, 2, 0.9);
    z-index: -1;
}

.nav {
    width: 100%;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo-img {
    height: 48px;
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: var(--white);
    transition: color 0.3s;
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s;
    margin: 0 auto;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 28px;
    height: 4px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

@media (max-width: 900px) {
    .nav-menu {
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding: 32px 0;
        transform: translateY(-120%);
        transition: transform 0.3s;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .header.scrolled .nav-menu {
        top: 70px;
        background: rgba(139, 0, 0, 0.95);
        backdrop-filter: blur(10px);
    }

    .header.scrolled .nav-link {
        font-size: 0.9rem;
        padding: 6px 0;
    }
}

.hero {
    width: 100%;
    height: calc(100vh - 70px);
    /* Altura total menos a altura do menu */
    position: relative;
    margin-top: 70px;
    /* Altura do menu para que a imagem comece após o menu */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img_header.jpg') center/cover no-repeat;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    /* Reduzido para compensar a nova altura */
}

.hero-logo {
    max-width: 320px;
    width: 90vw;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
    z-index: 10;
    animation: slideInFromLeft 0.63s ease-out 0.2s forwards;
    opacity: 0;
    transform: translateX(-100px);
}

.hero-logo-band {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 200px;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
    animation: slideInFromBottom 0.63s ease-out forwards;
    opacity: 0;
    transform: translateX(-50%) translateY(100px);
}

.hero-logo {
    max-width: 320px;
    width: 90vw;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

@media (max-width: 600px) {
    .hero-logo {
        max-width: 180px;
    }
}

/* Responsividade para diferentes tamanhos de tela */
@media (max-width: 768px) {
    .hero {
        height: calc(100vh - 60px);
        /* Menu menor em mobile */
        margin-top: 60px;
    }

    .hero-logo-container {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: calc(100vh - 50px);
        /* Menu ainda menor em telas pequenas */
        margin-top: 50px;
    }

    .hero-logo-container {
        margin-top: 20px;
    }
}

.section {
    padding: 80px 0 40px 0;
    min-height: 100vh;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 48px;
    text-align: center;
}

.section-content {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.text-content {
    flex: 1 1 320px;
}

.image-content {
    flex: 1 1 320px;
    text-align: center;
}

.sobre-image {
    max-width: 400px;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sobre-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Palestra Principal Section */
.palestra-principal {
    padding: 120px 0 80px 0;
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
    margin-bottom: 100px;
}

.palestra-principal .section-title {
    color: var(--white);
    margin-bottom: 60px;
}

.palestra-principal .container {
    position: relative;
    z-index: 2;
}

.palestra-principal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.palestra-principal-text {
    color: var(--white);
}

.palestra-principal-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 30px;
    color: var(--white);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    letter-spacing: 2px;
}

.palestra-principal-description {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #e0e0e0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.palestra-principal .saiba-mais-btn {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
    margin-top: 30px;
}

.palestra-principal .saiba-mais-btn:hover {
    background: transparent;
    color: var(--white);
}

.palestra-principal-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.fhu-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(255, 215, 0, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Responsivo para Palestra Principal */
@media (max-width: 900px) {
    .palestra-principal-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .palestra-principal-title {
        font-size: 2rem;
    }

    .palestra-principal-description {
        font-size: 1.1rem;
    }

    .fhu-logo {
        max-width: 300px;
    }


}

@media (max-width: 768px) {
    .palestra-principal {
        padding: 80px 0;
    }

    .palestra-principal-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .palestra-principal-description {
        font-size: 1rem;
    }

    .fhu-logo {
        max-width: 250px;
    }


}

@media (max-width: 900px) {
    .section-content {
        flex-direction: column;
        gap: 32px;
    }
}

.palestras-grid,
.videos-grid,
.depoimentos-grid,
.fotos-grid,
.clientes-grid {
    display: grid;
    gap: 32px;
}

.palestras {
    padding: 80px 0 40px 0;
    min-height: 100vh;
    background: url('../frontend/images/cartas_palestras.jpg') center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
}

.palestras::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../frontend/images/cartas_palestras.jpg') center/cover no-repeat;
    background-attachment: fixed;
    filter: blur(3px);
    z-index: 1;
}



.palestras .container {
    position: relative;
    z-index: 2;
}

.palestras .section-title {
    color: #C0C0C0;
    position: relative;
    margin-bottom: 80px;
}

.palestras .section-title::after {
    content: '';
    position: absolute;
    bottom: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 80px;
    background: rgba(0, 0, 0, 0.8);
    z-index: -1;
}

.palestras-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.palestra-card {
    background: var(--gray-light);
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 0.7s;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.palestra-card::before {
    content: '';
    position: absolute;
    top: -7px;
    left: -7px;
    right: -7px;
    bottom: -7px;
    border: 3px solid #808080;
    border-radius: 18px;
    z-index: -1;
    transition: border-color 0.3s ease;
}

.palestra-card:hover::before {
    border-color: var(--primary-color);
}

.palestra-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.palestra-title {
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 12px;
    text-align: center;
    line-height: 1.4;
}

.palestra-description {
    color: var(--text-color);
    margin-bottom: 18px;
}

.palestra-duration {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 500;
}

.palestra-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.palestra-icon-img {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 4px 8px rgba(139, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.palestra-card:hover .palestra-icon-img {
    transform: scale(1.1);
}

.saiba-mais-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.3);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.saiba-mais-btn:hover {
    background: #6B0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 0, 0, 0.4);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 0;
}

.modal-overlay.active.visible {
    opacity: 1;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 1200px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 3px solid #808080;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--primary-color);
    background: rgba(139, 0, 0, 0.1);
}

.modal-body {
    padding: 40px;
}

.modal-palestra {
    display: none;
}

.modal-palestra.active {
    display: block;
}

.modal-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    position: relative;
}

.modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 66px;
    background-image: var(--modal-separador, url('../frontend/images/separador_espadas.png'));
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% auto;
}

.modal-icon {
    margin-right: 30px;
}

.modal-icon img {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 4px 8px rgba(139, 0, 0, 0.3));
}

.modal-header h2 {
    color: var(--secondary-color);
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.3;
}

.modal-header h2 span {
    font-size: 0.8em;
    color: #666;
    font-weight: normal;
}

.modal-content-text {
    color: var(--text-color);
    line-height: 1.6;
}

.modal-content-text p {
    margin-bottom: 15px;
}

.modal-content-text ul {
    margin: 15px 0;
    padding-left: 20px;
}

.modal-content-text li {
    margin-bottom: 8px;
    color: #555;
}

.modal-content-text strong {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px;
        max-width: 95vw;
    }

    .modal-header {
        flex-direction: column;
        text-align: center;
    }

    .modal-header::after {
        height: 50px;
        left: 15px;
        right: 15px;
        background-size: 95% auto;
    }

    .modal-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .modal-icon img {
        width: 60px;
        height: 60px;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 25px;
    }
}

.videos-grid {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.videos-em-breve {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 40px 20px;
}

.em-breve-content {
    text-align: center;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.95);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
}

.em-breve-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.em-breve-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.em-breve-description {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 30px;
}

.em-breve-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #FFD700;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

.status-text {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0.3;
    }
}

.video-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    transition: transform 0.3s;
    animation: fadeInUp 0.7s;
}

.video-card:hover {
    transform: translateY(-8px) scale(1.03);
}

.video-frame {
    width: 100%;
    height: 220px;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    position: relative;
}

.video-frame::before {
    content: "▶";
    font-size: 3rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.7;
}

.video-duration {
    position: absolute;
    bottom: 12px;
    right: 16px;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.95rem;
}

.video-info {
    padding: 20px;
}

.video-title {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 8px;
}

.video-description {
    color: var(--text-color);
    font-size: 0.98rem;
}

.depoimentos-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.depoimento-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    position: relative;
    animation: fadeInUp 0.7s;
}

.depoimento-card::before {
    content: '"';
    font-size: 3.5rem;
    color: var(--primary-color);
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: serif;
    opacity: 0.2;
}

.depoimento-text {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-left: 20px;
}

.depoimento-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-left: 20px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.author-info h4 {
    color: var(--secondary-color);
    font-size: 1.05rem;
    font-weight: bold;
}

.author-info p {
    color: var(--gray-dark);
    font-size: 0.95rem;
}

/* Em Breve - Depoimentos */
.em-breve-container {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.em-breve-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.em-breve-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.em-breve-text {
    font-size: 1.2rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.em-breve-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.progress-bar {
    width: 300px;
    height: 8px;
    background: var(--gray-light);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #d32f2f);
    border-radius: 4px;
    animation: progressAnimation 3s ease-in-out infinite;
    width: 60%;
}

.progress-text {
    font-size: 1rem;
    color: var(--gray-dark);
    font-weight: 500;
    animation: blink 2s infinite;
}

@keyframes progressAnimation {

    0%,
    100% {
        width: 60%;
    }

    50% {
        width: 80%;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .em-breve-container {
        padding: 40px 20px;
    }

    .em-breve-title {
        font-size: 2rem;
    }

    .em-breve-text {
        font-size: 1.1rem;
    }

    .progress-bar {
        width: 250px;
    }
}

/* Galeria de Fotos Moderna - 15 Anos de História */
.fotos {
    background: #000000;
    color: var(--white);
}

.fotos-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.fotos-logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.logo-15-anos {
    width: 500px;
    height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(139, 0, 0, 0.3));
    transition: transform 0.4s ease;
}

.logo-15-anos:hover {
    transform: scale(1.1) rotate(5deg);
}

.fotos .section-title {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-color), #d32f2f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.fotos .section-title::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: auto;
    background-image: url('../frontend/images/15_anos_palestra.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    opacity: 0.8;
}

.fotos-subtitle {
    font-size: 1.2rem;
    color: var(--white);
    font-style: italic;
    margin-bottom: 0;
    opacity: 0.8;
}

.fotos-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    padding: 40px 0;
}

.foto-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--gray-light);
    border: 3px solid transparent;
}

.foto-item:hover {
    /* Removido o aumento */
    box-shadow: 0 20px 60px rgba(139, 0, 0, 0.25);
    border-color: var(--primary-color);
}

.foto-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.5s ease;
    filter: grayscale(100%) contrast(1.1);
}

.foto-item:hover img {
    /* Removido o scale */
    filter: grayscale(0%) contrast(1.2) brightness(1.1);
}

.foto-overlay {
    display: none;
}

.foto-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.foto-description {
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.5;
    font-weight: 400;
}

.foto-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--gray-light) 100%);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Responsivo */
@media (max-width: 768px) {
    .fotos-header {
        margin-bottom: 40px;
    }

    .logo-15-anos {
        width: 80px;
        height: 80px;
    }

    .fotos .section-title {
        font-size: 2.2rem;
    }

    .fotos .section-title::before {
        width: 300px;
        top: -30px;
    }

    .fotos-subtitle {
        font-size: 1rem;
    }

    .fotos-gallery {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
        padding: 20px 0;
    }

    .foto-item {
        aspect-ratio: 3/2;
    }

    .foto-overlay {
        padding: 20px;
    }

    .foto-title {
        font-size: 1.1rem;
    }

    .foto-description {
        font-size: 0.9rem;
    }
}

/* Lightbox para fotos */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    cursor: default;
}

.lightbox-content img {
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Tamanhos específicos para retrato e paisagem */
.lightbox-content img.portrait {
    width: 334px;
    height: auto;
    max-height: 80vh;
}

.lightbox-content img.landscape {
    width: 540px;
    height: auto;
    max-width: 90vw;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Botões de navegação do lightbox */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 15px 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    min-height: 50px;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
}

.lightbox-nav:disabled:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

/* Contador de imagens */
.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    .lightbox-nav {
        padding: 12px 10px;
        min-width: 40px;
        min-height: 40px;
        font-size: 1.2rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-counter {
        bottom: -35px;
        font-size: 0.9rem;
        padding: 6px 12px;
    }

    .lightbox-close {
        top: -35px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .lightbox-nav {
        padding: 10px 8px;
        min-width: 35px;
        min-height: 35px;
        font-size: 1rem;
    }

    .lightbox-prev {
        left: 5px;
    }

    .lightbox-next {
        right: 5px;
    }

    .lightbox-counter {
        bottom: -30px;
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px 0;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--white);
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 10px;
}

.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
    opacity: 0.9;
}

.footer-menu a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-contact p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.footer-copyright p {
    margin-bottom: 5px;
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-copyright p:last-child {
    font-style: italic;
    opacity: 0.7;
}

/* Responsivo do Footer */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }

    .footer-contact p {
        justify-content: center;
    }
}

/* Carrossel de Clientes */
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 30px 0 20px 0;
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: 60px;
    transition: transform 0.1s linear;
    will-change: transform;
}

.carousel-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.carousel-item:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.carousel-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
}

/* Responsivo */
@media (max-width: 768px) {
    .carousel-item {
        width: 100px;
        height: 100px;
    }

    .carousel-item img {
        width: 60px;
        height: 60px;
    }

    .carousel-track {
        gap: 40px;
    }
}

/* Seção Clientes com fundo bordo */
.clientes {
    background: var(--primary-color);
    color: var(--white);
    min-height: 40vh;
}

.clientes .section-title {
    color: var(--white);
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

@media (max-width: 900px) {
    .contato-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.contact-info h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 24px;
    font-weight: bold;
}

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

.contact-item .icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.contact-form {
    background: var(--gray-light);
    padding: 32px;
    border-radius: 15px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

.contact-form h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 24px;
    font-weight: bold;
}

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

.form-group label {
    display: block;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-button {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 14px 0;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s, color 0.3s;
}

.submit-button:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* Botão flutuante para voltar ao topo */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Botão flutuante do WhatsApp */
.whatsapp-float-btn {
    position: fixed;
    right: 30px;
    bottom: 100px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float-btn:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float-btn:active {
    transform: scale(0.95);
}

/* Modal WhatsApp */
.whatsapp-modal {
    max-width: 500px;
    width: 90vw;
    max-height: 85vh;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid #25D366;
    overflow: hidden;
}

.whatsapp-modal .modal-header {
    background: #25D366;
    color: var(--white);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--white);
}

.whatsapp-modal .modal-header h2 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

.whatsapp-modal .modal-close {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-modal .modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.whatsapp-modal .modal-body {
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
}

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

.whatsapp-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-color);
}

.whatsapp-form .form-group input,
.whatsapp-form .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.whatsapp-form .form-group input:focus,
.whatsapp-form .form-group textarea:focus {
    outline: none;
    border-color: #25D366;
}

.whatsapp-form .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
}

.whatsapp-form .checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

.whatsapp-form .checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 14px;
}

.whatsapp-submit {
    background: #25D366;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.whatsapp-submit:hover {
    background: #128C7E;
}

.whatsapp-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .whatsapp-float-btn {
        right: 20px;
        bottom: 90px;
        width: 55px;
        height: 55px;
        font-size: 24px;
    }

    .whatsapp-modal {
        width: 95vw;
        margin: 20px;
    }

    .whatsapp-modal .modal-header {
        padding: 15px 20px;
    }

    .whatsapp-modal .modal-header h2 {
        font-size: 1.3rem;
    }

    .whatsapp-modal .modal-body {
        padding: 20px;
    }
}

/* Animações de entrada */
@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(100px);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Estilos para Modais das Políticas */
.politica-modal {
    max-width: 90vw;
    width: 1000px;
    max-height: 85vh;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary-color);
    overflow: hidden;
}

.politica-modal .modal-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--white);
}

.politica-modal .modal-header h2 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
}

.politica-modal .modal-close {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.politica-modal .modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.politica-modal .modal-body {
    padding: 0;
    height: 600px;
    overflow: hidden;
}

.politica-modal .modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: var(--white);
}

/* Responsivo para modais das políticas */
@media (max-width: 768px) {
    .politica-modal {
        max-width: 95vw;
        max-height: 90vh;
        margin: 10px;
    }

    .politica-modal .modal-header {
        padding: 15px 20px;
    }

    .politica-modal .modal-header h2 {
        font-size: 1.4rem;
    }

    .politica-modal .modal-close {
        width: 30px;
        height: 30px;
        font-size: 1.5rem;
    }

    .politica-modal .modal-body {
        height: 500px;
    }
}

@media (max-width: 480px) {
    .politica-modal .modal-header h2 {
        font-size: 1.2rem;
    }

    .politica-modal .modal-body {
        height: 400px;
    }
}

/* Estilos para campos de ajuda e validação */
.form-help {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    display: block;
}

.form-group input:invalid,
.form-group textarea:invalid {
    border-color: #ff4444;
}

.form-group input:valid,
.form-group textarea:valid {
    border-color: #4CAF50;
}

.form-group input:focus:invalid,
.form-group textarea:focus:invalid {
    border-color: #ff4444;
    box-shadow: 0 0 5px rgba(255, 68, 68, 0.3);
}

.form-group input:focus:valid,
.form-group textarea:focus:valid {
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

/* Contador de caracteres */
#mensagem-count {
    font-weight: bold;
}

/* Campos honeypot - sempre ocultos */
input[name="website"],
input[name="honeypot"] {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}