/* ========================================
   SIKA - Mon Club Artisans Landing Page
   ======================================== */

/* CSS Variables */
:root {
    --primary-yellow: #FFC510;
    --blue-dark: #0D181C;
    --white: #FFFFFF;
    --light-gray: #f8f9fa;
    --text-gray: #666666;
    
    /* Typography */
    --font-saira: 'Saira', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 16px;
    --font-size-h2: 20px;
    --font-size-h1: 32px;
    --font-size-hero: 40px;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Container */
    --container-width: 1440px;
    --container-padding: 90px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 150px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-saira);
    font-size: var(--font-size-base);
    font-weight: 400;
    color: var(--blue-dark);
    line-height: 1;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image: 
        linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 50%),
        url('img/mosaique.png');
    background-size: 100% 200px, auto;
    background-position: top center, right top;
    background-repeat: no-repeat, no-repeat;
}

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

/* Placeholder pour images non disponibles */
img[src=""],
img[src$="placeholder.jpg"],
img:not([src]),
.image-placeholder {
    background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 50%, #e8e8e8 100%);
    border: 2px dashed #ccc;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    position: relative;
    color: #999;
    font-size: 14px;
    font-family: var(--font-saira);
}

img[src=""]::after,
img[src$="placeholder.jpg"]::after,
img:not([src])::after,
.image-placeholder::after {
    content: "📷 Image à venir";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    white-space: nowrap;
}

.hero-image[src=""]::after,
.hero-image:not([src])::after {
    content: "📷 Image Hero - Équipe d'artisans";
}

.products-image[src=""]::after,
.products-image:not([src])::after {
    content: "📷 Produits SIKA";
}

.mecanique-image[src=""]::after,
.mecanique-image:not([src])::after {
    content: "📷 Illustration mécanique";
}

.wallet-image[src=""]::after,
.wallet-image:not([src])::after {
    content: "📷 Wallet Mon Club Artisans";
}

.gamme-image[src=""]::after,
.gamme-image:not([src])::after {
    content: "📷 Gamme de produits";
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-saira);
    font-weight: 700;
    line-height: 1;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
    overflow-x: hidden;
}

.mobile-only {
    display: none;
}

@media (min-width: 768px) {
    body.header-fixed {
        padding-top: 250px;
    }
}

@media (max-width: 768px) {

    .mobile-only {
        display: block;
    }

    .desktop-only {
        display: none;
    }

    #rejoindre .qr-codes-section {
        display: none;
        margin: 0;
        gap:0;
    }

    #rejoindre .cta-button {
        margin-bottom: 0;
        width: 100%;
        margin: 20px auto 0;
        justify-content: center;
    }

    .container {
        padding: 0 20px;
    }
    

    #programme.programme-section {
        margin-top: 0;
    }

    /* Ajouter padding-top pour compenser le header fixed */
    .hero-section {
        padding-top: 100px;
    }
    
    section {
        padding: 30px 0;
    }
}

/* Decorative Background */
.decorative-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.mosaic {
    position: absolute;
    background: var(--primary-yellow);
    opacity: 0.1;
    border-radius: 20px;
}

.mosaic-1 {
    width: 750px;
    height: 1200px;
    top: 2700px;
    right: 200px;
    transform: rotate(15deg);
}

.mosaic-2 {
    width: 920px;
    height: 1180px;
    top: 5750px;
    right: 150px;
}

.mosaic-3 {
    width: 690px;
    height: 1200px;
    top: 1650px;
    left: 230px;
    transform: rotate(-10deg);
}

.mosaic-4 {
    width: 695px;
    height: 1200px;
    top: 4450px;
    right: 300px;
}

.mosaic-5 {
    width: 1088px;
    height: 1088px;
    top: 150px;
    right: 200px;
    border-radius: 50px;
    display: none; /* Masqué pour la section hero */
}

.circle {
    position: absolute;
    background: var(--primary-yellow);
    opacity: 0.15;
    border-radius: 50%;
}

.circle-1 {
    width: 774px;
    height: 774px;
    top: 1200px;
    right: 300px;
    display: none; /* Masqué pour la section hero */
}

