:root {
    --primary-color: #3760a1;
    --secondary-color: #bf3747;
    --accent-color: #f9a447;
    --white: #ffffff;
    --black: #1a1a1a;
    --gray: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--black);
    overflow-x: hidden;
    background:var(--primary-color) !important;
}

/* Header et Navigation Desktop */
.header {
    position: fixed;
    /* top: 2rem; */
    /* left: 50%; */
    /* transform: translateX(-50%); */
    width: 100%;
    background-color: var(--primary-color);
    /* border: 2px solid var(--white); */
    backdrop-filter: blur(10px);
    /* border-radius: 50px; */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 15px 30px;
}

.header.scrolled {
    background-color: var(--primary-color);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: 60px;
}

.nav-menu-left, .nav-menu-right {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    align-items: center;
}

.nav-menu-left {
    gap: 2rem;
    margin-right: 30px;
}

.nav-menu-right {
    margin-left: 30px;
}

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

.logo-img {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

@media screen and (max-width: 1130px) {
    .logo-img {
        height: 50px;
    }
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin-left: 2rem;
}

.nav-item {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-item a {
    font-family: 'Luckiest Guy', cursive;
    text-decoration: none;
    color: var(--white);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.nav-item a:hover {
    color: var(--accent-color);
}

.nav-item a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Menu Mobile Toggle */
.menu-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.menu-mobile-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Menu Mobile */
.menu-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    transition: right 0.3s ease;
    z-index: 999;
}

.menu-mobile.active {
    right: 0;
}

.menu-mobile-content {
    padding: 6rem 2rem 2rem;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--primary-color);
}

.mobile-nav-section {
    margin: 2rem 0;
}

.mobile-section-title {
    font-family: 'Luckiest Guy', cursive;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.mobile-item {
    display: block;
    text-decoration: none;
    color: var(--white);
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.8rem;
    padding: 1rem 0;
    transition: color 0.3s ease;
}

.mobile-item:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--black);
    font-size: 1.2rem;
    padding: 1rem;
    border-radius: 15px;
    background-color: var(--gray);
    transition: all 0.3s ease;
    border: 2px solid var(--white);
}

.social-link i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--white);
}

/* Media Queries */
@media (max-width: 1200px) {
    .header {
        width: 80%;
    }
}

@media (max-width: 1130px) {
    .header {
        width: 100%;
    }

    .nav-container {
        justify-content: space-between;
    }

    .nav-menu {
        display: none;
    }

    .menu-mobile-toggle {
        display: flex;
    }

    .menu-mobile-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

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

    .menu-mobile-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px; /* Ajout d'un padding-top par défaut */
}

@media (max-width: 490px) {
    .hero {
        align-items: inherit;
        padding-top: 2rem;
    }
}

.hero2 {
    height: 70vh;
    width: 100%;
    background-image: url('./assets/images/aventure.png');
    background: var(--primary-color) !important;
    min-height: 400px; /* Hauteur minimale pour éviter la compression */
}

.hero-contact {
    height:40vh;
}

@media (max-width: 768px) {
    .hero-contact h1 {
        font-size: 4rem;
    }
}

.hero3 {
    background:var(--primary-color) !important;
}

.hero4 {
    background:var(--primary-color) !important;
}

@media (max-width: 768px) {
    .hero2, .hero3 {
        height: 80vh;
        min-height: 350px;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1s ease;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(55, 96, 161, 0.5),
        rgba(55, 96, 161, 0.3)
    );
    mix-blend-mode: multiply;
    z-index:1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem;
    max-width: 1000px;
}

.hero-main {
    margin-bottom: 3rem;
    position: relative;
}

.hero-logo {
    width: 350px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-slogan {
    font-family: 'Luckiest Guy', cursive;
    font-size: 4.5rem;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
    letter-spacing: 2px;
}

.hero-slogan span {
    display: inline-block;
    position: relative;
}

.hero-slogan span:first-child {
    color: var(--primary-color);
}

.hero-tagline-container {
    margin: 1rem 0 2rem 0;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-tagline {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.4;
}

.tagline-highlight {
    color: var(--secondary-color);
    font-family: 'Luckiest Guy', cursive;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.tagline-main {
    color: var(--white);
    margin-left: 0.5rem;
    font-family: "Luckiest Guy", cursive;
}

.hero-tagline-emphasis {
    font-family: 'Luckiest Guy', cursive;
    font-size: 2.5rem;
    color: var(--accent-color);
    letter-spacing: 1px;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
    padding: 0 3rem;
}

.star-left, .star-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--white);
    opacity: 0.8;
}

.star-left {
    left: 0;
    animation: starPulseLeft 2s infinite;
}

.star-right {
    right: 0;
    animation: starPulseRight 2s infinite;
}

.pme-badge {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.6s forwards;
    transition: all 0.3s ease;
}

.badge-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge-text {
    font-family: 'Luckiest Guy', cursive;
    color: var(--primary-color);
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.pme-badge i {
    color: var(--secondary-color);
    font-size: 1.4rem;
}

.badge-decoration {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.3rem;
}

.badge-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--accent-color);
    animation: dotPulse 1.5s infinite;
}

.badge-dot:nth-child(2) {
    animation-delay: 0.5s;
}

.badge-dot:nth-child(3) {
    animation-delay: 1s;
}

@keyframes starPulseLeft {
    0%, 100% { transform: translate(0, -50%) rotate(-10deg); }
    50% { transform: translate(-3px, -50%) rotate(0deg); }
}

@keyframes starPulseRight {
    0%, 100% { transform: translate(0, -50%) rotate(10deg); }
    50% { transform: translate(3px, -50%) rotate(0deg); }
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.5); opacity: 1; }
}

.pme-badge:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: 0 8px 20px rgba(55, 96, 161, 0.2);
}

.pme-badge:hover .badge-dot {
    animation-duration: 0.8s;
}

/* Media Queries */
@media (max-width: 768px) {
    .hero-slogan {
        font-size: 3rem;
    }

    .hero-tagline {
        font-size: 1.6rem;
    }

    .hero-tagline-emphasis {
        font-size: 2rem;
        padding: 0 2rem;
    }

    .badge-text {
        font-size: 1.1rem;
    }

    .pme-badge {
        padding: 1rem 2rem;
    }

    .hero-logo {
        width: 200px;
        margin-top:50px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 100px; /* Plus de padding sur mobile */
        min-height: 450px;
    }

    .hero2 {
        height: 60vh;
        min-height: 350px;
    }

    .hero-title {
        font-size: 2.5rem;
        padding: 0 1rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        padding: 0 1.5rem;
    }

    .hero-content {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 150px 0; /* Encore plus de padding pour les très petits écrans */
    }

    .hero2 {
        height: 60vh;
        min-height: 300px;
    }

    .hero-title {
        font-size: 2rem !important;
    }

    .hero-subtitle {
        font-size: 1.3rem !important;
    }
}

