:root {
    /* PALETA SUNSHINE */
    --white: #ffffff;
    --light-yellow: #ffea46;
    --gold: #ffc523;
    --dark-gold: #ffac0a;
    --orange: #ff9919;

    /* Configurações Funcionais */
    --primary-color: var(--orange);
    --header-bg: rgba(255, 255, 255, 0.9);
    --text-dark: #333333;
    --text-light: #666666;
    --bg-gray: #fdfdfd;
    --border-color: #ffeeb0;

    /* Gradiente Solar */
    --gradient: linear-gradient(135deg, var(--dark-gold) 0%, var(--orange) 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Open Sans', sans-serif; }

html, body {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-color: var(--white);
    color: var(--text-dark);
}

/* --- PWA BANNER --- */
.pwa-banner{
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 10000;
    display: none; /* o JS liga quando for possível */
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    backdrop-filter: blur(8px);
}
.pwa-banner__text { display: grid; gap: 2px; }
.pwa-banner__text strong { font-family: 'Montserrat', sans-serif; }
.pwa-banner__text span { color: var(--text-light); font-size: .92rem; }
.pwa-banner__actions { display: flex; align-items: center; gap: 10px; }
.pwa-btn{
    background: var(--gradient);
    color: var(--white);
    border: none;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
}
.pwa-close{
    width: 36px; height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.9);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}


/* --- MASCOTE (CANTO DA TELA) --- */
.mascote-video-wrap {
    position: fixed;
    bottom: -300px; /* Começa escondido abaixo da tela */
    right: 20px;
    z-index: 10000;
    width: 250px; /* Ajuste o tamanho conforme necessário */
    transition: bottom 1s ease-in-out; /* Efeito de subir e descer */
    pointer-events: none; /* Não atrapalha cliques no site */
}

.mascote-video-wrap.active {
    bottom: 20px; /* Sobe para a tela */
}

.mascote-video-wrap video {
    width: 100%;
    height: auto;
}

/* ABINHA LATERAL */
.social-sidebar {
    position: fixed; top: 50%; right: 0; transform: translateY(-50%); z-index: 99999;
    display: flex; flex-direction: column; gap: 5px;
}
.sidebar-item {
    width: 50px; height: 50px; color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 28px; text-decoration: none; transition: width 0.3s ease;
    border-top-left-radius: 10px; border-bottom-left-radius: 10px;
    box-shadow: -2px 2px 5px rgba(0,0,0,0.15); position: relative;
}
.sidebar-item:hover { width: 70px; }
.sidebar-item i { filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2)); }
.instagram { background: #d6249f; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d62976 60%, #285AEB 90%); }
.whatsapp { background-color: #25D366; }

/* HEADER */
header {
    background-color: var(--header-bg); backdrop-filter: blur(5px);
    padding: 15px 0; position: fixed; width: 100%; top: 0; z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 50px; width: auto; max-width: 240px; object-fit: contain; display: block; }
.nav-menu { display: flex; align-items: center; gap: 25px; }
.nav-link { color: var(--text-dark); text-decoration: none; font-weight: 700; font-size: 0.95rem; transition: 0.3s; }
.nav-link:hover { color: var(--orange); }
.nav-menu i, .btn-header i { margin-right: 8px; font-size: 1.1em; }
.btn-header {
    background: var(--gradient); color: var(--white); padding: 10px 25px; border-radius: 10px;
    text-decoration: none; font-weight: 800; font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(255, 172, 10, 0.3); transition: 0.3s;
}
.btn-header:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(255, 172, 10, 0.5); }
.hamburger { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; transition: 0.3s; background-color: var(--text-dark); }

/* MARQUEE */
.marquee-bar { background-color: var(--orange); color: var(--white); padding: 8px 0; position: fixed; top: 80px; width: 100%; z-index: 999; overflow: hidden; }
.marquee-content { display: inline-block; white-space: nowrap; animation: marquee 35s linear infinite; font-weight: 600; font-size: 0.9rem; }
@keyframes marquee { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

/* HERO */
.hero {
    --hero-bg-y: calc(100% + 140px); /* >>> AQUI VOCÊ AJUSTA O ENQUADRAMENTO (mais corcovado) */
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;

    /* garante que os z-index negativos não “sumam” atrás do body */
    isolation: isolate;
}

/* Camada da Imagem (Fundo) */
.hero-bg {
    position: absolute;
    inset: 0;

    background-image: url('https://infinitytravel.net.br/assets/img/rio%20de%20janeiro.webp');
    background-position: center var(--hero-bg-y);
    background-size: cover;
    background-repeat: no-repeat;

    z-index: 0;

   
    /* Animação tipo Vídeo (Zoom lento e suave) */
    animation: panZoom 20s infinite alternate ease-in-out;
}

@keyframes panZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.12); }
}

