@font-face {
    font-family: 'Lust';
    src: url('fonts/Lust Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Lust';
    src: url('fonts/Lust Italic.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('fonts/HelveticaNeue.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('fonts/HelveticaNeue-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('fonts/HelveticaNeue-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

:root {
    --primary: #6e026f;
    --primary-light: #a87eb7;
    --primary-dark: #4a004b;
    --bg-color: #f3e9e9;
    --accent: #fbb91e;
    --accent-hover: #e0a318;
    --text-dark: #333333;
    --text-light: #ffffff;
    --font-heading: 'Lust', serif;
    --font-body: 'Helvetica Neue', sans-serif;
    --transition: all 0.3s ease;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: normal;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Termos e Políticas item list */
.pixie-list {
    list-style: none;
    padding-left: 0;
}

.pixie-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
}

.pixie-list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.9rem;
}


/* Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 5%;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header.scrolled {
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 15px 5%;
}

.logo img {
    height: 60px;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

header:not(.scrolled) .nav-links a {
    color: var(--text-light);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: var(--accent);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 8px;
    background-color: var(--primary);
    color: var(--text-light);
    box-shadow: 0 8px 20px rgba(110, 2, 111, 0.2);
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(110, 2, 111, 0.3);
    color: var(--primary-dark);
}

.btn-white {
    background-color: var(--text-light);
    border-color: var(--text-light);
    color: var(--primary);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-white:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(110, 2, 111, 0.2);
}

.btn-outline-white {
    background-color: transparent;
    border-color: var(--text-light);
    color: var(--text-light);
    box-shadow: none;
}

.btn-outline-white:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.25);
}

.btn-block {
    display: block;
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary);
}

header:not(.scrolled) .mobile-menu-btn {
    color: var(--text-light);
}

/* Sections Base */
section {
    padding: 50px 5%;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 30px 5% 10px;
    /* Mais achatado ainda */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    /* Mais reduzido */
    margin-bottom: 10px;
    /* Bem mais reduzido para aproximar da linha final */
}

.footer-col h4 {
    font-family: var(--font-body);
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--accent);
}

.footer-col p,
.footer-col ul li {
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.footer-col a {
    color: var(--text-light);
}

.footer-col a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-links a:hover {
    background-color: var(--accent);
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
}

/* Whatsapp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--glass-bg);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px 0;
        gap: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    header:not(.scrolled) .nav-links a {
        color: var(--text-dark);
        text-shadow: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

/* Forms (Global) */
.form-row {
    display: flex;
    gap: 30px;
}

.form-group {
    margin-bottom: 25px;
    flex: 1;
    position: relative;
}

.form-control {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    background: transparent;
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-bottom-color: var(--primary);
    box-shadow: 0 1px 0 0 var(--primary);
}

.form-control::placeholder {
    color: #999;
    font-weight: 300;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e026f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 1em;
    padding-right: 20px;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Concierge Modal */
.concierge-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.concierge-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.concierge-modal {
    background-color: var(--text-light);
    width: 90%;
    max-width: 450px;
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.concierge-modal-overlay.active .concierge-modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #999;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-title {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
    font-family: var(--font-heading);
}

.modal-subtitle {
    color: var(--text-dark);
    font-size: 1.05rem;
    margin-bottom: 20px;
    text-align: center;
}

.modal-step {
    display: none;
}

.modal-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.modal-option-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-option-card:hover {
    border-color: var(--primary-light);
    background-color: rgba(110, 2, 111, 0.03);
    transform: translateY(-2px);
}

.modal-option-card span {
    font-weight: 500;
    color: var(--text-dark);
}

.modal-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
}

.modal-checkbox-label {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-checkbox-label:hover {
    border-color: var(--primary-light);
    background-color: rgba(110, 2, 111, 0.02);
}

.modal-checkbox-label input {
    margin-right: 15px;
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.modal-checkbox-label span {
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* Page Header (Internal Pages) */
.page-header {
    position: relative;
    padding: 120px 5% 40px;
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
    z-index: 1;
    background-color: #000;
}

.page-header-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    transform: translateX(-50%) translateY(-50%);
    z-index: -2;
    object-fit: cover;
    object-position: center;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(74, 0, 75, 0.7);
    z-index: -1;
}

.page-header h1 {
    color: var(--text-light);
    font-size: 3.5rem;
    margin-bottom: 20px;
}

/* Produtos / Parceiros Grid */
.produtos-section {
    padding: 80px 5%;
    background-color: var(--bg-color);
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
}

.produto-card {
    background: var(--text-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(110, 2, 111, 0.1);
}

.produto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(110, 2, 111, 0.15);
    border-color: var(--primary-light);
}

.produto-img {
    height: 220px;
    background-color: var(--primary-light);
    position: relative;
    background-size: cover;
    background-position: center;
}

.produto-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(110, 2, 111, 0.2);
}

.produto-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.produto-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.produto-location {
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.produto-info h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
    line-height: 1.4;
    height: 50px;
    overflow: hidden;
}

.produto-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
}

.btn-comprar {
    width: 100%;
    display: block;
    text-align: center;
    padding: 12px;
    background-color: var(--primary);
    color: var(--text-light);
    border-radius: 10px;
    font-weight: bold;
    transition: var(--transition);
    margin-top: auto;
}

.btn-comprar:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
}

.btn-comprar i {
    margin-right: 8px;
}

.coupon-badge {
    background-color: rgba(110, 2, 111, 0.05);
    border: 1px dashed var(--primary);
    border-radius: 8px;
    padding: 8px 15px;
    margin-bottom: 20px;
    text-align: center;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    display: inline-block;
    align-self: flex-start;
}

/* Subtle CTA (Academy & Parcerias) */
.subtle-cta {
    background-color: var(--text-light);
    border: 1px solid rgba(110, 2, 111, 0.1);
    border-radius: 20px;
    max-width: 1300px;
    margin: 40px auto 05px;

    padding: 40px 60px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.subtle-cta-content {
    flex: 1;
}

.subtle-cta .btn {
    flex-shrink: 0;
}

.subtle-cta h3 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.subtle-cta p {
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Contact Form Container (Homepage) */
.contact-form {
    background-color: var(--text-light);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(110, 2, 111, 0.1);
}

@media (max-width: 768px) {
    .contact-form {
        padding: 25px;
    }
}

/* ==========================================
   MOBILE FIXES
   ========================================== */
@media (max-width: 600px) {

    /* Modal do Concierge — cards empilham em vez de ficarem lado a lado */
    .modal-options {
        grid-template-columns: 1fr;
    }

    /* Grid de produtos/destinos — evita card cortado em telas pequenas */
    .produtos-grid {
        grid-template-columns: 1fr;
    }

    /* Footer Mobile Layout Fixes */
    footer {
        padding: 30px 5% 20px !important;
    }

    .footer-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 20px 10px !important;
        margin-bottom: 0 !important;
    }

    .footer-content .footer-col:nth-child(1) {
        grid-column: span 2 !important;
        text-align: center !important;
        margin-bottom: 15px !important;
        display: flex;
        justify-content: center;
    }

    .footer-content .footer-col:nth-child(1) img {
        height: 65px !important;
        transform: none !important;
        margin: 0 auto !important;
    }

    .footer-content .footer-col:nth-child(4) {
        grid-column: span 2 !important;
        text-align: center !important;
        margin-top: 15px !important;
    }

    .footer-content .footer-col:nth-child(4) .social-links {
        justify-content: center !important;
        margin-top: 10px !important;
    }

    .footer-col h4 {
        margin-bottom: 10px !important;
        font-size: 1rem !important;
    }

    .footer-col ul li {
        font-size: 0.85rem !important;
        margin-bottom: 8px !important;
    }
}
/* ============================================================
   MOBILE FIXES v2 — desktop intocado (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {

    /* FIX 7: Header sempre clicável acima de qualquer seção */
    header {
        z-index: 9999 !important;
    }

    /* FIX 10 (Instagram): -webkit-clip-path para WebKit */
    .nav-links {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }
    .nav-links.active {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    /* FIX 6: Desativa fade-up animation no mobile — evita conteúdo invisível */
    .fade-up {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    /* FIX 2: Títulos de seção menores para caber em uma linha */
    .section-title {
        font-size: 1.4rem !important;
    }

    /* FIX 3: Hero logo — remove margem negativa que gruda no texto */
    .hero-content img {
        margin-bottom: 0 !important;
        width: 260px !important;
    }
    .hero-content p {
        margin-top: 20px !important;
    }

    /* FIX 4: Zigzag services — layout consistente: imagem em cima, texto embaixo */
    .zig-zag-item {
        flex-direction: column-reverse !important;
        min-height: auto !important;
    }
    .zig-zag-item.reverse {
        flex-direction: column !important;
    }
    .zig-zag-image {
        width: 100% !important;
        height: 250px !important;
        min-height: 250px !important;
    }
    .image-caption {
        bottom: 15px !important;
        display: flex !important;
        justify-content: center !important;
    }
    .image-caption .btn {
        max-width: 85% !important;
        white-space: normal !important;
        text-align: center !important;
    }

    /* FIX 1: Footer — logo | políticas | contato na mesma linha, redes abaixo */
    footer {
        padding: 25px 4% 15px !important;
    }
    .footer-content {
        display: grid !important;
        grid-template-columns: auto 1fr 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 12px 15px !important;
        align-items: start !important;
        margin-bottom: 10px !important;
    }
    /* Logo: coluna 1, linha 1 */
    .footer-content .footer-col:nth-child(1) {
        grid-column: 1 !important;
        grid-row: 1 !important;
        text-align: left !important;
        margin-bottom: 0 !important;
        display: block !important;
        justify-content: flex-start !important;
    }
    .footer-content .footer-col:nth-child(1) img {
        height: 50px !important;
        transform: none !important;
        margin: 0 !important;
        display: block !important;
    }
    /* Políticas: coluna 2, linha 1 */
    .footer-content .footer-col:nth-child(2) {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }
    /* Contato: coluna 3, linha 1 */
    .footer-content .footer-col:nth-child(3) {
        grid-column: 3 !important;
        grid-row: 1 !important;
    }
    /* Redes sociais: todas as colunas, linha 2 */
    .footer-content .footer-col:nth-child(4) {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        text-align: left !important;
        margin-top: 5px !important;
    }
    .footer-content .footer-col:nth-child(4) .social-links {
        justify-content: flex-start !important;
    }
    .footer-col h4 {
        font-size: 0.85rem !important;
        margin-bottom: 8px !important;
    }
    .footer-col ul li,
    .footer-col p {
        font-size: 0.75rem !important;
        margin-bottom: 5px !important;
    }

    /* FIX 1: Copyright em uma linha — esconde "Todos os direitos reservados." */
    .footer-rights {
        display: none !important;
    }
    .footer-bottom {
        padding-top: 8px !important;
    }
    .footer-bottom p {
        font-size: 0.7rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* FIX 1: WhatsApp float — oculto pelo JS via IntersectionObserver (veja script.js) */
    .whatsapp-float {
        transition: opacity 0.3s ease !important;
    }

    /* FIX 8+9: subtle-cta (Academy + Parcerias) — empilha verticalmente */
    .subtle-cta {
        flex-direction: column !important;
        padding: 25px 20px !important;
        gap: 20px !important;
        align-items: flex-start !important;
    }
    .subtle-cta h3 {
        font-size: 1.2rem !important;
    }
    .subtle-cta .btn {
        width: 100% !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    /* FIX 6: Tiles-grid na página de serviços */
    .tiles-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* FIX 7: Serviços — page-header padding */
    .page-header {
        padding: 120px 5% 60px !important;
    }
}

/* ============================================================
   MOBILE FIXES v3 — refinamentos visuais (sobrescreve v2 onde necessário)
   ============================================================ */
@media (max-width: 768px) {

    /* FIX 1: Logo hero maior */
    .hero-content img {
        width: 330px !important;
    }

    /* FIX 2: Section-title maior que o texto do corpo */
    .section-title {
        font-size: 1.7rem !important;
    }

    /* FIX 3: Texto geral menor — referência: FAQ */
    p, li, .section-subtitle,
    .zig-zag-content p, .zig-zag-list li,
    .footer-col p, .footer-col ul li {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
    }

    /* FIX 4: Zig-zag imagem alinhada ao topo (não corta cabeça) */
    .zig-zag-image > img {
        object-position: top !important;
    }

    /* FIX 5: Saiba Mais centralizado dentro da imagem */
    .image-caption {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        left: 0 !important;
        width: 100% !important;
        padding: 0 15px !important;
    }
    .image-caption .btn {
        display: block !important;
        margin: 0 auto !important;
        width: auto !important;
        max-width: 75% !important;
        text-align: center !important;
    }

    /* FIX 6: Page-header h1 (páginas internas) — menor, numa linha */
    .page-header h1 {
        font-size: 1.4rem !important;
        line-height: 1.2 !important;
    }

    /* FIX 7: Footer — sem logo, 3 colunas iguais */
    .footer-content .footer-col:nth-child(1) {
        display: none !important;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr !important;
        gap: 10px 12px !important;
    }
    .footer-content .footer-col:nth-child(2) {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }
    .footer-content .footer-col:nth-child(3) {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }
    .footer-content .footer-col:nth-child(4) {
        grid-column: 3 !important;
        grid-row: 1 !important;
        margin-top: 0 !important;
        text-align: left !important;
    }
    /* Ícones das redes sociais empilhados verticalmente */
    .footer-content .footer-col:nth-child(4) .social-links {
        flex-direction: column !important;
        gap: 8px !important;
        align-items: flex-start !important;
        margin-top: 0 !important;
        justify-content: flex-start !important;
    }
    .footer-content .footer-col:nth-child(4) .social-links a {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.8rem !important;
    }

    /* FIX 8: Restaurar "Todos os direitos reservados." — só reduz fonte */
    .footer-rights {
        display: inline !important;
    }
    .footer-bottom p {
        font-size: 0.52rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        letter-spacing: -0.02em !important;
    }

    /* FIX 9: Instagram — visibility garante que menu some sem clip-path */
    .nav-links {
        visibility: hidden !important;
    }
    .nav-links.active {
        visibility: visible !important;
    }
}

/* ============================================================
   MOBILE FIXES v4 — títulos maiores, footer refinado, cache-fix
   ============================================================ */
@media (max-width: 768px) {

    /* FIX 1: Page-header h1 maior (1.4rem → 1.55rem, máximo seguro) */
    .page-header h1 {
        font-size: 1.55rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
    }

    /* FIX 1: Esconder suffix " de Uso" em Termos no mobile */
    .mobile-hide {
        display: none !important;
    }

    /* FIX 2: Footer — fonte menor pra evitar quebra de linha */
    .footer-col h4 {
        font-size: 0.78rem !important;
        margin-bottom: 6px !important;
    }
    .footer-col ul li,
    .footer-col ul li a,
    .footer-col p {
        font-size: 0.62rem !important;
        margin-bottom: 4px !important;
        line-height: 1.4 !important;
        word-break: break-word !important;
    }

    /* FIX 2: Ícones sociais menores e centralizados na coluna */
    .footer-content .footer-col:nth-child(4) .social-links {
        align-items: center !important;
        justify-content: flex-start !important;
    }
    .footer-content .footer-col:nth-child(4) .social-links a {
        width: 22px !important;
        height: 22px !important;
        font-size: 0.62rem !important;
    }

    /* FIX 9: Garantia extra para Instagram — pointer-events no nav */
    .nav-links:not(.active) {
        pointer-events: none !important;
    }
}

/* ============================================================
   MOBILE FIXES v5 — títulos, footer, nav serviços, ícones
   ============================================================ */
@media (max-width: 768px) {

    /* FIX 2: Section-title (homepage) — maior e mais visível */
    .section-title {
        font-size: 2rem !important;
        letter-spacing: -0.01em !important;
    }

    /* FIX 2: Page-header h1 (páginas internas) — 1.65rem, cabe em todos os títulos */
    .page-header h1 {
        font-size: 1.65rem !important;
        letter-spacing: -0.03em !important;
        white-space: nowrap !important;
        overflow: hidden !important;
    }

    /* FIX 1: category-header h2 (Pixie Plan Trips / Experience em servicos.html) */
    .category-header h2 {
        font-size: 1.5rem !important;
        letter-spacing: -0.01em !important;
        white-space: nowrap !important;
    }

    /* FIX 3: Navegação não funciona em Serviços — vídeo e overlay não capturam cliques */
    .page-header-video,
    .page-header-overlay {
        pointer-events: none !important;
    }

    /* FIX 4: Footer — ícone de e-mail na mesma linha que o texto */
    .footer-col ul li a {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        flex-wrap: nowrap !important;
    }
    .footer-col ul li a i {
        flex-shrink: 0 !important;
        font-size: 0.6rem !important;
    }

    /* FIX 4: Ícones sociais de volta lado a lado (row), mas menores */
    .footer-content .footer-col:nth-child(4) .social-links {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }
    .footer-content .footer-col:nth-child(4) .social-links a {
        width: 22px !important;
        height: 22px !important;
        font-size: 0.6rem !important;
    }
}

/* ============================================================
   MOBILE FIX v6 — nav dropdown fixed-position (resolve Serviços)
   ============================================================ */
@media (max-width: 768px) {
    /*
     * Fix definitivo para a navegação em Serviços:
     * O nav dropdown passa a ser position:fixed quando ativo,
     * colocando-o no compositor layer fixo do browser —
     * acima de qualquer stacking context criado pelo video/transform.
     * Header: padding 20px + logo 60px + padding 20px = 100px (não-scrolled)
     *         padding 15px + logo 50px + padding 15px = 80px (scrolled)
     * Usando 75px pra cobrir ambos os estados com margem de segurança.
     */
    .nav-links.active {
        position: fixed !important;
        top: 75px !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 9998 !important;
        pointer-events: auto !important;
        visibility: visible !important;
    }

    .nav-links.active a {
        pointer-events: auto !important;
        visibility: visible !important;
    }
}

/* ============================================================
   INSTAGRAM FIX — usa display ao invés de clip-path
   ============================================================ */
@media (max-width: 768px) {
    /* Quando body tem classe instagram-browser (setada via JS),
       ignora clip-path e visibility — usa display simples */
    .instagram-browser .nav-links {
        clip-path: none !important;
        -webkit-clip-path: none !important;
        visibility: hidden !important;
        display: none !important;
        transition: none !important;
    }
    .instagram-browser .nav-links.active {
        display: flex !important;
        visibility: visible !important;
        position: fixed !important;
        top: 75px !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 9998 !important;
        pointer-events: auto !important;
    }
    .instagram-browser .nav-links.active a {
        pointer-events: auto !important;
        visibility: visible !important;
    }
}

/* ============================================================
   FOOTER FIX v2 — colunas proporcionais + e-mail sem quebra
   ============================================================ */
@media (max-width: 768px) {
    /* Contato precisa de mais espaço que Políticas e Redes Sociais */
    .footer-content {
        grid-template-columns: 1fr 1.4fr auto !important;
        align-items: start !important;
    }

    /* E-mail: permitir quebra apenas em caracteres, não deixar letra solta */
    .footer-col ul li a {
        word-break: break-all !important;
        overflow-wrap: anywhere !important;
    }

    /* Ícones sociais: manter lado a lado, centralizar no espaço disponível */
    .footer-content .footer-col:nth-child(4) {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding-right: 4% !important;
    }

    .footer-content .footer-col:nth-child(4) h4 {
        align-self: center !important;
        width: 100% !important;
        text-align: center !important;
    }

    .footer-content .footer-col:nth-child(4) ul,
    .footer-content .footer-col:nth-child(4) .social-links {
        justify-content: center !important;
        align-self: center !important;
    }
}

/* ============================================================
   FOOTER FIX v3 — "Redes Sociais" numa linha só
   ============================================================ */
@media (max-width: 768px) {
    .footer-content .footer-col:nth-child(4) h4 {
        white-space: nowrap !important;
        font-size: 0.72rem !important;
    }
}
