/**
 * Coopérative Aboughlou — Design System
 * Thème artisanal marocain · Vallée de l'Ourika
 */

/* ═══════════════════════════════════════════
   VARIABLES & FONDATION
   ═══════════════════════════════════════════ */

:root {
    /* Couleurs */
    --ocre: #C8922A;
    --ocre-light: #d9a94f;
    --ocre-dark: #a67820;
    --ocre-translucent: rgba(200, 146, 42, 0.12);
    --vert-olive: #5C7A3E;
    --vert-olive-light: #7a9a58;
    --vert-olive-dark: #455e2d;
    --blanc-casse: #FAF7F0;
    --blanc-pur: #ffffff;
    --brun: #3B2A1A;
    --brun-light: #5a4433;
    --brun-medium: #4d3828;
    --gris-chaud: #8c7b6b;
    --gris-clair: #e8e2d8;

    /* Typographie */
    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;

    /* Espacements */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Rayons */
    --radius-sm: 3px;
    --radius-md: 6px;
    --radius-lg: 12px;
    --radius-full: 50%;

    /* Ombres */
    --shadow-soft: 0 2px 15px rgba(59, 42, 26, 0.08);
    --shadow-medium: 0 4px 25px rgba(59, 42, 26, 0.12);
    --shadow-card: 0 3px 20px rgba(59, 42, 26, 0.07);

    /* Transitions */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-base: 0.3s var(--ease-out);
    --transition-slow: 0.6s var(--ease-out);
}

/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--brun);
    background-color: var(--blanc-casse);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: var(--ocre-dark);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--ocre);
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--brun);
}

/* Texture de fond subtile — grain de papier via SVG */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}


/* ═══════════════════════════════════════════
   SECTION LABEL (petits titres décoratifs)
   ═══════════════════════════════════════════ */

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ocre);
    margin-bottom: var(--space-sm);
    position: relative;
    padding-left: 2.2rem;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.6rem;
    height: 1px;
    background: var(--ocre);
}


/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 247, 240, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
    background: rgba(250, 247, 240, 0.97);
    box-shadow: 0 1px 20px rgba(59, 42, 26, 0.08);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.9rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--brun);
}

.site-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: var(--radius-full);
}

.site-logo-text {
    display: flex;
    flex-direction: column;
}

.site-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brun);
    line-height: 1.2;
}

.site-tagline {
    font-size: 0.68rem;
    color: var(--gris-chaud);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 400;
}

/* Nav desktop */
.nav-list {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-list a {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brun-light);
    text-decoration: none;
    position: relative;
    padding: 0.3rem 0;
    transition: color var(--transition-base);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ocre);
    transition: width var(--transition-base);
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--ocre);
}

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

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    position: relative;
    z-index: 1002;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: var(--brun);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ═══════════════════════════════════════════
   HERO (Page d'accueil)
   ═══════════════════════════════════════════ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
    padding: var(--space-3xl) 2rem var(--space-2xl);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        175deg,
        rgba(59, 42, 26, 0.15) 0%,
        rgba(59, 42, 26, 0.55) 50%,
        rgba(59, 42, 26, 0.85) 100%
    );
}

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

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--ocre-light);
    margin-bottom: var(--space-sm);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 700;
    color: var(--blanc-casse);
    line-height: 1.05;
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(250, 247, 240, 0.82);
    margin-bottom: var(--space-lg);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    right: 3rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(250, 247, 240, 0.5);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.scroll-dot {
    animation: scrollHint 2s ease-in-out infinite;
}

@keyframes scrollHint {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.3; }
}


/* ═══════════════════════════════════════════
   BOUTONS
   ═══════════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
    line-height: 1;
}

.btn-primary {
    background: var(--ocre);
    color: var(--blanc-casse);
}

.btn-primary:hover {
    background: var(--ocre-dark);
    color: var(--blanc-casse);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(200, 146, 42, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--brun);
    border: 1.5px solid var(--brun);
}

.btn-secondary:hover {
    background: var(--brun);
    color: var(--blanc-casse);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #1da851;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-large {
    padding: 1.1rem 2.4rem;
    font-size: 0.9rem;
}

.btn-order {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.65rem 1.3rem;
    background: var(--ocre);
    color: var(--blanc-casse);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition-base);
    text-align: center;
}

.btn-order:hover {
    background: var(--ocre-dark);
    color: var(--blanc-casse);
    transform: translateY(-1px);
}

.link-arrow {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ocre);
    text-decoration: none;
    display: inline-block;
    padding-top: var(--space-sm);
    transition: transform var(--transition-base), color var(--transition-base);
}

.link-arrow:hover {
    color: var(--ocre-dark);
    transform: translateX(4px);
}


/* ═══════════════════════════════════════════
   SECTION — QUI SOMMES-NOUS (Accueil)
   ═══════════════════════════════════════════ */

