/* =========================================================
   VARIÁVEIS GLOBAIS
========================================================= */
:root {
    --primary-color: #0e1830;
    --accent-color: #8f712a;
    --whatsapp-green: #25D366;
    --light-gray: #f4f4f5;
    --white: #ffffff;
}

/* =========================================================
   RESET / BASE
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #ffffff;
}

a {
    text-decoration: none;
}

/* =========================================================
   CONTAINER
========================================================= */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================================
   BOTÕES
========================================================= */
.btn {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background: #a68533;
}

.btn-card {
    display: block;
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    font-size: 0.9rem;
    border: 1px solid var(--accent-color);
    background: transparent;
    color: var(--accent-color);
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-card:hover {
    background: var(--accent-color);
    color: #ffffff;
}

/* =========================================================
   CARROSSEL
========================================================= */
.carousel-container {
    position: relative;
    width: 100%;
    height: 230px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    min-width: 100%;
    height: 230px;
    scroll-snap-align: start;
    object-fit: cover;
}

.carousel-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    pointer-events: none;
}

/* =========================================================
   HERO
========================================================= */
.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)),
        url('../img/headar.png');
    background-size: cover;
    background-position: center;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* =========================================================
   SOBRE
========================================================= */
.about {
    padding: 80px 0;
    background: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-img img {
    width: 80%;
    max-width: 380px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

/* =========================================================
   DESTAQUES
========================================================= */
.featured {
    padding: 80px 0;
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

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

.card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-info {
    padding: 20px;
}

.card-price {
    color: var(--accent-color);
    font-size: 1.3rem;
    font-weight: bold;
    display: block;
    margin-top: 8px;
}
/* =========================================================
   LIGHTBOX COM CARROSSEL (GAMIFICAÇÃO)
========================================================= */
.carousel-item {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.carousel-item:hover {
    transform: scale(1.03);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    animation: zoomIn 0.3s ease;
}

/* Botão fechar */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    z-index: 3100;
}

/* Setas */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 50px;
    padding: 10px 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s;
    z-index: 3100;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.35);
}

.lightbox-nav.prev {
    left: 20px;
}
.lightbox-nav.next {
    right: 20px;
}

/* Mobile */
@media (max-width: 768px) {
    .lightbox-nav {
        font-size: 36px;}
}

/* Animação */
@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* =========================================================
   TESTEMUNHOS
========================================================= */
.testimonials {
    padding: 100px 0;
    background: var(--primary-color);
    color: var(--white);
}

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

.testimonial-card {
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.stars {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 25px;
    opacity: 0.8;
}

.client-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.client-tag {
    font-size: 0.8rem;
    color: var(--accent-color);
}

/* =========================================================
   FORMULÁRIO / QUIZ
========================================================= */
.quiz-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--white);
}

.form-box {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,0.08);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 14px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: #ffffff;
    color: #333;
    font-size: 1rem;
}

.btn-submit {
    width: 100%;
    background: var(--accent-color);
    color: #ffffff;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1.1rem;
}

.btn-submit:hover {
    background: #ffffff;
    color: var(--primary-color);
}

/* =========================================================
   WHATSAPP + FOOTER
========================================================= */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--whatsapp-green);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

footer {
    background: #0b1120;
    color: #888;
    padding: 40px 0;
    text-align: center;
}

/* =========================================================
   RESPONSIVO
========================================================= */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }
}
