/* 
  Design System: Clube do Voo Viagens
  Based on UI/UX Pro Max Intelligence
  Palette: Travel/Tourism Agency
  Mobile-First Optimized
*/

:root {
    /* Colors */
    --primary: #06B6D4;
    --primary-glow: rgba(6, 182, 212, 0.4);
    --secondary: #EC4899;
    --accent: #F97316;
    --gold: #D4AF37;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --navy: #0F172A;
    --background: #FDF2F8;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Work Sans', sans-serif;

    /* Spacing */
    --section-padding: 100px 20px;
}

/* ================================
   BASE RESETS
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.highlight {
    color: var(--primary);
}

/* ================================
   BUTTONS
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    border: none;
    gap: 10px;
    text-align: center;
    line-height: 1.4;
    min-height: 52px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-gold {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-gold:hover {
    background: #e8c84a;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--gold-glow);
}

/* ================================
   NAVBAR
   ================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    flex-shrink: 0;
}

.footer-logo .logo-img {
    width: 52px;
    height: 52px;
    border-color: rgba(255, 255, 255, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
}

.nav-btn {
    padding: 10px 24px !important;
    font-size: 0.9rem !important;
    min-height: 44px !important;
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: var(--white);
    padding-top: 70px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(6, 182, 212, 0.35) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 40px 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: clamp(2rem, 7vw, 4rem);
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    margin-bottom: 32px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================
   SECTION HEADERS
   ================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
}

/* ================================
   FEATURES SECTION
   ================================ */
#features {
    padding: var(--section-padding);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: 20px;
    text-align: center;
    transition: 0.4s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(6, 182, 212, 0.1);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background-color: var(--background);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin: 0 auto 20px;
}

/* ================================
   VIP GROUPS SECTION
   ================================ */
#vip-groups {
    padding: var(--section-padding);
    background-color: var(--white);
}

.groups-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.group-card {
    position: relative;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    color: var(--white);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    cursor: pointer;
}

.group-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: 0.5s;
}

.group-card:hover img {
    transform: scale(1.08);
}

.group-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 50%, transparent);
    z-index: 2;
}

.group-info {
    position: relative;
    z-index: 3;
}

.group-info h3 {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.group-info p {
    font-size: 0.9rem;
    opacity: 0.85;
}

.vip-cta {
    text-align: center;
    margin-top: 48px;
}

/* ================================
   TESTIMONIALS
   ================================ */
#testimonials {
    padding: var(--section-padding);
}

.testimonials-img {
    margin-top: 20px;
    border-radius: 20px;
    overflow: hidden;
    height: 280px;
}

.testimonials-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    padding: 28px 24px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
}

.testimonial-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-main);
}

.testimonial-stars {
    color: #fbbf24;
    margin-bottom: 12px;
    display: flex;
    gap: 2px;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.testimonial-user strong {
    display: block;
    font-size: 0.95rem;
}

.testimonial-user p {
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
    margin: 0 !important;
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* ================================
   FIDELITY / LOYALTY SECTION
   ================================ */
#fidelity {
    padding: var(--section-padding);
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

#fidelity::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('loyalty_premium_rewards_1771956452824.png') center/cover no-repeat;
    opacity: 0.12;
    z-index: 1;
}

#fidelity .container {
    position: relative;
    z-index: 2;
}

.fidelity-header {
    margin-bottom: 50px;
}

.fidelity-header h2 {
    font-size: clamp(1.75rem, 5vw, 3rem);
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 30%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fidelity-header p {
    font-size: clamp(0.95rem, 2.5vw, 1.2rem);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.85;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.step-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 28px 20px 20px;
    border-radius: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    transition: 0.3s;
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold);
}

.step-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.step-card p {
    font-size: 0.88rem;
    opacity: 0.8;
    line-height: 1.5;
}

.step-number {
    position: absolute;
    top: -14px;
    left: 16px;
    width: 34px;
    height: 34px;
    background: var(--gold);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 3px 10px var(--gold-glow);
}

.points-accumulation {
    background: rgba(255, 215, 0, 0.06);
    padding: 32px 24px;
    border-radius: 20px;
    margin-bottom: 48px;
    border: 1px dashed rgba(212, 175, 55, 0.5);
}

.points-accumulation h3 {
    text-align: center;
    color: var(--gold);
    margin-bottom: 24px;
    font-size: 1.15rem;
}

.points-list {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.point-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 1rem;
}

.point-item i {
    color: var(--gold);
    flex-shrink: 0;
}

.progression-section {
    text-align: center;
    margin-bottom: 48px;
}

.progression-section h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.progression-section>p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.levels-visual {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    height: 180px;
}

.level-bar {
    width: 72px;
    background: linear-gradient(to top, var(--gold), #f5d76e);
    border-radius: 10px 10px 0 0;
    position: relative;
    transition: 0.5s ease;
}

.level-bar span {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
    font-size: 0.75rem;
    white-space: nowrap;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.fidelity-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================
   QUOTE SECTION
   ================================ */
#quote {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary) 0%, #0891b2 100%);
    color: var(--white);
    text-align: center;
}

.quote-content {
    max-width: 700px;
    margin: 0 auto;
}

.quote-content h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    margin-bottom: 16px;
}

.quote-content p {
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    margin-bottom: 32px;
    opacity: 0.9;
}

