/* Variáveis CSS */
:root {
    --primary-color: #6d3af6; /* Azul/Roxo da WebCis */
    --secondary-color: #8a56ff;; /* Laranja da WebCis */
    --secondary-color: #3f0eb1;; /* Laranja da WebCis */
    --dark-color: #071525; /* Preto/Azul escuro */
    --light-color: #F8F9FA; /* Branco */
    --success-color: #28A745; /* Verde */
    --info-color: #2f80ed; /* Azul claro */
    --warning-color: #FFC107; /* Amarelo */
    --danger-color: #fe3f28; /* Vermelho */
    --font-family: 'Poppins', sans-serif;
}

/* Reset e Estilos Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

/* Botões */
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #4340B8;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 86, 214, 0.3);
}

.btn-primary {
    background: var(--primary-color);
}

.btn-secondary {
    background: var(--secondary-color);
}

.btn-tertiary {
    background: var(--tertiary-color);
}

.btn-secondary:hover {
    background: #E65A2B;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-tertiary:hover {
    background: #E65A2B;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-success {
    background: var(--success-color);
}

/* Header */
header {
    background: #fff;
    color: var(--dark-color);
    padding: .5rem 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo:hover{
    text-decoration: none;
}

.logo-img {
    width: auto;
    height: 60px;
    object-fit: contain;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    text-align: left;
    z-index: 1;
}

.hero-image {
    z-index: 1;
    background-color: #000;
    border-radius: 15px;
}

/* Poster / fachada do vídeo */
.video-poster{
    position: relative;
    display: block;
    cursor: pointer;
    /* Transição para hover suave */
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    will-change: transform;
}
.poster-img{
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.28);
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.play-btn{
    position: absolute;
    left: 50%;
    top: 54%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.play-btn svg{filter: drop-shadow(0 6px 18px rgba(0,0,0,0.36)); width:64px; height:64px; transition: transform 0.35s ease, filter 0.35s ease;}
.play-btn:focus{outline: 3px solid rgba(88,86,214,0.25); border-radius:50%;}

/* Hover do poster do vídeo: leve escala, overlay sutil e aumentar o ícone */
.video-poster:hover{
    transform: scale(1.03);
    box-shadow: 0 18px 50px rgba(0,0,0,0.36);
}

.video-poster::after{
    /* overlay sutil ao passar o mouse */
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: rgba(0,0,0,0.06);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.video-poster:hover::after{opacity:1}

.video-poster:hover .poster-img{transform: scale(1.02)}
.video-poster:hover .play-btn svg{transform: scale(1.08)}

/* Tamanho do wrapper do vídeo (quando inserido) */
.video-wrapper{border-radius:12px;overflow:hidden}
.video-wrapper iframe{width:100%;height:100%;display:block}

/* Overlay de texto 'Assista o vídeo' como ::before no poster */

.video-poster::before{
    content: 'Assista o vídeo';
    position: absolute;
    top: 16px;
    right: 16px;
    left: auto;
    transform: none;
    background: var(--secondary-color);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-family);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    z-index: 8;
    pointer-events: none;
    white-space: nowrap;
}

/* Quando o vídeo estiver tocando, esconder o overlay */
.video-poster.playing::before{display:none}

/* Esconder o texto em telas muito pequenas para não sobrepor demais */
@media (max-width:480px){
    .video-poster::before{display:none}
    /* Esconder também o overlay ::after em mobile para não atrapalhar a visualização */
    .video-poster::after{display:none}
}

.hero-content h1 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Sections Gerais */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: #f4f4f4;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Bloco destacado (novo recurso) imediatamente abaixo do título Principais Recursos */
.feature-highlight {
    background: linear-gradient(180deg, #f6fff7 0%, #eefdf0 100%); /* verde bem clarinho */
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 20px;
    border: 1px solid #198754;
    box-shadow: 0 12px 36px rgba(34,197,94,0.5);
}
.feature-highlight-inner{
    display:flex;
    align-items:center;
    gap:18px;
}
.feature-highlight i{
    font-size:36px;
    color: #18794a; /* tom verde para o ícone */
    background: rgba(34,197,94,0.35);
    padding:14px;
    border-radius:50%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.feature-highlight-text h3{
    margin:0;
    margin-bottom: 10px;
    font-size:1.4rem; /* aumentado levemente para mais destaque */
    color: rgba(33, 37, 41, 0.911); /* verde escuro para destacar */
    font-weight:800; /* destaque maior */
}
.feature-highlight-text p{
    margin:0;
    color:rgba(33, 37, 41, 0.75);
    font-size:1.1rem;
    line-height: 1.4;
}
.badge-new{
    margin-left:auto;
    background:#9be7b0; /* badge suave em verde */
    color:#0f5132;
    padding:6px 12px;
    border-radius:20px;
    font-size:0.85rem;
    font-weight:700;
}

@media (max-width: 768px){
    .feature-highlight-inner{flex-direction:column;align-items:flex-start;gap:10px}
    .badge-new{align-self:flex-end}
}

/* CTA abaixo dos recursos */
.features-cta {
    text-align: center;
    margin-top: 30px;
}
.features-cta .btn {
    padding: 12px 26px;
    font-size: 1.05rem;
}

/* CTA na seção de destaque */
.highlight-cta{
    margin-top: 24px;
}
.highlight-cta .btn{ padding: 12px 28px; font-size: 1rem; }

@media (max-width: 768px){
    .highlight-cta{ text-align: center; }
    .highlight-cta .btn{ width: 100%; max-width: 420px; }
}


.feature-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--dark-color);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* .feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.4) 100%);
    border-radius: 16px;
    pointer-events: none;
} */

