:root {
    --bg-dark: #020617;
    --bg-main: #0f172a;
    --primary: #38bdf8;
    --text: #ffffff;
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont;
    background: var(--bg-main);
    color: var(--text);
    line-height: 1.6;
}

/* HEADER */
.header {
    position: relative;
    display: flex;
    align-items: center;
    padding: 20px 8%;
    background: var(--bg-dark);
    z-index: 100;
}

.logo span {
    color: var(--primary);
}

.nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

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

.menu-toggle {
    position: absolute;
    left:38%; /*right: -300px;          /* mesmo padding do header */
    top: 50%;
    transform: translateY(-50%);
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

/* HERO */
.hero {
    min-height: 90vh;
    display: grid;
    place-content: center;
    text-align: center;
    padding: 0 10%;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.btn {
    margin-top: 20px;
    padding: 12px 24px;
    background: var(--primary);
    color: #000;
    text-decoration: none;
    display: inline-block;
}

/* SECTIONS */
.section {
    padding: 80px 8%;
}

.section.dark {
    background: var(--bg-dark);
}

/* SOLUTIONS */
.solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    align-items: center;
}

.solution img {
    width: 100%;
    border-radius: 12px;
}

.solution.reverse {
    direction: rtl;
}

.solution.reverse div {
    direction: ltr;
}

/* BENEFITS */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.benefit {
    background: #1e293b;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
}

/* FORM */
form {
    max-width: 500px;
}

input, textarea, button {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
}

/* FOOTER */
.footer {
    background: var(--bg-dark);
    padding: 20px;
    text-align: center;
}

/* ICO TIPOS DE TOTENS */
.icoTotens{
	width:50%;
	height:50%;
	margin-bottom:15px
	
}


/* RESPONSIVE */
@media (max-width: 900px) {

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: var(--bg-dark);
        width: 240px;
        padding: 20px;
        box-shadow: -10px 10px 30px rgba(0,0,0,0.4);
    }

    .nav.active {
        display: block;
    }

    .nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .menu-toggle {
        display: block;
    }
}


/* SLIDES */
/* Slider */
.slider {
    position: relative;
    overflow: hidden;
    height: 90vh;
	top:20px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
    position: relative;
}

.slide img {
    width: 80%;
    height: 80%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.35);
    padding: 20px;
    border-radius: 10px;
}

.slide-content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 15px;
}

.slide-content p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 20px;
}

/* Navegação */
.prev, .next {
    position: absolute;
    bottom:5px; /*top: 50%;*/
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    font-size: 36px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 0; /*50%;*/
    z-index: 10;
}

.prev { right: 20px; } /*left*/
.next { left: 20px; } /*right */

.prev:hover, .next:hover {
    background: rgba(0,0,0,0.8);
}

/* Mobile */
@media(max-width: 900px){
    .slide-content h1 { font-size: 1.8rem; }
    .slide-content p { font-size: 1rem; }
}


/* VIDEOS */

video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}


/* SELECT FORM*/
.select-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 400px;
}

.select-group label {
    font-size: 0.95rem;
    color: #cbd5f5;
}

.select-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--bg-main); /*#020617;*/
    color: #ffffff;
    padding: 14px 16px;
    /*border-radius: 10px;*/
    border: 1px solid #1e293b;
    font-size: 1rem;
    cursor: pointer;

    /* Ícone customizado */
    background-image: url("data:image/svg+xml,%3Csvg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
	margin-bottom:15px;
}

.select-group select:hover {
    border-color: #38bdf8;
}

.select-group select:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 0 2px rgba(56,189,248,0.3);
}

.select-group select option {
    background-color: #ffffff; /*#020617;*/
    color: #1e293b; /*#ffffff;*/
}

/*INPUT */
input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--bg-main); /*#020617;*/
    color: #ffffff;
    padding: 14px 16px;
    /*border-radius: 10px;*/
    border: 1px solid #1e293b;
    font-size: 1rem;
    cursor: pointer;
}

/* ALERT CUSTOM */
.alert-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.alert-box {
    background: #020617;
    padding: 30px;
    border-radius: 14px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.35);
    animation: alertFade 0.3s ease;
}

.alert-box h3 {
    margin-bottom: 10px;
    color: #38bdf8;
}

.alert-box p {
    margin-bottom: 25px;
    color: #e5e7eb;
}

.alert-box button {
    background: #38bdf8;
    color: #020617;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.alert-box button:hover {
    background: #0ea5e9;
}

@keyframes alertFade {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
