/* ============================================
   MAISON SORBETTI - CSS Compilé
   Site vitrine maison-sorbetti.fr
   Dernière mise à jour : 19/02/2026
   ============================================ */

/* ===========================================
   1. VARIABLES & RESET
   =========================================== */

:root {
    /* Couleurs principales */
    --ms-or: #C4A77D;
    --ms-or-hover: #A68B5B;
    --ms-gris-fonce: #3C3C3C;
    --ms-brun: #8B7355;
    --ms-vert: #4A7C59;
    --ms-rouge: #A64253;
    --ms-beige: #F5EFE7;
    --ms-beige-clair: #F9F7F4;
    --ms-gris-clair: #E0E0E0;
    --ms-blanc: #FFFFFF;
    --ms-noir: #1A1A1A;

    /* Typographie */
    --ms-font: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Espacements */
    --ms-section-padding: clamp(60px, 8vw, 120px);
    --ms-container-width: min(1400px, 90%);
    --ms-gap: clamp(20px, 3vw, 40px);

    /* Transitions */
    --ms-transition-fast: 0.2s ease;
    --ms-transition: 0.3s ease;
    --ms-transition-slow: 0.5s ease;

    /* Ombres */
    --ms-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --ms-shadow-hover: 0 12px 40px rgba(196, 167, 125, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ms-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ms-gris-fonce);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--ms-gris-fonce);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

/* Utilitaires */
.ms-container {
    width: var(--ms-container-width);
    max-width: 1400px;
    margin: 0 auto;
}

.ms-overline {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ms-or);
    margin-bottom: 12px;
}

/* Boutons */
.ms-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--ms-font);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all var(--ms-transition);
}

.ms-btn-primary {
    background: var(--ms-or);
    color: var(--ms-blanc);
}

.ms-btn-primary:hover {
    background: var(--ms-or-hover);
    transform: translateY(-2px);
}

.ms-btn-outline {
    background: transparent;
    color: var(--ms-or);
    border: 2px solid var(--ms-or);
}

.ms-btn-outline:hover {
    background: var(--ms-or);
    color: var(--ms-blanc);
}

/* Animations Fade-in */
.ms-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.ms-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ms-fade-in-delay-1 { transition-delay: 0.1s; }
.ms-fade-in-delay-2 { transition-delay: 0.2s; }
.ms-fade-in-delay-3 { transition-delay: 0.3s; }
.ms-fade-in-delay-4 { transition-delay: 0.4s; }


/* ===========================================
   2. HEADER
   =========================================== */

.ms-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s ease;
    background: transparent;
}

.ms-header.is-scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    padding: 14px 40px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.ms-header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 1001;
}

.ms-header-logo-icon {
    width: 40px;
    height: 40px;
}

.ms-header-logo-text {
    font-family: var(--ms-font);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ms-blanc);
    transition: color 0.4s ease;
}

.ms-header.is-scrolled .ms-header-logo-text {
    color: var(--ms-gris-fonce);
}

.ms-header-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.ms-header-link {
    font-family: var(--ms-font);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.ms-header-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ms-or);
    transition: width 0.3s ease;
}

.ms-header-link:hover::after {
    width: 100%;
}

.ms-header.is-scrolled .ms-header-link {
    color: var(--ms-gris-fonce);
}

.ms-header-link:hover {
    color: var(--ms-or);
}

.ms-header-shop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    font-family: var(--ms-font);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: var(--ms-or);
    color: var(--ms-blanc);
    text-decoration: none;
    transition: all 0.3s ease;
}

.ms-header-shop:hover {
    background: var(--ms-or-hover);
    transform: translateY(-1px);
}

.ms-header-shop svg {
    width: 16px;
    height: 16px;
}

/* Hamburger */
.ms-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.ms-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ms-blanc);
    transition: all 0.3s ease;
}

.ms-header.is-scrolled .ms-hamburger span {
    background: var(--ms-gris-fonce);
}

.ms-hamburger.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.ms-hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.ms-hamburger.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile menu */
.ms-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.ms-mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
}