@media (max-width: 375px) {
    .hero2 {
        height: 70vh;
    }

    .hero-logo {
        display: none;
    }

    .hero .hero-main {
        padding-top:80px;
    }
}

/* Styles saisonniers */
.hero-background.hiver {
    background-image: url('./assets/images/index.png');
}

.hero-background.ete {
    background-image: url('./assets/images/index.png');
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Présentation */
.presentation {
    position: relative;
    padding: 2rem;
    background-color: var(--primary-color);
    overflow: hidden;
}

.presentation-container {
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.presentation-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.founders-tag {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.founders-photos {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.founder-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
    box-shadow: 0 4px 15px rgba(55, 96, 161, 0.2);
}

.founders-names {
    font-family: 'Luckiest Guy', cursive;
    color: var(--white);
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.section-title {
    font-family: 'Luckiest Guy', cursive;
    font-size: 3.8rem;
    color: var(--white);
    letter-spacing: 2px;
    line-height: 1.2;
}

.title-highlight {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.presentation-content {
    max-width: 1000px;
    margin: 0 auto 5rem;
}

.story-card {
    background: linear-gradient(135deg, rgba(55, 96, 161, 0.05), rgba(55, 96, 161, 0.1));
    border-radius: 30px;
    padding: 3rem;
    position: relative;
    transition: transform 0.3s ease;
}

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

.mission-card {
    background: linear-gradient(135deg, rgba(191, 55, 71, 0.05), rgba(249, 164, 71, 0.1));
}

.card-title {
    font-family: 'Luckiest Guy', cursive;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.story-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--primary-color);
}

.text-accent {
    color: var(--accent-color);
    font-weight: 600;
}

/* Section Valeurs */
.presentation-values {
    margin-top: 6rem;
    text-align: center;
    position: relative;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(55, 96, 161, 0.03) 0%, rgba(55, 96, 161, 0.08) 100%);
    border-radius: 40px;
}

.values-title {
    font-family: 'Luckiest Guy', cursive;
    font-size: 3.8rem;
    color: var(--white);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.values-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

.values-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media screen and (max-width: 1024px) {
    .values-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .values-container {
        grid-template-columns: repeat(1, 1fr);
    }
}

.value-item {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 25px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(55, 96, 161, 0.1);
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.value-item:hover {
    transform: translateY(-10px);
}

.value-item:hover::before {
    opacity: 0.03;
}

.value-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--white);
    font-size: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.value-item:hover .value-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(55, 96, 161, 0.2);
}

.value-item h3 {
    font-family: 'Luckiest Guy', cursive;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 0 0 1rem;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.value-description {
    color: var(--primary-color);
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    max-width: 280px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .presentation-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 800px;
        padding: 0 0.5rem;
    }

    .story-card {
        padding: 2.5rem;
    }

    .section-title {
        font-size: 3rem;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .presentation {
        padding: 6rem 1.5rem;
    }

    .presentation-header {
        margin-bottom: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .story-card {
        padding: 2rem;
    }

    .story-text {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .card-title {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }

    .founders-tag {
        margin-bottom: 1.5rem;
    }

    .founders-photos {
        gap: 0.5rem;
    }

    .founder-img {
        width: 50px;
        height: 50px;
    }

    .founders-names {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .presentation {
        padding: 4rem 1rem;
    }

    .section-title, .values-title {
        font-size: 2.5rem;
    }

    .story-card {
        padding: 1.5rem;
    }

    .story-text {
        font-size: 1rem;
    }

    .card-title {
        font-size: 1.5rem;
    }

    .founders-tag {
        margin-bottom: 1.5rem;
    }

    .founders-photos {
        gap: 0.5rem;
    }

    .founder-img {
        width: 50px;
        height: 50px;
    }

    .founders-names {
        font-size: 1.2rem;
    }
}

/* Section Chiffres Clés */
.key-figures {
    background-color: var(--primary-color);
    padding: 6rem 2rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.key-figures-container {
    max-width: 1400px;    margin: 0 auto;
}

.key-figures-content {
    text-align: center;
    margin-bottom: 4rem;
}

.key-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.number {
    font-family: 'Luckiest Guy', cursive;
    font-size: 5rem;
    color: var(--accent-color);
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.number::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.number.animate::after {
    transform: scaleX(1);
}

.number-label {
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.8rem;
    color: var(--white);
    margin-top: 0.5rem;
    letter-spacing: 1px;
}

.key-description {
    font-size: 1.4rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.highlight {
    color: var(--accent-color);
    font-weight: 600;
}

/* Carousel des partenaires */
.partners-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
    background:#f5f5f5;
    border-radius: 20px;
}

.carousel-track {
    display: flex;
    width: fit-content;
    animation: scroll 30s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-group {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 0 2rem;
}

.partner-logo {
    height: 60px;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Media Queries pour la section Chiffres Clés */
@media (max-width: 768px) {
    .key-figures {
        padding: 4rem 1.5rem;
    }

    .number {
        font-size: 3.5rem;
    }

    .number-label {
        font-size: 1.4rem;
    }

    .key-description {
        font-size: 1.2rem;
    }

    .partner-logo {
        height: 40px;
    }

    .carousel-group {
        gap: 2rem;
    }
}

/* Section Avis */
.testimonials {
    padding: 3rem 2rem;
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    max-width: 1400px;    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.testimonials .section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 3.5rem;
    color: var(--white);
    position: relative;
}

.testimonials .section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--white);
    border-radius: 25px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(55, 96, 161, 0.1);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.testimonial-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: transparent;
}

.testimonial-card:hover::before {
    opacity: 0.05;
}

.testimonial-content {
    position: relative;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-text::before {
    content: '"';
    font-family: 'Luckiest Guy', cursive;
    font-size: 5rem;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.3;
    position: absolute;
    top: -2rem;
    left: -1rem;
    line-height: 1;
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-text::before {
    transform: rotate(-10deg);
    opacity: 0.4;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    position: relative;
    padding-top: 1rem;
}

.testimonial-author::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color));
    transition: width 0.3s ease;
}

.testimonial-card:hover .testimonial-author::before {
    width: 70%;
}

.author-info {
    text-align: right;
}

.author-name {
    display: block;
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.author-platform {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    color: var(--primary-color);
    font-size: 0.9rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.testimonial-card:hover .author-platform {
    opacity: 1;
    transform: translateX(-5px);
}

.author-platform i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.testimonial-card:hover .author-platform i {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .testimonials {
        padding: 4rem 1.5rem;
    }

    .testimonials .section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

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

    .testimonial-card {
        padding: 2rem;
    }

    .testimonial-text {
        font-size: 1.1rem;
    }
}

/* Section FAQ */
.faq {
    padding: 3rem 2rem;
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq .section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 3.5rem;
    color: var(--white);
    position: relative;
}

.faq .section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

.faq-grid {
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.faq .question-text {
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.3rem;
    color: var(--white);
    letter-spacing: 0.5px;
    margin-bottom:0;
}

.faq-question i {
    color: var(--accent-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.15));
}

.faq-item.active .question-text {
    color: var(--accent-color);
}

.faq-item.active i {
    color: var(--accent-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 700px;
    padding: 2rem;
}

.faq-answer p {
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.faq .product-list {
    list-style: none;
    padding: 0;
}

.faq .product-list li {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    opacity: 0.9;
    list-style-type: none;
}

.faq .product-list li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.faq .product-list .highlight {
    color: var(--accent-color);
    font-weight: 600;
}

.faq-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.faq-social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-social-link:hover {
    color: var(--white) !important;
    transform: translateX(5px);
    border-color: transparent;
}

.faq-social-link i {
    font-size: 1.2rem;
}

.faq-answer a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.faq-answer a:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .faq {
        padding: 4rem 1.5rem;
    }

    .faq .section-title {
        font-size: 2.5rem;
    }

    .faq .question-text {
        font-size: 1.1rem;
    }

    .faq-answer p, 
    .product-list li {
        font-size: 1rem;
    }

    .faq-social-links {
        flex-direction: column;
    }
}

/* Section CTA */
.cta {
    padding: 3rem 2rem;
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.cta-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-box {
    width: 70%;
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 20px 40px rgba(55, 96, 161, 0.15);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(55, 96, 161, 0.2);
}

.cta-image {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cta-box:hover .cta-image img {
    transform: scale(1.05);
}

.cta-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(55, 96, 161, 0.2), rgba(191, 55, 71, 0.2));
    mix-blend-mode: multiply;
}

.cta-content {
    width: 50%;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(to bottom, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

.cta-title {
    font-family: 'Luckiest Guy', cursive;
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: 1px;
}

.cta-text {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    opacity: 0.9;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--accent-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.3rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.cta-button:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    box-shadow: 0 5px 15px rgba(191, 55, 71, 0.3);
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

@media (max-width: 1200px) {
    .cta-box {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .cta {
        padding: 4rem 1.5rem;
    }

    .cta-box {
        width: 100%;
        flex-direction: column;
    }

    .cta-image,
    .cta-content {
        width: 100%;
    }

    .cta-image {
        height: 250px;
    }

    .cta-content {
        padding: 2.5rem;
    }

    .cta-content::before {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60%;
        height: 4px;
    }

    .cta-title {
        font-size: 2.2rem;
        text-align: center;
    }

    .cta-text {
        font-size: 1.1rem;
        text-align: center;
    }

    .cta-button {
        align-self: center;
    }
}

/* Footer */
.footer {
    background: var(--primary-color);
    padding: 5rem 2rem 2rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    flex-shrink: 0;
}

.footer-logo {
    display: block;
    transition: transform 0.3s ease;
}

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

.footer-logo-img {
    width: 200px;
    height: auto;
}

.footer-nav {
    display: flex;
    gap: 4rem;
}

.footer-nav-group {
    min-width: 200px;
}

.footer-nav-title {
    font-family: 'Luckiest Guy', cursive;
    color: var(--accent-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-list li {
    margin-bottom: 1rem;
}

.footer-nav-list a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    opacity: 0.8;
    display: inline-block;
}

.footer-nav-list a:hover {
    opacity: 1;
    transform: translateX(5px);
    color: var(--accent-color);
}

.footer-social-links {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.footer-social-link:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(249, 164, 71, 0.3);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-legal a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--accent-color);
}

@media (max-width: 1024px) {
    .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 3rem;
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .footer-nav-group {
        min-width: auto;
        width: 100%;
    }

    .footer-social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 1.5rem 1.5rem;
    }

    .footer-logo-img {
        width: 150px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-copyright,
    .footer-legal {
        width: 100%;
    }
}

/* Section Teasing Produits */
.products-teasing {
    padding: 3rem;
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.products-container {
    max-width: 1400px;    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.products-container .section-title {
    text-align: center;
}

.products-subtitle {
    text-align: center;
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 4rem;
    opacity: 0.9;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Classes pour centrer automatiquement les cartes produits */
.products-grid-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.products-grid-flex .product-card {
    flex: 0 0 calc(40% - 23px);
    margin-bottom: 10px;
}

.product-2 .product-card {
    flex: 0 0 calc(25% - 23px) !important;
}


@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid-flex .product-card,
    .products-grid-3 .product-card,
    .products-grid-2 .product-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .product-category {
        margin-bottom: 60px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .products-grid-flex .product-card,
    .products-grid-3 .product-card,
    .products-grid-2 .product-card {
        flex: 0 0 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

.product-card {
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.empty-card {
    background-color: transparent;
    box-shadow: none;
    border: 2px dashed rgba(var(--primary-color-rgb), 0.2);
    border-radius: 20px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.empty-card:after {
    content: "Bientôt disponible";
    color: rgba(var(--text-color-rgb), 0.5);
    font-size: 0.9em;
    font-weight: 500;
}

.product-image {
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(55, 96, 161, 0.15);
}

.product-card h4 {
    font-family: 'Luckiest Guy', cursive;
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.product-card p {
    font-size: 0.9rem;
    color: var(--accent-color);
    opacity: 0.9;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.products-cta {
    text-align: center;
    margin-top: 2rem;
}

.discover-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--accent-color);
    color: var(--white);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.3rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.discover-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(191, 55, 71, 0.3);
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-category {
        margin-bottom: 60px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .product-card {
        max-width: 350px;
        margin: 0 auto;
        min-height: 350px;
        padding: 1.5rem;
    }

    .discover-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .product-image {
        padding-bottom: 55%;
    }

    .product-name {
        font-size: 1.6rem;
    }

    .product-description {
        font-size: 1rem;
    }
}

/* Styles pour Notre Aventure */
.hero-title {
    font-family: 'Luckiest Guy', cursive;
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--white);
    opacity: 0.9;
}

/* Section Histoire - Version Améliorée */
.story {
    padding: 3rem 2rem;
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.story-container {
    max-width: 1400px;    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.story-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
    padding: 0 20px;
}

.story-intro .section-title {
    flex: 1;
    margin: 0;
    text-align: center;
    font-size: 2.5em;
    line-height: 1.2;
    color: var(--text-color);
    position: relative;
}

@media (max-width: 768px) {
    .story-intro {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
    }

    .story-intro .section-title {
        max-width: 100%;
        font-size: 2em;
        text-align: center;
    }

    .story-image2 {
        max-width: 100%;
    }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.story-intro .section-title {
    margin-bottom: 2rem;
    color: var(--white);
    font-size: 4rem;
    text-shadow: 2px 2px 0 rgba(55, 96, 161, 0.1);
    position: relative;
    display: inline-block;
}

@media (max-width: 768px) {
    .story-intro .section-title {
        font-size: 1.5rem;
        padding: 0;
    }
}

@keyframes gradientFlow {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.intro-text {
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--white);
    opacity: 0.9;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
}

.story-grid {
    display: flex;
    flex-direction: column;
    gap: 8rem;
    margin-bottom: 8rem;
    position: relative;
}

.story-card {
    display: flex;
    align-items: center;
    gap: 6rem;
    position: relative;
    perspective: 1000px;
    background: var(--white);
}

.story-card.reverse {
    flex-direction: row-reverse;
}

.story-image {
    flex: 1;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(55, 96, 161, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.story-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(249, 164, 71, 0.2), 
        rgba(191, 55, 71, 0.2), 
        rgba(55, 96, 161, 0.2)
    );
    mix-blend-mode: overlay;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.story-image:hover::before {
    opacity: 1;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center;
    transform:scale(1.05);
}


.story-content {
    flex: 1;
    padding: 3rem;
    position: relative;
    z-index: 1;
    border: 3px solid var(--primary-color);
    border-radius: 30px;
}

.story-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95));
    border-radius: 30px;
    box-shadow: 
        0 10px 30px rgba(55, 96, 161, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    z-index: -1;
    transition: transform 0.3s ease;
}

.story-content h3 {
    font-family: 'Luckiest Guy', cursive;
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    line-height: 1.2;
    position: relative;
    padding-left: 2rem;
}

.story-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 80%;
    background: linear-gradient(to bottom, var(--accent-color), var(--secondary-color));
    border-radius: 3px;
    animation: pulseBar 2s infinite;
}

@keyframes pulseBar {
    0%, 100% { transform: translateY(-50%) scaleY(1); }
    50% { transform: translateY(-50%) scaleY(1.2); }
}

.story-content p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--primary-color);
    opacity: 0.9;
    position: relative;
    padding-left: 1rem;
}

.story-content p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
    opacity: 0.3;
}

.story-vision {
    text-align: center;
    padding: 8rem 3rem;
    background: linear-gradient(135deg, var(--primary-color), #2d4d82);
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 30px 60px rgba(55, 96, 161, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.story-vision::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at top right, rgba(249, 164, 71, 0.2) 0%, rgba(249, 164, 71, 0) 50%),
        radial-gradient(circle at bottom left, rgba(191, 55, 71, 0.2) 0%, rgba(191, 55, 71, 0) 50%);
    animation: glowPulse 5s infinite alternate;
}

@keyframes glowPulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

@media (max-width: 1024px) {
    .story-card {
        flex-direction: column;
        gap: 3rem;
    }

    .story-card.reverse {
        flex-direction: column;
    }

    .story-content {
        text-align: center;
        padding: 0 2rem;
    }

    .story-content h3::before {
        left: 50%;
        top: -20px;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
    }

    .story-content h3 {
        padding-left: 0;
        padding-top: 2rem;
    }
}

@media (max-width: 768px) {
    .story {
        padding: 4rem 1.5rem;
    }

    .story-intro {
        margin-bottom: 4rem;
    }

    .intro-text {
        font-size: 1.2rem;
    }

    .story-grid {
        gap: 4rem;
    }

    .story-content h3 {
        font-size: 2rem;
    }

    .story-content p {
        font-size: 1.1rem;
    }

    .vision-content h3 {
        font-size: 2.5rem;
    }

    .vision-content p {
        font-size: 1.2rem;
    }

    .vision-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

/* Section Produits */
.products-section {
    padding: 3rem 2rem;
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}

@keyframes backgroundPulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.products-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.products-header {
    text-align: center;
    margin-bottom: 6rem;
}

.products-title {
    font-family: 'Luckiest Guy', cursive;
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 0 rgba(55, 96, 161, 0.1);
}

.products-subtitle {
    font-size: 1.6rem;
    color: var(--accent-color);
    opacity: 0.9;
}

.product-category {
    margin-bottom: 8rem;
    position: relative;
}

.category-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.category-title {
    font-family: 'Luckiest Guy', cursive;
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.category-subtitle {
    font-size: 1.4rem;
    color: var(--accent-color);
    font-family: 'Luckiest Guy', cursive;
    letter-spacing: 1px;
}

.category-subtitle::before,
.category-subtitle::after {
    content: '✦';
    margin: 0 1rem;
    color: var(--accent-color);
    opacity: 0.6;
}

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

@media (max-width: 768px) {
    .featured-products {
        grid-template-columns: repeat(1, 1fr);
    }
}

.product-card {
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(55, 96, 161, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(55, 96, 161, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.8);
}

.product-image {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(55, 96, 161, 0.05), rgba(191, 55, 71, 0.05));
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2rem;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.1) rotate(5deg);
}

.product-info {
    padding: 2.5rem;
    position: relative;
}

@media (max-width: 768px) {
    .product-info {
        padding: 1.5rem 0;
    }
}

.product-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.product-name {
    font-family: 'Luckiest Guy', cursive;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-description {
    font-size: 1.2rem;
    color: var(--secondary-color);
    opacity: 0.9;
    line-height: 1.6;
}

.secondary-products {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.secondary-title {
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.secondary-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

.secondary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.secondary-item {
    background: var(--white);
    padding: 1.2rem;
    border: 2px solid var(--accent-color);
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(55, 96, 161, 0.08);
}

.secondary-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(55, 96, 161, 0.12);
}

.secondary-image {
    margin: 0 auto 1rem;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(55, 96, 161, 0.05), rgba(191, 55, 71, 0.05));
}

.secondary-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform 0.5s ease;
}

.secondary-item:hover .secondary-image img {
    transform: scale(1.1) rotate(5deg);
}

.secondary-name {
    font-family: 'Luckiest Guy', cursive;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
}

.secondary-description {
    font-size: 0.9rem;
    color: var(--accent-color);
    opacity: 0.8;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .products-section {
        padding: 2rem 0rem;
    }

    .products-title {
        font-size: 2.5rem;
    }

    .products-subtitle {
        font-size: 1.3rem;
    }

    .category-title {
        font-size: 2rem;
    }

    .category-subtitle {
        font-size: 1rem;
        width: 90%;
        margin: 0 auto;
        text-align: center;
    }

    .product-name {
        font-size: 1.8rem;
    }

    .product-description {
        font-size: 1.1rem;
    }

    .secondary-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }

    .secondary-name {
        font-size: 1.1rem;
    }

    .secondary-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .secondary-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 0.8rem;
    }
}

/* Animations spécifiques */
.product-category {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.product-category:nth-child(2) {
    animation-delay: 0.2s;
}

.product-category:nth-child(3) {
    animation-delay: 0.4s;
}

.product-category:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Quiz */
.quiz-section {
    padding:  2rem;
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}

@keyframes quizBackground {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 1; }
}

.quiz-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.quiz-header {
    text-align: center;
    margin-bottom: 4rem;
}

.quiz-title {
    font-family: 'Luckiest Guy', cursive;
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.quiz-subtitle {
    font-size: 1.4rem;
    color: var(--white);
    opacity: 0.9;
}

/* Écran de démarrage */
.quiz-start-screen {
    background: var(--primary-color);
    border-radius: 30px;
    padding: 4rem;
    text-align: center;
    box-shadow: 
        0 20px 40px rgba(55, 96, 161, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.quiz-start-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(55, 96, 161, 0.05),
        rgba(191, 55, 71, 0.05)
    );
    z-index: 0;
}

.quiz-intro {
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
}

.quiz-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    animation: trophyShine 3s infinite;
}

@keyframes trophyShine {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.quiz-intro h3 {
    font-family: 'Luckiest Guy', cursive;
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.quiz-intro p {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 2rem;
}

.quiz-start-btn {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--white);
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.quiz-start-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(55, 96, 161, 0.2);
}

.quiz-rules {
    position: relative;
    z-index: 1;
    max-width: 400px;
    margin: 0 auto;
}

.quiz-rules h4 {
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.quiz-rules ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quiz-rules li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    font-size: 1.1rem;
}

.quiz-rules li i {
    color: var(--accent-color);
}

/* Zone de jeu */
.quiz-game {
    background: var(--white);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 
        0 20px 40px rgba(55, 96, 161, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5);
}

.quiz-progress {
    margin-bottom: 3rem;
}

.progress-bar {
    height: 8px;
    background: rgba(55, 96, 161, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    width: 20%;
    transition: width 0.3s ease;
}

.quiz-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.quiz-timer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-weight: bold;
}

.quiz-score {
    font-family: 'Luckiest Guy', cursive;
    color: var(--accent-color);
}

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

.question-text {
    font-family: 'Luckiest Guy', cursive;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    line-height: 1.4;
}

.answers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.answer-btn {
    background: var(--white);
    border: 2px solid rgba(55, 96, 161, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    font-size: 1.2rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.answer-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.answer-btn span {
    position: relative;
    z-index: 1;
}

.answer-btn:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
}

.answer-btn.correct {
    background: #4CAF50;
    color: var(--white);
    border-color: #4CAF50;
}

.answer-btn.wrong {
    background: #F44336;
    color: var(--white);
    border-color: #F44336;
}

.answer-btn.selected {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.validate-btn {
    grid-column: 1 / -1;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 1.2rem;
    border-radius: 15px;
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.validate-btn:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--secondary-rgb), 0.3);
}

@media (max-width: 768px) {
    .validate-btn {
        font-size: 1.1rem;
        padding: 1rem;
    }
}

/* Écran des résultats */
.quiz-results {
    background: var(--white);
    border-radius: 30px;
    padding: 1rem;
    text-align: center;
    box-shadow: 
        0 20px 40px rgba(55, 96, 161, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5);
}

.results-header {
    margin-bottom: 3rem;
}

.results-header i {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    animation: crownFloat 3s ease-in-out infinite;
}

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

.results-header h3 {
    font-family: 'Luckiest Guy', cursive;
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .results-header h3 {
        font-size: 2rem;
    }
}

.final-score {
    font-size: 2rem;
    color: var(--accent-color);
    font-family: 'Luckiest Guy', cursive;
}

.results-details {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.result-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.result-stat i {
    color: var(--accent-color);
}

.results-message {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    color: #444;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
}

@media (max-width: 768px) {
    .results-message {
        font-size: 1rem;
    }
}

.results-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.retry-btn, .share-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .retry-btn, .share-btn {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}

.retry-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
}

.share-btn {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.retry-btn:hover, .share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(55, 96, 161, 0.2);
}

@media (max-width: 768px) {
    .quiz-section {
        padding: 4rem 1.5rem;
    }

    .quiz-title {
        font-size: 2.5rem;
    }

    .quiz-start-screen {
        padding: 2rem;

    }

    .quiz-intro h3 {
        font-size: 2rem;
    }

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

    .results-details {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .quiz-game {
        padding: 2rem;
    }

    .question-text {
        font-size: 1.6rem;
    }
}

/* Section Contact */
.contact-section {
    padding: 3rem 2rem;
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}

@keyframes contactBackground {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 1; }
}

.contact-container {
    max-width: 1400px;    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

/* Informations de contact */
.contact-info {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4b8c 100%);
    padding: 3rem;
    border-radius: 30px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(55, 96, 161, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.info-header {
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.info-header h2 {
    font-family: 'Luckiest Guy', cursive;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white) 0%, #f1f5f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.contact-info .info-content {
    position: relative;
    z-index: 1;
}

.contact-info .info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: 0 10px 20px rgba(249, 164, 71, 0.3);
}

.info-text h3 {
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.info-text a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.info-text a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.contact-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 30px;
}

.decoration-element {
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    border-radius: 50%;
    filter: blur(40px);
    animation: decorationFloat 10s ease-in-out infinite alternate;
}

@keyframes decorationFloat {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-30%, -30%) scale(1.2); opacity: 0.8; }
}

/* Formulaire */
.contact-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 
        0 20px 40px rgba(55, 96, 161, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-group label {
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-container i {
    position: absolute;
    left: 1rem;
    color: var(--primary-color);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.input-container input,
.input-container select,
.input-container textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid rgba(55, 96, 161, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--primary-color);
    background: transparent;
    transition: all 0.3s ease;
}

.input-container textarea {
    min-height: 150px;
    resize: vertical;
    padding:1rem;
}

.input-container input:focus,
.input-container select:focus,
.input-container textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(249, 164, 71, 0.1);
}

.input-container:focus-within i {
    color: var(--accent-color);
    opacity: 1;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    align-self: center;
    min-width: 200px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(55, 96, 161, 0.2);
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info {
        padding: 2.5rem;
    }

    .info-header h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 4rem 1.5rem;
    }

    .info-header h2 {
        font-size: 2rem;
    }

    .info-header p {
        font-size: 1.1rem;
    }

    .contact-form-container {
        padding: 2rem;
    }

    .form-group label {
        font-size: 1.1rem;
    }

    .submit-btn {
        width: 100%;
    }

    .contact-social-links {
        flex-direction: column;
    }

    .contact-social-link {
        width: 100%;
        justify-content: center;
    }
}

.legal-section {
    padding: 3rem 2rem;
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.legal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(var(--primary-rgb), 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(var(--primary-rgb), 0.05) 0%, transparent 50%);
    animation: legalBackground 20s ease infinite alternate;
}

@keyframes legalBackground {
    0% { 
        transform: scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.8;
    }
    100% { 
        transform: scale(1);
        opacity: 0.5;
    }
}

.legal-container {
    max-width: 1400px;    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.legal-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.legal-header h1 {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-family: var(--title-font);
    text-shadow: 2px 2px 0 rgba(var(--primary-rgb), 0.1);
    position: relative;
    display: inline-block;
}

.legal-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent,
        var(--primary-color),
        var(--accent-color),
        var(--primary-color),
        transparent
    );
    border-radius: 2px;
}

.legal-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 4rem;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(var(--primary-rgb), 0.05);
    backdrop-filter: blur(10px);
}

.legal-block {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid rgba(var(--primary-rgb), 0.1);
    position: relative;
}

.legal-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}


.legal-block h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-family: var(--title-font);
    position: relative;
    display: inline-block;
}


.legal-section .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.legal-section .info-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    padding: 2rem;
    
    /* Ajouts pour résoudre le problème de débordement sur mobile */
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    box-sizing: border-box;
}


.legal-section .info-item:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(var(--primary-rgb), 0.1);
}


.legal-section .info-item h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-family: var(--title-font);
    position: relative;
    padding-bottom: 0.5rem;
}


.legal-section .info-item p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.legal-section .info-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    display: inline-block;
}


.legal-section .info-item a:hover {
    color: var(--accent-color);
}

.legal-section .info-item a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
    background: var(--accent-color);
}

.legal-block p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 900px;
    position: relative;
}


@media (max-width: 1024px) {
    .legal-section {
        padding: 6rem 2rem;
    }

    .legal-header h1 {
        font-size: 3.5rem;
    }

    .legal-block h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .legal-section {
        padding: 4rem 1.5rem;
    }

    .legal-header h1 {
        font-size: 2.8rem;
    }

    .legal-content {
        padding: 2.5rem;
        border-radius: 20px;
    }

    .legal-block h2 {
        font-size: 2rem;
    }

    .legal-section .info-grid {
        grid-template-columns: 1fr;
    }

    .legal-block::before {
        left: -15px;
    }
}

@media (max-width: 480px) {
    .legal-section {
        padding: 3rem 1rem;
    }

    .legal-header h1 {
        font-size: 2.4rem;
    }

    .legal-content {
        padding: 2rem;
    }

    .legal-block h2 {
        font-size: 1.8rem;
    }

    .legal-section .info-item {
        padding: 1.5rem;
    }
} 

.legal-block h2 {
    font-family: 'Luckiest Guy', cursive;
}

.info-item h3 {
    font-family: 'Luckiest Guy', cursive !important;
}

.products-teasing .product-card {
    grid-template-columns: 1fr;
}

.products-teasing .product-card img {
    width: 100%;
    height: 100%;
}

#cajou-nature, #cajou-espelette, #popcorn-sale, #crackers-bbq {
    transform: scale(1.2);
}


.timeline-card {
    position: relative;
    padding: 40px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    margin-bottom: 40px;
    border: 3px solid #FFF;
}

.timeline-list {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    list-style: none;
    padding: 40px 0;
}

.timeline-list::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, 
        transparent, 
        var(--accent-color), 
        var(--primary-color),
        var(--accent-color), 
        transparent);
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(var(--accent-color-rgb), 0.3);
}

.timeline-item {
    width: 45%;
    position: relative;
    margin-bottom: 30px;
    background: rgba(255, 255, 255);
    padding: 20px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(55, 96, 161, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.timeline-item:nth-child(odd) {
    margin-right: auto;
    margin-left: 0;
}

.timeline-item:nth-child(even) {
    margin-left: auto;
    margin-right: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1), 
                0 0 0 8px rgba(255, 255, 255, 0.05);
    top: 50%;
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd)::before {
    right: -57px;
}

.timeline-item:nth-child(even)::before {
    left: -57px;
}

.timeline-date {
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.2em;
    color: var(--accent-color);
    margin-bottom: 10px;
    display: block;
}

.timeline-text {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0.9;
}

.timeline-item:hover::before {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.15), 
                0 0 0 12px rgba(255, 255, 255, 0.1);
}

@media (max-width: 1025px) {
    .timeline-list::before {
        left: 0;
    }
    
    .timeline-item {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
    
    .timeline-item::before {
        left: -70px !important;
    }
    
    .timeline-item:hover {
        transform: translateX(5px);
    }
}

@media (max-width: 480px) {
    .timeline-card {
        padding: 20px;
    }

    .timeline-list::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 45px;
        padding-right: 15px;
    }

    .timeline-item::before {
        left: 12px;
    }

    .timeline-item:nth-child(odd)::before {
        left: 12px;
    }

    .timeline-date {
        font-size: 1rem;
    }

    .timeline-text {
        font-size: 0.9rem;
    }
}

.story-message {
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-radius: 30px;
    box-shadow: 
        0 20px 40px rgba(55, 96, 161, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.8),
}

.story-message::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 8rem;
    font-family: var(--title-font);
    color: var(--accent-color);
    line-height: 1;
}

.story-message p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

.story-link {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.story-link span {
    margin-right: 0.5rem;
}

.story-link i {
    transition: transform 0.3s ease;
}

.story-link:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.4);
}

.story-link:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .timeline-list::before {
        left: 0px;
    }
    
    
    .timeline-date {
        width: 80px;
        font-size: 0.9rem;
    }
    
    .timeline-text {
        font-size: 1rem;
    }
    
    .timeline-title {
        font-size: 1.5rem;
    }
    
    .story-message p {
        font-size: 1.1rem;
    }
    
    .pme-icon {
        width: 50px;
        height: 50px;
    }
    
    .pme-icon img {
        width: 32px;
    }
}

@media (max-width: 480px) {
    
    .timeline-item {
        border-bottom: 1px solid var(--accent-color);
        margin-bottom: 1rem;
    }
    
    .timeline-item::before {
        left: 0;
        top: 5px;
    }
    
    .timeline-date {
        position: static;
        display: block;
        width: 100%;
        text-align: left;
        margin-bottom: 0.5rem;
        padding-left: 0;
    }
    
    .timeline-text {
        padding-left: 0;
    }
    
    .story-message p {
        font-size: 1rem;
    }
    
    .pme-icon {
        display:block;
        position: relative;
        width: 50%;
        height: 50%;
        right:0;
        left:0;
        margin:30px auto 0px auto;
    }
    
    .pme-icon img {
        width: 80%;
        display: block;
        margin:auto;
    }
}

/* Styles pour l'image divisée en diagonale */
.split-image {
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-top, .image-bottom {
    position: absolute;
    width: 75%;
    height: 75%;
    transition: all 0.3s ease;
}

.image-top {
    left: 0;
    top: 0;
    z-index: 2;
}

.image-bottom {
    right: 0;
    bottom: 0;
    z-index: 1;
}

.image-top img, .image-bottom img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .image-top {
    transform: translate(-8px, -8px);
}

.product-card:hover .image-bottom {
    transform: translate(8px, 8px);
}

.diagonal-divider {
    display: none;
}

.faq-image {
    max-width:500px;
    margin:30px 0;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.3);
    border: 1px solid var(--white);
    object-fit: cover;
}

.story-image-team {
    max-width: 800px;
    margin: 30px auto;
    display: block;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.3);
    border: 2px solid var(--white);
}

@media (max-width: 768px) {

    .faq-image {
        max-width: 100%;
    }

    .story-image-team {
        max-width: 100%;
    }
}

.les-papaperos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 120px;
    margin: 0 0 80px 0;
    position: relative;
}

.les-papaperos::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M0,10 C30,0 70,20 100,10 L95,5 M95,15 L100,10' stroke='white' fill='none' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

@media (max-width: 768px) {
    .les-papaperos {
        gap: 80px;
    }
    
    .les-papaperos::after {
        width: 60px;
    }
}

.papapero-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background-color: #ffffff6b;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.3);
    border: 2px solid var(--white);
}

