/* === RESET ET BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #222;
    color: white;
    line-height: 1.6;
    overflow-x: hidden; /* Empêcher le scroll horizontal */
    /* Optimisations globales pour les images haute résolution */
    image-rendering: optimizeQuality;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Optimisations globales pour toutes les images */
img {
    /* Éviter les contours blancs bugués */
    border: none;
    outline: none;
    /* Améliorer le rendu sur tous les navigateurs */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimizeQuality;
    /* Accélération GPU pour éviter les artefacts */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* === NAVIGATION === */
.landing-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(34, 34, 34, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.landing-navbar.scrolled {
    background: rgba(34, 34, 34, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    letter-spacing: 2px;
}

.brand-logo {
    text-decoration: none;
    color: inherit;
}

.brand-logo:hover {
    text-decoration: none;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ccc;
}

.navbar-cta {
    background: white;
    color: #222;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.navbar-cta:hover {
    background: white;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.burger-line {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Animation du menu burger */
.mobile-menu-toggle.active .burger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active .burger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .burger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* === LAYOUT === */
.landing-container {
    margin-top: 80px;
}

.section-container {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.max-width {
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.hero-section {
    min-height: 70vh;
    position: relative;
}

.divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, white, transparent);
    margin: 2rem 0;
}

/* === TYPOGRAPHIE === */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.card-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.product-price {
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    letter-spacing: 1px;
}

.preorder-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.preorder-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* === CARDS === */
.card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    margin: 1rem 0;
    transition: transform 0.3s ease;
}

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

.preorder-notice {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.preorder-cta-card {
    background: rgba(255, 255, 255, 0.15);
}

/* === PRODUITS === */
.product-card {
    position: relative;
    overflow: hidden;
}

.product-flip-container {
    position: relative;
    height: 300px;
    margin-bottom: 1rem;
}

.product-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.product-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    /* Optimisations container pour images haute résolution */
    contain: paint layout style;
    isolation: isolate;
    transform: translateZ(0);
    will-change: transform;
}

.product-back {
    transform: rotateY(180deg);
}

.product-card-inner.flipped-left {
    transform: rotateY(180deg);
}

.product-card-inner.flipped-right {
    transform: rotateY(-180deg);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Optimisation spécifique pour écrans non-Retina */
    object-position: center center;
    /* Rendu haute qualité pour tous types d'écrans */
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: -webkit-crisp-edges;
    image-rendering: optimizeQuality;
    image-rendering: high-quality;
    /* Filtres ajustés pour écrans standards (non-Retina) */
    filter: 
        contrast(1.20) 
        saturate(1.25) 
        brightness(1.08) 
        blur(0px) 
        sharpen(1px);
    /* Transformations optimisées pour écrans externes */
    transform: translateZ(0) scale(1.002);
    will-change: transform, filter;
    /* Élimination complète des artefacts */
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    /* Anti-aliasing renforcé pour écrans non-Retina */
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: auto;
    text-rendering: optimizeLegibility;
    /* Optimisation navigateur pour écrans externes */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    /* Transition fluide */
    transition: filter 0.15s ease;
}

.product-placeholder {
    width: 100%;
    height: 100%;
    background: #666;
    display: none; /* Caché par défaut */
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.click-zone {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.click-zone:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.click-left { left: 0; }
.click-right { right: 0; }

/* Indicateurs visuels pour le flip */
.product-flip-container::before,
.product-flip-container::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    opacity: 0.6;
    z-index: 5;
    transition: all 0.3s ease;
    pointer-events: none;
}

.product-flip-container::before {
    left: 10px;
    border-left: 8px solid transparent;
    border-right: 8px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.product-flip-container::after {
    right: 10px;
    border-left: 8px solid white;
    border-right: 8px solid transparent;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.product-flip-container:hover::before,
.product-flip-container:hover::after {
    opacity: 1;
    transform: translateY(-50%) scale(1.2);
}

/* Instruction de flip */
.flip-instruction {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
    font-style: italic;
}

/* === GRILLES === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.collection-showcase-large {
    grid-column: span 2;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.collection-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
}

/* === BOUTONS === */
.btn-home {
    display: inline-block;
    background: white;
    color: #222;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-home:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.4);
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.preorder-cta-button {
    margin: 15px auto 0 auto;
    display: block;
    text-align: center;
}

/* === FORMULAIRES === */
.form-input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    color: white;
    margin-bottom: 1rem;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Styles spécifiques pour les selects et options */
select.form-input {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    appearance: none;
    -webkit-appearance: none;
    -moz-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='white' 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 1rem center;
    background-size: 1rem;
    padding-right: 3rem;
}

select.form-input option {
    background: #333;
    color: white;
    padding: 0.5rem;
}

/* Support pour navigateurs WebKit (Chrome, Safari) */
select.form-input option:hover {
    background: #555;
}

/* Styles pour Windows/Edge */
select.form-input::-ms-expand {
    display: none;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.newsletter-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.newsletter-form {
    max-width: 400px;
}

/* === CONTACT === */
.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.contact-details h4 {
    margin-bottom: 0.25rem;
}

/* === FOOTER === */
.footer-section {
    background: rgba(0, 0, 0, 0.5);
    padding: 3rem 2rem;
}

.space-y {
    margin: 2rem 0;
}

/* === ANIMATIONS === */
.section-container,
.card,
.product-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.section-container.visible,
.card.visible,
.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === STYLES SPÉCIFIQUES À LA PAGE === */
/* Hero section hybride - Desktop avec bannière, Mobile moderne */
.hero-section-hybrid {
    position: relative;
}

/* Version Desktop avec bannière (par défaut) */
.hero-desktop {
    display: block;
    height: 70vh;
    flex-direction: column;
}

.hero-mobile {
    display: none;
}

.hero-banner {
    flex: 1;
    height: 100%;
    background-image: url('assets/img/WEBP/Bannière_Astrolab_Stellon.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Optimisations pour améliorer la qualité de la bannière WEBP */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimizeQuality;
    /* Amélioration du contraste et des couleurs */
    filter: contrast(1.03) saturate(1.05) brightness(1.01);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
}

.hero-content {
    background: rgba(34, 34, 34, 0.95);
    padding: 40px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.9);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    border-left: 2px solid white;
    border-right: 2px solid white;
    padding: 0 20px;
    display: inline-block;
}

/* Version Mobile moderne (cachée par défaut) */
.hero-content-modern {
    text-align: center;
    max-width: 800px;
    z-index: 2;
    position: relative;
    margin: 0 auto;
    padding: 2rem;
}

.hero-brand {
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, white, transparent);
    margin: 0 auto 2rem;
}

.hero-subtitle-mobile {
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    border: none;
    padding: 0;
}

.hero-cta {
    margin-top: 2rem;
}

.btn-hero {
    display: inline-block;
    background: transparent;
    color: white;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 1px;
    border: 2px solid white;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: white;
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-hero:hover {
    color: #222;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-hero:hover::before {
    left: 0;
}

/* Anciens styles hero (conservés pour compatibilité) */
.hero-section-custom {
    height: 70vh;
    display: flex;
    flex-direction: column;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
}

.hero-content {
    background: rgba(34, 34, 34, 0.95);
    padding: 40px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.9);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    border-left: 2px solid white;
    border-right: 2px solid white;
    padding: 0 20px;
    display: inline-block;
}

/* Products grid custom */
.products-grid-custom {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Collection grid et items custom */
.collection-grid-custom {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.collection-item-custom {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
}

.collection-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    /* Optimisations pour améliorer la qualité des images de collection WEBP haute résolution */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: optimizeQuality;
    image-rendering: high-quality;
    /* Amélioration du contraste et de la netteté pour éliminer les artefacts */
    filter: contrast(1.12) saturate(1.20) brightness(1.05) unsharp-mask(amount=0.6, radius=0.4, threshold=0);
    /* Anti-aliasing renforcé */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Correction des contours blancs bugués */
    outline: none;
    border: none;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Optimisation GPU */
    transform: translateZ(0);
    will-change: transform;
}

/* Card icons */
.card-icon {
    width: 120px;
    height: 120px;
    background-color: #666;
    border-radius: 50%;
    margin: 0 auto 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    /* Optimisations pour améliorer la qualité des photos de profil WEBP */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimizeQuality;
    /* Amélioration légère pour les portraits */
    filter: contrast(1.02) saturate(1.05) brightness(1.01);
}

/* Grid 3 custom */
.grid-3-custom {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

/* Newsletter form custom */
.newsletter-form-custom {
    width: 400px;
}

/* Button container custom */
.button-container-custom {
    gap: 20px;
    margin-top: 32px;
}

/* Preorder CTA custom */
.preorder-cta-margin {
    margin-top: 24px;
}

.preorder-cta-title {
    color: white;
}

.preorder-cta-text {
    color: rgba(255,255,255,0.9);
}

/* Form elements */
.form-submit-full {
    width: 100%;
}

.hidden-checkbox {
    display: none;
}

/* Links */
.instagram-link {
    color: white;
    text-decoration: none;
}

.instagram-icon {
    color: rgba(255,255,255,0.8);
    font-size: 32px;
    transition: all 0.3s ease;
}

.footer-divider {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 32px;
    margin-top: 32px;
}

.footer-link {
    color: rgba(255,255,255,0.7);
}

/* === RESPONSIVE === */

/* Styles de base pour les images responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Large tablets et petits écrans desktop (1024px et moins) */
@media (max-width: 1024px) {
    .navbar-container {
        padding: 1rem 1.5rem;
    }
    
    .section-container {
        padding: 3rem 1.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 3rem;
        letter-spacing: 2px;
    }
    
    .hero-section-modern {
        min-height: 70vh;
        padding: 1.5rem;
    }
    
    .btn-hero {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
    
    .products-grid,
    .products-grid-custom {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .collection-showcase-large {
        grid-column: span 2;
    }
}

/* Tablets (768px et moins) */
@media (max-width: 768px) {
    /* Basculer vers la version mobile moderne */
    .hero-desktop {
        display: none;
    }
    
    .hero-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 60vh;
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
        position: relative;
    }
    
    .hero-mobile::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
        pointer-events: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .hero-subtitle-mobile {
        font-size: 1rem;
        letter-spacing: 1px;
        padding: 0 10px;
    }
    
    .btn-hero {
        padding: 0.9rem 1.8rem;
        font-size: 0.85rem;
    }
    .navbar-container {
        padding: 1rem;
    }
    
    .section-container {
        padding: 2.5rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-section-custom {
        height: 60vh;
    }
    
    .hero-section-modern {
        min-height: 60vh;
        padding: 1rem;
    }
    
    .hero-content {
        padding: 30px 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 1px;
        padding: 0 10px;
    }
    
    .btn-hero {
        padding: 0.9rem 1.8rem;
        font-size: 0.85rem;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .grid-3-custom {
        grid-template-columns: 1fr;
    }
    
    .navbar-menu {
        display: none;
    }
    
    .navbar-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .navbar-menu.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(34, 34, 34, 0.98);
        flex-direction: column;
        padding: 1rem 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .navbar-menu.active .navbar-cta {
        display: inline-block;
        text-align: center;
    }
    
    .products-grid,
    .products-grid-custom {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .collection-showcase-large {
        grid-column: span 1;
    }
    
    .collection-grid,
    .collection-grid-custom {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .button-container,
    .button-container-custom {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-home {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .card {
        padding: 1.5rem;
        margin: 0.8rem 0;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
    
    .preorder-title {
        font-size: 1.5rem;
    }
    
    .contact-info-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .newsletter-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-form,
    .newsletter-form-custom {
        width: 100%;
        max-width: none;
    }
}

/* Mobile large (480px et moins) */
@media (max-width: 480px) {
    .navbar-container {
        padding: 0.8rem;
    }
    
    .section-container {
        padding: 2rem 0.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .hero-section-custom {
        height: 50vh;
    }
    
    .hero-mobile {
        min-height: 50vh;
        padding: 0.8rem;
    }
    
    .hero-content {
        padding: 20px 10px;
    }
    
    .hero-title {
        font-size: 2rem;
        letter-spacing: 1px;
        margin-bottom: 0.8rem;
    }
    
    .hero-divider {
        width: 60px;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle-mobile {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
        padding: 0 5px;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }
    
    .btn-hero {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
    }
    
    .brand-text {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }
    
    .card {
        padding: 1.2rem;
        margin: 0.5rem 0;
    }
    
    .card-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .card-text {
        font-size: 0.9rem;
    }
    
    .btn-home {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .product-flip-container {
        height: 250px;
    }
    
    .card-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 16px;
    }
    
    .form-input {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .form-label {
        font-size: 0.9rem;
    }
    
    .contact-details h4 {
        font-size: 0.9rem;
    }
    
    .contact-details p {
        font-size: 0.85rem;
    }
    
    .instagram-icon {
        font-size: 28px;
    }
    
    .preorder-title {
        font-size: 1.3rem;
    }
    
    .preorder-subtitle {
        font-size: 0.85rem;
    }
}

/* Mobile très petit (360px et moins) */
@media (max-width: 360px) {
    .section-container {
        padding: 1.5rem 0.5rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-mobile {
        min-height: 40vh;
        padding: 0.5rem;
    }
    
    .btn-hero {
        padding: 0.7rem 1.2rem;
        font-size: 0.75rem;
    }
    
    .card {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .btn-home {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .product-flip-container {
        height: 200px;
    }
    
    .form-input {
        padding: 0.7rem;
    }
    
    .navbar-container {
        padding: 0.5rem;
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
}

/* Améliorations pour les écrans tactiles */
@media (hover: none) and (pointer: coarse) {
    .click-zone:hover {
        background-color: transparent;
    }
    
    .card:hover {
        transform: none;
    }
    
    .btn-home:hover {
        transform: none;
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    }
    
    /* Augmenter la zone de clic sur tactile */
    .btn-home {
        min-height: 44px;
        padding: 0.8rem 1.5rem;
    }
    
    .mobile-menu-toggle {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Optimisations pour écrans standards (non-Retina) */
@media (max-device-pixel-ratio: 1.5), (max-resolution: 144dpi) {
    .product-image, .collection-item-img, .card-icon img {
        /* Rendu optimisé pour écrans standards */
        image-rendering: -webkit-optimize-contrast;
        image-rendering: optimizeQuality;
        image-rendering: high-quality;
        /* Filtres renforcés pour écrans non-Retina */
        filter: contrast(1.25) saturate(1.30) brightness(1.10) sharpen(1.2px);
        /* Anti-aliasing adapté aux écrans standards */
        -webkit-font-smoothing: subpixel-antialiased;
        -moz-osx-font-smoothing: auto;
        /* Légère mise à l'échelle pour améliorer la netteté */
        transform: translateZ(0) scale(1.003);
        will-change: transform;
    }
    
    .hero-banner {
        /* Optimisation de la bannière pour écrans standards */
        filter: contrast(1.08) saturate(1.12) brightness(1.04);
        background-attachment: scroll;
    }
}

/* Optimisations pour écrans haute densité (Retina, 4K, etc.) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
    .product-image, .collection-item-img, .card-icon img {
        /* Rendu optimisé pour haute densité avec srcset */
        image-rendering: -webkit-optimize-contrast;
        image-rendering: optimizeQuality;
        /* Filtres plus légers pour écrans Retina (déjà nets) */
        filter: contrast(1.08) saturate(1.12) brightness(1.03);
        /* Anti-aliasing standard pour Retina */
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        /* Éviter les artefacts de redimensionnement avec srcset */
        transform: translateZ(0);
        will-change: transform;
        /* Optimisation pour images responsive */
        object-fit: cover;
        object-position: center;
    }
    
    .hero-banner {
        /* Optimisation de la bannière pour haute densité */
        filter: contrast(1.04) saturate(1.06) brightness(1.01);
        background-attachment: scroll; /* Évite les bugs sur mobile haute densité */
    }
}

/* Optimisations ultra haute densité (8K+) avec srcset */
@media (-webkit-min-device-pixel-ratio: 3), (min-resolution: 288dpi), (min-resolution: 3dppx) {
    .product-image, .collection-item-img {
        /* Rendu maximal pour ultra haute densité - ajusté pour srcset */
        image-rendering: optimizeQuality;
        filter: contrast(1.10) saturate(1.16) brightness(1.05);
        /* GPU acceleration pour performances avec images responsive */
        transform: translate3d(0, 0, 0);
        backface-visibility: hidden;
    }
}

/* Mode sombre automatique si supporté */
@media (prefers-color-scheme: dark) {
    /* Le site est déjà en mode sombre par défaut */
}