/* Camada para contraste do texto */
.hero-overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 40% 35%, rgba(255,255,255,0.18), rgba(255,255,255,0) 55%),
        linear-gradient(to bottom, rgba(255, 210, 80, 0.20), rgba(255, 160, 0, 0.24));
    z-index: 1;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 60px; position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 50px; }

/* TEXTO: BRANCO COM SOMBRA LARANJA NEON */
.hero-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.0rem;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;

    text-shadow: 2px 2px 0px #cc5200, 0 0 20px rgba(255, 153, 25, 0.6);
}

/* destaque “inteligência” e “sonhos” */
.t-gold {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 8px;
    background: rgba(255, 197, 35, 0.92);
    color: #2b200a;
    text-shadow: none;
    box-shadow: 0 8px 20px rgba(255, 197, 35, 0.28);
}

.destinos-highlight {
    font-family: 'Montserrat', sans-serif; color: var(--white); font-weight: 600;
    text-shadow: none; background-color: var(--orange); padding: 2px 10px; border-radius: 5px;
    box-shadow: 0 4px 15px rgba(255, 153, 25, 0.6);
}

.hero-text p {
    color: var(--text-dark);
    background: rgba(255,255,255,0.88);
    padding: 20px; border-radius: 15px; margin-bottom: 30px;
    font-size: 1.1rem; line-height: 1.6; border-left: 5px solid var(--gold);
    backdrop-filter: blur(5px);
}

.badge-hero {
    display: inline-block; background: var(--dark-gold); color: var(--white);
    padding: 5px 35px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; margin-bottom: 0px;
}

.cta-group { display: flex; gap: 15px; flex-wrap: wrap; }
.btn-primary { background: var(--gradient); color: var(--white); padding: 15px 35px; border-radius: 50px; font-weight: 700; text-decoration: none; text-transform: uppercase; box-shadow: 0 5px 20px rgba(255, 172, 10, 0.4); transition: 0.3s; }
.btn-secondary { background: var(--white); color: var(--orange); padding: 15px 35px; border-radius: 50px; font-weight: 700; text-decoration: none; transition: 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255, 172, 10, 0.6); }
.btn-secondary:hover { color: var(--dark-gold); }

.pulsate { animation: pulsate 1.6s ease-in-out infinite; }
@keyframes pulsate {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

.mascote-float { max-width: 100%; animation: float 4s ease-in-out infinite; filter: drop-shadow(0 15px 25px rgba(0,0,0,0.2)); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* SEÇÕES */
.features-section { padding: 80px 0; background: var(--white); }
.features-grid {
    display: grid;
    /* Isso força 4 colunas iguais em ecrãs grandes */
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    margin-top: 40px;
}

/* Ajuste para tablets e telemóveis (para não ficarem esmagados) */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 por linha em tablets */
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr; /* 1 por linha em telemóveis */
    }
}
.feature-card { text-align: center; padding: 30px; background: var(--white); border: 1px solid var(--border-color); border-radius: 15px; transition: 0.3s; }
.feature-card:hover { box-shadow: 0 15px 30px rgba(255, 172, 10, 0.15); transform: translateY(-5px); border-color: var(--gold); }
.icon-box { font-size: 2.5rem; color: var(--dark-gold); margin-bottom: 20px; }
.feature-card h3 { color: var(--orange); margin-bottom: 10px; font-family: 'Montserrat', sans-serif; }
.feature-card p { color: var(--text-light); font-size: 0.95rem; }