.ms-mobile-menu .ms-header-link {
    color: var(--ms-gris-fonce);
    font-size: 18px;
    letter-spacing: 2px;
}

.ms-mobile-menu .ms-header-shop {
    font-size: 14px;
    padding: 14px 36px;
}

@media (max-width: 900px) {
    .ms-header-nav {
        display: none;
    }

    .ms-hamburger {
        display: flex;
    }

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

    .ms-header {
        padding: 16px 24px;
    }

    .ms-header.is-scrolled {
        padding: 12px 24px;
    }
}


/* ===========================================
   3. HERO
   =========================================== */

.ms-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.ms-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ms-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ms-hero-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ms-beige);
    padding: 32px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.ms-hero-text {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
}

.ms-hero-title-block {
    display: flex;
    flex-direction: column;
}

.ms-hero-overline {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--ms-or);
    font-weight: 600;
    margin-bottom: 8px;
}

.ms-hero-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    color: var(--ms-gris-fonce);
    line-height: 1.15;
    margin: 0;
    white-space: nowrap;
}

.ms-hero-line {
    width: 2px;
    height: 50px;
    background: var(--ms-or);
    flex-shrink: 0;
}

.ms-hero-subtitle {
    font-size: 14px;
    color: #555555;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    max-width: 400px;
}

.ms-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: var(--ms-or);
    border: none;
    color: #fff;
    text-decoration: none;
    font-family: var(--ms-font);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.ms-hero-cta:hover {
    background: var(--ms-or-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.ms-hero-cta svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.ms-hero-cta:hover svg {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .ms-hero-banner {
        padding: 28px 40px;
        gap: 30px;
    }
    .ms-hero-text { gap: 30px; }
    .ms-hero-subtitle { max-width: 300px; }
}

@media (max-width: 768px) {
    .ms-hero-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px 36px;
        gap: 20px;
    }
    .ms-hero-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        width: 100%;
    }
    .ms-hero-line {
        width: 50px;
        height: 2px;
    }
    .ms-hero-title {
        font-size: 1.4rem;
        white-space: normal;
    }
    .ms-hero-subtitle { max-width: none; }
    .ms-hero-cta {
        width: 100%;
        justify-content: center;
    }
}


/* ===========================================
   4. PILLARS
   =========================================== */

.ms-pillars {
    padding: clamp(60px, 8vw, 100px) 5%;
    background: var(--ms-beige-clair);
}

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

.ms-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(30px, 5vw, 60px);
}

.ms-pillar {
    text-align: center;
    padding: 40px 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.ms-pillar.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ms-pillar:nth-child(1) { transition-delay: 0s; }
.ms-pillar:nth-child(2) { transition-delay: 0.15s; }
.ms-pillar:nth-child(3) { transition-delay: 0.3s; }

.ms-pillar-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    color: var(--ms-or);
}

.ms-pillar-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.ms-pillar-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--ms-gris-fonce);
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ms-pillar-text {
    font-size: 15px;
    font-weight: 400;
    color: var(--ms-brun);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .ms-pillars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .ms-pillar {
        padding: 30px 20px;
        border-bottom: 1px solid var(--ms-gris-clair);
    }
    .ms-pillar:last-child { border-bottom: none; }
}


/* ===========================================
   5. PRODUCTS
   =========================================== */

.ms-products {
    padding: clamp(60px, 8vw, 100px) 5%;
    background: var(--ms-blanc);
}

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

.ms-products-header {
    text-align: center;
    margin-bottom: clamp(40px, 5vw, 60px);
}

.ms-products-overline {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ms-or);
    margin-bottom: 12px;
}

.ms-products-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--ms-gris-fonce);
    margin: 0;
}

.ms-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 3vw, 30px);
    margin-bottom: clamp(40px, 5vw, 60px);
}

.ms-product-card {
    background: var(--ms-blanc);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.ms-product-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ms-product-card:nth-child(1) { transition-delay: 0s; }
.ms-product-card:nth-child(2) { transition-delay: 0.1s; }
.ms-product-card:nth-child(3) { transition-delay: 0.2s; }
.ms-product-card:nth-child(4) { transition-delay: 0.3s; }

.ms-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--ms-shadow-hover);
}