.section-about-preview {
    padding: var(--space-3xl) 2rem;
    background: var(--blanc-casse);
}

.about-preview-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-preview-text {
    padding-right: var(--space-lg);
    /* Asymétrie : décalage vertical */
    padding-top: var(--space-xl);
}

.about-preview-text h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.about-preview-text p {
    font-size: 0.95rem;
    color: var(--brun-light);
    margin-bottom: var(--space-sm);
    line-height: 1.8;
}

.about-preview-image {
    position: relative;
}

.about-preview-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius-md);
    /* Asymétrie : légère rotation */
    transform: rotate(1.2deg);
}

.image-accent {
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 60%;
    height: 60%;
    border: 2px solid var(--ocre-translucent);
    border-radius: var(--radius-md);
    z-index: -1;
    transform: rotate(-0.5deg);
}


/* ═══════════════════════════════════════════
   SECTION — PRODUITS VEDETTES
   ═══════════════════════════════════════════ */

.section-featured {
    padding: var(--space-3xl) 2rem;
    background: var(--blanc-pur);
}

.section-featured-header {
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    text-align: center;
}

.section-featured-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: var(--space-sm);
}

.section-featured-header p {
    color: var(--gris-chaud);
    font-size: 0.95rem;
}

.featured-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    /* Grille irrégulière : 2 + 3, pas 5 colonnes parfaites */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.featured-card {
    background: var(--blanc-casse);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

/* Asymétrie : cards alternées avec décalages */
.featured-card:nth-child(2) {
    margin-top: var(--space-lg);
}

.featured-card:nth-child(4) {
    margin-top: calc(var(--space-lg) * -0.5);
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.featured-card-image {
    height: 240px;
    overflow: hidden;
}

.featured-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.featured-card-body {
    padding: var(--space-md);
}

.featured-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.featured-card-meta {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    margin-bottom: 0.6rem;
}

.product-quantity {
    font-size: 0.78rem;
    color: var(--gris-chaud);
    font-weight: 400;
}

.product-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ocre);
}

.featured-card-body p {
    font-size: 0.85rem;
    color: var(--brun-light);
    line-height: 1.6;
}

.featured-cta {
    text-align: center;
    margin-top: var(--space-xl);
}


/* ═══════════════════════════════════════════
   BANDEAU SAVOIR-FAIRE
   ═══════════════════════════════════════════ */

.section-craft-band {
    position: relative;
    padding: var(--space-3xl) 2rem;
    background: var(--brun);
    overflow: hidden;
}

.craft-band-texture {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

.craft-band-content {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    /* Asymétrie subtile : décalé vers la gauche */
    transform: translateX(-20px);
}

.craft-band-content blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-style: italic;
    color: var(--ocre-light);
    margin-bottom: var(--space-md);
    line-height: 1.4;
}

.craft-band-content p {
    font-size: 0.95rem;
    color: rgba(250, 247, 240, 0.65);
    line-height: 1.8;
}


/* ═══════════════════════════════════════════
   CATÉGORIES (Accueil)
   ═══════════════════════════════════════════ */

.section-categories {
    padding: var(--space-3xl) 2rem;
    background: var(--blanc-casse);
}

.categories-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

/* Asymétrie : décalage vertical des catégories */
.category-block:nth-child(2) {
    margin-top: var(--space-xl);
}

.category-block-img {
    height: 280px;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.category-block-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.category-block:hover .category-block-img img {
    transform: scale(1.04);
}

.category-block h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    color: var(--brun);
}

.category-block p {
    font-size: 0.87rem;
    color: var(--gris-chaud);
    line-height: 1.6;
}


/* ═══════════════════════════════════════════
   CTA FINAL (Accueil)
   ═══════════════════════════════════════════ */

.section-cta-final {
    padding: var(--space-3xl) 2rem;
    background: var(--blanc-pur);
}

.cta-final-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cta-final-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--space-sm);
}