.feature-item i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    display: inline-block;
    padding: 20px;
    background: rgba(88, 86, 214, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(88, 86, 214, 0.15);
    transition: all 0.3s ease;
}

.feature-item h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.feature-item p {
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Seção de Destaque */
.highlight-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 0;
}

.highlight-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 50px;
    align-items: end;
}

.highlight-content {
    text-align: left;
    margin-top: 70px;
    margin-bottom: 70px;
}

.highlight-content h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: left;
}

.highlight-content p {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 20px;
}

.highlight-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.highlight-list li {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px 18px;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.highlight-list li:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.highlight-list li i {
    color: #fff;
    font-size: 2.5rem;
    padding: 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1 / 1;
}

.highlight-item-content h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.highlight-item-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.highlight-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -50px;
}

.highlight-image img {
    width: 100%;
    height: auto;
    /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); */
}

/* Slider de Imagens */
.slider-wrapper-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.slider-description {
    padding: 20px;
}

.slider-description h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.slider-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--dark-color);
}

.slider-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 5px;
    z-index: 10;
}

.slider-nav .prev {
    left: 10px;
}

.slider-nav .next {
    right: 10px;
}

/* Tabela de Preços */
.pricing-table {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.pricing-plan {
    background: #fff;
    padding: 35px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-plan:hover {
    transform: translateY(-10px);
}

.pricing-plan-featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-plan h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.pricing-plan .price {
    font-size: 2.1rem;
    font-weight: 700;
    /* margin-bottom: 20px; */
}

.pricing-plan .price span {
    font-size: 1.5rem;
    font-weight: 400;
}

.pricing-plan ul {
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-plan ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: var(--dark-color);
    text-align: left;
    font-size: 14px;
}

.pricing-plan ul li i {
    color: var(--success-color);
    margin-right: 10px;
}

.pricing-plan ul li:last-child {
    border-bottom: none;
}

.pricing-plan .btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: auto;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: #fff;
    text-align: center;
    padding: 30px 0;

    p {
        margin-bottom: 0;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section{
        padding-top: 55px;
    }

    .hero-image img{
        width: 100%;
    }

    .nav-links {
        display: none; /* Pode ser substituído por um menu hambúrguer */
    }

    .logo {
        font-size: 1.3rem;;
    }

    .feature-grid, .pricing-table {
        grid-template-columns: 1fr;
    }

    .highlight-content h2{
        font-size: 1.9rem;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    section {
        padding: 50px 0;
    }

    section h2 {
        font-size: 2rem;
    }

    .pricing-plan .price {
        font-size: 2.5rem;
    }
}



/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-item, .pricing-plan {
    animation: fadeInUp 0.6s ease-out;
}

/* Seção de Contato */
.contact-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.contact-section h2 {
    color: #fff;
    margin-bottom: 20px;
}

.contact-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Melhorias no Slider */
.system-slider-section {
    background: #fff;
}

.slider-nav button:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Ajustes de Tipografia */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

/* Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Detalhes de UI */
.feature-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.feature-item:hover i {
    transform: scale(1.1);
    background: rgba(88, 86, 214, 0.15);
    box-shadow: 0 12px 32px rgba(88, 86, 214, 0.25);
}

.pricing-plan:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn {
    transition: all 0.3s ease;
}

/* Responsividade Adicional */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-table {
        grid-template-columns: repeat(2, 1fr);
    }

    .slider-wrapper-container {
        grid-template-columns: 1fr;
    }

    .highlight-list {
        grid-template-columns: 1fr;
    }

    .highlight-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .features-cta .btn { width: 100%; max-width: 360px; }

    .pricing-table {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 0.9rem;
    }

    section {
        padding: 50px 0;
    }

    section h2 {
        font-size: 2rem;
    }

    .pricing-plan .price {
        font-size: 2.5rem;
    }

    .slider-nav button {
        padding: 8px 12px;
        font-size: 1.2rem;
    }
}

/* Menu Hambúrguer para Mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 77px;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }
}



/* Plano em Destaque */
.pricing-plan-featured {
    position: relative;
    border: 3px solid var(--secondary-color);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.plan-limit {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

/* Ajustes adicionais para responsividade */
@media (max-width: 1024px) {
    .pricing-plan-featured {
        transform: scale(1);
    }
}

