/*!
Theme Name: Voyages 1
Theme URI: http://vivrevoyagefr.local
Description: Theme voyage autonome - SEO et performance
Author: Vivre Voyage
Author URI: http://vivrevoyagefr.local
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: voyages_1
*/

/* ==========================================================================
   CSS VARIABLES - Palette "Terres du Monde"
   ========================================================================== */

:root {
    /* Primary */
    --vv-primary: #0B4F6C;
    --vv-primary-dark: #083A50;
    --vv-primary-light: #1A7FAD;
    --vv-primary-lighter: #D0EAF5;

    /* Secondary */
    --vv-secondary: #2D6A4F;
    --vv-secondary-dark: #1B4332;
    --vv-secondary-light: #52B788;

    /* Accent */
    --vv-accent: #E09F3E;
    --vv-accent-dark: #C47D0E;
    --vv-accent-light: #FFF0D4;

    /* Warm */
    --vv-warm: #C1553B;
    --vv-warm-dark: #9A3A24;
    --vv-warm-light: #F4D0C7;

    /* Neutral */
    --vv-dark: #0F1923;
    --vv-text: #1E2A36;
    --vv-text-light: #4A5568;
    --vv-text-muted: #8896A6;
    --vv-border: #E2E8F0;
    --vv-bg: #FFFFFF;
    --vv-bg-alt: #F7F9FB;

    /* Semantic */
    --vv-success: #2D6A4F;
    --vv-error: #C1553B;
    --vv-info: #0B4F6C;

    /* Typography */
    --vv-font-heading: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
    --vv-font-body: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --vv-font-ui: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Radius */
    --vv-radius: 8px;
    --vv-radius-md: 12px;
    --vv-radius-lg: 16px;
    --vv-radius-xl: 24px;
    --vv-radius-full: 9999px;

    /* Shadows */
    --vv-shadow-xs: 0 1px 2px rgba(15,25,35,.05);
    --vv-shadow: 0 2px 8px rgba(15,25,35,.08);
    --vv-shadow-md: 0 4px 16px rgba(15,25,35,.1);
    --vv-shadow-lg: 0 8px 32px rgba(15,25,35,.12);
    --vv-shadow-xl: 0 16px 48px rgba(15,25,35,.16);

    /* Glassmorphism */
    --vv-glass-bg: rgba(255,255,255,.65);
    --vv-glass-bg-light: rgba(255,255,255,.45);
    --vv-glass-bg-dark: rgba(15,25,35,.55);
    --vv-glass-border: rgba(255,255,255,.25);
    --vv-glass-blur: blur(20px);

    /* Transitions */
    --vv-fast: .2s cubic-bezier(.4,0,.2,1);
    --vv-transition: .35s cubic-bezier(.4,0,.2,1);
    --vv-slow: .6s cubic-bezier(.4,0,.2,1);

    /* Layout */
    --vv-header-h: 72px;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--vv-font-body);
    font-size: 17px;
    line-height: 1.75;
    color: var(--vv-text);
    background: var(--vv-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a {
    color: var(--vv-primary);
    text-decoration: none;
    transition: color var(--vv-fast);
}
a:hover { color: var(--vv-primary-light); }

h1, h2, h3, h4, h5 {
    font-family: var(--vv-font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--vv-dark);
    margin: 0 0 .75rem;
    letter-spacing: -.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }

p { margin: 0 0 1rem; }

.vv-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    background: var(--vv-primary);
    color: #fff;
    padding: .5rem 1rem;
    font-family: var(--vv-font-ui);
}
.vv-skip-link:focus { left: 0; }

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.vv-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.vv-container--narrow { max-width: 800px; }
.vv-container--article { max-width: 780px; }

.vv-grid {
    display: grid;
    gap: 2rem;
}
.vv-grid--2 { grid-template-columns: repeat(2, 1fr); }
.vv-grid--3 { grid-template-columns: repeat(3, 1fr); }
.vv-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ==========================================================================
   HEADER - Fixed + Transparent on hero pages → Glassmorphism on scroll
   ========================================================================== */

.vv-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--vv-header-h);
    transition: background var(--vv-transition), box-shadow var(--vv-transition), backdrop-filter var(--vv-transition);
}

/* Solid variant for non-hero pages */
.vv-header--solid {
    background: var(--vv-bg);
    box-shadow: var(--vv-shadow);
}
.vv-header--solid .vv-logo { color: var(--vv-dark); }
.vv-header--solid .vv-nav__list li a { color: var(--vv-text); }
.vv-header--solid .vv-menu-toggle span { background: var(--vv-dark); }