/* Header */
.header {
    padding: 40px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

@media (max-width: 768px) {
    span.text-subtitle {
        display: inline-block;
    }
    
    .footer-mentions a,
    .footer-mentions span {
        display: inline;
    }

    .footer-mentions a {
    white-space: nowrap;
}

.footer-mentions span {
    display: inline-block;
}

    .gamme-text .cta-button {
        margin: 10px auto 0;
        justify-content: center;
        max-width: 90%;
        width: 100%;
    }

    .header {
        position: fixed;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 15px 0;
    }
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    animation: slideDown 0.4s ease-out;
    top: 0; left: 0; right: 0;
    position: fixed;
}

@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0.8;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo {
    height: 120px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled .logo {
    height: 80px;
    transform: scale(0.95);
}

.nav-left,
.nav-right {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-left {
    justify-content: flex-end;
}

.nav-right {
    justify-content: flex-start;
}

.nav-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-link {
    font-size: 16px;
    font-weight: 400;
    color: var(--blue-dark);
    white-space: nowrap;
    transition: color 0.3s ease;
    line-height: 22px;
    text-align: center;
    padding: 0 5px;
}

.nav-link:hover {
    color: var(--primary-yellow);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--blue-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.header.menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 4px);
    margin-left: 0;
}

.header.menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
}

.header.menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -7px);
    right:0;
}

@media (max-width:1200px) {
    .logo {
        width: 80px;
    }

    .nav-link {
        font-size: 14px;
        padding: 0;
    }

    .header {
        /*padding: 0;*/
    }
}

@media (min-width:768px) and (max-width:1200px){
    .header {
        padding: 0;
    }
}

@media (max-width: 992px) {
    .header .container {
        position: relative;
    }

    header.menu-open .nav-right {
        top: 300px !important;
        border: none !important;
        box-shadow: none !important;
    }

    .nav-left,
    .nav-right {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header.menu-open .nav-left,
    .header.menu-open .nav-right {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 110px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        justify-content: flex-start;
        gap: 15px;
        animation: slideDown 0.3s ease-out;
    }
    
    .header.menu-open .nav-left {
        align-items: center;
    }
    
    .header.menu-open .nav-right {
        align-items: center;
        border-top: 1px solid #e0e0e0;
        padding-top: 20px;
    }
    
    .header.menu-open .nav-link {
        font-size: 18px;
        padding: 5px;
        width: 100%;
        text-align: center;
    }

    .nav-logo {
        display: flex !important;
    }
}

/* Hero Section */
.hero-section {
    min-height: 900px;
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 1020px;
    margin: 0 auto;
}

.hero-slogan {
    margin-bottom: var(--spacing-lg);
    font-size: 40px;
}

.slogan-text {
    font-size: 40px;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 4px;
    font-family: var(--font-saira);
    color: var(--primary-yellow);
    text-transform: uppercase;
}

.slogan-text b {
    font-weight: 700;
}

.slogan-badge {
    display: inline-block;
    background: var(--blue-dark);
    color: var(--white);
    padding: 5px 10px;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 0;
    font-family: var(--font-saira);
    border-radius: 0;
}

.hero-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    max-width: 1020px;
    color: var(--blue-dark);
}

.hero-description b {
    font-weight: 700;
}

.hero-image {
    width: 100%;
    max-width: 977px;
    height: auto;
    border-radius: 10px;
    margin: 0 auto;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--blue-dark);
    color: var(--white);
    padding: 20px 60px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: var(--spacing-sm);
    font-family: var(--font-saira);
}

.cta-button:hover {
    background: #1a2832;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button-secondary {
    background: var(--white);
    color: var(--blue-dark);
    border: 2px solid var(--blue-dark);
}

.cta-button-secondary:hover {
    background: var(--blue-dark);
    color: var(--white);
}

/* Section Titles */
.section-subtitle {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: #FFC510;
    font-family: var(--font-saira);
    line-height: 1;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--blue-dark);
    font-family: var(--font-saira);
    text-transform: uppercase;
}

.section-title.light,
.section-subtitle.light {
    color: var(--white);
}

.section-title.centered,
.section-subtitle.centered {
    text-align: center;
}

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

/* Programme Section */
.programme-section {
    background: var(--white);
    background-image: url('img/ellipse.png');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: auto;
    margin-top: 50px;
}

.programme-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    align-items: center;
}

.programme-title-block {
    max-width: 600px;
}

.programme-products-visual {
    text-align: right;
}

.products-image {
    max-width: 600px;
    border-radius: 10px;
}

.programme-steps {
    margin-bottom: var(--spacing-2xl);
}

