/* Reset e Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Outfit', sans-serif;
    background-color: var(--color-black);
    -ms-overflow-style: none;  /* IE/Edge */
    scrollbar-width: none;  /* Firefox */
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* Ocultar a barra de rolagem para navegadores baseados no WebKit (Chrome, Safari, etc) */
html::-webkit-scrollbar {
    display: none;
}

:root {
    --color-red: #DD1219;
    --color-black: #000000;
    --transition-speed: 0.3s;
}

/* Language Switcher */
.lang-switcher {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
}

.lang-btn {
    cursor: pointer;
    transition: color 0.3s;
    color: rgba(221, 18, 25, 0.4);
    user-select: none;
}

.lang-btn:hover {
    color: var(--color-red);
}

.lang-btn.active {
    color: var(--color-red);
}

.lang-separator {
    color: #555;
    user-select: none;
}

/* Corpo e Estrutura */
body {
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    position: relative;
}

/* Cabeçalho Menu Lateral Esquerdo */
header {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 1000;
    background-color: transparent;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color var(--transition-speed) ease;
}

/* Centralização do Menu */
.nav-container {
    width: auto;
    padding: 0;
    display: flex;
    justify-content: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column; /* Menu vertical */
    gap: 1.5rem;
    padding: 0;
    margin: 0;
    position: relative; /* Necessário para a linha absoluta */
}

/* Linha vertical vermelha suave ao lado direito */
.nav-menu::after {
    content: '';
    position: absolute;
    top: -5%;
    right: -25px; /* Distância da linha em relação aos ícones */
    width: 1.5px;
    height: 110%; /* Pouco maior que o menu em si */
    background: linear-gradient(to bottom, transparent, rgba(221, 18, 25, 0.6), transparent);
    pointer-events: none;
}

.nav-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 65px;
    height: 65px;
    text-decoration: none;
    transition: transform var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: filter var(--transition-speed) ease;
    opacity: 0.6; /* Deixa apagado quando inativo (desktop) */
}

/* Estilo do link ativo ou hover */
.nav-link:hover,
.nav-link.active {
    transform: scale(1.1);
}

.nav-link:hover img,
.nav-link.active img {
    opacity: 1;
    filter: invert(19%) sepia(87%) saturate(5833%) hue-rotate(349deg) brightness(96%) contrast(105%) drop-shadow(0 0 10px rgba(221, 18, 25, 0.8));
}

/* Texto do menu (escondido no desktop, aparece só no mobile) */
.nav-text {
    display: none;
    margin-left: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Botões do Menu Mobile (escondidos no desktop) */
.mobile-menu-btn {
    display: none;
}
.mobile-menu-close-btn {
    display: none;
}

/* Estilização do Contêiner Slider */
main {
    display: flex;
    flex-direction: row;
    width: 400vw;
    height: 100vh;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.3, 1);
    will-change: transform;
}

/* Estilização das Seções */
.section {
    height: 100vh;
    width: 100vw;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Vídeo Global de Fundo (Parallax) */
.global-bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.60);
    z-index: 1;
}

/* Temas das Seções */
.theme-dark {
    background-color: var(--color-black);
    color: var(--color-red);
}

.theme-light {
    background-color: var(--color-red);
    color: var(--color-black);
}

/* Seção inicial: fundo preto sólido, cobre o vídeo */
#inicio {
    background-color: #000000;
    z-index: 1;
}

/* Seções com vídeo parallax: transparentes, revelam o vídeo por baixo */
#projetos,
#pagina-3,
#contratar {
    background-color: transparent;
    z-index: 1;
}

/* Cores dos textos nas seções com vídeo */
#projetos .section-title,
#projetos .section-subtitle {
    color: var(--color-red);
}

#pagina-3 .section-title,
#pagina-3 .section-subtitle {
    color: var(--color-red);
}

#contratar .section-title,
#contratar .section-subtitle {
    color: var(--color-red);
}

