/* ============================================================
   BIPAK — Premium Bikepacking Gear
   style.css — Vanilla CSS conversion from React/Tailwind
   ============================================================ */


/* ── Fonts ── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */

:root {
    --radius: 0.625rem;
    --background: #16181e;
    --foreground: #f0ede6;
    --card: #1b1d24;
    --card-foreground: #f0ede6;
    --primary: #d4a017;
    --primary-foreground: #16181e;
    --secondary: #252830;
    --secondary-foreground: #d9d2c2;
    --muted: #252830;
    --muted-foreground: #8a8270;
    --accent: #b8891a;
    --accent-foreground: #16181e;
    --destructive: #ef4444;
    --border: #2c2f38;
    --input: #2c2f38;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
}


/* ── Reset ── */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-color: var(--border);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: var(--font-sans);
    min-height: 100vh;
    line-height: 1.6;
}

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

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

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


/* ── Zellige Patterns ── */

.zellige-pattern {
    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='%23d4a017' fill-opacity='0.03'%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");
}

.zellige-pattern-strong {
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4a017' fill-opacity='0.06'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40zm0-40h2l-2 2V0zm0 4l4-4h2l-6 6V4zm0 4l8-8h2L40 10V8zm0 4L52 0h2L40 14v-2zm0 4L56 0h2L40 18v-2zm0 4L60 0h2L40 22v-2zm0 4L64 0h2L40 26v-2zm0 4L68 0h2L40 30v-2zm0 4L72 0h2L40 34v-2zm0 4L76 0h2L40 38v-2zm0 4L80 0v2L42 40h-2zm4 0L80 4v2L46 40h-2zm4 0L80 8v2L50 40h-2zm4 0l28-28v2L54 40h-2zm4 0l24-24v2L58 40h-2zm4 0l20-20v2L62 40h-2zm4 0l16-16v2L66 40h-2zm4 0l12-12v2L70 40h-2zm4 0l8-8v2l-6 6h-2zm4 0l4-4v2l-2 2h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}


/* ── Animations ── */

@keyframes hero-fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-slow {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes slide-in-right {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.animate-hero-fade-in {
    animation: hero-fade-in 1.2s ease-out forwards;
}

.animate-slide-in-right {
    animation: slide-in-right 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}


/* ── Utility helpers ── */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.max-w-7xl {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.max-w-3xl {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.max-w-md {
    max-width: 28rem;
}


/* ── Announcement Bar ── */

.announcement-bar {
    background-color: greenyellow;
    color: var(--primary-foreground);
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
}


/* ── Header ── */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(22, 24, 30, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

@media (min-width: 640px) {
    .header-inner {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .header-inner {
        padding: 0 2rem;
    }
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--primary);
    font-family: var(--font-serif);
}

.header-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .header-nav {
        display: flex;
    }
}

.header-nav a {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    transition: color 0.3s;
}

.header-nav a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-btn {
    position: relative;
    color: var(--foreground);
    transition: color 0.3s;
    padding: 0;
    line-height: 1;
}

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

.cart-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    display: block;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: var(--primary);
    color: var(--primary-foreground);
    font-size: 10px;
    font-weight: 700;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cart-badge[hidden] {
    display: none;
}

.menu-btn {
    display: flex;
    align-items: center;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .menu-btn {
        display: none;
    }
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--border);
    padding: 1rem;
    gap: 0.75rem;
    flex-direction: column;
    background-color: var(--background);
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    transition: color 0.3s;
}

.mobile-nav a:hover {
    color: var(--primary);
}


/* ── Hero Section ── */

.hero-section {
    position: relative;
    height: 100svh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    transition: opacity 1s ease;
    opacity: 0;
}

.hero-slide.active {
    opacity: 1;
}

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

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--background) 0%, rgba(22, 24, 30, 0.5) 50%, transparent 100%);
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    z-index: 10;
}

.hero-inner {
    animation: hero-fade-in 1.2s ease-out forwards;
}

.hero-eyebrow {
    font-size: 4.25rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 2rem;
    display: block;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    animation: hero-eyebrow-fade-in 1.2s ease-out forwards;
}

.hero-h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.15;
    margin-bottom: 0.25rem;
}

.hero-h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-style: italic;
    color: var(--primary);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    max-width: 32rem;
    margin: 0 auto 2rem;
}

@media (min-width: 640px) {
    .hero-desc {
        font-size: 1rem;
    }
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 1rem 2rem;
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
    transition: background-color 0.3s;
}

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

.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.hero-dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 9999px;
    background-color: rgba(240, 237, 230, 0.3);
    transition: all 0.3s;
    padding: 0;
}

.hero-dot.active {
    background-color: var(--primary);
    width: 1.5rem;
}


/* ── Product Section ── */

.product-section {
    padding: 6rem 1rem;
}

@media (min-width: 640px) {
    .product-section {
        padding: 6rem 1.5rem;
    }
}

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