/* Transparent state (hero pages, before scroll) */
.vv-has-hero .vv-header:not(.vv-header--scrolled):not(.vv-header--solid),
.vv-has-article-hero .vv-header:not(.vv-header--scrolled):not(.vv-header--solid) {
    background: transparent;
    box-shadow: none;
}
.vv-has-hero .vv-header:not(.vv-header--scrolled):not(.vv-header--solid) .vv-logo,
.vv-has-article-hero .vv-header:not(.vv-header--scrolled):not(.vv-header--solid) .vv-logo {
    color: #fff;
}
.vv-has-hero .vv-header:not(.vv-header--scrolled):not(.vv-header--solid) .vv-logo strong,
.vv-has-article-hero .vv-header:not(.vv-header--scrolled):not(.vv-header--solid) .vv-logo strong {
    color: var(--vv-accent);
}
.vv-has-hero .vv-header:not(.vv-header--scrolled):not(.vv-header--solid) .vv-nav__list li a,
.vv-has-article-hero .vv-header:not(.vv-header--scrolled):not(.vv-header--solid) .vv-nav__list li a {
    color: rgba(255,255,255,.9);
}
.vv-has-hero .vv-header:not(.vv-header--scrolled):not(.vv-header--solid) .vv-nav__list li a:hover,
.vv-has-article-hero .vv-header:not(.vv-header--scrolled):not(.vv-header--solid) .vv-nav__list li a:hover {
    color: #fff;
    background: rgba(255,255,255,.12);
}
.vv-has-hero .vv-header:not(.vv-header--scrolled):not(.vv-header--solid) .vv-menu-toggle span,
.vv-has-article-hero .vv-header:not(.vv-header--scrolled):not(.vv-header--solid) .vv-menu-toggle span {
    background: #fff;
}
.vv-has-hero .vv-header:not(.vv-header--scrolled):not(.vv-header--solid) .vv-header__search,
.vv-has-article-hero .vv-header:not(.vv-header--scrolled):not(.vv-header--solid) .vv-header__search {
    color: rgba(255,255,255,.9);
}

/* Scrolled state → glassmorphism */
.vv-header--scrolled {
    background: var(--vv-glass-bg);
    backdrop-filter: var(--vv-glass-blur);
    -webkit-backdrop-filter: var(--vv-glass-blur);
    box-shadow: var(--vv-shadow-md);
}
.vv-header--scrolled .vv-logo { color: var(--vv-dark); }
.vv-header--scrolled .vv-logo strong { color: var(--vv-primary); }
.vv-header--scrolled .vv-nav__list li a { color: var(--vv-text); }
.vv-header--scrolled .vv-menu-toggle span { background: var(--vv-dark); }
.vv-header--scrolled .vv-header__search { color: var(--vv-text); }

/* Spacer for fixed header on non-hero pages */
.vv-header-spacer {
    height: var(--vv-header-h);
}

.vv-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--vv-header-h);
}

.vv-header__right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vv-logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.3rem;
    font-family: var(--vv-font-heading);
    font-weight: 700;
    color: var(--vv-dark);
    text-decoration: none;
    transition: color var(--vv-fast);
}
.vv-logo:hover { opacity: .85; }
.vv-logo__icon { font-size: 1.6rem; }
.vv-logo__text strong { color: var(--vv-primary); }

/* Search button */
.vv-header__search {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--vv-text);
    border-radius: var(--vv-radius-full);
    transition: background var(--vv-fast);
}
.vv-header__search:hover {
    background: rgba(0,0,0,.06);
}
.vv-header__search svg {
    width: 20px;
    height: 20px;
}

/* Nav */
.vv-nav__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: .25rem;
}

.vv-nav__list li a {
    display: block;
    padding: .5rem 1rem;
    font-family: var(--vv-font-ui);
    font-size: .875rem;
    font-weight: 500;
    color: var(--vv-text);
    border-radius: var(--vv-radius-full);
    transition: background var(--vv-fast), color var(--vv-fast);
    letter-spacing: .01em;
}
.vv-nav__list li a:hover,
.vv-nav__list li.current-menu-item a {
    color: var(--vv-primary);
    background: rgba(11,79,108,.06);
}

/* Mobile toggle - hamburger → X */
.vv-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1010;
}
.vv-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--vv-dark);
    border-radius: 2px;
    transition: transform var(--vv-transition), opacity var(--vv-fast);
    transform-origin: center;
}
.vv-menu-toggle--active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.vv-menu-toggle--active span:nth-child(2) {
    opacity: 0;
}
.vv-menu-toggle--active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Nav overlay (mobile backdrop) */
.vv-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,25,35,.5);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--vv-transition);
}
.vv-nav-overlay--visible {
    display: block;
    opacity: 1;
}

/* Reading progress bar */
.vv-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 1001;
    pointer-events: none;
}
.vv-progress__bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--vv-primary), var(--vv-accent));
    transition: width .1s linear;
}

/* ==========================================================================
   BUTTONS - Pill shape, glow hover
   ========================================================================== */

.vv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 2rem;
    font-family: var(--vv-font-ui);
    font-size: .85rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .06em;
    border-radius: var(--vv-radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--vv-transition);
}
.vv-btn:hover {
    transform: translateY(-2px);
}

.vv-btn--primary {
    background: var(--vv-accent);
    color: var(--vv-dark);
    border-color: var(--vv-accent);
}
.vv-btn--primary:hover {
    background: var(--vv-accent-dark);
    border-color: var(--vv-accent-dark);
    color: #fff;
    box-shadow: 0 8px 24px rgba(224,159,62,.35);
}

.vv-btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.6);
}
.vv-btn--outline:hover {
    background: rgba(255,255,255,.15);
    border-color: #fff;
    color: #fff;
}

.vv-btn--outline-dark {
    background: transparent;
    color: var(--vv-primary);
    border-color: var(--vv-primary);
}
.vv-btn--outline-dark:hover {
    background: var(--vv-primary);
    color: #fff;
}

.vv-btn--glass {
    background: var(--vv-glass-bg-light);
    backdrop-filter: var(--vv-glass-blur);
    -webkit-backdrop-filter: var(--vv-glass-blur);
    color: #fff;
    border-color: var(--vv-glass-border);
}
.vv-btn--glass:hover {
    background: rgba(255,255,255,.3);
}

