/* Importação da Fonte */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display.swap');

/* ============================================
   PALETA DE CORES
   ============================================
*/
:root {
    /* Cores Mandatórias */
    --cor-principal-azul: #0b5ed7;
    --cor-destaque-rosa: #ec008c;
    --cor-preto: #212529;
    --cor-preto-absoluto: #000000;
    --cor-branco: #FFFFFF;
    --cor-cinza-claro: #f8f9fa;
    --cor-texto-escuro: #1a1a1a;
    --cor-texto-claro: #adb5bd;

    /* Variáveis de Design */
    --cor-fundo-principal: var(--cor-preto-absoluto);
    --cor-navbar: var(--cor-preto);
    --cor-footer: var(--cor-preto);
    --cor-texto-principal: var(--cor-branco);
    --cor-texto-secundario: var(--cor-texto-claro);

    /* Variaveis de Estilo */
    --sombra-moderna-suave: 0 10px 30px rgba(0, 0, 0, 0.07);
    --sombra-moderna-media: 0 15px 40px rgba(0, 0, 0, 0.1);
    --transicao-padrao: all 0.3s ease;
    --border-radius-moderno: 20px;
}

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

/* Animação de Fade-In */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--cor-texto-escuro);
    overflow-x: hidden;
    background-color: var(--cor-cinza-claro);
    line-height: 1.6;
}

section {
    animation: fadeIn 0.8s ease-out;
}

/* ============================================
   SEÇÕES ESCURAS
   ============================================
*/
.bg-dark-section {
    background-color: var(--cor-fundo-principal) !important;
    color: var(--cor-texto-principal);
}

.bg-dark-section .section-title,
.bg-dark-section h1,
.bg-dark-section h2,
.bg-dark-section h3,
.bg-dark-section p {
    color: var(--cor-texto-principal);
}

.bg-dark-section p:not(.lead) {
    color: var(--cor-texto-secundario);
}

/* Títulos */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--cor-texto-escuro);
}

/* ============================================
   BOTÕES
   ============================================
*/

/* Botão Principal (Azul) */
.btn-azul-primary {
    background-color: var(--cor-principal-azul);
    border-color: var(--cor-principal-azul);
    color: white;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transicao-padrao);
    box-shadow: 0 4px 15px rgba(11, 94, 215, 0.25);
    text-decoration: none;
}

.btn-azul-primary:hover,
.btn-azul-primary:focus {
    background-color: #0a58ca;
    border-color: #0a58ca;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(11, 94, 215, 0.4);
}

/* Botão CTA (Rosa) */
.btn-cta-rosa {
    background-color: var(--cor-destaque-rosa);
    border-color: var(--cor-destaque-rosa);
    color: white;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transicao-padrao);
    box-shadow: 0 4px 15px rgba(236, 0, 140, 0.25);
}

.btn-cta-rosa:hover,
.btn-cta-rosa:focus {
    background-color: #c90076;
    border-color: #c90076;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(236, 0, 140, 0.4);
}


/* ============================================
   COMPONENTES
   ============================================
*/

/* --- Navbar --- */
.navbar-custom {
    background: var(--cor-navbar) !important;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transicao-padrao);
}

.navbar-custom .nav-link {
    color: var(--cor-branco) !important;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1.5rem !important;
    transition: var(--transicao-padrao);
    position: relative;
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--cor-principal-azul);
    transition: var(--transicao-padrao);
    transform: translateX(-50%);
}

.navbar-custom .nav-link:hover::after {
    width: 80%;
}

.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 89vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--cor-preto-absoluto);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
    object-position: center 70%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--cor-preto-absoluto) 15%, rgba(0, 0, 0, 0.7) 40%, rgba(11, 94, 215, 0.3) 100%);
    opacity: 0.9;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-shadow: 2px 0 #000000, -2px 0 #000000, 0 2px #000000, 0 -2px #000000,
               1px 1px #000000, -1px -1px #000000, 1px -1px #000000, -1px 1px #000000;
}

.text-highlight-blue {
    color: var(--cor-principal-azul);
    font-weight: 800;
    text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff,
               1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
}

/* --- Seção "Como Funciona" --- */
.how-it-works-section {
    padding: 6rem 0;
}