/* Títulos das Seções com Tipografia Premium */
.section-title {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 0.9;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.8rem);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 6px;
    opacity: 0.8;
}

/* Glow vermelho para textos da seção inicial */
#inicio .section-title {
    text-shadow:
        0 0 10px rgba(221, 18, 25, 0.9),
        0 0 30px rgba(221, 18, 25, 0.7),
        0 0 60px rgba(221, 18, 25, 0.5),
        0 0 120px rgba(221, 18, 25, 0.3);
}

#inicio .section-subtitle {
    text-shadow:
        0 0 8px rgba(221, 18, 25, 0.8),
        0 0 20px rgba(221, 18, 25, 0.5),
        0 0 40px rgba(221, 18, 25, 0.3);
}

#inicio .btn-ver-projetos {
    margin-top: clamp(3rem, 8vh, 6rem);
    font-size: clamp(0.9rem, 2vw, 1.25rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-red);
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-shadow:
        0 0 8px rgba(221, 18, 25, 0.8),
        0 0 20px rgba(221, 18, 25, 0.5),
        0 0 40px rgba(221, 18, 25, 0.3);
}

#inicio .btn-ver-projetos:hover {
    opacity: 0.8;
}

/* Responsividade Básica */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
        letter-spacing: 1.5px;
    }
}

/* class to slap on any target to instantly warp it */
.evolution-warp {
  filter: url(#ae-evolution-distortion);

  /* hard requirements to force GPU caching and stop the browser compostior from flickering */
  will-change: filter, transform;
  transform: translateZ(0);
}

/* Efeito CRT */
.crt {
  position: relative;
  overflow: hidden;
}

.crt::after {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, #000000, #000000, #333333, #333333);
  background-size: 100% 4px;
  animation: crt-scroll 4s linear infinite;
  pointer-events: none;
  z-index: 1;
  opacity: 0.15; /* Deixa as linhas bem sutis por cima do fundo preto original */
}

@keyframes crt-scroll {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 -4px;
  }
}

/* Seção de Projetos - Layout */
.projects-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    height: 80vh;
}

/* Marquee Wrapper - Diagonal */
.projects-marquee-wrapper {
    position: relative;
    width: 60%;
    height: 130vh;
    display: flex;
    gap: 1.2rem;
    overflow: hidden;
    z-index: 10;
    transform: translate(-25%, 0) rotate(-15deg) scale(1.3);
    transform-origin: center center;
    mask-image: radial-gradient(ellipse 75% 35% at center, black 50%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 75% 35% at center, black 50%, transparent 100%);

    /* Efeito de Fade ao entrar na seção */
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.3, 1);
    transition-delay: 0.3s;
    will-change: opacity;
}

#projetos.active-section .projects-marquee-wrapper {
    opacity: 1;
}

/* Coluna do Marquee */
.marquee-column {
    flex: 1;
    overflow: hidden;
    position: relative;
}

/* Track do Marquee */
.marquee-track {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    animation: marquee-up 45s linear infinite;
    will-change: transform;
}

.marquee-reverse .marquee-track {
    animation: marquee-down 50s linear infinite;
}

.marquee-column:nth-child(3) .marquee-track {
    animation: marquee-up 40s linear infinite;
}