.cta-final-content p {
    color: var(--gris-chaud);
    margin-bottom: var(--space-lg);
    font-size: 1rem;
}


/* ═══════════════════════════════════════════
   PAGE HERO (pages internes)
   ═══════════════════════════════════════════ */

.page-hero {
    padding: 10rem 2rem var(--space-xl);
    background: var(--brun);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-size: 256px 256px;
}

.page-hero-content {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    /* Asymétrie : pas centré, décalé à gauche */
    padding-left: 1rem;
}

.page-hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--blanc-casse);
    line-height: 1.1;
    margin-bottom: var(--space-sm);
}

.page-hero-content .section-label {
    color: var(--ocre-light);
}

.page-hero-content p {
    font-size: 1rem;
    color: rgba(250, 247, 240, 0.7);
    max-width: 550px;
    line-height: 1.7;
}


/* ═══════════════════════════════════════════
   PAGE PRODUITS — FILTRES
   ═══════════════════════════════════════════ */

.products-filters {
    padding: var(--space-lg) 2rem;
    background: var(--blanc-casse);
    border-bottom: 1px solid var(--gris-clair);
    position: sticky;
    top: 68px;
    z-index: 100;
}

.filters-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.55rem 1.2rem;
    background: transparent;
    border: 1.5px solid var(--gris-clair);
    border-radius: 50px;
    cursor: pointer;
    color: var(--brun-light);
    transition: all var(--transition-base);
}

.filter-btn:hover {
    border-color: var(--ocre);
    color: var(--ocre);
}

.filter-btn.active {
    background: var(--ocre);
    border-color: var(--ocre);
    color: var(--blanc-casse);
}


/* ═══════════════════════════════════════════
   PAGE PRODUITS — GRILLE
   ═══════════════════════════════════════════ */

.products-grid-section {
    padding: var(--space-xl) 2rem var(--space-3xl);
    background: var(--blanc-casse);
}

.products-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg) var(--space-md);
}

/* Asymétrie douce dans la grille */
.product-card:nth-child(3n+2) {
    margin-top: var(--space-sm);
}

.product-card {
    background: var(--blanc-pur);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.4s var(--ease-out);
}

.product-card.hidden {
    display: none;
}

.product-card.show {
    animation: fadeInUp 0.4s var(--ease-out) forwards;
}

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

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

.product-card-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--ocre);
    color: var(--blanc-casse);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
}

/* Placeholder pour produits sans photo */
.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: var(--blanc-casse);
}

.product-placeholder--ocre {
    background: linear-gradient(150deg, var(--ocre) 0%, var(--ocre-dark) 100%);
}

.product-placeholder--vert-olive {
    background: linear-gradient(150deg, var(--vert-olive) 0%, var(--vert-olive-dark) 100%);
}

.product-placeholder span {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    opacity: 0.85;
}

.product-placeholder svg {
    opacity: 0.4;
}

.product-card-body {
    padding: var(--space-md);
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--brun);
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--space-sm);
}

.product-divider {
    color: var(--gris-clair);
    font-size: 0.9rem;
}

.product-description {
    margin-bottom: var(--space-md);
}

.product-description p {
    font-size: 0.87rem;
    color: var(--brun-light);
    line-height: 1.7;
}

.product-read-more {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ocre);
    cursor: pointer;
    padding: 0.3rem 0;
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color var(--transition-base);
}

.product-read-more:hover {
    color: var(--ocre-dark);
}


/* ═══════════════════════════════════════════
   PRODUCTS CTA BAND
   ═══════════════════════════════════════════ */

.products-cta-band {
    padding: var(--space-2xl) 2rem;
    background: var(--vert-olive);
}

.products-cta-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.products-cta-content h2 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: var(--blanc-casse);
    margin-bottom: var(--space-sm);
}

.products-cta-content p {
    color: rgba(250, 247, 240, 0.75);
    margin-bottom: var(--space-lg);
    font-size: 0.95rem;
}


/* ═══════════════════════════════════════════
   PAGE À PROPOS
   ═══════════════════════════════════════════ */

.about-story {
    padding: var(--space-3xl) 2rem;
    background: var(--blanc-casse);
}

.about-story-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.about-story-lead {
    max-width: 750px;
    margin: 0 auto var(--space-2xl);
    /* Asymétrie : décalé légèrement à droite */
    padding-left: var(--space-xl);
}