.step-card {
    text-align: center;
    padding: 2rem;
    background: var(--cor-branco);
    border-radius: var(--border-radius-moderno);
    box-shadow: var(--sombra-moderna-suave);
    height: 100%;
    transition: var(--transicao-padrao);
    border-top: 4px solid #e9ecef;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-moderna-media);
    border-top-color: var(--cor-destaque-rosa);
}

.step-icon {
    font-size: 4rem;
    color: var(--cor-principal-azul);
    margin-bottom: 1.5rem;
}

.step-card h3 {
    color: var(--cor-principal-azul);
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-card p {
    color: #6c757d;
    line-height: 1.6;
}


/* ============================================
   Carrossel
   ============================================
*/
.portfolio-section {
    padding: 6rem 0;
}

.portfolio-carousel .carousel-item img {
    max-height: 600px;
    width: auto !important; 
    max-width: 100%; 
    margin: 0 auto;
    display: block;
    border-radius: var(--border-radius-moderno);
}

.portfolio-carousel .carousel-caption {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
    border-radius: 0 0 var(--border-radius-moderno) var(--border-radius-moderno);
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 2rem 2rem 2rem;
    text-align: left;
}
.portfolio-carousel .carousel-caption h5 {
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.7);
}
.portfolio-carousel .carousel-caption p {
    font-size: 1.1rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.7);
}

.portfolio-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--cor-branco);
    opacity: 0.5;
    margin: 0 8px;
    border: none;
    transition: var(--transicao-padrao);
}

.portfolio-carousel .carousel-indicators .active {
    opacity: 1;
    background-color: var(--cor-principal-azul);
    transform: scale(1.2);
}


/* --- Seção "Diferenciais" --- */
.features-section {
    padding: 6rem 0;
    background: white;
}
.feature-card {
    text-align: center;
    padding: 2rem 1rem;
    background: transparent;
    border-radius: var(--border-radius-moderno);
    transition: var(--transicao-padrao);
    height: 100%;
}

.feature-card:hover {
    background: var(--cor-cinza-claro);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: block;
    color: inherit; 
}
.feature-text {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
}

/* --- Seção Sobre --- */
.about-section {
    padding: 6rem 0;
}
.about-image {
    border-radius: var(--border-radius-moderno);
    box-shadow: var(--sombra-moderna-media);
}

/* --- Seção CTA (Rosa) --- */
.cta-section {
    padding: 6rem 0;
}
.cta-box {
    background: var(--cor-destaque-rosa); 
    border-radius: 30px;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    box-shadow: 0 20px 60px rgba(236, 0, 140, 0.3);
}
.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-cta-light {
    background: white;
    color: var(--cor-destaque-rosa);
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    transition: var(--transicao-padrao);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.btn-cta-light:hover {
    transform: scale(1.05) translateY(-2px);
    background: #f0f0f0;
}


/* ============================================
   FAQ
   ============================================
*/
.faq-section {
    padding: 6rem 0;
    background: white;
}
.accordion-item {
    border: none;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 0 !important;
    margin-bottom: 1rem;
    overflow: hidden;
}
.accordion-button {
    background: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.5rem 1rem;
    color: var(--cor-texto-escuro);
}
.accordion-button:not(.collapsed) {
    background: white;
    color: var(--cor-principal-azul);
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}
.accordion-body {
    padding: 1.5rem;
    background: var(--cor-cinza-claro);
}

.accordion-button::after {
    display: none;
}

.accordion-button::before {
    font-family: 'bootstrap-icons';
    content: '\F4F3';
    font-size: 1.2rem;
    font-weight: normal;
    margin-right: 1rem;
    color: var(--cor-principal-azul);
    transition: var(--transicao-padrao);
}

.accordion-button:not(.collapsed)::before {
    content: '\F33D';
    color: var(--cor-destaque-rosa);
}


/* --- Footer --- */
.footer {
    background: var(--cor-footer) !important;
    color: white;
    padding: 3rem 0 1rem;
}
.footer h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}
.footer a {
    color: white;
    font-size: 1.5rem;
    transition: var(--transicao-padrao);
    display: inline-block;
}
.footer a:hover {
    color: var(--cor-principal-azul);
    transform: scale(1.1) translateY(-3px);
}
.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* --- Página Contato.html --- */
.contact-hero {
    background: var(--cor-principal-azul);
    padding: 4rem 0;
    color: white;
    text-align: center;
}
.form-container {
    background: white;
    border-radius: var(--border-radius-moderno);
    padding: 3rem;
    box-shadow: var(--sombra-moderna-media);
    max-width: 700px;
    margin: 0 auto;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--cor-principal-azul);
    box-shadow: 0 0 0 0.2rem rgba(11, 94, 215, 0.15);
}
.form-check-input:checked {
    background-color: var(--cor-principal-azul);
    border-color: var(--cor-principal-azul);
}