/* Cards - Tamanho uniforme retangular */
.marquee-card {
    width: 100%;
    height: 240px;
    background-color: #02182B;
    border-radius: 14px;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

.marquee-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.marquee-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.marquee-card video.loaded {
    opacity: 1;
}

/* Animações do Marquee */
@keyframes marquee-up {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

@keyframes marquee-down {
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(0);
    }
}

/* Detalhes estáticos */
.projects-static-details {
    width: 32%;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-title {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    line-height: 1;
    min-height: 1.2em;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 30px rgba(255, 255, 255, 0.5),
        0 0 60px rgba(255, 255, 255, 0.3);
}

.project-description {
    font-size: clamp(1.1rem, 1.6vw, 1.4rem);
    font-weight: 300;
    color: #ffffff;
    transition: opacity 0.5s ease;
    line-height: 1.6;
    opacity: 0.85;
}

/* Typewriter Cursor */
.typewriter-cursor {
    display: inline-block;
    color: var(--color-red);
    font-weight: 300;
    animation: blink-cursor 0.7s step-end infinite;
    margin-left: 2px;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 30px rgba(255, 255, 255, 0.5);
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* FPPRO - RD © COMPONENTS */
:root {
    --fpusercomponentfont: "Outfit", sans-serif;    
    --fpusercomponentcolor: #60656f;   
    --fpusercomponentwidth: 280px;   
}

.fp-clientes {
    height: fit-content;
    width: var(--fpusercomponentwidth);
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: center;
    display: flex;
    padding: 0px;
    z-index: 10;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    margin-top: 1.5rem;
}

.fotosclientes {
    width: fit-content;
    flex-direction: row;
    gap: 0px;
    align-items: center;
    justify-content: center;
    display: flex;
    margin-left: 20px;
    padding: 0px;
    transition: 0.2s;
}

.fotosclientes .f1:hover {
    transform: translateX(-12px);
    filter: blur(0px) saturate(1.3);
    transition: all 0.5s;
    z-index: 99;
}

.fotosclientes:hover .f1:not(:hover) {
    transition: all 0.5s;
    filter: blur(1px) saturate(0);
}

.f1 {
    width: 65px;
    height: 65px;
    transition: all 1s;
    margin-left: -25px;
    border-radius: 100%;
    border: 2px var(--color-red) solid;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 5px 0px 5px 0px rgba(0,0,0, 0.5);
    background-color: #000;
    position: relative;
    /* overflow: hidden foi removido para o tooltip poder aparecer fora da caixa */
}

.f1:nth-child(1) { z-index: 11; }
.f1:nth-child(2) { z-index: 10; }
.f1:nth-child(3) { z-index: 9; }
.f1:nth-child(4) { z-index: 8; }
.f1:nth-child(5) { z-index: 7; }
.f1:nth-child(6) { z-index: 6; }
.f1:nth-child(7) { z-index: 5; }
.f1:nth-child(8) { z-index: 4; }
.f1:nth-child(9) { z-index: 3; }
.f1:nth-child(10) { z-index: 2; }
.f1:nth-child(11) { z-index: 1; }

.client-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: opacity 0.3s ease;
}

.pagination-btn {
    background-color: #000;
    border: 2px var(--color-red) solid;
    cursor: pointer;
}

.pagination-btn:hover {
    transform: scale(1.1);
    background-color: #111;
}

.pagination-icon {
    font-size: 2.2rem;
    font-weight: 300;
    color: #fff;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#btn-prev-clients .pagination-icon {
    margin-top: -3px; /* Centraliza o traço do sinal de menos */
}


.f1 svg {
    display: block;
    width: 20px;
    height: 20px;
}

.f1 img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100%; /* Mantém a imagem circular */
}

/* Tooltip do avatar */
.avatar-tooltip {
    position: absolute;
    bottom: -35px; /* Aparece abaixo do ícone */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: rgba(10, 10, 10, 0.9);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    border: 1px solid var(--color-red);
    box-shadow: 0 4px 10px rgba(221, 18, 25, 0.3);
    z-index: 100;
    pointer-events: none;
}

.f1:hover .avatar-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.clientestitle {
    font-size: 16px;
    font-family: var(--fpusercomponentfont);
    font-weight: 400;
    text-align: start;
    color: var(--fpusercomponentcolor);
    line-height: 1.2em;
    width: 100%;
    z-index: 10;
    margin: 0px; 
    align-self: center;
    word-break: break-word;
}

/* Card Lateral do Cliente */
.projects-layout {
    position: relative;
}

.client-side-card {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(30px);
    width: 320px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-red);
    border-radius: 12px;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 100;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
}