.papapero-card img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50px;
    margin: 30px 10px;
}

.les-papaperos-title {
    font-size: 2rem;
    font-weight: 600;
    font-family: "Luckiest Guy", cursive;
    color: var(--white);
    text-align: center;
    margin: 20px 0;
}

.les-papaperos-image {
    width: 100%;
    max-width:600px;
    height: 100%;
    border: 2px solid var(--white);
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.3);
    border-radius: 30px;
}

@media (max-width: 768px) {
    .les-papaperos {
        gap: 80px;
    }
    
    .les-papaperos::after {
        width: 60px;
    }
}

.timeline-title {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
    font-family: "Luckiest Guy", cursive;
}

.timeline-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    border-radius: 2px;
}

.pme-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.3);
    z-index: 2;
}

.pme-icon img {
    width: 70px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.pme-icon:hover img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .timeline-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .pme-icon {
        width: 60px;
        height: 60px;
        bottom: 10px;
        right: 10px;
    }

    .pme-icon img {
        width: 50px;
    }
}

@media (max-width: 480px) {
    .timeline-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .pme-icon {
        width: 50px;
        height: 50px;
    }

    .pme-icon img {
        width: 40px;
    }
}


.notre-aventure-timeline .timeline-item:nth-child(even)::before {
    left:-70px;
}