.ms-product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--ms-beige-clair);
}

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

.ms-product-card:hover .ms-product-image img {
    transform: scale(1.05);
}

.ms-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--ms-vert);
    color: var(--ms-blanc);
    border-radius: 2px;
}

.ms-product-info {
    padding: 20px;
    text-align: center;
}

.ms-product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--ms-gris-fonce);
    margin: 0 0 8px 0;
}

.ms-product-price {
    font-size: 14px;
    font-weight: 500;
    color: var(--ms-brun);
    margin: 0;
}

.ms-products-cta {
    text-align: center;
}

.ms-products-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    font-family: var(--ms-font);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--ms-blanc);
    background: var(--ms-or);
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ms-products-btn:hover {
    background: var(--ms-or-hover);
    transform: translateY(-2px);
}

.ms-products-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.ms-products-btn:hover svg {
    transform: translateX(5px);
}

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

@media (max-width: 480px) {
    .ms-products-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}


/* Carousel produits */
.ms-carousel {
    overflow: hidden;
    width: 100%;
    margin: 2rem 0 3rem;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ms-carousel-track {
    display: flex;
    gap: 2rem;
    animation: msCarouselScroll 40s linear infinite;
    width: max-content;
}

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

.ms-carousel-item {
    flex-shrink: 0;
    width: 220px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.ms-carousel-item:hover {
    transform: translateY(-8px);
}

.ms-carousel-item img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--ms-shadow);
    transition: box-shadow 0.3s ease;
}

.ms-carousel-item:hover img {
    box-shadow: var(--ms-shadow-hover);
}

.ms-carousel-label {
    display: block;
    margin-top: 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ms-gris-fonce);
}

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

@media (max-width: 600px) {
    .ms-carousel-item {
        width: 160px;
    }
    .ms-carousel-item img {
        width: 160px;
        height: 160px;
    }
    .ms-carousel-track {
        gap: 1.2rem;
    }
}

/* ===========================================
   6. STORY
   =========================================== */

.ms-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}

.ms-story-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.5fr 1fr;
    gap: 15px;
    padding: clamp(30px, 5vw, 60px);
    background: var(--ms-beige);
}

.ms-story-img {
    overflow: hidden;
    position: relative;
}

.ms-story-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ms-story-img:hover img {
    transform: scale(1.03);
}

.ms-story-img--main {
    grid-row: span 2;
}

.ms-story-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(40px, 6vw, 80px);
    background: var(--ms-blanc);
}

.ms-story-overline {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ms-or);
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.ms-story-content.is-visible .ms-story-overline {
    opacity: 1;
    transform: translateY(0);
}

.ms-story-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--ms-gris-fonce);
    margin: 0 0 24px 0;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.1s;
}

.ms-story-content.is-visible .ms-story-title {
    opacity: 1;
    transform: translateY(0);
}

.ms-story-text {
    font-size: 16px;
    font-weight: 400;
    color: var(--ms-gris-fonce);
    line-height: 1.8;
    margin: 0 0 32px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.2s;
}

.ms-story-content.is-visible .ms-story-text {
    opacity: 1;
    transform: translateY(0);
}

.ms-story-signature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--ms-gris-clair);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.3s;
}

.ms-story-content.is-visible .ms-story-signature {
    opacity: 1;
    transform: translateY(0);
}

.ms-story-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.ms-story-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ms-story-author {
    font-size: 14px;
    font-weight: 600;
    color: var(--ms-gris-fonce);
    margin: 0 0 4px 0;
}

.ms-story-role {
    font-size: 13px;
    font-weight: 400;
    color: var(--ms-brun);
    margin: 0;
}

.ms-story-cta {
    margin-top: 32px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.4s;
}

.ms-story-content.is-visible .ms-story-cta {
    opacity: 1;
    transform: translateY(0);
}

.ms-story-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--ms-font);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ms-or);
    background: transparent;
    border: 2px solid var(--ms-or);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ms-story-btn:hover {
    background: var(--ms-or);
    color: var(--ms-blanc);
}