.client-side-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.close-client-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-client-btn:hover {
    color: var(--color-red);
}

.client-card-content {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-top: 5px;
}

.client-card-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-red);
    box-shadow: 0 0 15px rgba(221, 18, 25, 0.4);
}

.client-card-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.client-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.2rem 0;
}

.client-followers {
    font-size: 0.85rem;
    font-weight: 300;
    color: #aaa;
    margin: 0;
}

.client-services {
    list-style-type: disc;
    margin: 12px 0 0 15px;
    padding: 0;
    color: #ddd;
    font-size: 0.9rem;
    font-weight: 400;
}

.client-services li {
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .projects-layout {
        flex-direction: column;
        gap: 2rem;
        height: auto;
    }
    .projects-marquee-wrapper {
        width: 100%;
        height: 50vh;
        transform: translate(0, 0) rotate(-15deg) scale(1.15);
    }
    .projects-static-details {
        width: 100%;
        text-align: center;
        margin-top: -10vh; /* Joga o bloco mais para cima no mobile */
    }
    .marquee-card {
        height: 160px;
    }
    .fp-clientes {
        margin: 1.5rem auto 0;
    }

    /* Esconder a linha vertical lateral do menu no mobile */
    .nav-menu::after {
        display: none;
    }

    /* Menu Mobile - Botão de Abrir */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: fixed;
        top: 20px;
        left: 20px;
        width: 35px;
        height: 28px; /* Aumentado um pouco a altura para não cortar */
        padding: 0; /* Remover padding padrão do botão */
        background: transparent;
        border: none;
        z-index: 2001; /* Fica acima de tudo, mas some quando o menu abre (via JS) */
        cursor: pointer;
    }

    /* Reduzir z-index do seletor de idioma no mobile para que o menu cubra ele */
    .lang-switcher {
        z-index: 2000;
    }

    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 4px; /* Mais visível */
        background-color: var(--color-red);
        border-radius: 4px;
        transition: background-color 0.3s ease;
    }

    /* Ocultar o header/menu lateral esquerdo padrão no mobile */
    header {
        position: fixed;
        top: 0;
        left: -100%; /* Escondido à esquerda */
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        transform: none; /* remove o translateY(-50%) do desktop */
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding-left: 2rem;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2005; /* Acima de tudo */
    }

    header.menu-open {
        left: 0; /* Menu aparece */
    }

    /* Botão de Fechar dentro do Header */
    .mobile-menu-close-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 30px;
        font-size: 3rem;
        color: var(--color-red);
        background: transparent;
        border: none;
        cursor: pointer;
        line-height: 1;
        padding: 0;
    }

    .nav-container {
        justify-content: flex-start;
        padding-left: 20px;
    }

    .nav-link {
        width: auto;
        height: auto;
        border-radius: 0;
        border: none;
        background-color: transparent;
        justify-content: flex-start;
        padding: 15px 0; /* Mais espaço para o glow não cortar */
        opacity: 0.4; /* Inativo apagado */
        transition: all 0.3s ease;
    }

    .nav-link img {
        width: 28px;
        height: 28px;
        transition: filter 0.3s ease;
        /* Vermelho base para todas as imagens no mobile */
        filter: invert(19%) sepia(87%) saturate(5833%) hue-rotate(349deg) brightness(96%) contrast(105%);
    }

    .nav-text {
        display: block; /* Mostra o texto no mobile */
        color: var(--color-red); /* Vermelho base */
        transition: color 0.3s ease, text-shadow 0.3s ease;
    }

    .nav-link:hover,
    .nav-link.active {
        transform: none;
        background-color: transparent;
        box-shadow: none;
        opacity: 1; /* Retoma opacidade total na sessão ativa/hover */
    }
    
    .nav-link:hover .nav-text,
    .nav-link.active .nav-text {
        text-shadow: 0 0 15px rgba(221, 18, 25, 0.9); /* Apenas o glow */
    }

    .nav-link:hover img,
    .nav-link.active img {
        /* Filtro que transforma a imagem branca em vermelha e adiciona glow */
        filter: invert(19%) sepia(87%) saturate(5833%) hue-rotate(349deg) brightness(96%) contrast(105%) drop-shadow(0 0 10px rgba(221, 18, 25, 0.8));
    }
}