.section-eyebrow {
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-title {
    text-align: center;
    font-family: var(--font-serif);
    font-size: clamp(1.875rem, 4vw, 3rem);
    margin-bottom: 4rem;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-slider {
    /* Change le curseur sur PC pour indiquer que l'élément peut être attrapé */
    cursor: grab;
    /* Empêche la sélection accidentelle des images lors du glissement */
    user-select: none;
    -webkit-user-drag: none;
    /* Autorise le défilement vertical de la page sur mobile sans bloquer le swipe horizontal */
    touch-action: pan-y;
}


/* Enlève les comportements par défaut des images pendant le clic/glissement */

.product-slider img {
    pointer-events: none;
}

.product-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.5s, transform 0.3s;
}

.product-card:hover {
    border-color: rgba(212, 160, 23, 0.3);
}

.product-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

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

.product-info {
    padding: 1rem;
}

.product-category {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.product-name {
    font-family: var(--font-serif);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.product-desc {
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-desc.expanded {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
    overflow: visible;
}

.product-read-more {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0;
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.4;
    transition: color 0.3s;
}

.product-read-more:hover {
    color: var(--accent);
    text-decoration: underline;
}

.product-read-more[hidden] {
    display: none;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-weight: 600;
    font-size: 0.875rem;
}

.btn-add {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-add:hover {
    background-color: var(--accent);
}

.btn-add svg {
    width: 0.875rem;
    height: 0.875rem;
}


/* ── Story Section ── */

.story-section {
    padding: 6rem 1rem;
}

@media (min-width: 640px) {
    .story-section {
        padding: 6rem 1.5rem;
    }
}

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

.story-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .story-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.story-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.story-img-wrap img {
    width: 100%;
    height: 31.25rem;
    object-fit: cover;
}

.story-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(22, 24, 30, 0.4), transparent);
}

.story-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.story-title {
    font-family: var(--font-serif);
    font-size: clamp(1.875rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.story-title em {
    font-style: italic;
    color: var(--primary);
}

.story-body p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.8;
}

.story-body p+p {
    margin-top: 1rem;
}

.story-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-value {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}


/* ── Lifestyle Section ── */

.lifestyle-section {
    padding: 6rem 1rem;
}

@media (min-width: 640px) {
    .lifestyle-section {
        padding: 6rem 1.5rem;
    }
}

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

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

@media (min-width: 768px) {
    .lifestyle-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.lifestyle-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.lifestyle-card img {
    width: 100%;
    height: 25rem;
    object-fit: cover;
    transition: transform 0.7s;
}

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

.lifestyle-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(22, 24, 30, 0.8), transparent);
}

.lifestyle-card-text {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
}

.lifestyle-sub {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.lifestyle-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
}


/* ── Tutorial Section ── */

.tutorial-section {
    padding: 6rem 1rem;
}

@media (min-width: 640px) {
    .tutorial-section {
        padding: 6rem 1.5rem;
    }
}

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

.tutorial-desc {
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 3rem;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.tutorial-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .tutorial-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.tutorial-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
}

.tutorial-card img {
    width: 100%;
    height: 18.75rem;
    object-fit: cover;
    transition: transform 0.7s;
}

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

.tutorial-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(22, 24, 30, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.tutorial-card:hover .tutorial-overlay {
    background-color: rgba(22, 24, 30, 0.2);
}

.play-btn {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: rgba(212, 160, 23, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.tutorial-card:hover .play-btn {
    transform: scale(1.1);
}

.play-btn svg {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--primary-foreground);
    margin-left: 3px;
}

.tutorial-text {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
}

.tutorial-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
}

.tutorial-sub {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.tutorial-ig-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    transition: color 0.3s;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 auto;
    width: fit-content;
    display: block;
    text-align: center;
}

.tutorial-ig-link:hover {
    color: var(--accent);
}

.tutorial-ig-link svg {
    width: 1.25rem;
    height: 1.25rem;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
}


/* ── CTA Section ── */

.cta-section {
    padding: 6rem 1rem;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--background), var(--card), var(--background));
}

.cta-inner {
    position: relative;
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.cta-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.875rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.cta-title em {
    font-style: italic;
    color: var(--primary);
}

.cta-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.btn-outline {
    display: inline-block;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 1rem 2rem;
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
}


/* ── Footer ── */

.site-footer {
    border-top: 1px solid var(--border);
    padding: 4rem 1rem;
}

@media (min-width: 640px) {
    .site-footer {
        padding: 4rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .site-footer {
        padding: 4rem 2rem;
    }
}

.footer-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-brand h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--primary);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contacts a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    transition: color 0.3s;
}

.footer-contacts a:hover {
    color: var(--primary);
}

.footer-contacts a svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.footer-ig {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    transition: color 0.3s;
    margin-bottom: 1.5rem;
}

.footer-ig:hover {
    color: var(--primary);
}

.footer-ig svg {
    width: 1.25rem;
    height: 1.25rem;
}

.lang-buttons {
    display: flex;
    gap: 0.75rem;
}

.lang-btn {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.25rem;
    color: var(--foreground);
    transition: border-color 0.3s, color 0.3s;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: 0.15em;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}


/* ── WhatsApp floating button ── */

.whatsapp-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s, background-color 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #20bd5a;
}

.whatsapp-btn svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #fff;
}


