/* =======================================================
   FICHIER : shop-pages.css
   PROJET : HelloColis Shopping - Pages (FAQ, Contact, Magasins)
   VERSION : 2.0 (Corrigé - scroll + footer)
   ======================================================= */

:root {
    --neon-blue: #3BD0FF;
    --night-blue: #0A1C30;
    --deep-black: #061120;
    --ice-white: #EAF6FF;
    --muted-blue: #cfe4ef;
    --panel-dark: rgba(10, 28, 48, 0.9);
    --header-height: 70px;
    --header-height-tablet: 60px;
    --header-height-mobile: 55px;
    --gold: #FFD700;
}

/* -------------------------------------
   RESET & SCROLL (PAGES STATIQUES)
------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Permettre le scroll sur toutes les pages statiques */
html, body {
    overflow-y: auto !important;
    overflow-x: hidden;
    height: auto !important;
    min-height: 100vh;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--deep-black) 0%, var(--night-blue) 100%);
    color: var(--ice-white);
}

/* SCENE PRINCIPALE */
.page-scene {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 40px;
    min-height: calc(100vh - 80px);
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-sep {
    color: rgba(59, 208, 255, 0.3);
    margin: 0 4px;
}
/* ==================== SERVICES ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.service-card {
    background: var(--panel-dark);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    border: 1px solid rgba(59, 208, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-blue);
    box-shadow: 0 15px 35px rgba(59, 208, 255, 0.15);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--neon-blue);
}

.service-card p {
    font-size: 14px;
    color: var(--muted-blue);
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--neon-blue);
    margin-bottom: 4px;
}

.service-card small {
    font-size: 12px;
    color: rgba(207, 228, 239, 0.6);
}

.service-contact {
    font-size: 16px;
    font-weight: 600;
    color: var(--ice-white);
    margin: 8px 0;
}

/* Offres spéciales */
.service-card.offer {
    position: relative;
    overflow: hidden;
}

.offer-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: linear-gradient(90deg, var(--neon-blue), #2ab8e0);
    color: var(--deep-black);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 40px;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Bannière d'information */
.info-banner {
    background: var(--panel-dark);
    border-radius: 20px;
    padding: 28px;
    margin-top: 24px;
    border-left: 4px solid var(--neon-blue);
}

.info-banner h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--neon-blue);
}

.info-banner ul, .info-banner ol {
    padding-left: 24px;
    color: var(--muted-blue);
    line-height: 1.8;
}

.info-banner li {
    margin-bottom: 8px;
}

/* Newsletter */
.newsletter-section {
    text-align: center;
    background: linear-gradient(135deg, rgba(59, 208, 255, 0.1), rgba(59, 208, 255, 0.05));
    border-radius: 24px;
    padding: 40px;
    margin-top: 24px;
}

.newsletter-section h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--neon-blue);
}

.newsletter-section p {
    color: var(--muted-blue);
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(59, 208, 255, 0.2);
    border-radius: 30px;
    color: var(--ice-white);
    font-family: inherit;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--neon-blue);
}

.newsletter-form button {
    background: linear-gradient(90deg, var(--neon-blue), #2ab8e0);
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    color: var(--deep-black);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(59, 208, 255, 0.3);
}

/* Responsive services */
@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .offer-badge {
        font-size: 10px;
        padding: 3px 30px;
    }
}
/* Séparateur dans la navigation */
.nav-sep {
    color: rgba(59, 208, 255, 0.3);
    margin: 0 4px;
    font-size: 14px;
}

/* Ajustement responsive pour le séparateur */
@media (max-width: 800px) {
    .nav-sep {
        display: none;
    }
}
/* ==================== LIVRAISON ==================== */
.service-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--neon-blue), #2ab8e0);
    color: var(--deep-black);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: 12px;
    letter-spacing: 0.5px;
}

/* Zones de livraison */
.delivery-zones {
    margin: 32px 0;
}

.delivery-zones h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--neon-blue);
    text-align: center;
}

.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.zone-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    border: 1px solid rgba(59, 208, 255, 0.1);
    transition: all 0.3s;
}

.zone-card:hover {
    border-color: var(--neon-blue);
    transform: translateY(-3px);
}

.zone-card strong {
    color: var(--neon-blue);
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}

.zone-card p {
    font-size: 13px;
    color: var(--muted-blue);
    margin: 0;
}

/* Responsive livraison */
@media (max-width: 600px) {
    .zones-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-badge {
        font-size: 10px;
        padding: 3px 10px;
    }
}