.vv-btn--lg { padding: 1rem 2.5rem; font-size: .9rem; }
.vv-btn--full { width: 100%; }

/* ==========================================================================
   HERO SECTION - 100vh, image + overlay + parallax
   ========================================================================== */

.vv-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 6rem 1.5rem 4rem;
    overflow: hidden;
}

.vv-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.vv-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vv-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15,25,35,.35) 0%,
        rgba(15,25,35,.2) 40%,
        rgba(15,25,35,.65) 100%
    );
    z-index: 1;
}

/* Fallback gradient when no featured image */
.vv-hero--gradient {
    background: linear-gradient(135deg, var(--vv-dark) 0%, var(--vv-primary-dark) 50%, var(--vv-secondary-dark) 100%);
}

.vv-hero__content {
    position: relative;
    z-index: 2;
    max-width: 750px;
}

.vv-hero__title {
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.25rem;
    letter-spacing: -.03em;
    line-height: 1.1;
}
.vv-hero__title span { color: var(--vv-accent); }

.vv-hero__subtitle {
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    opacity: .9;
    margin-bottom: 2.5rem;
    font-weight: 300;
    font-family: var(--vv-font-body);
    line-height: 1.6;
}

.vv-hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll indicator */
.vv-hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    color: rgba(255,255,255,.7);
    font-family: var(--vv-font-ui);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .15em;
    animation: vv-bounce 2s ease-in-out infinite;
}
.vv-hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
}

@keyframes vv-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ==========================================================================
   PAGE HERO (sub-pages)
   ========================================================================== */

.vv-page-hero {
    background: linear-gradient(135deg, var(--vv-dark) 0%, var(--vv-primary-dark) 60%, var(--vv-primary) 100%);
    color: #fff;
    padding: 7rem 1.5rem 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.vv-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.vv-page-hero__title {
    color: #fff;
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    margin-bottom: .5rem;
    position: relative;
}
.vv-page-hero__sub {
    opacity: .85;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    font-family: var(--vv-font-body);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.vv-section {
    padding: 5rem 0;
}
#destinations {
    scroll-margin-top: var(--vv-header-h);
}
.vv-section--alt {
    background: var(--vv-bg-alt);
}
.vv-section__title {
    text-align: center;
    margin-bottom: .5rem;
}
.vv-section__sub {
    text-align: center;
    color: var(--vv-text-light);
    margin-bottom: 3rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
}
.vv-section__cta {
    text-align: center;
    margin-top: 3rem;
}

/* ==========================================================================
   ARTICLE CARDS - Overlay, zoom, glassmorphism badge
   ========================================================================== */

.vv-card {
    background: var(--vv-bg);
    border-radius: var(--vv-radius-lg);
    overflow: hidden;
    box-shadow: var(--vv-shadow);
    transition: transform var(--vv-transition), box-shadow var(--vv-transition);
}
.vv-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--vv-shadow-xl);
}

.vv-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.vv-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--vv-bg-alt);
}
/* Overlay gradient on hover */
.vv-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,25,35,.45), transparent 60%);
    opacity: 0;
    transition: opacity var(--vv-transition);
}
.vv-card:hover .vv-card__image::after { opacity: 1; }

.vv-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--vv-slow);
}
.vv-card:hover .vv-card__img { transform: scale(1.08); }

.vv-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--vv-primary-lighter), var(--vv-bg-alt));
}

/* Category badge - glassmorphism */
.vv-card__cat {
    position: absolute;
    top: .75rem;
    left: .75rem;
    background: var(--vv-glass-bg-dark);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    padding: .25rem .8rem;
    border-radius: var(--vv-radius-full);
    font-family: var(--vv-font-ui);
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    z-index: 1;
    border: 1px solid rgba(255,255,255,.15);
}

.vv-card__body { padding: 1.25rem 1.5rem; }

.vv-card__meta {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-family: var(--vv-font-ui);
    font-size: .75rem;
    color: var(--vv-text-muted);
    margin-bottom: .5rem;
}
.vv-card__meta-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--vv-text-muted);
}

.vv-card__date {
    display: block;
    font-family: var(--vv-font-ui);
    font-size: .75rem;
    color: var(--vv-text-muted);
    margin-bottom: .35rem;
}

.vv-card__title {
    font-size: 1.1rem;
    margin-bottom: .5rem;
    line-height: 1.35;
    color: var(--vv-dark);
    font-family: var(--vv-font-heading);
}

.vv-card__excerpt {
    font-size: .9rem;
    color: var(--vv-text-light);
    line-height: 1.65;
    margin-bottom: .75rem;
}

.vv-card__more {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: var(--vv-font-ui);
    font-size: .8rem;
    font-weight: 600;
    color: var(--vv-primary);
    transition: gap var(--vv-transition);
}
.vv-card__more svg {
    width: 16px;
    height: 16px;
    transition: transform var(--vv-transition);
}
.vv-card:hover .vv-card__more svg {
    transform: translateX(4px);
}

/* ==========================================================================
   CATEGORY CARDS - Image bg + overlay + glassmorphism
   ========================================================================== */

.vv-catcard {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem;
    min-height: 180px;
    border-radius: var(--vv-radius-lg);
    color: #fff;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform var(--vv-transition), box-shadow var(--vv-transition);
}

.vv-catcard__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.vv-catcard__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--vv-slow);
}

.vv-catcard::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,25,35,.7) 0%, rgba(15,25,35,.15) 100%);
    z-index: 1;
}
/* Fallback gradient when no image */
.vv-catcard--color {
    background: var(--accent, var(--vv-primary));
}