.lead-text {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    line-height: 1.7;
    color: var(--brun);
    font-weight: 400;
}

.about-story-block {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-xl);
    align-items: center;
    margin-bottom: var(--space-2xl);
}

.about-story-block--reverse {
    grid-template-columns: 1.2fr 1fr;
}

.about-story-block--reverse .about-story-image {
    order: -1;
}

.about-story-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.about-story-image--offset-right img {
    transform: rotate(0.8deg);
}

.about-story-image--offset-left img {
    transform: rotate(-0.6deg);
}

.about-story-text h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    margin-bottom: var(--space-md);
}

.about-story-text p {
    font-size: 0.93rem;
    color: var(--brun-light);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

/* Valeurs */
.about-values {
    position: relative;
    padding: var(--space-3xl) 2rem;
    background: var(--ocre-translucent);
    overflow: hidden;
}

.about-values-texture {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

.about-values-inner {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr 0.9fr;
    gap: var(--space-xl);
}

/* Asymétrie dans les valeurs */
.about-value:nth-child(2) {
    padding-top: var(--space-lg);
}

.value-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ocre);
    opacity: 0.25;
    display: block;
    margin-bottom: var(--space-xs);
    line-height: 1;
}

.about-value h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.about-value p {
    font-size: 0.87rem;
    color: var(--brun-light);
    line-height: 1.7;
}

/* CTA À Propos */
.about-cta {
    padding: var(--space-2xl) 2rem;
    background: var(--blanc-pur);
}

.about-cta-content {
    max-width: 550px;
    margin: 0 auto;
    text-align: center;
}

.about-cta-content h2 {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    margin-bottom: var(--space-sm);
}

.about-cta-content p {
    color: var(--gris-chaud);
    margin-bottom: var(--space-lg);
}

.about-cta-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}


/* ═══════════════════════════════════════════
   PAGE CONTACT
   ═══════════════════════════════════════════ */

.contact-main {
    padding: var(--space-3xl) 2rem;
    background: var(--blanc-casse);
}

.contact-main-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.contact-step {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--ocre-translucent);
    color: var(--ocre);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--brun-light);
    line-height: 1.7;
}

.step-content a {
    color: var(--ocre);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* CTA Card */
.contact-cta-card {
    background: var(--brun);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    /* Asymétrie : légère rotation */
    transform: rotate(-0.5deg);
}

.contact-cta-card-inner {
    padding: var(--space-xl);
    text-align: center;
    /* Contre-rotation du contenu */
    transform: rotate(0.5deg);
}

.contact-wa-icon {
    margin-bottom: var(--space-md);
}

.contact-cta-card h2 {
    font-size: 1.5rem;
    color: var(--blanc-casse);
    margin-bottom: var(--space-sm);
}

.contact-cta-card p {
    color: rgba(250, 247, 240, 0.7);
    font-size: 0.93rem;
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.contact-phone {
    margin-top: var(--space-md) !important;
    font-size: 0.85rem !important;
    color: rgba(250, 247, 240, 0.5) !important;
}

.contact-phone strong {
    color: rgba(250, 247, 240, 0.8);
}

/* Info contact */
.contact-info {
    padding: var(--space-2xl) 2rem;
    background: var(--blanc-pur);
    border-top: 1px solid var(--gris-clair);
}

.contact-info-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr 0.9fr;
    gap: var(--space-xl);
}

.contact-info-block h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
}

.contact-info-block p {
    font-size: 0.87rem;
    color: var(--brun-light);
    line-height: 1.7;
}

.contact-info-block em {
    color: var(--gris-chaud);
    font-style: italic;
}


/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.site-footer {
    background: var(--brun);
    color: rgba(250, 247, 240, 0.7);
    position: relative;
    overflow: hidden;
}

.footer-texture {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

.footer-inner {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--space-2xl) 2rem var(--space-lg);
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr;
    gap: var(--space-xl);
}

.footer-logo {
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
}

.footer-brand-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blanc-casse);
    margin-bottom: 0.3rem;
}

.footer-tagline {
    font-size: 0.82rem;
    color: rgba(250, 247, 240, 0.5);
    font-style: italic;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--blanc-casse);
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.4rem;
}

.footer-links a {
    color: rgba(250, 247, 240, 0.6);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--ocre-light);
}

.footer-contact p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.footer-whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #25D366;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity var(--transition-base);
}