.ms-story-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.ms-story-btn:hover svg {
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .ms-story {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .ms-story-images {
        order: 2;
        padding: 30px;
        min-height: 400px;
    }
    .ms-story-content {
        order: 1;
        padding: 60px 30px;
    }
}

@media (max-width: 640px) {
    .ms-story-images {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 10px;
    }
    .ms-story-img--main {
        grid-row: span 1;
        aspect-ratio: 4/3;
    }
    .ms-story-img:not(.ms-story-img--main) {
        display: none;
    }
}


/* ===========================================
   7. CLIENTS
   =========================================== */

.ms-clients {
    padding: clamp(50px, 6vw, 80px) 5%;
    background: var(--ms-gris-fonce);
}

.ms-clients-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.ms-clients-title {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--ms-or);
    margin: 0 0 clamp(30px, 4vw, 50px) 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.ms-clients.is-visible .ms-clients-title {
    opacity: 1;
    transform: translateY(0);
}

.ms-clients-text {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 40px;
}

.ms-client-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--ms-blanc);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: opacity 0.3s ease;
}

.ms-client-name:hover {
    opacity: 1;
}

.ms-client-name:not(:last-child)::after {
    content: "•";
    margin-left: 40px;
    color: var(--ms-or);
}

@media (max-width: 768px) {
    .ms-client-name:not(:last-child)::after { display: none; }
    .ms-clients-text { gap: 15px 25px; }
}


/* ===========================================
   8. INSTAGRAM
   =========================================== */

.ms-instagram {
    padding: clamp(60px, 8vw, 100px) 5%;
    background: var(--ms-beige);
}

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

.ms-instagram-header {
    text-align: center;
    margin-bottom: clamp(30px, 4vw, 50px);
}

.ms-instagram-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    color: var(--ms-gris-fonce);
}

.ms-instagram-icon svg {
    width: 100%;
    height: 100%;
}

.ms-instagram-title {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 500;
    color: var(--ms-gris-fonce);
    margin: 0;
}

.ms-instagram-title a {
    color: var(--ms-or);
    text-decoration: none;
    transition: color 0.3s ease;
}

.ms-instagram-title a:hover {
    color: var(--ms-or-hover);
}

.ms-instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(10px, 2vw, 20px);
    margin-bottom: clamp(30px, 4vw, 50px);
}

.ms-instagram-post {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--ms-gris-clair);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.ms-instagram.is-visible .ms-instagram-post {
    opacity: 1;
    transform: translateY(0);
}

.ms-instagram-post:nth-child(1) { transition-delay: 0s; }
.ms-instagram-post:nth-child(2) { transition-delay: 0.1s; }
.ms-instagram-post:nth-child(3) { transition-delay: 0.2s; }
.ms-instagram-post:nth-child(4) { transition-delay: 0.3s; }

.ms-instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ms-instagram-post:hover img {
    transform: scale(1.08);
}

.ms-instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(60, 60, 60, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ms-instagram-post:hover .ms-instagram-overlay {
    opacity: 1;
}

.ms-instagram-overlay svg {
    width: 32px;
    height: 32px;
    color: var(--ms-blanc);
}

.ms-instagram-cta {
    text-align: center;
}

.ms-instagram-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--ms-font);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ms-gris-fonce);
    background: transparent;
    border: 2px solid var(--ms-gris-fonce);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ms-instagram-btn:hover {
    background: var(--ms-gris-fonce);
    color: var(--ms-blanc);
}

.ms-instagram-btn svg {
    width: 18px;
    height: 18px;
}

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

@media (max-width: 480px) {
    .ms-instagram-grid { gap: 8px; }
}


/* ===========================================
   9. CTA
   =========================================== */

.ms-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.ms-cta-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(60px, 8vw, 120px) clamp(30px, 5vw, 60px);
    text-align: center;
    overflow: hidden;
}

.ms-cta-box--b2b { background: var(--ms-gris-fonce); }
.ms-cta-box--b2c { background: var(--ms-or); }

.ms-cta-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.ms-cta-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    color: var(--ms-blanc);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.ms-cta-box.is-visible .ms-cta-icon {
    opacity: 0.8;
    transform: translateY(0);
}