.vv-catcard:hover {
    transform: translateY(-4px);
    box-shadow: var(--vv-shadow-xl);
    color: #fff;
}
.vv-catcard:hover .vv-catcard__bg img {
    transform: scale(1.08);
}

.vv-catcard__content {
    position: relative;
    z-index: 2;
    background: var(--vv-glass-bg-dark);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--vv-radius-md);
    padding: .75rem 1rem;
}

.vv-catcard__title {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: .2rem;
    font-family: var(--vv-font-heading);
}
.vv-catcard__count {
    position: relative;
    z-index: 2;
    font-size: .8rem;
    opacity: .85;
    font-family: var(--vv-font-ui);
}

/* ==========================================================================
   CTA SECTION - Gradient + decorative orb
   ========================================================================== */

.vv-cta { padding: 5rem 0; }

.vv-cta__box {
    background: linear-gradient(135deg, var(--vv-primary-dark) 0%, var(--vv-primary) 50%, var(--vv-secondary-dark) 100%);
    color: #fff;
    padding: 3.5rem;
    border-radius: var(--vv-radius-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.vv-cta__box::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(224,159,62,.25) 0%, transparent 70%);
    border-radius: 50%;
}
.vv-cta__box h2 { color: #fff; margin-bottom: .75rem; position: relative; }
.vv-cta__box p { opacity: .9; max-width: 550px; margin: 0 auto 1.5rem; position: relative; }
.vv-cta__box .vv-btn { position: relative; }

/* ==========================================================================
   FILTER BAR - Glassmorphism sticky
   ========================================================================== */

.vv-filter {
    background: var(--vv-glass-bg);
    backdrop-filter: var(--vv-glass-blur);
    -webkit-backdrop-filter: var(--vv-glass-blur);
    border-bottom: 1px solid var(--vv-border);
    padding: 1rem 0;
    position: sticky;
    top: var(--vv-header-h);
    z-index: 50;
}
.vv-filter__nav {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.vv-filter__nav::-webkit-scrollbar { display: none; }

.vv-filter__link {
    white-space: nowrap;
    padding: .45rem 1.1rem;
    font-family: var(--vv-font-ui);
    font-size: .82rem;
    font-weight: 500;
    color: var(--vv-text-light);
    border-radius: var(--vv-radius-full);
    border: 1px solid var(--vv-border);
    transition: all var(--vv-fast);
}
.vv-filter__link:hover {
    border-color: var(--vv-primary);
    color: var(--vv-primary);
    background: rgba(11,79,108,.04);
}
.vv-filter__link--active {
    background: var(--vv-primary);
    color: #fff;
    border-color: var(--vv-primary);
}
.vv-filter__link--active:hover {
    background: var(--vv-primary-dark);
    color: #fff;
}

/* ==========================================================================
   FEATURED POST (blog page)
   ========================================================================== */

.vv-featured {
    position: relative;
    border-radius: var(--vv-radius-xl);
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 3rem;
}
.vv-featured__link {
    display: flex;
    align-items: flex-end;
    min-height: 420px;
    width: 100%;
    text-decoration: none;
    color: #fff;
}
.vv-featured__image {
    position: absolute;
    inset: 0;
}
.vv-featured__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--vv-slow);
}
.vv-featured:hover .vv-featured__image img {
    transform: scale(1.04);
}
.vv-featured__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,25,35,.8) 0%, rgba(15,25,35,.1) 60%);
}
.vv-featured__content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    max-width: 650px;
}
.vv-featured__cat {
    display: inline-block;
    background: var(--vv-accent);
    color: var(--vv-dark);
    padding: .25rem .85rem;
    border-radius: var(--vv-radius-full);
    font-family: var(--vv-font-ui);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .75rem;
}
.vv-featured__title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: #fff;
    margin-bottom: .5rem;
    line-height: 1.2;
}
.vv-featured__excerpt {
    font-size: 1rem;
    opacity: .85;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */

.vv-breadcrumbs {
    background: var(--vv-bg-alt);
    padding: .75rem 0;
    font-family: var(--vv-font-ui);
    font-size: .8rem;
    color: var(--vv-text-muted);
}
.vv-breadcrumbs a { color: var(--vv-text-light); }
.vv-breadcrumbs a:hover { color: var(--vv-primary); }
.vv-breadcrumbs__sep { margin: 0 .4rem; }

/* Inline breadcrumbs inside the overlap card */
.vv-breadcrumbs--inline {
    background: none;
    padding: 0;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--vv-border);
    font-size: .75rem;
}

/* ==========================================================================
   SINGLE ARTICLE - Full-bleed hero, centered header overlap
   ========================================================================== */

.vv-article { padding: 2.5rem 0; }

/* Full-bleed hero image */
.vv-article-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}
.vv-article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vv-article-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,25,35,.5) 0%, transparent 50%);
}

/* Header overlapping hero */
.vv-article__header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.vv-article__header--overlap {
    background: var(--vv-bg);
    border-radius: var(--vv-radius-xl);
    padding: 2.5rem 2rem;
    margin-top: -5rem;
    position: relative;
    z-index: 10;
    box-shadow: var(--vv-shadow-lg);
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.vv-article__cat {
    display: inline-block;
    background: var(--vv-primary);
    color: #fff;
    padding: .25rem .85rem;
    border-radius: var(--vv-radius-full);
    font-family: var(--vv-font-ui);
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 1rem;
}

.vv-article__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    max-width: 700px;
    margin: 0 auto 1rem;
    letter-spacing: -.02em;
}