@media (max-width: 400px) {
    .zones-grid {
        grid-template-columns: 1fr;
    }
}
/* -------------------------------------
   FOOTER - VERSION RELATIVE (NON FIXED)
------------------------------------- */
.shop-footer {
    position: relative;
    margin-top: 40px;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(59, 208, 255, 0.2);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6px 18px;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    margin-bottom: 2px;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
    color: var(--muted-blue);
}

.footer-copyright {
    order: 1;
    text-align: left;
}

.footer-credits {
    order: 2;
    text-align: center;
}

.footer-credits strong {
    color: var(--neon-blue);
    font-weight: 600;
}

.footer-link {
    order: 3;
    text-align: right;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 20px;
}

.footer-link:hover {
    color: var(--neon-blue);
    background: rgba(59, 208, 255, 0.1);
    transform: translateY(-2px);
}

/* -------------------------------------
   FIL D'ARIANE
------------------------------------- */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    font-size: 14px;
}

.breadcrumb-link {
    color: var(--muted-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-link:hover {
    color: var(--neon-blue);
}

.breadcrumb-separator {
    color: var(--muted-blue);
}

.breadcrumb-current {
    color: var(--neon-blue);
}

/* -------------------------------------
   HERO SECTION
------------------------------------- */
.page-hero {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
    background: var(--panel-dark);
    border-radius: 30px;
    border: 1px solid rgba(59, 208, 255, 0.2);
}

.page-hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Michroma', sans-serif;
    color: var(--neon-blue);
}

.page-hero-subtitle {
    font-size: 18px;
    color: var(--muted-blue);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== FAQ ==================== */
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.faq-category-link {
    background: rgba(59, 208, 255, 0.1);
    border: 1px solid rgba(59, 208, 255, 0.2);
    border-radius: 30px;
    padding: 8px 20px;
    color: var(--muted-blue);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.faq-category-link:hover {
    background: var(--neon-blue);
    color: var(--deep-black);
    transform: translateY(-2px);
}

.faq-section {
    margin-bottom: 48px;
}

.faq-section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--neon-blue);
    border-left: 4px solid var(--neon-blue);
    padding-left: 16px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(59, 208, 255, 0.15);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--neon-blue);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-question h3 {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: var(--ice-white);
}

.faq-icon {
    font-size: 20px;
}

.faq-toggle {
    font-size: 24px;
    font-weight: 300;
    color: var(--neon-blue);
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 20px 20px;
}

.faq-answer p {
    color: var(--muted-blue);
    line-height: 1.6;
}

.contact-cta {
    text-align: center;
    padding: 40px;
    background: var(--panel-dark);
    border-radius: 24px;
    margin-top: 40px;
}

.contact-cta p {
    margin-bottom: 20px;
    font-size: 18px;
}

.btn-contact-cta {
    background: linear-gradient(90deg, var(--neon-blue), #2ab8e0);
    color: var(--deep-black);
    padding: 12px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-contact-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 208, 255, 0.4);
}

/* ==================== CONTACT ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.contact-form-container {
    background: var(--panel-dark);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(59, 208, 255, 0.15);
}

.contact-form-container h2 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--neon-blue);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    color: var(--muted-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(20, 30, 50, 0.7);
    border: 1px solid rgba(59, 208, 255, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--ice-white);
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 0 2px rgba(59, 208, 255, 0.2);
}

.btn-submit {
    background: linear-gradient(90deg, var(--neon-blue), #2ab8e0);
    color: var(--deep-black);
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 208, 255, 0.4);
}

.form-success {
    margin-top: 20px;
    padding: 12px;
    background: rgba(59, 208, 255, 0.15);
    border-radius: 12px;
    text-align: center;
    color: var(--neon-blue);
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(59, 208, 255, 0.1);
    transition: all 0.3s;
}

.info-card:hover {
    border-color: var(--neon-blue);
    transform: translateY(-4px);
}

.info-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--neon-blue);
}

.info-card p {
    color: var(--ice-white);
    margin-bottom: 8px;
}

.info-card small {
    color: var(--muted-blue);
}

/* ==================== MAGASINS ==================== */
.stores-map {
    margin-bottom: 48px;
}

.map-placeholder {
    background: linear-gradient(135deg, #0A1C30, #0D2B4A);
    border-radius: 24px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid rgba(59, 208, 255, 0.2);
}

.map-marker {
    font-size: 48px;
    animation: bounce 2s infinite;
}

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

.map-placeholder p {
    color: var(--muted-blue);
}

.map-placeholder small {
    color: rgba(59, 208, 255, 0.5);
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.store-card {
    background: var(--panel-dark);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(59, 208, 255, 0.15);
    transition: all 0.3s;
}

.store-card:hover {
    border-color: var(--neon-blue);
    transform: translateY(-4px);
}

.store-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.store-icon {
    font-size: 32px;
}

.store-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--neon-blue);
}

.store-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.store-details p {
    font-size: 14px;
    color: var(--muted-blue);
    line-height: 1.5;
}

.store-directions {
    background: transparent;
    border: 1px solid rgba(59, 208, 255, 0.3);
    border-radius: 12px;
    padding: 10px;
    color: var(--muted-blue);
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
    font-family: inherit;
}

.store-directions:hover {
    background: rgba(59, 208, 255, 0.1);
    color: var(--neon-blue);
    border-color: var(--neon-blue);
}

/* BOUTON RETOUR */
.back-button {
    text-align: center;
    margin-top: 48px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid rgba(59, 208, 255, 0.3);
    color: var(--muted-blue);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-back:hover {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    transform: translateX(-4px);
}

/* -------------------------------------
   RESPONSIVE
------------------------------------- */
@media (max-width: 900px) {
    .page-scene {
        padding-top: calc(var(--header-height-tablet) + 30px);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stores-grid {
        grid-template-columns: 1fr;
    }

    .page-hero-title {
        font-size: 32px;
    }
}

@media (max-width: 600px) {
    .page-scene {
        padding-top: calc(var(--header-height-mobile) + 20px);
    }

    .page-container {
        padding: 0 16px;
    }

    .page-hero {
        padding: 30px 20px;
    }

    .page-hero-title {
        font-size: 24px;
    }

    .page-hero-subtitle {
        font-size: 14px;
    }

    .faq-section-title {
        font-size: 20px;
    }

    .faq-question h3 {
        font-size: 14px;
    }

    .contact-form-container {
        padding: 24px;
    }

    .store-card {
        padding: 20px;
    }

    .faq-categories {
        gap: 8px;
    }

    .faq-category-link {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* Footer mobile - 2 lignes */
    .footer-content {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px 12px;
        font-size: 9px;
    }

    .footer-copyright,
    .footer-credits {
        order: 1;
    }

    .footer-link {
        order: 2;
        width: 100%;
        justify-content: center;
        margin-top: 2px;
        text-align: center;
    }

    .footer-container {
        padding: 6px 12px;
    }
}

@media (max-width: 400px) {
    .footer-link svg {
        width: 14px;
        height: 14px;
    }
}


/* -------------------------------------
   SOUS-NAVIGATION (breadcrumb + menu)
------------------------------------- */
.sub-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(59, 208, 255, 0.2);
    border-top: 1px solid rgba(59, 208, 255, 0.1);
    z-index: 999;
    padding: 6px 0;
}

.sub-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* Breadcrumb à gauche */
.sub-nav-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    flex-wrap: wrap;
}

.breadcrumb-home {
    color: var(--neon-blue);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
}

.breadcrumb-home:hover {
    transform: translateY(-2px);
    text-shadow: 0 0 8px var(--neon-blue);
}

.breadcrumb-link {
    color: var(--muted-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-link:hover {
    color: var(--neon-blue);
}

.breadcrumb-current {
    color: var(--neon-blue);
    font-weight: 500;
}

.breadcrumb-sep {
    color: rgba(59, 208, 255, 0.4);
    font-size: 14px;
}

/* Navigation à droite */
.sub-nav-menu {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sub-nav-link {
    color: var(--muted-blue);
    text-decoration: none;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 20px;
    transition: all 0.3s;
    white-space: nowrap;
}

.sub-nav-link:hover {
    color: var(--neon-blue);
    background: rgba(59, 208, 255, 0.1);
}

.sub-nav-link.active {
    color: var(--neon-blue);
    background: rgba(59, 208, 255, 0.15);
}

/* Ajustement du padding-top pour les pages avec sub-nav */
.page-scene,
.about-scene,
.detail-scene {
    padding-top: calc(var(--header-height) + 45px) !important;
}

/* Responsive */
@media (max-width: 800px) {
    .sub-nav-container {
        flex-direction: column;
        gap: 8px;
        padding: 8px 16px;
    }

    .sub-nav-breadcrumb {
        justify-content: center;
    }

    .sub-nav-menu {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .sub-nav {
        top: var(--header-height-mobile);
    }

    .page-scene,
    .about-scene,
    .detail-scene {
        padding-top: calc(var(--header-height-mobile) + 70px) !important;
    }

    .sub-nav-link {
        font-size: 11px;
        padding: 3px 8px;
    }

    .breadcrumb-home {
        font-size: 14px;
    }

    .breadcrumb-link,
    .breadcrumb-current {
        font-size: 11px;
    }
}