.step-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.step-card {
    background: var(--white);
    border:1px solid #FFC510;
    border-radius: 5px;
    display: flex;
    gap: var(--spacing-md);
    padding: 20px;
}

.step-icon {
    flex-shrink: 0;
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    font-size: 40px;
}

.step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-saira);
    line-height: 1;
    text-transform: uppercase;
}

.step-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--blue-dark);
    font-family: var(--font-saira);
    margin-bottom: 0;
}

.step-card:has(.qr-code-small) .step-content {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr;
    gap: 0 var(--spacing-md);
    align-items: start;
}

.step-card:has(.qr-code-small) .step-title {
    grid-column: 1 / -1;
}

.step-card:has(.qr-code-small) .step-description {
    grid-column: 1;
    grid-row: 2;
}

.qr-code-small {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    grid-column: 2;
    grid-row: 2;
    align-self: start;
}

.qr-code-small img {
    border-radius: 5px;
}

.boutiques-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

.boutique-card {
    border-radius: 10px;
    overflow: hidden;
}

.boutique-image {
    height: 178px;
    overflow: hidden;
}

.boutique-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.boutique-info {
    padding: var(--spacing-md);
}

.boutique-title {
    font-size: 17px;
    font-weight: 700;
    color: #FFC510;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-headings);
}

.boutique-description {
    font-size: 16px;
    line-height: 1.6;
    font-family: var(--font-primary);
    color: #000000;
}

/* Mécanique Points & Statut Sections */
.mecanique-points-section,
.mecanique-statut-section {
    padding: var(--spacing-md) 0;
    background: var(--white);
}

.mecanique-points-section {
    background-image: url('img/mosaique-1.png');
    background-repeat: no-repeat;
    background-position: left;
    background-size: contain;
}

.mecanique-statut-section {
    background-image: url('img/mosaique-2.png');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
}

.mecanique-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.mecanique-layout-reverse {
    direction: rtl;
}

.mecanique-layout-reverse > * {
    direction: ltr;
}

.mecanique-visual img {
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
}

.mecanique-content {
    max-width: 600px;
}

.mecanique-text {
    margin-top: var(--spacing-md);
}

.intro-text {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: var(--spacing-sm);
    color: #000000;
    text-transform: uppercase;
    font-weight: 700;
}

.points-list {
    list-style: none;
    padding: 0;
}

.points-list li {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: 10px;
    align-items: flex-start;
}

.bullet-point {
    color: var(--primary-yellow);
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 5px;
}

.points-list li span:last-child {
    flex: 1;
    font-size: 16px;
    line-height: 1.6;
}

/* Avantages Section */
.avantages-section {
    padding: var(--spacing-2xl) 0 0 0;
    background: var(--blue-dark);
    color: var(--white);
    position: relative;
    background-image: url('img/cercle.png');
    background-position: left calc(100% + 80px);
    background-repeat: no-repeat;
    background-size: auto;
}