.vv-article__meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-family: var(--vv-font-ui);
    font-size: .85rem;
    color: var(--vv-text-muted);
}

.vv-article__hero {
    margin: 0 0 2.5rem;
    border-radius: var(--vv-radius-lg);
    overflow: hidden;
}
.vv-article__img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Article content typography */
.vv-article__content {
    font-size: 1.08rem;
    line-height: 1.85;
}

/* Drop cap on first paragraph */
.vv-article__content > p:first-of-type::first-letter {
    float: left;
    font-family: var(--vv-font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: .85;
    margin-right: .1em;
    margin-top: .1em;
    color: var(--vv-primary);
}

.vv-article__content h2 {
    margin: 3rem 0 1rem;
    padding-top: 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--vv-accent);
}
.vv-article__content h3 {
    margin: 2.25rem 0 .75rem;
}
.vv-article__content p {
    color: var(--vv-text);
}
.vv-article__content ul,
.vv-article__content ol {
    margin: 0 0 1.5rem 1.5rem;
    line-height: 1.85;
}
.vv-article__content li { margin-bottom: .4rem; }
.vv-article__content a {
    color: var(--vv-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(11,79,108,.3);
}
.vv-article__content a:hover {
    color: var(--vv-primary-light);
    text-decoration-color: var(--vv-primary-light);
}
.vv-article__content strong { color: var(--vv-dark); }
.vv-article__content blockquote {
    border-left: 3px solid var(--vv-accent);
    margin: 2rem 0;
    padding: 1.25rem 1.75rem;
    background: var(--vv-warm-light);
    border-radius: 0 var(--vv-radius-md) var(--vv-radius-md) 0;
    font-style: italic;
    color: var(--vv-warm-dark);
}
.vv-article__content blockquote p:last-child { margin-bottom: 0; }

/* Article footer */
.vv-article__footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--vv-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.vv-tags a {
    display: inline-block;
    padding: .25rem .75rem;
    margin: .2rem;
    font-family: var(--vv-font-ui);
    font-size: .75rem;
    background: var(--vv-bg-alt);
    color: var(--vv-text-light);
    border-radius: var(--vv-radius-full);
    transition: all var(--vv-fast);
}
.vv-tags a:hover { background: var(--vv-primary-lighter); color: var(--vv-primary-dark); }

/* Share buttons - pills */
.vv-share {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.vv-share__label {
    font-family: var(--vv-font-ui);
    font-size: .8rem;
    color: var(--vv-text-muted);
    margin-right: .25rem;
}
.vv-share__btn {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .9rem;
    font-family: var(--vv-font-ui);
    font-size: .78rem;
    font-weight: 500;
    color: var(--vv-text-light);
    background: var(--vv-bg-alt);
    border: 1px solid var(--vv-border);
    border-radius: var(--vv-radius-full);
    text-decoration: none;
    transition: all var(--vv-fast);
}
.vv-share__btn svg {
    width: 14px;
    height: 14px;
}
.vv-share__btn:hover {
    border-color: var(--vv-primary);
    color: var(--vv-primary);
    background: var(--vv-primary-lighter);
}

/* ==========================================================================
   CONTENT PAGES
   ========================================================================== */

.vv-content h2 {
    margin: 2rem 0 .75rem;
    padding-top: 1rem;
}
.vv-content h3 { margin: 1.5rem 0 .5rem; }
.vv-content p { line-height: 1.85; }
.vv-content ul { margin: 0 0 1.5rem 1.5rem; line-height: 1.85; }

/* ==========================================================================
   STATS SECTION (Partners)
   ========================================================================== */

.vv-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}
.vv-stat {
    text-align: center;
    padding: 2rem 1rem;
}
.vv-stat__number {
    font-family: var(--vv-font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--vv-primary);
    line-height: 1;
    margin-bottom: .35rem;
    letter-spacing: -.02em;
}
.vv-stat__label {
    font-family: var(--vv-font-ui);
    font-size: .85rem;
    color: var(--vv-text-light);
    font-weight: 500;
}

/* ==========================================================================
   BENEFITS (Partners page)
   ========================================================================== */

.vv-benefit {
    text-align: center;
    padding: 2.5rem 1.75rem;
    background: var(--vv-bg);
    border-radius: var(--vv-radius-lg);
    box-shadow: var(--vv-shadow);
    transition: transform var(--vv-transition), box-shadow var(--vv-transition);
}
.vv-benefit:hover {
    transform: translateY(-4px);
    box-shadow: var(--vv-shadow-lg);
}
.vv-benefit__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--vv-radius-md);
    background: var(--vv-primary-lighter);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.vv-benefit h3 {
    font-size: 1.15rem;
    margin-bottom: .5rem;
    font-family: var(--vv-font-heading);
}
.vv-benefit p { font-size: .92rem; color: var(--vv-text-light); margin: 0; line-height: 1.65; }

/* ==========================================================================
   PRICING CARDS
   ========================================================================== */

.vv-pricing {
    background: var(--vv-bg);
    border: 1px solid var(--vv-border);
    border-radius: var(--vv-radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--vv-transition), transform var(--vv-transition);
}
.vv-pricing:hover {
    box-shadow: var(--vv-shadow-md);
    transform: translateY(-2px);
}