/* Destinos */
.destinations { padding: 80px 0; background: var(--bg-gray); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { color: var(--orange); font-size: 2.5rem; font-weight: 700; margin-bottom: 10px; }
.section-header p { color: var(--text-light); }
.cat-title { color: var(--text-dark); margin-top: 50px; margin-bottom: 30px; font-size: 1.5rem; font-weight: 700; border-left: 5px solid var(--gold); padding-left: 15px; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: var(--white); border-radius: 15px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: 0.3s; border: 1px solid #eee; }
.card:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: 0 10px 25px rgba(255, 197, 35, 0.2); }
.card-img { height: 220px; background-size: cover; background-position: center; }
.card-body { padding: 25px; }
.card-body h3 { color: var(--text-dark); margin-bottom: 8px; font-weight: 700; font-size: 1.2rem; }
.card-body p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 20px; }
.card-actions { display: flex; justify-content: space-between; align-items: center; }
.btn-outline { background: transparent; border: 1px solid var(--text-dark); color: var(--text-dark); padding: 8px 15px; border-radius: 20px; cursor: pointer; font-size: 0.8rem; font-weight: 600; transition: 0.3s; }
.btn-outline:hover { border-color: var(--orange); color: var(--white); background: var(--orange); }
.btn-link { color: var(--orange); font-weight: 700; text-decoration: none; font-size: 0.9rem; }
.btn-link:hover { color: var(--dark-gold); }

