:root {
    /* Palette de Couleurs */
    --primary-color: #38817f;
    --primary-dark: #2a6361;
    --primary-light: #5faaaa;
    --accent-color: #38817f;
    /* Remplacement du jaune par le vert principal */
    /* Or mat pour le luxe -> Vert pour l'harmonie */
    --bg-color: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #38817f 0%, #2a6361 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2));

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-padding: 5%;
    --border-radius-pill: 50px;
    --border-radius-card: 24px;

    /* Shadows */
    --shadow-soft: 0 10px 40px rgba(56, 129, 127, 0.1);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-dark);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

/* Custom Cursor */
@media (hover: hover) and (pointer: fine) {

    .cursor-dot,
    .cursor-outline {
        position: fixed;
        top: 0;
        left: 0;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        z-index: 9999;
        pointer-events: none;
    }
}

@media (hover: none) or (pointer: coarse) {

    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}


.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-color);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Navbar Pillule Flottante */
.navbar-container {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1000;
    padding: 0 20px;
    transition: top 0.3s ease;
}

/* Navbar Pillule Flottante (V11) */
.navbar-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    /* Add standard property */
    padding: 1rem 3rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
    width: 100%;
    max-width: 1100px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.navbar-container.scrolled .navbar-pill {
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.btn-icon {
    color: var(--text-dark);
    transition: color 0.3s;
}

.btn-icon:hover {
    color: var(--primary-color);
}

.btn-panier {
    position: relative;
    display: flex;
    align-items: center;
}

.count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hide nav close by default (desktop) */
.nav-close {
    display: none;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    transform: rotate(-45deg) translate(1px, -1px);
}

/* Section Hero Immersive */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 var(--container-padding);
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    /* Pour effet parallaxe */
    transition: transform 0.1s linear;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.hero-title span {
    display: block;
    opacity: 0;
    transform: translateY(50px);
}

.hero-title .line-1 {
    animation: fadeInUp 1s ease forwards 0.4s;
}

.hero-title .line-2 {
    color: var(--primary-color);
    font-style: italic;
    animation: fadeInUp 1s ease forwards 0.6s;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 500px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.8s;
}

.hero-cta-group {
    display: flex;
    gap: 2rem;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(56, 129, 127, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(56, 129, 127, 0.4);
}

.btn-play {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-dark);
}

.play-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--text-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

/* Ensure the play SVG renders consistently across devices */
.play-icon svg {
    width: 14px;
    height: 14px;
    display: block;
    fill: currentColor;
}

.btn-play:hover .play-icon {
    background-color: var(--text-dark);
    color: white;
    transform: scale(1.1);
}

/* Mobile: make play circle transparent and triangle dark by default;
   apply the dark background + white triangle when tapping (active) */
@media (max-width: 768px) {
    .btn-play .play-icon {
        background: transparent;
        color: var(--text-dark);
        border: 1px solid var(--text-dark);
        transform: none;
    }

    .btn-play:active .play-icon,
    .btn-play .play-icon:active,
    .btn-play:focus .play-icon {
        background-color: var(--text-dark);
        color: white;
        transform: scale(1.1);
    }
}

/* Scroll Indicator Modern */
.scroll-indicator-modern {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-dark);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

.arrow-scroll span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--text-dark);
    border-right: 2px solid var(--text-dark);
    transform: rotate(45deg);
    margin: -5px;
    animation: scrollArrow 2s infinite;
}

.arrow-scroll span:nth-child(2) {
    animation-delay: 0.2s;
}

.arrow-scroll span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes scrollWheel {
    0% {
        top: 10px;
        opacity: 1;
    }

    100% {
        top: 30px;
        opacity: 0;
    }
}

@keyframes scrollArrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

/* Badge Satisfaction 98% */
.satisfaction-badge {
    position: absolute;
    bottom: 100px;
    right: 8%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: floatBadge 6s ease-in-out infinite;
}

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

.counter {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    font-family: var(--font-heading);
}