.vv-pricing--featured {
    border-color: var(--vv-primary);
    box-shadow: var(--vv-shadow-md);
    position: relative;
}
.vv-pricing--featured::before {
    content: 'Populaire';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--vv-primary);
    color: #fff;
    font-family: var(--vv-font-ui);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .25rem .85rem;
    border-radius: var(--vv-radius-full);
}

.vv-pricing__title {
    font-size: 1.3rem;
    margin-bottom: .5rem;
}
.vv-pricing__desc {
    font-size: .9rem;
    color: var(--vv-text-light);
    margin-bottom: 1.25rem;
}
.vv-pricing__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex: 1;
}
.vv-pricing__list li {
    padding: .4rem 0;
    font-size: .875rem;
    border-bottom: 1px solid var(--vv-border);
}
.vv-pricing__list li::before {
    content: '\2713';
    color: var(--vv-success);
    font-weight: 700;
    margin-right: .5rem;
}

/* ==========================================================================
   PARTNER BOX
   ========================================================================== */

.vv-partner-box {
    background: var(--vv-bg);
    border: 1px solid var(--vv-border);
    border-radius: var(--vv-radius-xl);
    padding: 3.5rem;
    text-align: center;
    box-shadow: var(--vv-shadow-md);
}
.vv-partner-box h2 {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    max-width: 650px;
    margin: 0 auto 1rem;
}
.vv-partner-box__lead {
    font-size: 1.1rem;
    color: var(--vv-text-light);
    max-width: 650px;
    margin: 0 auto 1.5rem;
    line-height: 1.85;
}
.vv-partner-box__text {
    font-size: 1rem;
    color: var(--vv-text);
    max-width: 650px;
    margin: 0 auto 1.5rem;
    line-height: 1.85;
}
.vv-partner-box__text:last-of-type {
    margin-bottom: 2.5rem;
}

/* ==========================================================================
   CONTACT - Floating labels
   ========================================================================== */

.vv-contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.vv-form__group {
    margin-bottom: 1.5rem;
    position: relative;
}

/* Floating labels: input BEFORE label */
.vv-form__group input,
.vv-form__group select,
.vv-form__group textarea {
    width: 100%;
    padding: 1rem 1rem .6rem;
    font-family: var(--vv-font-body);
    font-size: .95rem;
    border: 1px solid var(--vv-border);
    border-radius: var(--vv-radius-md);
    background: var(--vv-bg);
    transition: border-color var(--vv-fast), box-shadow var(--vv-fast);
    color: var(--vv-text);
}
.vv-form__group input:focus,
.vv-form__group select:focus,
.vv-form__group textarea:focus {
    outline: none;
    border-color: var(--vv-primary);
    box-shadow: 0 0 0 3px rgba(11,79,108,.12);
}

.vv-form__group label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    font-family: var(--vv-font-ui);
    font-size: .9rem;
    color: var(--vv-text-muted);
    pointer-events: none;
    transition: all var(--vv-fast);
    background: transparent;
}
.vv-form__group label span { color: var(--vv-accent); }

/* Textarea label positioning */
.vv-form__group--textarea label {
    top: 1rem;
    transform: none;
}

/* Floating state */
.vv-form__group input:focus + label,
.vv-form__group input:not(:placeholder-shown) + label,
.vv-form__group select:focus + label,
.vv-form__group select:not([value=""]) + label,
.vv-form__group textarea:focus + label,
.vv-form__group textarea:not(:placeholder-shown) + label {
    top: .15rem;
    left: .8rem;
    font-size: .7rem;
    font-weight: 600;
    color: var(--vv-primary);
    background: var(--vv-bg);
    padding: 0 .25rem;
    transform: none;
}

/* Select always shows its label above */
.vv-form__group select + label {
    top: .15rem;
    left: .8rem;
    font-size: .7rem;
    font-weight: 600;
    color: var(--vv-primary);
    background: var(--vv-bg);
    padding: 0 .25rem;
    transform: none;
}

/* Contact sidebar - dark gradient */
.vv-contact-info {
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--vv-dark) 0%, var(--vv-primary-dark) 100%);
    border-radius: var(--vv-radius-xl);
    color: rgba(255,255,255,.85);
}
.vv-contact-info h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #fff;
}
.vv-contact-info h3 {
    font-size: 1rem;
    margin-top: 1.5rem;
    color: #fff;
}
.vv-contact-info p {
    font-size: .9rem;
    color: rgba(255,255,255,.75);
}
.vv-contact-info a {
    color: var(--vv-accent);
}
.vv-contact-info a:hover {
    color: var(--vv-accent-light);
}

/* Alerts */
.vv-alert {
    padding: 1rem 1.25rem;
    border-radius: var(--vv-radius-md);
    margin-bottom: 1.5rem;
    font-size: .9rem;
}
.vv-alert--success {
    background: #DEF7EC;
    color: #03543F;
    border: 1px solid #84E1BC;
}
.vv-alert--error {
    background: #FDE8E8;
    color: #9B1C1C;
    border: 1px solid #F8B4B4;
}
.vv-alert p { margin: 0; }

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.vv-pagination {
    display: flex;
    justify-content: center;
    gap: .35rem;
    margin-top: 3rem;
}
.vv-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 .75rem;
    border: 1px solid var(--vv-border);
    border-radius: var(--vv-radius-full);
    font-family: var(--vv-font-ui);
    font-size: .85rem;
    color: var(--vv-text);
    transition: all var(--vv-fast);
}
.vv-pagination .page-numbers:hover,
.vv-pagination .page-numbers.current {
    background: var(--vv-primary);
    color: #fff;
    border-color: var(--vv-primary);
}
.vv-pagination .nav-links {
    display: flex;
    gap: .35rem;
}