.btn-submit-form {
    background: var(--cor-destaque-rosa);
    border-color: var(--cor-destaque-rosa);
    color: white;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transicao-padrao);
    box-shadow: 0 4px 15px rgba(236, 0, 140, 0.25);
    width: 100%;
    margin-top: 1rem;
}
.btn-submit-form:hover {
    background-color: #c90076;
    border-color: #c90076;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(236, 0, 140, 0.4);
}
.whatsapp-cta a {
    color: var(--cor-principal-azul);
    font-weight: 600;
    text-decoration: none;
}
.whatsapp-cta a:hover {
    color: var(--cor-destaque-rosa);
    text-decoration: underline;
}

/* --- Página Sobre.html --- */
.hero-section-sobre {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 2rem auto;
    max-width: 1400px;
    border-radius: 30px;
    box-shadow: var(--sombra-moderna-media);
}
.hero-section-sobre .hero-overlay {
    background: rgba(11, 94, 215, 0.8);
    opacity: 1;
}
.hero-section-sobre .hero-title em {
    font-style: normal;
    background: linear-gradient(135deg, #FFFFFF 0%, #ec008c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-box-sobre .content-text {
    color: #6c757d;
    line-height: 1.8;
}
.content-box-sobre {
    border: 3px solid var(--cor-principal-azul);
}
.content-box-sobre::before {
    background: none;
}
.content-title-sobre {
    color: var(--cor-principal-azul);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

/* ============================================
   CARROSSEL DE LOGOS (COM ANIMAÇÃO CSS)
   ============================================
*/

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logos-container {
    overflow: hidden;
    padding: 60px 0;
    background: white;
    white-space: nowrap;
    position: relative;
}

.logos-container:before,
.logos-container:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
}
.logos-container:before { left: 0; background: linear-gradient(to left, rgba(255, 255, 255, 0), white); }
.logos-container:after { right: 0; background: linear-gradient(to right, rgba(255, 255, 255, 0), white); }

.logos-slide {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 30s linear infinite;
}

.logos-slide img {
    height: 100px;
    margin: 0 40px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transicao-padrao);
}

.logos-slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}
/* ============================================
   ESTILOS DE IMAGEM
   ============================================
*/

.content-section img,
.about-section img,
.features-section img,
.how-it-works-section img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-moderno);
    box-shadow: var(--sombra-moderna-suave);
    transition: var(--transicao-padrao);
}

.content-section img:hover,
.about-section img:hover,
.features-section img:hover,
.how-it-works-section img:hover {
    transform: translateY(-3px);
    box-shadow: var(--sombra-moderna-media);
}

.img-moderna {
    border-radius: var(--border-radius-moderno);
    box-shadow: var(--sombra-moderna-media);
    transition: var(--transicao-padrao);
    display: block;
    max-width: 100%;
    height: auto;
}

.img-moderna:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* ============================================
   Correções de Cor de Ícone
   ============================================
*/

.bg-dark-section .feature-icon {
    filter: invert(1);
}

.bg-dark-section .feature-card:hover .feature-icon {
    filter: invert(0); 
}

/* ============================================
   SEÇÃO VÍDEO
   ============================================
*/
.video-section {
    padding: 6rem 0;
    background-color: var(--cor-cinza-claro); 
}

.video-wrapper {
    border-radius: var(--border-radius-moderno);
    overflow: hidden;
    box-shadow: var(--sombra-moderna-media);
    transition: var(--transicao-padrao);
}

.video-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* ============================================
   PORTABILIDADE (TABLET E CELULAR)
   ============================================
*/

@media (max-width: 992px) {
    
    .logos-slide img,
    .logos-slide img {
        height: 60px ;
        margin: 0 25px;
        opacity: 1; 
    }

    .logos-container:before,
    .logos-container:after {
        width: 50px;
    }
}

@media (min-width: 992px) {
    
    .hero-title {
        font-size: clamp(5rem, 8vw, 6rem);
    }
    .hero-title .text-highlight-blue {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
    }
}