.container{
    max-width: 1200px;
    margin: auto;
    padding: 5rem 2rem;
}
header .content {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header{
    display: flex;
    flex-direction: column;
    max-width: 1400px;
    margin: auto;
    padding: 5rem 2rem;
    justify-content: flex-start;
}

header .content h1{
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke:  1.5px #fff;
    margin-bottom: 1rem;
    font-size: 5rem;
    font-weight: 700;
    line-height: 4rem;
}

header .content h1 span{
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke:  1px #fff;
}

header .content p{
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #ccc;
}


header .content h4 {
    margin-bottom: 1rem;
    color: #ccc;
    font-size: 1rem;
    font-weight: 600;
}

/* Estilos comuns para .divider e .divider-bottom */
.divider, .divider-bottom {
    width: 30%; /* Largura padrão da barra */
    height: 1px; /* Espessura da barra */
    margin: auto auto 0 auto;
    border-radius: 2px; /* Suaviza as extremidades */
}

/* Especificações para a .divider-bottom */
.divider-bottom {
    margin-bottom: 80px; /* Ajuste da margem inferior */
    width: 65%;
    background: linear-gradient(to right, transparent, #15f700, transparent);
    filter: drop-shadow(0 0 6px #15f700) /* brilho verde */
            drop-shadow(0 0 4px rgba(0, 0, 0, 0.7)); /* sombra escura */
}


section .header{
    margin-bottom: 1rem;
    color: #fff;
    text-align: center;
    font-size: 2.25rem;
    font-weight: 500;
}


.sub-header{
    max-width: 600px;
    margin: auto;
    text-align: center;
    color: #ccc;
}


/* Container principal */
.container-slides {
    width: 100%;
    display: flex;
    flex-direction: column;
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 4rem;
    padding: 20px;
}
/* Wrapper que divide os dois lados */
.content-wrapper {
    display: flex;
    width: 100%;
    max-height: fit-content;
    gap: 4rem;
    flex-direction: row;
    align-items: center;
}

.card {
    max-width: 800px;
    min-width: 400px;
    width: 100%;
    background-color: #1f1f23;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    color: #fff;
    gap: 1rem;
}

.card-body{
    flex: 1; /* Garante que o corpo do card ocupe o espaço restante */
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Lista */
.card-body ul {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 0;
    margin: 0;
}

.card-body li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #ccc;
}

/* Ícones */
.card-body li i {
    color: #00e676;
    font-size: 1.2rem;
}
.card:hover{
    background-color: #323232;
    border-color: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);

}
/* Lado esquerdo (Swiper) */
.swiper-container {
    flex: 1;
    max-width: 800px; 
    height: 100%; /* ocupa toda a altura do wrapper */
}

/* Configura o Swiper */
.swiper {
    width: 100%;
    height: 100%; /* ocupa toda altura do container */
    position: relative;
}

/* Lado direito (Descrição / Card) */
.product-description {
    flex: 1;
    max-width: 45%;
    background: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    
    height: 100%; /* ocupa toda altura do wrapper */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* você pode trocar para space-between se quiser distribuir */
}

/* Conteúdo interno */
.product-description .card-content {
    flex: 1; /* garante que o conteúdo preencha a altura do card */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* distribui título, texto e botões */
}

/* Título */
.product-description h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Parágrafos */
.product-description p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Lista */
.product-description ul {
    list-style: none;
    padding-left: 0;
}

.product-description ul li {
    margin-bottom: 8px;
    font-size: 15px;
}

/* Botão */
.modelos {
    margin-top: 20px;
}


/* Slides do swiper */
.swiper-slide {
    transition: 0.5s ease;
    position: relative;
    z-index: 1;
    display: flex;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    justify-content: center;
    border-radius: 10px;
    align-items: center;
    transition: all 0.3s ease;
}

.imageSwiper:hover {
    backdrop-filter: blur(6px);
}

.imageSwiper {
    width: 100%;
    height: 100%; /* ocupa toda a altura do swiper-container */
    position: relative;
    border-radius: 10px;
    margin: auto;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}

.imageSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mantém o corte proporcional sem distorcer */
    border-radius: 10px; /* Opcional: cantos arredondados */
}

.specs-card {
    background: #1f1f23;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    overflow: hidden;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

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

.arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.specs-content {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease;
}

/* wrapper estático → impede lista de subir */
.specs-inner {
    padding-top: 1rem;
}

/* Mantém só UMA */
.specs-card.open .specs-content {
    max-height: 2000px; 
}

.specs-content ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.specs-content li {
    color: #ccc;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.specs-content i {
    color: #00e676;
    font-size: 1.1rem;
}

.specs-card:hover{
    background-color: #242424;
    border-color: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);

}

.specs-card.open .arrow {
    transform: rotate(180deg);
}

.specs-card h4 {
    color: #ccc;
    font-size: 1.2rem;
    margin: 0.2rem 0; 
    padding: 0;            /* 🔥 garante sem padding escondido */
    line-height: 1.1;      /* 🔥 centraliza visualmente melhor */
    display: inline-block;
}


  /* Responsividade */

@media (max-width: 900px) {
    .specs-content ul {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas no tablet */
    }
}

@media (max-width: 600px) {
    .specs-content ul {
        grid-template-columns: 1fr; /* 1 coluna no celular */
    }
}
  

/* Botão minimalista e moderno */
.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background-color: transparent;
    color: #e1e1e1;
    border: 1.5px solid #3a3a3a;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Efeito ao passar o mouse */
.btn-modern:hover {
    background-color: #2e2e32;
    border-color: #00c3ff;
    color: #00c3ff;
    transform: translateY(-2px);
}

/* ======= Breakpoint 992px ======= */
@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
    }

    .swiper-container,
    .product-description {
        max-width: 100%;
        height: auto;
    }
}

/* ======= Breakpoint 900px ======= */
@media (max-width: 900px) {
    .header {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .divider {
        margin-top: 15%;
    }

    header.image {
        grid-area: 1/1/2/2;
    }

    .swiper {
        width: 100%;
    }
}

/* ======= Breakpoint 768px ======= */
@media (max-width: 768px) {
    .specs-content {
        grid-template-columns: 1fr 1fr;
    }

    /* Header móvel */
    header {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        padding-top: 2rem;
    }

    header .content {
        order: 1;
    }
}

/* ======= Breakpoint 600px ======= */
@media (max-width: 600px) {
    header .content {
        padding-top: 80px; /* aumenta o espaço no topo */
    }

    header .content h1 {
        font-size: 2.8rem; /* aumenta mais a fonte no celular */
    }

    header .content h4 {
        font-size: 1rem;
    }
}

/* ======= Breakpoint 480px ======= */
@media (max-width: 480px) {
    .specs-content {
        grid-template-columns: 1fr;
    }
}

/* ======= ANIMAÇÕES ======= */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