/* ================================
   CONTACT SECTION
   ================================ */
#contact {
    padding: var(--section-padding);
    text-align: center;
}

/* ================================
   FOOTER
   ================================ */
footer {
    padding: 48px 20px;
    background-color: var(--text-main);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 16px;
    font-size: 1.5rem;
}

.footer-social i {
    cursor: pointer;
    transition: color 0.2s;
}

.footer-social i:hover {
    color: var(--primary);
}

.footer-creds {
    margin-top: 20px;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* ================================
   FLOATING WHATSAPP
   ================================ */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* ================================
   ANIMATIONS
   ================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   RESPONSIVE: TABLET (max-width: 1024px)
   ================================ */
@media (max-width: 1024px) {
    .groups-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .group-card {
        height: 320px;
    }

    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================================
   RESPONSIVE: MOBILE (max-width: 768px)
   ================================ */
@media (max-width: 768px) {
    :root {
        --section-padding: 64px 16px;
    }

    .container {
        padding: 0 16px;
    }

    /* --- Navbar Mobile --- */
    nav {
        height: 60px;
    }

    .logo {
        font-size: 1.15rem;
    }

    .logo-img {
        width: 34px;
        height: 34px;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
    }

    .nav-btn {
        display: none !important;
    }

    /* --- Hero Mobile --- */
    .hero {
        padding-top: 60px;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-content {
        padding: 32px 16px;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.15;
        margin-bottom: 16px;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 28px;
        line-height: 1.55;
    }

    .hero-btns {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        padding: 0;
    }

    .hero-btns .btn {
        width: 100%;
        font-size: 0.95rem;
        padding: 14px 20px;
    }

    /* --- Section Headers Mobile --- */
    .section-header {
        margin-bottom: 32px;
    }

    .section-header h2 {
        font-size: 1.65rem;
        margin-bottom: 12px;
    }

    /* --- Features Mobile --- */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 24px 20px;
        display: flex;
        flex-direction: row;
        text-align: left;
        gap: 16px;
        align-items: flex-start;
    }

    .feature-card:hover {
        transform: none;
    }

    .feature-icon {
        margin: 0;
        flex-shrink: 0;
        width: 48px;
        height: 48px;
    }

    .feature-card h3 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    /* --- Groups Mobile --- */
    .groups-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .group-card {
        height: 220px;
        border-radius: 16px;
        padding: 20px;
    }

    .group-info h3 {
        font-size: 1.15rem;
    }

    .group-info p {
        font-size: 0.85rem;
    }

    .vip-cta {
        margin-top: 32px;
    }

    /* --- Testimonials Mobile --- */
    .testimonials-img {
        height: 180px;
        border-radius: 14px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonial-card {
        padding: 24px 20px;
    }

    /* --- Fidelity Mobile --- */
    .fidelity-header {
        margin-bottom: 36px;
    }

    .fidelity-header h2 {
        font-size: 1.6rem;
    }

    .fidelity-header p {
        font-size: 0.95rem;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 32px;
    }

    .step-card {
        padding: 24px 16px 16px;
        border-radius: 14px;
    }

    .step-card h3 {
        font-size: 0.95rem;
    }

    .step-card p {
        font-size: 0.85rem;
    }

    .points-accumulation {
        padding: 24px 16px;
        border-radius: 14px;
    }

    .points-accumulation h3 {
        font-size: 1rem;
        margin-bottom: 16px;
    }

    .points-list {
        flex-direction: column;
        gap: 14px;
        align-items: flex-start;
    }

    .point-item {
        font-size: 0.95rem;
    }

    .progression-section {
        margin-bottom: 32px;
    }

    .levels-visual {
        height: 140px;
        gap: 12px;
        margin-top: 24px;
    }

    .level-bar {
        width: 56px;
    }

    .level-bar span {
        font-size: 0.65rem;
        top: -24px;
    }

    .fidelity-btns {
        flex-direction: column;
        gap: 12px;
    }

    .fidelity-btns .btn {
        width: 100%;
        font-size: 0.9rem;
    }

    /* --- Quote Mobile --- */
    .quote-content h2 {
        font-size: 1.65rem;
    }

    .quote-content p {
        font-size: 0.95rem;
    }

    /* --- CTAs Global Mobile --- */
    .btn {
        width: 100%;
        min-height: 52px;
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    /* --- Footer Mobile --- */
    footer {
        padding: 40px 16px 100px;
    }

    .footer-creds {
        font-size: 0.75rem;
    }

    /* --- Floating WhatsApp Mobile --- */
    .floating-whatsapp {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
    }
}

/* ================================
   RESPONSIVE: SMALL PHONES (max-width: 380px)
   ================================ */
@media (max-width: 380px) {
    :root {
        --section-padding: 48px 12px;
    }

    .container {
        padding: 0 12px;
    }

    .logo {
        font-size: 1rem;
    }

    .hero-content h1 {
        font-size: 1.65rem;
    }

    .hero-content p {
        font-size: 0.92rem;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .fidelity-header h2 {
        font-size: 1.35rem;
    }

    .level-bar {
        width: 46px;
    }

    .level-bar span {
        font-size: 0.6rem;
    }

    .group-card {
        height: 180px;
    }
}

/* ================================
   REDUCED MOTION
   ================================ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}