/* DEPOIMENTOS */
.testimonials-section { padding: 80px 0; background: #fffbf0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.testimonial-card { background: #fff; padding: 30px; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); text-align: center; }
.testimonial-card .stars { color: var(--gold); font-size: 1.2rem; margin-bottom: 15px; }
.testimonial-card p { font-style: italic; color: #555; margin-bottom: 15px; }
.testimonial-card h4 { color: var(--orange); font-weight: 700; }

/* FAQ */
.faq-section { padding: 80px 0; background: var(--white); }
.faq-wrapper { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 20px 0; font-size: 1.1rem; font-weight: 600; color: var(--text-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question i { color: var(--dark-gold); transition: 0.3s; }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--orange); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.faq-answer p { padding-bottom: 20px; color: var(--text-light); line-height: 1.6; }

/* FORMULÁRIO */
.quote-section { padding: 80px 0; background: var(--orange); }
.form-wrapper { background: var(--white); padding: 50px; border-radius: 20px; max-width: 800px; margin: 0 auto; box-shadow: 0 20px 50px rgba(0,0,0,0.1); border-top: 6px solid var(--gold); }
.form-header h2 { color: var(--orange); margin-bottom: 10px; }
.row-50 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.input-group label { color: var(--text-dark); margin-bottom: 5px; font-weight: 600; font-size: 0.9rem; display: block;}
.input-group input, .input-group select { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 1rem; margin-bottom: 15px; background: #fafafa; }
.input-group input:focus, .input-group select:focus { outline: none; border-color: var(--gold); }
.btn-submit { width: 100%; background: #25D366; color: white; padding: 18px; border: none; border-radius: 10px; font-size: 1.1rem; font-weight: 700; cursor: pointer; margin-top: 10px; transition: 0.3s; }
.btn-submit:hover { background: #128C7E; }
.spam-warning { margin-top: 10px; font-size: .9rem; color: rgba(0,0,0,0.70); text-align: center; }

/* FOOTER */
footer { background: #1a1a1a; color: #ccc; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer-links h4 { color: var(--gold); margin-bottom: 20px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #ccc; text-decoration: none; transition: 0.3s; font-size: 0.9rem;}
.footer-links a:hover { color: var(--orange); }
.dev-credits { border-top: 1px solid #333; margin-top: 40px; padding-top: 20px; text-align: center; font-size: 0.8rem; }
.dev-credits a { color: var(--gold); text-decoration: none; }

/* MODAL & COOKIES */
.modal-overlay { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); backdrop-filter: blur(5px); }
.modal-content { background-color: var(--white); margin: 5% auto; padding: 0; border-radius: 15px; width: 90%; max-width: 700px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); max-height: 85vh; display: flex; flex-direction: column; position: relative; }
.close-modal { position: absolute; right: 20px; top: 15px; cursor: pointer; font-size: 24px; color: #999; }
.modal-body-content { padding: 40px; overflow-y: auto; flex-grow: 1; color: #444; line-height: 1.7; }
.modal-body-content h2 { color: var(--orange); border-bottom: 1px solid #eee; padding-bottom: 15px; margin-bottom: 20px; }
.modal-body-content h3 { color: var(--dark-gold); margin-top: 20px; font-size: 1.1rem; }
.modal-footer { background: #f9f9f9; padding: 20px; text-align: center; border-radius: 0 0 15px 15px; border-top: 1px solid #eee; }
.btn-modal-action { display: inline-block; text-decoration: none; padding: 10px 25px; border-radius: 25px; font-weight: 600; font-size: 0.9rem; margin: 0 10px; cursor: pointer; transition: 0.3s; }
.close-action { background: #eee; color: #555; }
.quote-action { background: var(--orange); color: var(--white); }
.quote-action:hover { background: var(--dark-gold); }

.cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--white); color: var(--text-dark); padding: 20px; display: flex; justify-content: center; align-items: center; gap: 20px; z-index: 9999; box-shadow: 0 -5px 20px rgba(0,0,0,0.1); transform: translateY(100%); transition: transform 0.5s ease; flex-wrap: wrap; text-align: center; border-top: 1px solid #eee; }
.cookie-banner.show { transform: translateY(0); }
.btn-accept { background: var(--orange); color: var(--white); border: none; padding: 8px 25px; border-radius: 20px; font-weight: bold; cursor: pointer; }

/* MOBILE */
@media (max-width: 768px) {
    .hamburger { display: block; z-index: 1001; }
    .nav-menu { position: fixed; left: -100%; top: 80px; flex-direction: column; background-color: var(--white); width: 100%; height: auto; text-align: center; transition: 0.3s; box-shadow: 0 10px 15px rgba(0,0,0,0.1); padding: 30px 0; gap: 20px; }
    .nav-menu .nav-link { color: var(--text-dark); text-shadow: none; }
    .nav-menu.active { left: 0; }
    .nav-menu i { display: block; margin: 0 auto 5px auto; font-size: 1.4em; }

    /* Ajuste do fundo animado no mobile */
    .hero-bg { background-position: center bottom; background-size: cover; animation: none; }
    .hero { padding-top: 130px; padding-bottom: 60px; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .hero-img-container { display: block; max-width: 250px; margin: 0 auto; }

    .hero-text h1 { font-size: 1.8rem; text-shadow: 1px 1px 3px var(--orange); color: var(--white); }
    .t-gold { background: rgba(255, 197, 35, 0.92); color: #2b200a; }
    .destinos-highlight { background-color: transparent; color: var(--orange); text-decoration: underline; padding: 0; display: inline; box-shadow: none; }
    .hero-text p { color: #333; text-shadow: none; background: rgba(255,255,255,0.95); }

    .cta-group { justify-content: center; }
    .row-50 { grid-template-columns: 1fr; }
    .footer-grid { text-align: center; }
    .social-sidebar { right: -5px; }
}

/*MASCOTE*/
#container-mascote {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 280px; /* Ajuste o tamanho conforme achar melhor */
    z-index: 9999;
    transition: opacity 0.5s ease;
}

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

#fechar-mascote {
    position: absolute;
    top: -10px;
    right: 10px;
    background: #ff6600; /* Laranja Infinity */
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 10000;
}

/* Responsividade para não tampar o site no celular */
@media (max-width: 768px) {
    #container-mascote {
        width: 180px;
        bottom: 10px;
        right: 10px;
    }
}