/* ==========================================================================
   FOOTER - Newsletter + 4-column grid + social icons
   ========================================================================== */

.vv-footer {
    background: var(--vv-dark);
    color: rgba(255,255,255,.8);
    position: relative;
}
/* Accent line on top */
.vv-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--vv-primary), var(--vv-accent), var(--vv-warm));
}

/* Newsletter section */
.vv-footer__newsletter {
    padding: 3.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    text-align: center;
}
.vv-footer__newsletter h3 {
    color: #fff;
    font-size: 1.35rem;
    margin-bottom: .5rem;
    font-family: var(--vv-font-heading);
}
.vv-footer__newsletter p {
    color: rgba(255,255,255,.65);
    font-size: .95rem;
    margin-bottom: 1.5rem;
}
.vv-newsletter-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    background: rgba(255,255,255,.08);
    border-radius: var(--vv-radius-full);
    border: 1px solid rgba(255,255,255,.12);
    overflow: hidden;
    transition: border-color var(--vv-fast);
}
.vv-newsletter-form:focus-within {
    border-color: var(--vv-accent);
}
.vv-newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: .75rem 1.25rem;
    color: #fff;
    font-family: var(--vv-font-body);
    font-size: .9rem;
}
.vv-newsletter-form input::placeholder {
    color: rgba(255,255,255,.45);
}
.vv-newsletter-form input:focus {
    outline: none;
}
.vv-newsletter-form button {
    background: var(--vv-accent);
    color: var(--vv-dark);
    border: none;
    padding: .75rem 1.5rem;
    font-family: var(--vv-font-ui);
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    cursor: pointer;
    border-radius: var(--vv-radius-full);
    margin: .3rem;
    transition: background var(--vv-fast);
}
.vv-newsletter-form button:hover {
    background: var(--vv-accent-dark);
    color: #fff;
}

/* Footer grid */
.vv-footer__main {
    padding: 3.5rem 0;
}
.vv-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
}

.vv-footer__logo {
    font-family: var(--vv-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    margin-bottom: .75rem;
}
.vv-footer__logo strong { color: var(--vv-accent); }

.vv-footer__desc {
    font-size: .9rem;
    line-height: 1.7;
    opacity: .7;
    margin-bottom: 1.25rem;
}

/* Social icons */
.vv-social {
    display: flex;
    gap: .5rem;
}
.vv-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.7);
    transition: all var(--vv-fast);
}
.vv-social__link:hover {
    background: var(--vv-accent);
    border-color: var(--vv-accent);
    color: var(--vv-dark);
}
.vv-social__link svg {
    width: 16px;
    height: 16px;
}

.vv-footer__title {
    font-family: var(--vv-font-ui);
    font-size: .82rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 1.25rem;
}

.vv-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.vv-footer__links li { margin-bottom: .6rem; }
.vv-footer__links a {
    color: rgba(255,255,255,.6);
    font-size: .9rem;
    transition: color var(--vv-fast), padding-left var(--vv-fast);
    display: inline-block;
}
.vv-footer__links a:hover {
    color: #fff;
    padding-left: .35rem;
}

.vv-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1.25rem 0;
    text-align: center;
    font-family: var(--vv-font-ui);
    font-size: .78rem;
    opacity: .5;
}
.vv-footer__bottom p { margin: 0; }

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.vv-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--vv-slow), transform var(--vv-slow);
}
.vv-reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fallback: disable reveal animations on tablet/mobile to prevent hidden content */
@media (max-width: 768px) {
    .vv-reveal {
        opacity: 1;
        transform: none;
    }
}

/* Directional variants */
.vv-reveal--left {
    transform: translateX(-30px);
}
.vv-reveal--left.vv-reveal--visible {
    transform: translateX(0);
}
.vv-reveal--right {
    transform: translateX(30px);
}
.vv-reveal--right.vv-reveal--visible {
    transform: translateX(0);
}
.vv-reveal--scale {
    transform: scale(.92);
}
.vv-reveal--scale.vv-reveal--visible {
    transform: scale(1);
}

/* Stagger: incremental delay on children */
.vv-stagger > *:nth-child(1) { transition-delay: 0s; }
.vv-stagger > *:nth-child(2) { transition-delay: .1s; }
.vv-stagger > *:nth-child(3) { transition-delay: .2s; }
.vv-stagger > *:nth-child(4) { transition-delay: .25s; }
.vv-stagger > *:nth-child(5) { transition-delay: .3s; }
.vv-stagger > *:nth-child(6) { transition-delay: .35s; }
.vv-stagger > *:nth-child(7) { transition-delay: .4s; }
.vv-stagger > *:nth-child(8) { transition-delay: .45s; }
.vv-stagger > *:nth-child(9) { transition-delay: .5s; }

/* ==========================================================================
   GLASSMORPHISM UTILITIES
   ========================================================================== */