.diagonal-separator-avantages {
    width: 100%;
    height: 60px;
    background: linear-gradient(to top right, #FFC510 0%, #FFC510 49%, var(--blue-dark) 50%, var(--blue-dark) 100%),
                linear-gradient(to top left, #FFC510 0%, #FFC510 49%, var(--blue-dark) 50%, var(--blue-dark) 100%);
    background-size: 50% 100%, 50% 100%;
    background-position: left center, right center;
    background-repeat: no-repeat;
    position: relative;
}

.avantages-header {
    text-align: left;
    margin-bottom: var(--spacing-2xl);
}

.avantages-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.avantages-section .cta-button {
    background-color: #FFC510;
    color: var(--blue-dark);
}

.avantages-left,
.avantages-right {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.avantage-card {
    padding: 0;
    border-radius: 10px;
    display: flex;
    gap: 0;
    align-items: stretch;
    position: relative;
    border:1px solid #FFC510;
    overflow: hidden;
}

.avantage-card .row {
    height: 100%;
    margin: 0;
    width: 100%;
}

.avantage-card .col-2:last-child {
    background: #FFC510;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
}

.avantage-card-large {
    /* min-height: 176px; */
}

.avantage-icon {
    flex-shrink: 0;
}

.avantage-icon .icon-circle {
    width: 80px;
    height: 80px;
    font-size: 35px;
}

.avantage-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.6;
}

.avantage-text .text-subtitle {
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
}

.avantage-text p {
    margin-bottom: 0;
    padding: 25px 0;
}

.avantage-card-large .play-button {
    position: static;
    transform: none;
    background: #ffffff;
    color: var(--blue-dark);
}

.avantage-card-large .play-button:hover {
    transform: scale(1.1);
}

.play-button {
    position: static;
    transform: none;
    width: 53px;
    height: 53px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-dark);
    font-size: 20px;
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.wallet-visual {
    max-width: 600px;
    margin: var(--spacing-2xl)  auto 0 auto;
}

.wallet-image {
    width: 100%;
    border-radius: 10px;
}

/* Cacher wallet-image dans hero section sur desktop */
.hero-content .wallet-image {
    display: none;
}

.circle-mobile-image {
    display: none;
}

/* Rejoindre Section */
.rejoindre-section {
    padding: var(--spacing-2xl) 0;
    background: #FFC510;
    background-image: 
        linear-gradient(to top right, #FFC510 0%, #FFC510 49%, var(--blue-dark) 50%, var(--blue-dark) 100%),
        linear-gradient(to top left, #FFC510 0%, #FFC510 49%, var(--blue-dark) 50%, var(--blue-dark) 100%);
    background-size: 50% 60px, 50% 60px, auto;
    background-position: left top, right top, left -80px;
    background-repeat: no-repeat;
}

.rejoindre-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 25px;
}

.rejoindre-content .section-subtitle {
    color: var(--blue-dark);
    font-weight: 400;
}

.qr-codes-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.qr-code-block {
    text-align: center;
}

.qr-label {
    font-size: 18px;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    font-weight: 700;
}

.qr-code-large {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 10px;
    padding: 8px;
}

.qr-code-large img {
    width: 100%;
    height: 100%;
}

/* Gamme Section */
.gamme-section {
    padding: var(--spacing-2xl) 0 0 0;
    background: var(--white);
    background-image: url('img/gammes-bg.png');
    background-repeat: no-repeat;
    background-position: top left;
}

.gamme-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.gamme-header .section-subtitle {
    font-weight: 400;
    color: var(--blue-dark);
    line-height: 22px;
}

.gamme-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.gamme-content-alt {
    padding: var(--spacing-xl) 0 0 0;
    border-radius: 20px;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.gamme-text {
    max-width: 500px;
    text-align: center;
}

.gamme-logo,
.gamme-logos {
    margin-bottom: var(--spacing-lg);
    text-align: center;
    justify-content: center;
}

.gamme-logo img {
    max-width: 200px;
    margin: auto;
}

.gamme-logos {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.gamme-logo-item {
    max-width: 150px;
    height: auto;
}

.gamme-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    color: var(--blue-dark);
}

.gamme-visual img {
    border-radius: 10px;
    max-width: 716px;
    width: 100%;
}

/* FAQ Section */
.faq-section {
    padding: var(--spacing-2xl) 0;
    background: var(--white);
    background-image: url('img/faq-bg.png');
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: contain;
}

.faq-section h2.section-title {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.faq-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.faq-item {
    border-radius: 10px;
    border:1px solid #FFC510;
    overflow: visible;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-saira);
    color: var(--blue-dark);
    line-height: 1;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    stroke: var(--blue-dark);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer-display {
    padding: 0 var(--spacing-lg);
    background: #FEEFCC;
    border-radius: 10px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease, transform 0.4s ease, padding 0.4s ease;
    grid-column: 1 / -1;
}

.faq-answer-display.show {
    max-height: 500px;
    opacity: 1;
    padding: var(--spacing-lg);
    transform: translateY(0);
}

.faq-answer-display p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray);
    margin: 0;
}

/* Footer */
.footer {
    background: var(--white);
    color: var(--blue-dark);
    padding: 0;
    border-top: 2px solid #FFC510;
}

.footer-content {
    display: grid;
    grid-template-columns: 3fr 1.5fr 1.5fr;
    gap: var(--spacing-xl);
    padding: var(--spacing-lg) 0;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: var(--font-saira);
}

.footer-divider {
    border: none;
    border-top: 1px solid #000000;
    margin: 0 0 15px 0;
}

.footer-column-sitemap .footer-sitemap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 20px;
}

.footer-sitemap a {
    font-size: 16px;
    color: var(--blue-dark);
    transition: color 0.3s ease;
    font-family: var(--font-saira);
    font-weight: 400;
}

.footer-sitemap a:hover {
    color: #FFC510;
}

.footer-social {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    transition: all 0.3s ease;
}

.social-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-link:hover {
    opacity: 0.7;
}

.footer-column-logo {
    align-items: center;
    justify-content: flex-start;
}

.footer-logo img {
    width: 140px;
    height: 140px;
    object-fit: contain;
}

.footer-contact {
    padding: var(--spacing-md) 0;
    text-align: left;
}

.footer-contact p {
    font-size: 16px;
    font-weight: 700;
    color: var(--blue-dark);
    font-family: var(--font-saira);
    line-height: 1.4;
    margin-bottom: 0;
}

.footer-contact b {
    font-weight: 700;
}

.footer-bottom {
    background: var(--blue-dark);
    padding: 8px 0;
    width: 100%;
}

.footer-mentions {
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: flex-start;
    font-size: 16px;
    color: var(--white);
    font-family: var(--font-saira);
    font-weight: 400;
}

.footer-mentions a {
    color: var(--white);
    transition: color 0.3s ease;
}

.footer-mentions a:hover {
    color: #FFC510;
}

.footer-mentions span {
    color: var(--white);
}

.footer-column-social,
.footer-column-logo {
    justify-content: flex-start;
}

/* Responsive Design */
@media (max-width: 1200px) {
    :root {
        --container-padding: 60px;
    }
}

@media (max-width: 992px) {

    body {
        background: none;
    }

    .hero-section {
        margin-top: 20px;
    }

    :root {
        --container-padding: 40px;
        --font-size-2xl: 32px;
    }
    
    .programme-header,
    .mecanique-layout,
    .avantages-content,
    .gamme-content,
    .faq-columns,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .step-row,
    .boutiques-section,
    .qr-codes-section {
        grid-template-columns: 1fr;
    }
    
    .mecanique-layout-reverse {
        direction: ltr;
    }
    
    .programme-products-visual {
        text-align: center;
    }
    
    /* Images à 100% sur tablette */
    .hero-image,
    .products-image,
    .mecanique-image,
    .wallet-image,
    .gamme-image {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 1000px) {
    :root {
        --container-padding: 20px;
        --font-size-2xl: 28px;
        --font-size-xl: 20px;
        --spacing-2xl: 40px;
        --spacing-xl: 30px;
        --spacing-lg: 20px;
        --spacing-md: 15px;
    }

    .footer-mentions {
        display: flex;
        flex-wrap: wrap; /* évite les retours moches */
        gap: 8px;
        align-items: center;
        font-size: 16px;
        color: var(--white);
        flex-direction: column;
    }

    .footer-mentions a {
        padding: 10px 0;
    }

    .footer-mentions span {
        margin: 0 6px;
        white-space: nowrap;
        display: none;
    }

    .faq-section h2.section-title {
        max-width: 200px;
        margin: 10px auto;
    }

    .footer-column-sitemap .footer-sitemap {
        grid-template-columns: repeat(1, 1fr);
    }

    #faq .cta-button {
        width: 100%;
        max-width: 90%;
        margin: 0 auto;
        justify-content: center;
    }

    .hero-content .cta-button {
        width: 100%;
        margin: 0 auto;
        text-align: center;
        justify-content: center;
        max-width: 90%;
    }

    /* Passage en colonne */
    .gamme-content,
    .gamme-content-alt {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    /* Texte en premier */
    .gamme-text {
        order: 1;
        max-width: 100%;
        display: contents; /* clé de la solution */
        text-align: center;
    }

    /* Image ensuite */
    .gamme-visual {
        order: 2;
    }

    .gamme-logo {
        margin-bottom: 0;
    }

    .gamme-content .gamme-text .cta-button {
        margin: 0;
    }

    .gamme-description {
        order: 1;
    }

    /* Bouton APRÈS l’image */
    .gamme-text .cta-button {
        order: 3;
        display: block;
        margin: var(--spacing-lg) auto 0;
        text-align: center;
    }

    .gamme-content {
        display: flex;
        flex-direction: column;
    }

    .qr-label {
        display: none;
    }

    .mobile-menu-toggle span:first-child{
        margin-left:3px;
    }

    .mobile-menu-toggle span:last-child{
        position: relative;
        right: 3px;
    }

    .avantages-section, .faq-section, .mecanique-statut-section, .gamme-section {
        background-image: none;
    }

    .qr-code-large {
        display: none;
    }

    .mecanique-layout {
        gap: var(--spacing-md);
    }

    .mecanique-points-section {
        background: none;
        padding-bottom: 0;
    }

    .mecanique-statut-section {
        padding-top:0;
    }
    
    .section-subtitle {
        margin-right: auto;
        margin-bottom: 0;
    }

    .boutiques-section {
        gap: var(--spacing-sm);
    }

    .slogan-text {
        font-size: 30px;
        max-width: 250px;
        margin: auto;
    }

    .hero-slogan {
        font-size: 30px;
    }
    
    .slogan-badge {
        font-size: 30px;
        padding: 7px;
    }
    
    .hero-section {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 30px;
    }
    
    .logo {
        height: 80px;
    }
    
    .nav-logo {
        width: 100%;
        justify-content: center;
    }
    
    .icon-circle {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .programme-section {
        background: none;
    }

    .boutique-image {
        height: auto;
    }
    .programme-products-visual {
        display: none;
    }

    .avantage-icon .icon-circle {
        width: 60px;
        height: 60px;
    }
    
    .play-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    /* Images à 100% sur mobile */
    .hero-image,
    .products-image,
    .mecanique-image,
    .wallet-image,
    .gamme-image,
    .boutique-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: cover;
    }
    
    /* Ajustements des cards avantages */
    .avantage-card .row {
        display: flex;
        flex-direction: row;
        gap: 6px;
        align-items: start !important;
        padding: 0;
        margin: 0;
    }
    
    .avantage-card .col-2:first-child {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: auto;
        flex-shrink: 0;
    }
    
    .avantage-card .col-8 {
        flex: 1;
        width: auto;
        max-width: 100%;
        padding: 0;
    }
    
    .avantage-card .col-2:last-child {
        display: none;
    }
    
    .avantage-card .col-2:first-child::after {
        content: '▶';
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 60px;
        width: 60px;
        height: 60px;
        background: #ffffff;
        color: var(--blue-dark);
        border-radius: 50%;
        font-size: 24px;
        cursor: pointer;
    }
    
    .avantage-card .avantage-icon .icon-circle {
        width: 60px;
        height: 60px;
    }
    
    .avantage-text p {
        padding: 0;
    }

    .avantage-card {
        padding: 10px;
    }
    
    /* Réorganiser la section mécanique des points sur mobile */
    .mecanique-layout {
        display: flex;
        flex-direction: column;
    }
    
    .mecanique-content {
        display: contents;
    }
    
    .mecanique-content .section-subtitle {
        order: 1;
    }
    
    .mecanique-content .section-title {
        order: 2;
    }
    
    .mecanique-visual {
        order: 3;
        margin: 0;
    }
    
    .mecanique-content .mecanique-text {
        order: 4;
    }
    
    .mecanique-content .cta-button {
        order: 5;
        margin-top: 20px;
        margin: 0 0 20px 0;
    }
    
    /* Prévenir le débordement horizontal */
    * {
        max-width: 100%;
    }
    
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    section {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .cta-button {
        padding: 25px 35px;
        font-size: 14px;
        margin-bottom: 0;
    }
    
    .programme-steps {
        margin-bottom: 10px;
    }

    .step-card {
        display: grid;
        grid-template-columns: 60px 1fr;
        gap: 15px;
        text-align: left;
        padding: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .step-icon {
        width: 60px;
        flex-shrink: 0;
    }
    
    .step-icon img {
        width: 60px;
        height: 60px;
        object-fit: contain;
    }
    
    .icon-circle {
        width: 60px;
        height: 60px;
        margin: 0;
    }
    
    .step-content {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .step-card:has(.qr-code-small) .step-content {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .qr-code-small {
        width: 110px;
        height: 110px;
        grid-column: unset;
        grid-row: unset;
    }
    
    .step-description {
        font-size: 14px;
        line-height: 1.4;
    }
    
    /* Images à 100% sur petit mobile */
    .hero-image,
    .products-image,
    .mecanique-image,
    .wallet-image,
    .gamme-image,
    .boutique-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    /* Cacher le wallet-visual de la section avantages sur mobile */
    .wallet-visual {
        display: none;
    }
    
    /* Cacher le wallet-image dans hero section sur mobile */
    .hero-content .wallet-image {
        display: none;
    }
    
    /* Afficher circle-mobile-image sur mobile */
    .circle-mobile-image {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 20px 0;
    }
    
    /* Prévenir le débordement horizontal */
    * {
        max-width: 100%;
    }
}