.percent {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 600;
}

.badge-text {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.badge-ring {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(56, 129, 127, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 3s linear infinite;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* --- Section Marque : Univers --- */
.brand-universe-section {
    padding: 10rem var(--container-padding);
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.universe-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 6rem;
}

.universe-content {
    flex: 1;
    z-index: 2;
}

.reveal-text-sm {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.universe-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.universe-desc {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 500px;
}

/* Brand Pillars (New V5) */
.brand-pillars {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.pillar-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(248, 249, 250, 0.5);
    border-radius: 15px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.pillar-item:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-left-color: var(--primary-color);
    transform: translateX(10px);
}

.pillar-icon {
    color: var(--primary-color);
    background: rgba(56, 129, 127, 0.1);
    padding: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-text h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.pillar-text p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Background Icons (Éparpillés V9) */
.bg-icons-scattered {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-icon-scattered {
    position: absolute;
    color: var(--primary-color);
    opacity: 0.15;
    /* Plus visible */
    filter: drop-shadow(0 0 5px rgba(56, 129, 127, 0.3));
}

.icon-1 {
    width: 100px;
    top: 10%;
    left: 5%;
    transform: rotate(-15deg);
}

.icon-2 {
    width: 80px;
    top: 20%;
    right: 10%;
    transform: rotate(25deg);
}

.icon-3 {
    width: 120px;
    bottom: 15%;
    left: 15%;
    transform: rotate(10deg);
}

.icon-4 {
    width: 90px;
    bottom: 30%;
    right: 5%;
    transform: rotate(-20deg);
}

.icon-5 {
    width: 70px;
    top: 50%;
    left: 45%;
    transform: rotate(45deg);
    opacity: 0.08;
}

/* Titre Surligné (V9 - Supprimé pour V10) */
/* Remplacé par .highlight-full plus bas */

/* Interactive Stats Grid (V8) */
.interactive-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(56, 129, 127, 0.1);
}

.inter-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    cursor: pointer;
}

.inter-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(56, 129, 127, 0.15);
}

.stat-icon-wrapper {
    margin-bottom: 1rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.inter-stat-card:hover .stat-icon-wrapper {
    transform: scale(1.2) rotate(10deg);
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    font-family: var(--font-heading);
}

.stat-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Counter Static Style */
.counter-static {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
    line-height: 1;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.universe-visual {
    flex: 1;
    position: relative;
}

.image-mask-organic {
    width: 100%;
    height: 600px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    /* Forme organique */
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    animation: morphing 10s ease-in-out infinite;
}

.img-universe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

.universe-visual:hover .img-universe {
    transform: scale(1);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator span {
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-scroll-indicator .line {
    width: 1px;
    height: 40px;
    background-color: var(--text-dark);
}

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(56, 129, 127, 0.2), rgba(56, 129, 127, 0.05));
    backdrop-filter: blur(5px);
    z-index: 1;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    right: -50px;
    animation: float 8s ease-in-out infinite;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 10%;
    animation: float 6s ease-in-out infinite reverse;
}

/* Section Présentation (Bento Grid) */
.presentation-section {
    padding: 8rem var(--container-padding);
    background-color: var(--bg-color);
}

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

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: rgba(56, 129, 127, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--text-dark);
}

.highlight {
    color: var(--primary-color);
    font-style: italic;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: rgba(56, 129, 127, 0.2);
    z-index: -1;
    transform: skewX(-10deg);
}

.bento-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 300px 250px;
    gap: 20px;
}

.bento-card {
    background: white;
    border-radius: var(--border-radius-card);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
    position: relative;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(56, 129, 127, 0.15);
}

.main-card {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.main-card h3 {
    font-size: 2rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.main-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.main-card .card-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
}

.stat-card {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 4rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.vision-card {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.quality-card {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quality-list {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.quality-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.quality-list li::before {
    content: '✓';
    background-color: rgba(56, 129, 127, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
}

/* Animations Keyframes */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Responsive */
/* Responsive Global Updates */

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .main-card {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }

    .stat-card {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .vision-card {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    .quality-card {
        grid-column: 1 / 3;
        grid-row: 3 / 4;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .universe-container {
        flex-direction: column;
        gap: 4rem;
    }

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

    .brand-pillars {
        align-items: center;
    }

    .pillar-item {
        width: 100%;
        max-width: 500px;
        text-align: left;
    }

    .interactive-stats-grid {
        justify-content: center;
    }
}

@media (max-width: 768px) {

    /* Navbar */
    .navbar-pill {
        padding: 0.8rem 1.5rem;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        left: auto !important;
        right: -100% !important;
        /* Force right start */
        width: 250px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 100px 30px;
        gap: 2rem;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links.active {
        left: auto !important;
        right: 0 !important;
        /* Force right end */
    }

    .nav-links a {
        font-size: 1.2rem;
        color: var(--text-dark);
    }

    .menu-toggle {
        display: flex;
    }

    /* Close button inside the side menu (mobile) */
    .nav-links .nav-close {
        display: block;
        position: absolute;
        top: 18px;
        right: 18px;
        background: transparent;
        border: none;
        font-size: 2.2rem;
        color: var(--text-dark);
        cursor: pointer;
        line-height: 1;
        padding: 6px;
        z-index: 1001;
    }

    .nav-links .nav-close:focus {
        outline: 2px solid var(--primary-color);
        border-radius: 6px;
    }

    /* Hero Section Mobile */
    .hero-section {
        flex-direction: column;
        justify-content: center;
        padding-top: 80px;
        /* Add space for navbar */
    }

    .hero-content {
        text-align: center;
        margin-top: 0;
        width: 100%;
    }

    .hero-title {
        font-size: 8rem;
        /* DOUBLÉ (was 4.5rem, roughly 2x) */
        line-height: 0.9;
        font-weight: 700;
        text-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        margin: 1rem 0;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        align-items: center;
    }

    .btn-primary,
    .btn-play {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* Satisfaction Badge Mobile Position */
    .satisfaction-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 2rem;
        transform: scale(0.9);
        animation: none;
        padding: 1rem 1.5rem;
        justify-content: center;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        order: 2;
        /* Ensure it comes before the scroll indicator */
        z-index: 5;
    }

    /* Scroll Indicator Mobile - Hide mouse, show arrows only */
    .scroll-indicator-modern {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 1rem;
        order: 3;
        z-index: 4;
        padding-bottom: 2rem;
    }

    .scroll-indicator-modern .mouse {
        display: none;
    }

    .scroll-indicator-modern .arrow-scroll {
        margin-top: 0;
    }

    .badge-ring {
        width: 40px;
        height: 40px;
    }

    .counter {
        font-size: 2.5rem;
    }

    /* Brand Universe Mobile */
    .brand-universe-section {
        padding: 5rem var(--container-padding);
    }

    .universe-title {
        font-size: 2.5rem;
        /* Retour à la taille originale */
    }

    .title-logo {
        height: 2.5em;
        /* Agrandit le logo */
        margin-left: 0;
    }

    .image-mask-organic,
    .universe-visual {
        display: none;
        /* Supprime le logo en bas */
    }

    .bg-icons-scattered {
        opacity: 0.5;
    }

    /* Bento Grid Mobile */
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .main-card,
    .stat-card,
    .vision-card,
    .quality-card {
        grid-column: 1 / 2;
        grid-row: auto;
    }

    /* Director Section Mobile - FORCED CENTER */
    .director-visionary-section {
        padding: 5rem 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .visionary-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 2rem;
        /* Espace entre photo et texte */
    }

    .visionary-visual {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 0;
        margin: 0 auto;
    }

    .portal-frame {
        width: 100%;
        max-width: 320px;
        /* Taille optimale pour Mobile M */
        height: auto;
        aspect-ratio: 4/5;
        /* Ratio portrait constant */
    }

    .portal-mask {
        border-radius: 20px;
        width: 100%;
        height: 100%;
    }

    .img-portal {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .visionary-content {
        padding: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .kinetic-title {
        font-size: 3rem;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .manifesto-block {
        padding-left: 0;
        margin-bottom: 2rem;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .manifesto-line {
        display: none;
    }

    /* Supprime la ligne latérale sur mobile */

    .manifesto-text {
        font-size: 1.1rem;
        padding: 0 1rem;
        text-align: center;
        max-width: 90%;
    }

    .signature-art {
        justify-content: center;
    }

    /* Boutique Section Mobile */
    .boutique-section {
        padding: 5rem 1rem;
    }

    .boutique-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .boutique-subtitle {
        font-size: 0.8rem;
        word-wrap: break-word;
        /* Prevents overflow */
    }

    .boutique-desc {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        /* Smaller min-width */
        gap: 2rem;
    }

    /* Contact Section Mobile */
    .contact-wrapper-bio {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .bio-title {
        font-size: 2.2rem;
    }

    .form-card-bio {
        padding: 1.5rem;
    }

    /* Search Results Mobile */
    .search-results {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
    }
}

/* Tablet Optimizations (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }

    .director-visionary-section {
        padding: 6rem 5%;
    }

    .universe-container {
        gap: 3rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 480px) {
    .fp-title {
        font-size: 2.2rem;
        /* Smaller title on mobile */
    }

    .fp-details-col {
        padding: 2rem 1rem;
        /* minimal padding mobile */
    }

    .fp-desc {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        /* Full width on very small screens */
    }

    /* Director Mobile: Clean Paragraph */
    .director-visionary-section {
        padding: 5rem 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .manifesto-block {
        padding-left: 1rem;
        /* Restore padding for line */
        margin-bottom: 2rem;
        width: 100%;
        display: flex;
        justify-content: flex-start;
        /* Align left */
        border-left: 3px solid var(--primary-color);
        /* Restore border line */
    }

    .manifesto-line {
        display: none;
    }

    /* Using border-left instead for simplicity */

    .manifesto-text {
        font-size: 1.3rem;
        /* Presentable size */
        padding: 0 1rem;
        text-align: left;
        /* MATCHES DESKTOP */
        max-width: 100%;
        line-height: 1.6;
    }
}

/* --- Section Directeur : Vision (New V5) --- */
/* --- Section Directeur : Visionary Portal (Design V7 Avant-Garde) --- */
.director-visionary-section {
    position: relative;
    padding: 15vh 5vw;
    background-color: #051010;
    /* Noir profond teinté de vert */
    color: #e0e0e0;
    overflow: hidden;
    isolation: isolate;
    /* Crée un nouveau contexte d'empilement */
}

/* Texture Noise */
.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
}

.visionary-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    align-items: center;
}

/* Typographie Arrière-plan */
.typo-bg {
    position: absolute;
    font-family: var(--font-heading);
    font-size: 25vw;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.03);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg);
    z-index: -1;
    pointer-events: none;
    white-space: nowrap;
}

/* Logo dans le titre */
.title-logo {
    height: 0.8em;
    /* Ajusté à la taille du texte */
    width: auto;
    margin-left: 20px;
    vertical-align: baseline;
    display: inline-block;
}

/* Colonne Visuelle */
.visionary-visual {
    position: relative;
    padding-right: 5rem;
}

.portal-frame {
    position: relative;
    width: 100%;
    height: 80vh;
    max-height: 800px;
}

.portal-mask {
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Forme asymétrique */
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
    position: relative;
}

.img-portal {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1) brightness(0.9);
    transform: scale(1.1);
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1), filter 0.5s ease;
}

.portal-frame:hover .img-portal {
    transform: scale(1);
    filter: grayscale(0%) contrast(1);
}

.portal-border {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(56, 129, 127, 0.3);
    /* Vert Longrich */
    z-index: -1;
    transition: transform 0.5s ease;
}

.portal-frame:hover .portal-border {
    transform: translate(-10px, 10px);
}

/* --- Scroll Animations --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Nouvelles Animations Produit */
.product-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger delay via CSS (optional, limited to first few) */
.product-card:nth-child(1) {
    transition-delay: 0.1s;
}

.product-card:nth-child(2) {
    transition-delay: 0.2s;
}

.product-card:nth-child(3) {
    transition-delay: 0.3s;
}

.product-card:nth-child(4) {
    transition-delay: 0.4s;
}


/* Fade Left Animation */
.fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

.fade-left.reveal-visible {
    opacity: 1;
    transform: translateX(0);
}

.floating-caption {
    position: absolute;
    bottom: 10%;
    right: -50px;
    background: rgba(5, 16, 16, 0.8);
    backdrop-filter: blur(10px);
    padding: 1.5rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    z-index: 3;
}

.caption-label {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.8rem;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.caption-year {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--white);
}

/* Colonne Contenu */
.visionary-content {
    position: relative;
    padding-left: 2rem;
}

.kinetic-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 8vw, 10rem);
    line-height: 0.9;
    color: var(--white);
    margin-bottom: 4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex-direction: column;
    align-items: flex-start;
}

.title-row {
    display: flex;
    gap: 0.5rem;
}

.char-wrapper {
    display: inline-block;
    transition: transform 0.3s ease;
}

.char-wrapper:hover {
    transform: translateY(-10px);
    color: var(--accent-color);
}

.spacer {
    width: 2rem;
}

.manifesto-block {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 5rem;
}

.manifesto-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
}

.manifesto-text {
    font-family: var(--font-body);
    font-size: 1.5rem;
    line-height: 1.6;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
}

.text-gold {
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-style: italic;
}

.signature-art {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.sig-svg {
    width: 200px;
    height: auto;
    opacity: 0.8;
}

.role-minimal {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 1rem;
}

/* Responsive V7 */
@media (max-width: 1024px) {
    .visionary-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .visionary-visual {
        padding-right: 0;
    }

    .portal-frame {
        height: 60vh;
    }

    .floating-caption {
        right: 0;
        bottom: -20px;
    }

    .visionary-content {
        padding-left: 0;
        text-align: left;
        /* Garder l'alignement gauche pour le style éditorial */
    }

    .kinetic-title {
        font-size: 5rem;
    }
}

@media (max-width: 768px) {
    .director-visionary-section {
        padding: 10vh 20px;
    }

    .portal-mask {
        clip-path: none;
        /* Simplifier sur mobile */
    }

    .portal-border {
        display: none;
    }

    .kinetic-title {
        font-size: 3.5rem;
    }

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

/* Titre Surligné (V10 - Bloc Complet) */
.highlight-full {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    display: inline;
    line-height: 1.6;
    box-shadow: 0 5px 15px rgba(56, 129, 127, 0.2);
}

/* --- Section Contact Bio / Cosmétique (V10) --- */
.contact-bio-section {
    position: relative;
    padding: 8rem var(--container-padding);
    background-color: #f6fdfb;
    /* Background subtil */
    background-image: radial-gradient(#e0f2f1 1px, transparent 1px);
    background-size: 20px 20px;
    color: var(--text-dark);
    overflow: hidden;
}

.bio-shape-1 {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 129, 127, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.bio-shape-2 {
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 129, 127, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

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

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

.bio-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: rgba(56, 129, 127, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.bio-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.text-green {
    color: var(--primary-color);
    font-style: italic;
}

.bio-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

/* Formulaire Bio */
.form-card-bio {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.input-group-bio {
    margin-bottom: 1.5rem;
}

.input-group-bio label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.input-group-bio input,
.input-group-bio textarea {
    width: 100%;
    padding: 1rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.input-group-bio textarea {
    height: 120px;
    resize: none;
}

.input-group-bio input:focus,
.input-group-bio textarea:focus {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(56, 129, 127, 0.1);
    outline: none;
}

.btn-bio {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-bio:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(56, 129, 127, 0.2);
}

/* Liens Sociaux Bio */
.social-links-bio {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-item-bio {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 15px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-item-bio:hover {
    background: rgba(56, 129, 127, 0.05);
    border-color: rgba(56, 129, 127, 0.2);
    transform: translateX(5px);
    color: var(--primary-color);
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-item-bio:hover .icon-circle {
    background: var(--primary-color);
    color: white;
}

/* Ensure social SVGs are visible and sized consistently on small devices */
.icon-circle svg {
    width: 18px;
    height: 18px;
    display: block;
    stroke: currentColor;
    stroke-width: 1.6;
    fill: none;
}

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

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

    .form-card-bio {
        padding: 2rem;
    }
}

/* --- Section Boutique Visionnaire 2025 (V13) --- */
.boutique-section {
    padding: 10rem var(--container-padding);
    background-color: #ffffff;
    /* Fond Blanc Strict */
    position: relative;
    overflow: hidden;
    color: var(--text-dark);
}

/* Background Elements */
.boutique-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.glow-spot {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.08) 0%, transparent 70%);
    filter: blur(80px);
}

.boutique-header {
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
    z-index: 2;
    max-width: 1000px;
    /* Même largeur que contact-container-bio */
    margin-left: auto;
    margin-right: auto;
}

.boutique-subtitle {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #2a6361;
    /* Vert foncé élégant */
    margin-bottom: 1rem;
    font-weight: 600;
}

.boutique-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.text-gradient-green {
    color: #2a6361;
    /* Pas de gradient, couleur solide premium */
}

.boutique-desc {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Carte Produit V13 - Design Contrasté */
/* Carte Produit V14 - Design Contrasté & Harmonieux */
.product-card {
    background: #38817f;
    /* Nouveau Vert Demandé */
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    position: relative;
    box-shadow: 0 20px 40px rgba(56, 129, 127, 0.15);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(56, 129, 127, 0.25);
}

.product-image-wrapper {
    position: relative;
    height: 380px;
    background: transparent;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: none;
    z-index: 1;
}

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

.product-actions {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: rgba(56, 129, 127, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.btn-view-details {
    background: white;
    color: #38817f;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-card:hover .btn-view-details {
    transform: translateY(0);
}

.product-info {
    padding: 2rem;
    background: #38817f;
    /* Continuité du fond */
    color: white;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 3;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white !important;
    font-weight: 400;
}

.price-row {
    margin-bottom: 1.5rem;
}

.product-price {
    color: #0d3634;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

/* Bouton Pillule "Ajouter" */
.btn-add-pill {
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-add-pill:hover {
    background: white;
    border-color: white;
    color: #38817f;
    transform: scale(1.02);
}

/* --- Modale Recherche (V14) --- */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 6000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 100px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.search-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #38817f;
    cursor: pointer;
}

.search-container {
    width: 90%;
    max-width: 800px;
    text-align: center;
}

#searchInput {
    width: 100%;
    padding: 1.5rem;
    font-size: 2rem;
    border: none;
    border-bottom: 2px solid #38817f;
    background: transparent;
    color: #38817f;
    font-family: var(--font-heading);
    outline: none;
    text-align: center;
}

#searchInput::placeholder {
    color: rgba(56, 129, 127, 0.3);
}

.search-results {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-height: 60vh;
    overflow-y: auto;
    padding: 1rem;
}

.search-item {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.search-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(56, 129, 127, 0.15);
    border-color: rgba(56, 129, 127, 0.2);
}

.search-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

.search-info {
    width: 100%;
    margin-bottom: 1rem;
}

.search-item h4 {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    font-weight: 600;
    line-height: 1.3;
}

.search-item .price {
    color: var(--primary-color);
    font-weight: 700;
    display: block;
    font-size: 0.9rem;
}

.search-actions {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.search-actions button {
    flex: 1;
    padding: 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.search-actions button:first-child {
    background: rgba(56, 129, 127, 0.1);
    color: var(--primary-color);
}

.search-actions button:first-child:hover {
    background: rgba(56, 129, 127, 0.2);
}

.search-actions button:last-child {
    background: var(--primary-color);
    color: white;
}

.search-actions button:last-child:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(56, 129, 127, 0.3);
}

/* --- Fenêtre Découverte "Full Page" (V13) --- */
.full-page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    z-index: 5000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.full-page-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.btn-back-nav {
    position: fixed;
    top: 30px;
    left: 30px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #0a1f1c;
    cursor: pointer;
    z-index: 5010;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
    mix-blend-mode: difference;
    /* Pour être visible sur tout fond */
    color: white;
    /* Avec mix-blend-mode difference, ça inversera */
}

.btn-back-nav:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-5px);
}

.full-page-content {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fp-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    width: 100%;
    min-height: 100vh;
}

.fp-image-col {
    background: #0a1f1c;
    /* Fond vert foncé pour l'image */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.fp-circle-bg {
    position: absolute;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.05) 0%, transparent 60%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.fp-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fp-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Recouvre tout l'espace */
    object-position: center;
    z-index: 2;
    filter: drop-shadow(0 50px 100px rgba(0, 0, 0, 0.5));
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
}

.full-page-overlay.active .fp-img {
    transform: scale(1);
    opacity: 1;
}

.fp-details-col {
    padding: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

.fp-subtitle {
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #999;
    font-size: 0.45rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.fp-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
    color: #0a1f1c;
    margin-bottom: 2rem;
}

.fp-price {
    font-size: 2.5rem;
    color: #4ade80;
    font-weight: 700;
}

.fp-separator {
    width: 80px;
    height: 4px;
    background: #0a1f1c;
    margin: 2rem 0;
}

.fp-desc {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 4rem;
    max-width: 600px;
}

.fp-controls {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.quantity-selector-fp {
    display: flex;
    align-items: center;
    border: 2px solid #eee;
    border-radius: 50px;
    padding: 0.5rem;
    height: 60px;
}

.qty-btn-fp {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    cursor: pointer;
    color: #0a1f1c;
    transition: background 0.3s;
}

.qty-btn-fp:hover {
    background: #f0f0f0;
}

#modalQty {
    width: 50px;
    border: none;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0a1f1c;
}

.btn-add-cart-fp {
    background: #0a1f1c;
    color: white;
    border: none;
    padding: 0 3rem;
    height: 60px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-add-cart-fp:hover {
    background: #4ade80;
    color: #0a1f1c;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(74, 222, 128, 0.3);
}

@media (max-width: 1024px) {
    .fp-grid {
        grid-template-columns: 1fr;
    }

    .fp-image-col {
        height: 50vh;
        min-height: auto;
    }

    .fp-details-col {
        padding: 4rem 2rem;
        /* Reduced padding for tablet */
        min-height: auto;
    }

    .fp-controls {
        flex-wrap: wrap;
        /* Allow wrapping */
        justify-content: center;
    }

    .btn-add-cart-fp {
        padding: 0 2rem;
        /* Smaller padding */
        font-size: 1rem;
        width: 100%;
        /* Full width button */
        justify-content: center;
    }

    .fp-subtitle {
        font-size: 0.6rem;
    }

    .fp-title {
        font-size: 3rem;
    }
}

/* --- Panier Side Panel (V13) --- */
.cart-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: white;
    z-index: 3000;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.cart-panel.active {
    right: 0;
}

#adminLink {
    color: white !important;
    opacity: 1 !important;
}

.cart-overlay-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.cart-overlay-bg.active {
    opacity: 1;
    pointer-events: all;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
}

.cart-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    align-items: center;
    transition: transform 0.2s ease;
}

.cart-item:hover {
    transform: translateX(5px);
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cart-item-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
}

.cart-item-qty {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.2rem;
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 8px;
    border-radius: 10px;
    align-self: flex-start;
}

.cart-remove {
    background: none;
    border: none;
    color: #ff6b6b;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s;
}

.cart-remove:hover {
    transform: scale(1.2);
    color: #ff4c4c;
}

.cart-footer {
    padding: 2rem;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.btn-checkout {
    width: 100%;
    background: #25D366;
    /* WhatsApp Green */
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-checkout:hover {
    background: #128C7E;
}

@media (max-width: 900px) {
    .modal-grid {
        grid-template-columns: 1fr;
    }

    .modal-image-col {
        padding: 2rem;
        height: 300px;
    }

    .modal-details-col {
        padding: 2rem;
    }

    .cart-panel {
        width: 100%;
        right: -100%;
    }
}

.product-image-wrapper {
    position: relative;
    height: 350px;
    background: transparent;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    transition: transform 0.6s ease;
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-view-details {
    background: white;
    color: var(--text-dark);
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    transform: translateY(20px);
    transition: all 0.4s ease;
    cursor: pointer;
}

.product-card:hover .btn-view-details {
    transform: translateY(0);
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-price {
    color: #0d3634;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

/* --- Modale Produit (V12) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 1000px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    transform: translateY(50px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--primary-color);
    color: white;
}

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

.modal-image-col {
    background: #f8f9fa;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.modal-details-col {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.modal-price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2rem;
}

.modal-separator {
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin-bottom: 2rem;
}

.modal-desc {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.btn-add-cart {
    background: var(--text-dark);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: start;
}

.btn-add-cart:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(56, 129, 127, 0.3);
}

@media (max-width: 900px) {
    .modal-grid {
        grid-template-columns: 1fr;
    }

    .modal-image-col {
        padding: 2rem;
        height: 300px;
    }

    .modal-details-col {
        padding: 2rem;
    }
}

/* --- Admin System Styles --- */

/* Overlays */
.admin-overlay,
.admin-dashboard-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-overlay.active,
.admin-dashboard-overlay.active {
    display: flex;
    opacity: 1;
}

/* Admin Modal (Login & Forms) */
.admin-modal {
    background: rgba(20, 30, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.admin-overlay.active .admin-modal {
    transform: translateY(0);
}

.admin-modal h3 {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.admin-modal input,
.admin-modal textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    border-radius: 10px;
    color: #fff;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.admin-modal input:focus,
.admin-modal textarea:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #38817f;
    outline: none;
}

.admin-modal button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #38817f, #2a6361);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-modal button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(56, 129, 127, 0.4);
}

.admin-close,
.admin-close-form,
.admin-close-dash {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.admin-close:hover,
.admin-close-form:hover,
.admin-close-dash:hover {
    color: #fff;
}

/* Admin Dashboard */
.admin-dashboard {
    background: #0a1515;
    width: 95%;
    max-width: 1000px;
    height: 85vh;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

.admin-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

.admin-header h3 {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

.admin-stats {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(56, 129, 127, 0.1);
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-number {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.btn-admin-action {
    background: #fff;
    color: #0a1515;
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-admin-action:hover {
    background: #38817f;
    color: #fff;
    transform: scale(1.05);
}

.admin-products-list {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Admin Product Card */
.admin-prod-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: background 0.3s;
}

.admin-prod-card:hover {
    background: rgba(255, 255, 255, 0.06);
}

.admin-prod-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.admin-prod-info h4 {
    color: #fff;
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.admin-prod-info p {
    color: #38817f;
    font-weight: 600;
}

.admin-card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-edit,
.btn-delete {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.btn-edit {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-delete {
    background: rgba(255, 50, 50, 0.2);
    color: #ff6b6b;
}

.btn-edit:hover,
.btn-delete:hover {
    opacity: 0.8;
}

/* Scrollbar for Admin List */
.admin-products-list::-webkit-scrollbar {
    width: 6px;
}

.admin-products-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.admin-products-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}