.footer-whatsapp-link:hover {
    opacity: 0.8;
    color: #25D366;
}

.footer-bottom {
    position: relative;
    border-top: 1px solid rgba(250, 247, 240, 0.08);
    padding: var(--space-md) 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(250, 247, 240, 0.35);
}


/* ═══════════════════════════════════════════
   WHATSAPP FLOTTANT
   ═══════════════════════════════════════════ */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    z-index: 9998;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    animation: whatsappPulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.55),
                    0 0 0 8px rgba(37, 211, 102, 0.08);
    }
}


/* ═══════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════ */

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.15s;
}

.reveal-delay-2 {
    transition-delay: 0.3s;
}

.reveal-delay-3 {
    transition-delay: 0.45s;
}


/* ═══════════════════════════════════════════
   RESPONSIVE — TABLETTE (< 1024px)
   ═══════════════════════════════════════════ */

@media (max-width: 1024px) {
    .about-preview-inner {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .about-preview-text {
        padding-right: 0;
        padding-top: 0;
    }

    .about-preview-image img {
        height: 350px;
        transform: rotate(0.5deg);
    }

    .categories-inner {
        grid-template-columns: 1fr 1fr;
    }

    .category-block:nth-child(2) {
        margin-top: 0;
    }

    .about-story-block,
    .about-story-block--reverse {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .about-story-block--reverse .about-story-image {
        order: 0;
    }

    .about-story-lead {
        padding-left: 0;
    }

    .about-values-inner {
        grid-template-columns: 1fr 1fr;
    }

    .about-value:nth-child(2) {
        padding-top: 0;
    }

    .contact-main-inner {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .contact-info-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}


/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE (< 768px)
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {

    /* Menu mobile */
    .menu-toggle {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(59, 42, 26, 0.97);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s var(--ease-out), visibility 0.4s;
        z-index: 1000;
    }

    .site-nav.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .nav-list a {
        font-size: 1.3rem;
        color: var(--blanc-casse);
        letter-spacing: 0.12em;
    }

    .nav-list a::after {
        display: none;
    }

    .nav-list a:hover,
    .nav-list a.active {
        color: var(--ocre-light);
    }

    /* Hero */
    .hero {
        min-height: 90vh;
        padding: 6rem 1.2rem 3rem;
    }

    .hero-content {
        padding-left: 0;
    }

    .hero-scroll-hint {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        text-align: center;
        justify-content: center;
    }

    /* Sections */
    .section-about-preview,
    .section-featured,
    .section-craft-band,
    .section-categories,
    .section-cta-final,
    .about-story,
    .about-values,
    .about-cta,
    .contact-main,
    .contact-info {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    .about-preview-image img {
        height: 280px;
    }

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

    .featured-card:nth-child(2),
    .featured-card:nth-child(4) {
        margin-top: 0;
    }

    .categories-inner {
        grid-template-columns: 1fr;
    }

    .category-block-img {
        height: 220px;
    }

    .craft-band-content {
        transform: none;
    }

    /* Page héros */
    .page-hero {
        padding: 8rem 1.2rem var(--space-lg);
    }

    /* Produits */
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card:nth-child(3n+2) {
        margin-top: 0;
    }

    .products-filters {
        top: 60px;
    }

    .filters-inner {
        gap: 0.4rem;
    }

    .filter-btn {
        font-size: 0.7rem;
        padding: 0.45rem 0.9rem;
    }

    /* À Propos */
    .about-story-image img {
        height: 280px;
    }

    .about-values-inner {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-cta-card {
        transform: none;
    }

    .contact-cta-card-inner {
        transform: none;
        padding: var(--space-lg);
    }

    .contact-info-inner {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 18px;
        right: 18px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }

    /* Header */
    .header-inner {
        padding: 0.7rem 1.2rem;
    }

    .site-logo img {
        width: 40px;
        height: 40px;
    }

    .site-name {
        font-size: 0.95rem;
    }

    .site-tagline {
        font-size: 0.6rem;
    }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — PETIT MOBILE (< 480px)
   ═══════════════════════════════════════════ */

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.4rem;
    }

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

    .page-hero-content h1 {
        font-size: 2rem;
    }

    .btn {
        font-size: 0.75rem;
        padding: 0.75rem 1.4rem;
    }

    .btn-large {
        padding: 0.9rem 1.8rem;
        font-size: 0.8rem;
    }
}