.ms-cta-icon svg {
    width: 100%;
    height: 100%;
}

.ms-cta-overline {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.1s;
}

.ms-cta-box.is-visible .ms-cta-overline {
    opacity: 1;
    transform: translateY(0);
}

.ms-cta-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    color: var(--ms-blanc);
    margin: 0 0 16px 0;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.2s;
}

.ms-cta-box.is-visible .ms-cta-title {
    opacity: 1;
    transform: translateY(0);
}

.ms-cta-text {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 32px 0;
    max-width: 320px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.3s;
}

.ms-cta-box.is-visible .ms-cta-text {
    opacity: 1;
    transform: translateY(0);
}

.ms-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: var(--ms-font);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    border: 2px solid var(--ms-blanc);
    background: transparent;
    color: var(--ms-blanc);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.ms-cta-box.is-visible .ms-cta-btn {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease 0.4s, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.ms-cta-btn:hover {
    background: var(--ms-blanc);
    color: var(--ms-gris-fonce);
}

.ms-cta-box--b2c .ms-cta-btn:hover {
    color: var(--ms-or);
}

.ms-cta-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.ms-cta-btn:hover svg {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .ms-cta { grid-template-columns: 1fr; }
    .ms-cta-box { padding: 60px 30px; }
}


/* ===========================================
   10. FOOTER
   =========================================== */

.ms-footer {
    background: #2A2A2A;
    color: rgba(255, 255, 255, 0.7);
    padding: clamp(60px, 8vw, 80px) 5% 0;
    font-family: var(--ms-font);
}

.ms-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: clamp(30px, 5vw, 60px);
    padding-bottom: clamp(40px, 6vw, 60px);
}

.ms-footer-brand {
    max-width: 300px;
}

.ms-footer-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--ms-blanc);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.ms-footer-desc {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
}

.ms-footer-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ms-or);
    margin-bottom: 20px;
}

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

.ms-footer-links li {
    margin-bottom: 12px;
}

.ms-footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.ms-footer-links a:hover {
    color: var(--ms-or);
}

.ms-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
}

.ms-footer-contact-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--ms-or);
}

.ms-footer-social {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.ms-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.ms-footer-social a:hover {
    border-color: var(--ms-or);
    color: var(--ms-or);
}

.ms-footer-social svg {
    width: 16px;
    height: 16px;
}

.ms-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.ms-footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.ms-footer-legal {
    display: flex;
    gap: 24px;
}

.ms-footer-legal a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.ms-footer-legal a:hover {
    color: var(--ms-or);
}

@media (max-width: 900px) {
    .ms-footer-container {
        grid-template-columns: 1fr 1fr;
    }
    .ms-footer-brand {
        grid-column: span 2;
        max-width: none;
    }
}

@media (max-width: 600px) {
    .ms-footer-container {
        grid-template-columns: 1fr;
    }
    .ms-footer-brand { grid-column: span 1; }
    .ms-footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}


/* ===========================================
   11. PAGES SECONDAIRES
   =========================================== */

/* Page générique avec contenu texte */
.ms-page-hero {
    padding: 160px 5% 80px;
    background: var(--ms-beige);
    text-align: center;
}

.ms-page-hero .ms-overline {
    margin-bottom: 16px;
}

.ms-page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--ms-gris-fonce);
    margin: 0;
}

.ms-page-content {
    padding: clamp(60px, 8vw, 100px) 5%;
    background: var(--ms-blanc);
}

.ms-page-content .ms-container {
    max-width: 800px;
}

.ms-page-content h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    margin: 48px 0 16px;
    color: var(--ms-gris-fonce);
}

.ms-page-content h2:first-child {
    margin-top: 0;
}

.ms-page-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0 0 16px 0;
}

.ms-page-content ul, .ms-page-content ol {
    padding-left: 24px;
    margin: 0 0 16px 0;
}

.ms-page-content li {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 8px;
}

.ms-page-content a {
    color: var(--ms-or);
    text-decoration: underline;
}

.ms-page-content a:hover {
    color: var(--ms-or-hover);
}