.notre-aventure-timeline .timeline-item:nth-child(odd)::before {
    right:-70px;
}

.story-flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin: 80px 0;
    padding: 0 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.story-text-content {
    flex: 1;
    max-width: 45%;
}

.story-flex-container .story-text-content .section-title {
    margin: 0;
    text-align: left;
    font-size: 2.5em;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .story-flex-container .story-text-content .section-title {
        font-size: 1.5em;
        text-align: center;
    }
}

.story-image2 {
    flex: 1;
    max-width: 50%;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.story-image-team {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .story-flex-container {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
        margin: 40px 0;
    }

    .story-text-content,
    .story-image2 {
        max-width: 100%;
    }

    .story-text-content .section-title {
        font-size: 2em;
        text-align: center;
    }
}

.story-flex-container .section-title {
    font-size: 2.5em;
    line-height: 1.2;
    color: #FFF;
}

@media (max-width: 480px) {
    .pme-icon {
        display:block;
        position: relative;
        width: 50%;
        height: 50%;
        right:0;
        left:0;
        margin:30px auto 0px auto;
    }

    .pme-icon img {
        width: 80% !important;
        display: block;
        margin:auto;
    }
}

/* NOUVEAUX STYLES POUR FILTRES DE CATÉGORIES */
.category-filters {
    background: transparent;
    padding: 60px 0 30px;
    margin-bottom: 20px;
    position: relative;
}

.category-filters::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(55, 96, 161, 0.05) 0%, rgba(55, 96, 161, 0) 100%);
    z-index: -1;
}

