/* --- Configurações Globais --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

:root {
    --primary-color: #0093e9;
    --secondary-color: #80d0c7;
    --dark-ice: #0b2545;
    --text-dark: #134074;
    --text-light: #61a5c2;
    --bg-light: #EEF4F8;
    --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--white);
    color: var(--dark-ice);
    line-height: 1.5;
}

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

/* --- Navbar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100; /* navbar sempre na frente */
    border-bottom: 2px solid #dce9f4;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-ice);
    display: flex;
    align-items: center;
    gap: 8px;
}

.icone-gelo {
    color: var(--primary-color);
    animation: rodarGelo 10s linear infinite;
}

@keyframes rodarGelo {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.navbar nav a {
    text-decoration: none;
    color: var(--dark-ice);
    margin-left: 25px;
    font-weight: 600;
    transition: color 0.3s;
}

.navbar nav a:hover { color: var(--primary-color); }

.navbar .btn-nav {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-ice));
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 147, 233, 0.2);
}

/* --- Seção Hero --- */
.hero {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 100%);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text { flex: 1.2; }

.tag {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    color: #0369a1;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin: 20px 0;
    font-weight: 800;
    color: var(--dark-ice);
}

.description {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.Destaques-lista {
    display: flex;
    gap: 10px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.item-destaque {
    background-color: var(--white);
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid #d0e1fd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.item-destaque i {
    color: #2e7d32;
    margin-right: 5px;
}

.btn-buy {
    display: inline-block;
    text-decoration: none;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--white);
    border: none;
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 35px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-buy:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* --- Carrossel de Imagens --- */
/* --- CARROSSEL DE IMAGENS --- */

.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 450px;
    margin: 0 auto;

    /* visual premium */
    border-radius: 32px;
    border: 10px solid #ffffff;

    overflow: hidden;
    background: #ffffff;

    box-shadow:
        0 15px 40px rgba(11, 37, 69, 0.18),
        0 0 0 2px rgba(255,255,255,0.7);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* borda interna */
    border-radius: 20px;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    background: linear-gradient(
        transparent,
        rgba(11, 37, 69, 0.88)
    );

    color: var(--white);
    padding: 25px 20px;

    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;

    z-index: 3;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(8px);

    border: none;
    color: var(--dark-ice);

    width: 50px;
    height: 50px;

    border-radius: 50%;

    font-size: 18px;
    cursor: pointer;

    transition: 0.3s;
    z-index: 5;
}

.carousel-btn:hover {
    background: rgba(255,255,255,0.95);
    transform: translateY(-50%) scale(1.08);
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

/* --- RESPONSIVIDADE --- */

@media (max-width: 968px) {

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 35px;
    }

    .hero-text h1 {
        font-size: 2.3rem;
    }

    .Destaques-lista {
        justify-content: center;
    }

    .hero-carousel {
        max-width: 100%;
        height: 350px;
    }
}

@media (max-width: 768px) {

    .hero-carousel {

        width: 100%;
        max-width: 100%;
        height: 260px;

        border-radius: 24px;
        border: 6px solid #ffffff;

        box-shadow:
            0 10px 25px rgba(11, 37, 69, 0.15),
            0 0 0 2px rgba(255,255,255,0.6);
    }

    .carousel-slide img {
        border-radius: 16px;
    }

    .carousel-caption {
        font-size: 1rem;
        padding: 18px 12px;
    }

    .carousel-btn {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }
}

/* --- Características / Serviços --- */
.features {
    padding: 80px 0;
    text-align: center;
    background: var(--white);
}

.features h2, .specs h2 {
    font-size: 2.3rem;
    margin-bottom: 40px;
    font-weight: 800;
    color: var(--dark-ice);
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 45px 25px;
    background: linear-gradient(135deg, var(--bg-light), #ffffff);
    border-radius: 20px;
    border: 1px solid #e1eef6;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 147, 233, 0.08);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--dark-ice);
}

.feature-card p {
    color: var(--text-dark);
    font-size: 0.95rem;
    opacity: 0.85;
}

/* --- Tabela de Diferenciais --- */
.specs {
    padding: 80px 0;
    background-color: var(--bg-light);
    background-image: radial-gradient(rgba(0, 147, 233, 0.05) 1px, transparent 0);
    background-size: 24px 24px;
}

.specs-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(11, 37, 69, 0.05);
}

.specs-table td {
    padding: 20px 25px;
    border-bottom: 1px solid #e6eff5;
    color: var(--dark-ice);
}

.specs-table tr:last-child td { border-bottom: none; }
.specs-table tr:nth-child(even) { background-color: #f7fafc; }

/* --- Rodapé --- */
footer {
    background-color: var(--dark-ice);
    color: var(--white);
    text-align: center;
    padding: 35px 20px;
    font-size: 0.95rem;
    font-weight: 500;
}

/* --- WhatsApp Botão Flutuante --- */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 38px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s, background-color 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    background-color: #128c7e;
}

.whatsapp-float .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: var(--dark-ice);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    right: 80px;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.whatsapp-float .tooltip-text::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent var(--dark-ice);
}

.whatsapp-float:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* --- Responsividade --- */
@media (max-width: 968px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 35px;
    }

    .hero-text h1 { font-size: 2.3rem; }
    .Destaques-lista { justify-content: center; }

    .hero-carousel {
        max-width: 100%;
        height: 350px;
        flex-shrink: unset;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 10px;
        flex-direction: row;
        justify-content: space-between;
        gap: 5px;
    }

    .navbar .logo {
        font-size: 1.1rem;
        font-weight: 700;
    }

    .navbar nav {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .navbar nav a:not(.btn-nav) {
        display: inline-block;
        margin-left: 0;
        font-size: 0.75rem;
        padding: 6px 8px;
        background-color: #f0f4f8;
        border-radius: 6px;
        color: var(--dark-ice);
        text-decoration: none;
    }

    .navbar .btn-nav {
        padding: 6px 12px;
        font-size: 0.75rem;
        border-radius: 6px;
        white-space: nowrap;
        background: linear-gradient(135deg, var(--primary-color), var(--dark-ice));
        color: var(--white) !important;
    }

    .hero-carousel {
        max-width: 100%;
        height: 300px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }

    .whatsapp-float .tooltip-text { display: none; }
}

/* ===== CORREÇÃO DO CARROSSEL MOBILE ===== */

.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 450px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

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