/* Formulaire contact */
.ms-form {
    max-width: 600px;
    margin: 0 auto;
}

.ms-form-group {
    margin-bottom: 24px;
}

.ms-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ms-gris-fonce);
    margin-bottom: 8px;
}

.ms-form-input,
.ms-form-textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--ms-font);
    font-size: 15px;
    color: var(--ms-gris-fonce);
    background: var(--ms-beige-clair);
    border: 2px solid transparent;
    outline: none;
    transition: border-color 0.3s ease;
}

.ms-form-input:focus,
.ms-form-textarea:focus {
    border-color: var(--ms-or);
}

.ms-form-textarea {
    min-height: 150px;
    resize: vertical;
}

.ms-form-select {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--ms-font);
    font-size: 15px;
    color: var(--ms-gris-fonce);
    background: var(--ms-beige-clair);
    border: 2px solid transparent;
    outline: none;
    transition: border-color 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233C3C3C' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.ms-form-select:focus {
    border-color: var(--ms-or);
}

.ms-form-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    font-family: var(--ms-font);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--ms-blanc);
    background: var(--ms-or);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ms-form-submit:hover {
    background: var(--ms-or-hover);
    transform: translateY(-2px);
}

.ms-form-success {
    display: none;
    padding: 20px;
    background: rgba(74, 124, 89, 0.1);
    border-left: 4px solid var(--ms-vert);
    color: var(--ms-vert);
    font-weight: 500;
}

/* ===========================================
   12. PAGE NOTRE HISTOIRE
   =========================================== */

/* Hero Notre Histoire */
.ms-histoire-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--ms-gris-fonce) 0%, var(--ms-noir) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.ms-histoire-hero__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C4A77D' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.ms-histoire-hero__content {
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.ms-histoire-hero__overline {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ms-or);
    margin-bottom: 2rem;
    animation: msHistoireFadeUp 1s ease 0.2s forwards;
    opacity: 0;
}

.ms-histoire-hero__title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--ms-blanc);
    margin-bottom: 2rem;
    animation: msHistoireFadeUp 1s ease 0.4s forwards;
    opacity: 0;
}

.ms-histoire-hero__title em {
    font-style: italic;
    color: var(--ms-or);
    font-weight: 400;
}

.ms-histoire-hero__subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    animation: msHistoireFadeUp 1s ease 0.6s forwards;
    opacity: 0;
}

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

/* Sections Notre Histoire */
.ms-histoire-section {
    padding: 6rem 5%;
    position: relative;
}

.ms-histoire-section--dark {
    background: var(--ms-gris-fonce);
    color: var(--ms-blanc);
}

.ms-histoire-section--cream {
    background: var(--ms-beige);
}

.ms-histoire-section--white {
    background: var(--ms-blanc);
}

.ms-histoire-section__container {
    max-width: 1100px;
    margin: 0 auto;
}

.ms-histoire-section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.ms-histoire-section__title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.ms-histoire-section--dark .ms-histoire-section__title {
    color: var(--ms-blanc);
}

.ms-histoire-section__title em {
    font-style: italic;
    color: var(--ms-or);
    font-weight: 400;
}

.ms-histoire-section__intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--ms-brun);
    max-width: 700px;
    margin: 0 auto;
    text-align: justify;
}

.ms-histoire-section--dark .ms-histoire-section__intro {
    color: rgba(255, 255, 255, 0.7);
}

/* Origin */
.ms-histoire-origin {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ms-histoire-origin__image {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
    background: var(--ms-beige-clair);
}

.ms-histoire-origin__image::before {
    content: '';
    position: absolute;
    inset: 16px;
    border: 1px solid var(--ms-or);
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.ms-histoire-origin__image img,
.ms-histoire-origin__image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ms-histoire-origin__gold-line {
    display: block;
    width: 40px;
    height: 2px;
    background: var(--ms-or);
    margin-bottom: 1.5rem;
}

.ms-histoire-origin__title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 2rem;
}

.ms-histoire-origin__title em {
    font-style: italic;
    color: var(--ms-or);
    font-weight: 400;
}

.ms-histoire-origin__text {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--ms-brun);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.ms-histoire-origin__signature {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(196, 167, 125, 0.2);
}

.ms-histoire-origin__founders {
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 600;
    color: var(--ms-gris-fonce);
}

.ms-histoire-origin__roles {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ms-brun);
    margin-top: 0.5rem;
}