/* Botão de Chat Flutuante */
.chat-floating-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #000000;
    border: 2px solid var(--color-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(221, 18, 25, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.chat-floating-btn img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.chat-floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(221, 18, 25, 0.5);
    background-color: #0f0f0f;
}

/* Responsividade do Botão de Chat */
@media (max-width: 768px) {
    .chat-floating-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
    }
    
    .chat-floating-btn img {
        width: 22px;
        height: 22px;
    }
}

#contratar .container {
    max-width: 1600px;
}

/* Seção Contratar - Layout de duas colunas */
.contratar-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 80vh;
}

.contratar-video-widget {
    flex: 1.5;
    width: 100%;
    background: rgba(10, 10, 10, 0.6);
    border: 2px solid rgba(221, 18, 25, 0.4);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(221, 18, 25, 0.15);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.contratar-video-widget:hover {
    transform: scale(1.02);
    border-color: rgba(221, 18, 25, 0.8);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(221, 18, 25, 0.3);
}

.contratar-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    height: 0;
    border-radius: 12px;
    overflow: hidden;
}

.contratar-video-container iframe {
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 200%;
    border: 0;
    pointer-events: none;
}

.contratar-details {
    flex: 1;
    min-width: 300px;
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contratar-title {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    line-height: 1;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 30px rgba(255, 255, 255, 0.5);
}

.contratar-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    font-weight: 600;
    color: var(--color-red);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.contratar-description {
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    font-weight: 300;
    color: #ffffff;
    line-height: 1.6;
    opacity: 0.85;
}

/* Responsividade para a seção Contratar */
@media (max-width: 768px) {
    .contratar-layout {
        flex-direction: column;
        gap: 1.5rem;
        height: auto;
        min-height: auto;
        padding-top: 4rem; /* Evita sobreposição com o menu */
    }
    .contratar-video-widget {
        width: 100%;
        flex: none;
        height: fit-content;
    }
    .contratar-details {
        width: 100%;
        text-align: center;
        flex: none;
    }
}

/* Botão Enviar Email */
.btn-enviar-email {
    margin-top: 1.5rem;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    background-color: var(--color-red);
    border: 2px solid var(--color-red);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
    white-space: nowrap;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 4px 15px rgba(221, 18, 25, 0.3);
}

.btn-enviar-email:hover {
    background-color: transparent;
    color: var(--color-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(221, 18, 25, 0.5);
}

/* Modal de Contato */
.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
}

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

.contact-modal-content {
    background-color: #0a0a0a;
    width: 90%;
    max-width: 500px;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(221, 18, 25, 0.3);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.3, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(221, 18, 25, 0.1);
}

.contact-modal-overlay.active .contact-modal-content {
    transform: translateY(0);
}

.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.close-modal-btn:hover {
    color: var(--color-red);
}

.modal-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.modal-subtitle {
    font-size: 0.9rem;
    color: #aaaaaa;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    background-color: #111111;
    border: 1px solid #333333;
    padding: 1rem;
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-red);
    box-shadow: 0 0 10px rgba(221, 18, 25, 0.2);
}

.honeypot-field {
    display: none;
}

.btn-submit-form {
    background-color: var(--color-red);
    color: #ffffff;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    margin-top: 0.5rem;
}

.btn-submit-form:hover {
    background-color: #b00d13;
}

.btn-submit-form:active {
    transform: scale(0.98);
}