.filters-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.filters-title {
    color: #FFF;
    font-size: 2.2rem;
    margin-bottom: 30px;
    font-family: 'Luckiest Guy', cursive;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.filters-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.filter-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 150px;
}

.filter-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(55, 96, 161, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 15px;
    border: 2px solid transparent;
}

.filter-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.filter-btn span {
    color: #FFF;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.filter-btn span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #FF6B35;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.filter-btn:hover .filter-img {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(55, 96, 161, 0.15);
}

.filter-btn:hover .filter-img img {
    transform: scale(1.1);
}

.filter-btn:hover span {
    color: #FF6B35;
}

.filter-btn:hover span::after {
    width: 70%;
}

.filter-btn.active .filter-img {
    border-color: #FF6B35;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.2);
}

.filter-btn.active span {
    color: #FF6B35;
    font-weight: 700;
}

.filter-btn.active span::after {
    width: 100%;
}

@media (max-width: 768px) {
    .category-filters {
        padding: 40px 0 20px;
    }
    
    .filters-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .filters-buttons {
        gap: 20px;
    }
    
    .filter-btn {
        width: 120px;
    }
    
    .filter-img {
        width: 80px;
        height: 80px;
        padding: 12px;
    }
    
    .filter-btn span {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .filters-buttons {
        gap: 15px;
    }
    
    .filter-btn {
        width: 100px;
    }
    
    .filter-img {
        width: 70px;
        height: 70px;
        padding: 10px;
    }
}

/* Amélioration des sections de produits */
.product-category {
    scroll-margin-top: 120px;
    margin-bottom: 80px;
    padding-top: 20px;
    transition: all 0.5s ease;
}

/* Animation lorsqu'on arrive sur une section */
.product-category:target {
    animation: highlight-section 1.5s ease;
}

@keyframes highlight-section {
    0% {
        background-color: rgba(55, 96, 161, 0.05);
    }
    50% {
        background-color: rgba(55, 96, 161, 0.05);
    }
    100% {
        background-color: transparent;
    }
}

@media (max-width: 768px) {
    .category-filters {
        padding: 30px 0;
    }
    
    .filters-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .filters-buttons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .filter-btn {
        width: 100%;
        padding: 10px;
    }
    
    .filter-img {
        width: 70px;
        height: 70px;
        padding: 10px;
    }
    
    .filter-btn span {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .filters-buttons {
        gap: 10px;
    }
    
    .filter-btn {
        margin: 0 auto;
    }
    
    .filter-img {
        width: 60px;
        height: 60px;
        padding: 8px;
    }
}

/* Scroll fluide pour les ancres */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

@media (max-width: 768px) {
    .produitpage h4 {
        text-align: center !important;
    }

    .produitpage p {
        padding:0 10px;
        text-align: center;
    }
    .product-card h4 {
        text-align: center !important;
    }
    .product-card p {
        padding:0 10px;
        text-align: center;
    }
}

/* Styles supplémentaires pour uniformiser les cartes de produits */

/* Uniformisation des cartes dans les grilles flex */
.products-grid-flex {
    align-items: flex-end;
}

.products-grid-flex .product-card {
    min-height: 400px;
    height: 100%;
}

@media (max-width: 1280px) {
    .products-grid-flex .product-card {
        min-height: inherit;
        height: 500px;
    }
}

/* Styles spécifiques pour la page d'accueil */
.products-teasing .product-card {
    min-height: 400px;
    height: 100%;
}

/* Ajustements responsifs pour maintenir l'uniformité */
@media (max-width: 768px) {
    .product-card,
    .products-grid-flex .product-card,
    .products-teasing .product-card {
        min-height: 350px;
    }
    
    .product-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .product-card,
    .products-grid-flex .product-card,
    .products-teasing .product-card {
        min-height: 300px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-name {
        font-size: 1.3rem;
    }
    
    .product-description {
        font-size: 0.9rem;
    }
}

/* Section Réseaux Sociaux */
.social-feed-section {
    padding: 3rem 2rem;
    background-color: #3760a1;
    position: relative;
    overflow: hidden;
}

.social-feed-container .section-title {
    text-align: center;
    position: relative;
}

.social-feed-container .section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

.social-feed-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.social-tabs {
    display: flex;
    justify-content: center;
    margin: 80px 0 30px 0;
    gap: 20px;
}

.social-tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-tab-btn i {
    font-size: 1.3rem;
}

.social-tab-btn.active,
.social-tab-btn:hover {
    background-color: #f8b500;
    border-color: #f8b500;
    color: #fff;
    box-shadow: 0 5px 15px rgba(248, 181, 0, 0.3);
    transform: translateY(-2px);
}

.social-content {
    position: relative;
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.social-panel {
    display: none;
    padding: 20px;
    height: 650px;
    overflow: hidden;
}

.social-panel.active {
    display: block;
    animation: fadePanel 0.5s ease forwards;
}

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

@media (max-width: 768px) {
    .social-feed-section {
        padding: 60px 0;
    }
    
    .social-tabs {
        flex-direction: row;
        gap: 10px;
    }
    
    .social-tab-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .social-tab-btn i {
        font-size: 1.1rem;
    }
    
    .social-panel {
        height: 500px;
    }
}

@media (max-width: 480px) {
    .social-feed-section {
        padding: 40px 0;
    }
    
    .social-feed-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .social-tab-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .social-panel {
        padding: 10px;
        height: 450px;
    }
}

@media (max-width: 480px) {
    .hero-contact {
        height:50vh;
    }
    .contact-section {
        padding: 2rem 1rem;
    }
    }

/* Styles pour les vignettes principales des fruits secs */
#fruits-secs .products-grid-flex.products-grid-2 {
    gap: 25px;
    margin-bottom: 30px;
}

#fruits-secs .products-grid-flex.products-grid-2 .product-card {
    min-height: 450px;
}

#fruits-secs .products-grid-flex.products-grid-2 .product-image {
    height: 300px;
}


/* Harmonisation des boxes sur mobile */
@media (max-width: 768px) {
    .product-card,
    .products-grid-flex .product-card,
     .product-2 .product-card {
        min-height: 350px;
        width: 80%;
        margin: auto;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .products-teasing .product-card {
        min-height: 350px;
        width: 90%;
        margin: auto;
        height: 100%;
        display: flex;
    }

    .product-image {
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .product-info {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .product-description {
        flex-grow: 1;
    }
    
    /* Ajustements des grandes vignettes en mobile */
    #fruits-secs .products-grid-flex.products-grid-2 .product-card {
        min-height: 400px;
    }
    
    #fruits-secs .products-grid-flex.products-grid-2 .product-image {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .product-card,
    .products-grid-flex .product-card,
    .products-teasing .product-card {
        min-height: 300px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-name {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .product-description {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* Ajustements des grandes vignettes en mobile petit écran */
    #fruits-secs .products-grid-flex.products-grid-2 .product-card {
        min-height: 350px;
    }
    
    #fruits-secs .products-grid-flex.products-grid-2 .product-image {
        height: 200px;
    }
    
    #fruits-secs .products-grid-flex.products-grid-2 .product-name {
        font-size: 1.4rem;
    }
    
    #fruits-secs .products-grid-flex.products-grid-2 .product-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
.product-2 {
    flex-direction: column;
}
}

@media (max-width: 480px) {
    #fruits-secs .products-grid-flex.products-grid-2 {
       width: 80%;
       margin: 40px auto;
    }
    #fruits-secs .products-grid-flex.products-grid-2 .product-card {
        margin:20px 0;
    }
}