/* Values */
.ms-histoire-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

.ms-histoire-value {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(196, 167, 125, 0.1);
    transition: all 0.4s ease;
}

.ms-histoire-value:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(196, 167, 125, 0.3);
    transform: translateY(-5px);
}

.ms-histoire-value__icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.ms-histoire-value__title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ms-blanc);
    margin-bottom: 1rem;
}

.ms-histoire-value__text {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    text-align: justify;
}

/* Bouton play vidéo (fallback Safari) */
.ms-video-wrap {
    position: relative;
}
.ms-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.ms-video-play:hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}
.ms-video-play.is-hidden {
    display: none;
}

/* Savoir-faire */
.ms-histoire-savoir {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ms-histoire-savoir__highlight {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--ms-beige);
    border-left: 3px solid var(--ms-or);
}

.ms-histoire-savoir__highlight-text {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--ms-gris-fonce);
}

/* Fruits */
.ms-histoire-fruits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    align-items: stretch;
}

.ms-histoire-fruit {
    text-align: center;
    padding: 2rem 1rem;
    background: transparent;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ms-histoire-fruit:hover {
    transform: translateY(-5px);
}

.ms-histoire-fruit__photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.2rem;
    border: 3px solid rgba(196, 167, 125, 0.3);
    transition: border-color 0.3s ease;
}

.ms-histoire-fruit:hover .ms-histoire-fruit__photo {
    border-color: var(--ms-or);
}

.ms-histoire-fruit__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ms-histoire-fruit__name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ms-gris-fonce);
    margin-bottom: 0.3rem;
}

.ms-histoire-fruit__origin {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ms-or);
}

/* Clients */
.ms-histoire-clients__logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    opacity: 0.6;
}

.ms-histoire-clients__logo {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ms-gris-fonce);
}

.ms-histoire-clients__quote {
    max-width: 700px;
    margin: 4rem auto 0;
    padding: 2rem;
    position: relative;
}

.ms-histoire-clients__quote::before {
    content: '\201C';
    font-size: 6rem;
    color: var(--ms-or);
    opacity: 0.15;
    position: absolute;
    top: -1rem;
    left: 0;
    line-height: 1;
}

.ms-histoire-clients__quote-text {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--ms-gris-fonce);
}

/* CTA Notre Histoire */
.ms-histoire-cta {
    text-align: center;
    padding: 6rem 5%;
    background: linear-gradient(135deg, var(--ms-gris-fonce) 0%, var(--ms-noir) 100%);
    position: relative;
}

.ms-histoire-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ms-or), transparent);
}

.ms-histoire-cta__content {
    max-width: 600px;
    margin: 0 auto;
}

.ms-histoire-cta__title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--ms-blanc);
    margin-bottom: 1.5rem;
}

.ms-histoire-cta__title em {
    font-style: italic;
    color: var(--ms-or);
    font-weight: 400;
}

.ms-histoire-cta__text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
}

.ms-histoire-cta__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Notre Histoire */
@media (max-width: 900px) {
    .ms-histoire-origin,
    .ms-histoire-savoir {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .ms-histoire-origin__image {
        height: 350px;
    }
    .ms-histoire-values {
        grid-template-columns: 1fr;
    }
    .ms-histoire-fruits {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ms-histoire-section {
        padding: 4rem 5%;
    }
    .ms-histoire-fruits {
        grid-template-columns: 1fr 1fr;
    }
    .ms-histoire-cta__buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Page 404 */
.ms-404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 5%;
    text-align: center;
    background: var(--ms-beige);
}

.ms-404-number {
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 700;
    color: var(--ms-or);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.3;
}

.ms-404 h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 16px;
}

.ms-404 p {
    font-size: 16px;
    color: #555;
    margin-bottom: 32px;
    max-width: 400px;
}