.btn-submit-form:disabled {
    background-color: #555555;
    cursor: not-allowed;
    transform: none;
}

/* Spinner animado */
.btn-loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-feedback {
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
    min-height: 20px;
}

.form-feedback.success {
    color: #4ade80;
}

.form-feedback.error {
    color: #f87171;
}

@media (max-width: 768px) {
    .btn-enviar-email {
        margin: 1.5rem auto 0;
    }
    .contact-modal-content {
        padding: 2rem 1.5rem;
    }
}

/* FPPRO - SERVICES COMPONENTS */
:root {
 --fpcomponentscardsdotscolor: var(--color-red);
 --fpcomponentscardscardsborder: rgba(221, 18, 25, 0.4);
 --fpcomponentscardsbackground: rgba(0, 0, 0, 0.6);
 --fpcomponentscardslinesbackcolor: rgba(221, 18, 25, 0.4);
 --fpcomponentscardsdotcirclescolor: var(--color-red);
 --fpcomponentscardscircleoutborder: var(--color-red);
 --fpcomponentscardscircleoutboxshadow: rgba(221, 18, 25, 0.3);
 --fpcomponentscardscircleoutbackground: rgba(0, 0, 0, 0.8);
 --fpcomponentscardscircleinsidebackground: #111;
 --fpcomponentscardscircleinsideanimatedborder: var(--color-red);
 --fpcomponentscardscircleinsidebackfroundout: linear-gradient(to top, #000, #111);
 --fpcomponentscardsheadcolor: #fff;
 --fpcomponentscardsheadfont: "Outfit", sans-serif;
 --fpcomponentscardsdescriptioncolor: #fff;
 --fpcomponentscardsdescriptionfont: "Outfit", sans-serif;
}

.fp-icon-fa {
 font-size: 21px;
 color: var(--fpcomponentscardsheadcolor);
}

.fp-benefits-wrapper {
 display: flex;
 flex-direction: column;
 align-items: center;
 width: 100%;
 -webkit-tap-highlight-color: transparent;
 gap: 10px;
 margin-top: 0;
}

.fp-card {
 display: flex;
 flex-direction: column;
 width: 100%;
 background: var(--fpcomponentscardsbackground);
 box-shadow: 0px 0px 0px 1px var(--fpcomponentscardscardsborder);
 transition: 1s;
 justify-content: start;
 align-items: start;
 position: relative;
 box-sizing: border-box;
 user-select: none;
 border-radius: 12px;
 backdrop-filter: blur(5px);
}

.fp-row {
 display: flex;
 flex-direction: row;
 justify-content: center;
 gap: 80px;
 width: 100%;
 position: relative;
 transition: 1s;
}



.fp-content {
 display: flex;
 flex-direction: column;
 justify-content: start;
 align-items: start;
 width: 100%;
 gap: 10px;
 padding: 25px 25px;
 box-sizing: border-box;
}

.fp-heading {
 color: var(--fpcomponentscardsheadcolor);
 font-family: var(--fpcomponentscardsheadfont);
 font-size: 20px;
 font-weight: 600;
 text-align: start;
 margin: 0;
 word-break: break-word;
}

.fp-description {
 color: var(--fpcomponentscardsdescriptioncolor);
 font-family: var(--fpcomponentscardsdescriptionfont);
 font-size: 13px;
 line-height: 1.3em;
 text-align: start;
 font-weight: 300;
 width: 100%;
 margin: 0;
 word-break: break-word;
}

/* Controles do Carrossel Mobile ocultos no desktop */
.mobile-carousel-controls {
    display: none;
}

@media(max-width: 767px){
 .fp-row {
  flex-direction: column;
 }
 .fp-heading {
  font-size: 20px;
 }
 .fp-description {
  font-size: 14px;
 }
 
 /* Oculta todos os cards no mobile por padrão */
 .fp-card {
     display: none;
     opacity: 0;
     transition: opacity 0.5s ease;
 }
 /* Mostra apenas o card ativo */
 .fp-card.active-mobile-card {
     display: flex;
     opacity: 1;
 }

 /* Mostra os controles do carrossel */
 .mobile-carousel-controls {
     display: flex;
     justify-content: center;
     align-items: center;
     gap: 1.5rem;
     margin-top: 1.5rem;
     width: 100%;
 }

 .mobile-carousel-btn {
     background: transparent;
     border: 2px solid var(--color-red);
     color: var(--color-red);
     border-radius: 50%;
     width: 45px;
     height: 45px;
     font-size: 1.2rem;
     display: flex;
     justify-content: center;
     align-items: center;
     cursor: pointer;
     transition: all 0.3s ease;
 }

 .mobile-carousel-btn:hover {
     background: var(--color-red);
     color: #000;
 }

 .mobile-carousel-indicators {
     display: flex;
     gap: 8px;
 }

 .mobile-indicator {
     width: 10px;
     height: 10px;
     border-radius: 50%;
     background: rgba(221, 18, 25, 0.3);
     transition: background 0.3s ease;
 }

 .mobile-indicator.active {
     background: var(--color-red);
 }
}

.fp-icon-line-wrapper {
 display: flex;
 align-items: center;
 justify-content: start;
 position: relative;
 width: 100%;
 padding-top: 30px;
 padding-left: 40px;
 box-sizing: border-box;
}

.fp-icon-line-wrapper::before,
.fp-icon-line-wrapper::after {
 content: "";
 position: absolute;
}

.fp-icon-line-wrapper::before {
 top: 65%;
 left: 50%;
 width: 100%;
 height: 1px;
 background: linear-gradient(to right, transparent -20%, var(--fpcomponentscardslinesbackcolor) 20%, transparent 95%);
 transform: translate(-50%, -50%);
}

.fp-icon-line-wrapper::after {
 top: 25px;
 left: 79px;
 width: 1px;
 height: 50%;
 background: linear-gradient(to bottom, transparent 5%, var(--fpcomponentscardslinesbackcolor) 50%);
 transform: translate(-50%, -50%);
}

.fp-icon-main {
 width: 80px;
 height: 80px;
 background: var(--fpcomponentscardscircleoutbackground);
 border-radius: 50%;
 border: 3px solid var(--fpcomponentscardscircleoutborder);
 box-shadow: inset 0 0 20px var(--fpcomponentscardscircleoutboxshadow);
 display: flex;
 align-items: center;
 justify-content: center;
 position: relative;
 z-index: 5;
}

.fp-icon-inner {
 width: 60px;
 height: 60px;
 background: var(--fpcomponentscardscircleinsidebackground);
 border-radius: 50%;
 overflow: hidden;
 display: flex;
 align-items: center;
 justify-content: center;
 position: relative;
}

.fp-icon-inner::before {
 content: "";
 position: absolute;
 top: 50%;
 left: 45%;
 width: 63px;
 height: 63px;
 transform: translate(-50%, -50%);
 background: conic-gradient(from 0deg at 50.12% 50%, transparent 0deg, var(--fpcomponentscardscircleinsideanimatedborder) 60deg, transparent 60.1deg),
 conic-gradient(from 0deg at 50.12% 50%, transparent 190deg, var(--fpcomponentscardscircleinsideanimatedborder) 250deg, transparent 250.1deg);
 animation: complete-line 8s linear infinite;
 transform: translate(-50%, -50%) rotate(0deg);
}


.fp-icon-core {
 width: 56px;
 height: 56px;
 background: var(--fpcomponentscardscircleinsidebackfroundout);
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 z-index: 1;
}



@keyframes complete-line {
 0%{ transform: translate(-50%, -50%) rotate(0deg); }
 100%{ transform: translate(-50%, -50%) rotate(360deg); }
}