/* ── Cart Drawer ── */

.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
}

.cart-overlay.open {
    display: block;
}

.cart-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(22, 24, 30, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.cart-panel {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 100%;
    max-width: 28rem;
    background-color: var(--card);
    border-left: 1px solid var(--border);
    box-shadow: -4px 0 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    animation: slide-in-right 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

.cart-header h2 {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.cart-close {
    color: var(--muted-foreground);
    transition: color 0.3s;
    padding: 0;
    line-height: 1;
}

.cart-close:hover {
    color: var(--foreground);
}

.cart-close svg {
    width: 1.25rem;
    height: 1.25rem;
    display: block;
}

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

.cart-empty {
    color: var(--muted-foreground);
    text-align: center;
    margin-top: 3rem;
    font-size: 0.875rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    background-color: rgba(37, 40, 48, 0.5);
    border-radius: 0.5rem;
    padding: 0.75rem;
}

.cart-item img {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
    border-radius: 0.375rem;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-qty {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

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

.cart-remove {
    color: var(--muted-foreground);
    transition: color 0.3s;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
}

.cart-remove:hover {
    color: var(--destructive);
}

.cart-remove svg {
    width: 1rem;
    height: 1rem;
    display: block;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.125rem;
    font-weight: 600;
}

.cart-total-amount {
    color: var(--primary);
}

.btn-whatsapp {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #25D366;
    color: #fff;
    font-weight: 500;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: background-color 0.3s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-whatsapp:hover {
    background-color: #20bd5a;
}

.btn-whatsapp svg {
    width: 1.25rem;
    height: 1.25rem;
}


/* ── Scroll reveal ── */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.video-container {
    width: 100%;
    max-width: 900px;
    margin: auto;
    border-radius: 20px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.video-container video {
    width: 100%;
    display: block;
}

.tutorial-overlay {
    cursor: pointer;
}

.video-container {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #111;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.tutorial-overlay {
    transition: opacity 0.3s ease;
}

.tutorial-text {
    position: absolute;
    bottom: 60px;
    left: 30px;
    z-index: 5;
}

.tutorial-card {
    position: relative;
}

.product-card-slide {
    position: absolute;
    inset: 0;
    transition: opacity 1s ease;
    opacity: 0;
}

.product-card-slide.active {
    opacity: 1;
}

.product-card-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--background) 0%, rgba(22, 24, 30, 0.5) 50%, transparent 100%);
}


/* SLIDER */

.slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #111;
}

.slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity .6s ease, transform 1.2s ease;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}


/* BUTTONS */

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
    backdrop-filter: blur(4px);
    transition: .3s;
}

.slider-btn:hover {
    background: #f5a623;
    color: #000;
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.slider-dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 9999px;
    background-color: rgba(240, 237, 230, 0.3);
    transition: all 0.3s;
    padding: 0;
}

.hero-dot.active {
    background-color: var(--primary);
    width: 1.5rem;
}

.product-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.p-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    position: relative;
    transition: all 0.3s ease;
}


/* Point actif Jaune avec effet de contour */

.p-dot.active {
    background: #FFC107;
    transform: scale(1.1);
}


/* Le Halo lumineux autour du point actif */

.p-dot.active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 1px solid #FFC107;
    animation: pulseDot 1.5s infinite ease-out;
}

@keyframes pulseDot {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}


/* Slider Produit */

.product-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-slides {
    position: relative;
    height: 100%;
    width: 100%;
}

.p-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.p-slide.active {
    opacity: 1;
    position: relative;
    /* Conserve le ratio du conteneur grid */
}


/* Zone des points de navigation (Dots) */

.product-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.p-dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 9999px;
    background-color: rgba(240, 237, 230, 0.3);
    transition: all 0.3s;
    padding: 0;
}

.p-dot.active {
    background-color: var(--primary);
    width: 1.5rem;
}


/* ── Story Section ── */

.story-section {
    padding: 6rem 1rem;
}

@media (min-width: 640px) {
    .story-section {
        padding: 6rem 1.5rem;
    }
}

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


/* GRID STYLE COMME LIFESTYLE */

.story-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .story-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* CARD STYLE */

.story-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    height: 28rem;
    cursor: pointer;
}

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


/* ZOOM HOVER */

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


/* OVERLAY COMME LIFESTYLE */

.story-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(22, 24, 30, 0.75), rgba(22, 24, 30, 0.1), transparent);
}


/* TEXTE */

.story-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.story-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 2rem;
}

.story-title em {
    color: var(--primary);
    font-style: italic;
}

.story-body p {
    font-size: 1rem;
    color: var(--muted-foreground);
}

.story-body p+p {
    margin-top: 1rem;
}


/* VERSION MOBILE */

@media (max-width: 767px) {
    .story-img-wrap {
        height: 22rem;
    }
    .story-title {
        font-size: 2.2rem;
    }
    .story-body p {
        font-size: 0.9rem;
    }
}