.vv-glass {
    background: var(--vv-glass-bg);
    backdrop-filter: var(--vv-glass-blur);
    -webkit-backdrop-filter: var(--vv-glass-blur);
    border: 1px solid var(--vv-glass-border);
}
.vv-glass--light {
    background: var(--vv-glass-bg-light);
    backdrop-filter: var(--vv-glass-blur);
    -webkit-backdrop-filter: var(--vv-glass-blur);
    border: 1px solid var(--vv-glass-border);
}
.vv-glass--dark {
    background: var(--vv-glass-bg-dark);
    backdrop-filter: var(--vv-glass-blur);
    -webkit-backdrop-filter: var(--vv-glass-blur);
    border: 1px solid rgba(255,255,255,.1);
    color: #fff;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 992px) {
    .vv-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .vv-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .vv-footer__grid { grid-template-columns: 1fr 1fr; }
    .vv-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .vv-menu-toggle { display: flex; }

    /* Mobile drawer nav */
    .vv-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: var(--vv-bg);
        box-shadow: var(--vv-shadow-xl);
        padding: 5rem 1.5rem 2rem;
        z-index: 1005;
        transition: right var(--vv-transition);
        overflow-y: auto;
    }
    .vv-nav--open {
        right: 0;
    }

    .vv-nav__list {
        flex-direction: column;
        gap: 0;
    }
    .vv-nav__list li a {
        padding: .85rem 1rem;
        font-size: 1rem;
        border-bottom: 1px solid var(--vv-border);
        border-radius: 0;
        color: var(--vv-text);
    }
    .vv-nav__list li a:hover {
        background: var(--vv-bg-alt);
        color: var(--vv-primary);
    }

    .vv-grid--2,
    .vv-grid--3,
    .vv-grid--4 { grid-template-columns: 1fr; }

    .vv-hero {
        min-height: 85vh;
        padding: 5rem 1.5rem 3rem;
    }

    .vv-page-hero {
        padding: 6rem 1.5rem 2.5rem;
    }

    .vv-contact-grid { grid-template-columns: 1fr; }

    .vv-footer__grid { grid-template-columns: 1fr; gap: 2rem; }

    .vv-article__meta { flex-direction: column; gap: .25rem; }

    .vv-filter__nav { padding-bottom: .5rem; }

    .vv-featured { min-height: 320px; }
    .vv-featured__link { min-height: 320px; }
    .vv-featured__content { padding: 1.5rem; }

    .vv-article-hero { height: 45vh; min-height: 280px; }
    .vv-article__header--overlap {
        margin-top: -3rem;
        padding: 1.5rem;
        border-radius: var(--vv-radius-lg);
    }

    .vv-stats { grid-template-columns: 1fr; gap: 1rem; }

    .vv-hero__actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .vv-hero__title { font-size: 1.9rem; }
    .vv-page-hero { padding: 5.5rem 1rem 2rem; }
    .vv-section { padding: 3rem 0; }
    .vv-cta__box { padding: 2rem 1.5rem; border-radius: var(--vv-radius-lg); }
    .vv-pricing { padding: 1.5rem; }
    .vv-partner-box { padding: 2rem 1.5rem; }
    .vv-newsletter-form { flex-direction: column; border-radius: var(--vv-radius-md); }
    .vv-newsletter-form button { margin: .3rem; border-radius: var(--vv-radius-full); }
}

/* ==========================================================================
   DARK MODE
   ========================================================================== */

@media (prefers-color-scheme: dark) {
    :root {
        --vv-bg: #0F1923;
        --vv-bg-alt: #162030;
        --vv-text: #D4DAE2;
        --vv-text-light: #8896A6;
        --vv-text-muted: #5E6B7A;
        --vv-dark: #F0F2F5;
        --vv-border: #243040;
        --vv-shadow-xs: 0 1px 2px rgba(0,0,0,.2);
        --vv-shadow: 0 2px 8px rgba(0,0,0,.25);
        --vv-shadow-md: 0 4px 16px rgba(0,0,0,.3);
        --vv-shadow-lg: 0 8px 32px rgba(0,0,0,.35);
        --vv-shadow-xl: 0 16px 48px rgba(0,0,0,.4);
        --vv-glass-bg: rgba(22,32,48,.75);
        --vv-glass-bg-light: rgba(22,32,48,.5);
        --vv-glass-bg-dark: rgba(15,25,35,.8);
        --vv-glass-border: rgba(255,255,255,.08);
        --vv-primary-lighter: #0F2A3A;
        --vv-warm-light: #2A1812;
    }

    .vv-card { background: #162030; }

    .vv-header--solid { background: #0F1923; }

    .vv-header--scrolled {
        background: rgba(22,32,48,.85);
    }

    .vv-contact-info {
        background: linear-gradient(135deg, #0A1018, #0B3048);
    }

    .vv-footer { background: #0A1018; }

    .vv-nav {
        background: #0F1923;
    }

    .vv-article__header--overlap {
        background: #162030;
    }

    .vv-benefit { background: #162030; }
    .vv-pricing { background: #162030; border-color: #243040; }
    .vv-partner-box { background: #162030; border-color: #243040; }

    .vv-form__group input,
    .vv-form__group select,
    .vv-form__group textarea {
        background: #162030;
        border-color: #243040;
        color: #D4DAE2;
    }

    .vv-form__group label {
        color: #5E6B7A;
    }
    .vv-form__group input:focus + label,
    .vv-form__group input:not(:placeholder-shown) + label,
    .vv-form__group select + label,
    .vv-form__group textarea:focus + label,
    .vv-form__group textarea:not(:placeholder-shown) + label {
        background: #162030;
    }

    .vv-share__btn {
        background: #1E2D3D;
        border-color: #243040;
    }

    .vv-filter {
        background: rgba(22,32,48,.85);
    }

    .vv-filter__link {
        border-color: #243040;
        color: #8896A6;
    }
}
