/* ============================================================
   Adaptitude — design system v3 (identité du site actuel, modernisée)
   Palette : rose poudré #F5DBDC · prune #8C4A68 · orchidée #A4538C · noir #1A1A1A
   Polices : Quicksand (titres) · Inter (texte) · Dancing Script (accents)
             · Cormorant Garamond (citations)
   ============================================================ */

:root {
    --rose: #F5DBDC;
    --rose-light: #FBEFEF;
    --rose-dark: #EFC9CB;
    --plum: #8C4A68;
    --plum-dark: #6E3A52;
    --orchid: #A4538C;
    --noir: #1A1A1A;
    --ink: #2B2B2B;
    --ink-soft: #6B6265;
    --white: #FFFFFF;
    --radius: 18px;
    --gradient: linear-gradient(120deg, #8C4A68 0%, #A4538C 100%);
    --shadow-sm: 0 4px 18px rgba(140, 74, 104, 0.10);
    --shadow: 0 14px 40px rgba(140, 74, 104, 0.16);
    --font-display: 'Quicksand', 'Inter', sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-script: 'Dancing Script', cursive;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: #FFFDFD;
    line-height: 1.65;
    font-size: 16px;
}

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

a { color: var(--plum); text-decoration: none; }

h1, h2, h3, .display { font-family: var(--font-display); font-weight: 700; line-height: 1.18; color: var(--noir); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.section { padding: 5rem 0; }
.section.rose { background: var(--rose); }

.eyebrow {
    font-family: var(--font-script);
    font-size: 1.5rem;
    color: var(--orchid);
    margin-bottom: .2rem;
}

.section-title {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    margin-bottom: 0.5rem;
    color: var(--noir);
}

.section-sub { color: var(--ink-soft); margin-bottom: 2.5rem; max-width: 560px; }

.script { font-family: var(--font-script); color: var(--plum); }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Boutons ---------- */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all .25s ease;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(140, 74, 104, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(140, 74, 104, 0.45); }

.btn-outline { border-color: var(--plum); color: var(--plum); background: transparent; }
.btn-outline:hover { background: var(--plum); color: var(--white); transform: translateY(-1px); }

.btn-terracotta {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(140, 74, 104, 0.35);
}
.btn-terracotta:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(140, 74, 104, 0.45); }

.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Bandeau promo ---------- */
.promo-bar {
    background: var(--noir);
    color: var(--white);
    text-align: center;
    font-size: 0.84rem;
    padding: 0.55rem 1rem;
    letter-spacing: .3px;
}
.promo-bar strong { color: var(--rose); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--white); /* opaque : le contenu ne transparaît jamais derrière le logo */
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
    border-bottom-color: var(--rose-dark);
    box-shadow: 0 6px 24px rgba(140, 74, 104, 0.08);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 1.5rem; }

.brand { display: flex; align-items: center; }
.brand img { height: 48px; width: auto; }
.brand-footer img { height: 54px; }

.main-nav { display: flex; gap: 2.1rem; }
.main-nav a { font-size: 0.96rem; font-weight: 600; color: var(--noir); position: relative; font-family: var(--font-display); }
.main-nav a::after {
    content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2.5px;
    background: var(--gradient); border-radius: 2px; transition: width .25s ease;
}
.main-nav a:hover::after { width: 100%; }

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

.lang-switch {
    font-size: 0.8rem; font-weight: 700; letter-spacing: 1px;
    border: 1.5px solid var(--plum); color: var(--plum);
    border-radius: 999px; padding: 0.25rem 0.7rem;
    transition: all .2s ease;
}
.lang-switch:hover { background: var(--plum); color: var(--white); }

.cart-link { position: relative; color: var(--noir); display: flex; transition: color .2s; }
.cart-link:hover { color: var(--plum); }
.cart-count {
    position: absolute; top: -8px; right: -10px;
    background: var(--gradient); color: var(--white);
    font-size: 0.68rem; font-weight: 700;
    width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

.nav-toggle { display: none; background: none; border: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--noir); display: block; }

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(165deg, var(--rose-light) 0%, var(--rose) 60%, var(--rose-dark) 100%);
    color: var(--noir);
    padding: 6rem 0 6.5rem;
    position: relative;
    overflow: hidden;
}
.hero::before, .hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .25;
    pointer-events: none;
}
.hero::before { width: 480px; height: 480px; background: var(--orchid); top: -180px; right: -120px; }
.hero::after { width: 380px; height: 380px; background: var(--plum); bottom: -200px; left: -100px; }

.hero-inner { position: relative; max-width: 680px; z-index: 1; }

.hero .tagline {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--plum);
    margin-bottom: .5rem;
}

.hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.5rem); margin-bottom: 1.2rem; letter-spacing: -.5px; }
.hero h1 em {
    font-style: normal;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p { font-size: 1.14rem; color: var(--ink); margin-bottom: 2.2rem; max-width: 540px; }

.hero-badges { display: flex; gap: .8rem; margin-top: 3rem; flex-wrap: wrap; }
.hero-badges span {
    font-size: .85rem; color: var(--plum-dark); font-weight: 600;
    display: flex; align-items: center; gap: .45rem;
    background: rgba(255, 255, 255, .65);
    border: 1px solid rgba(140, 74, 104, .15);
    border-radius: 999px; padding: .45rem 1rem;
    backdrop-filter: blur(6px);
}

/* ---------- Section histoire ---------- */
.story { background: var(--rose); position: relative; overflow: hidden; }
.story::before {
    content: "Adaptitude";
    position: absolute;
    font-family: var(--font-script);
    font-size: 13rem;
    color: rgba(140, 74, 104, 0.05);
    right: -2rem; bottom: -4.5rem;
    pointer-events: none;
    white-space: nowrap;
}
.story-grid { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 2.5rem; align-items: center; position: relative; }
.story-quote {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 700;
    color: var(--plum);
    text-align: center;
    padding-right: 2.5rem;
    border-right: 2px solid var(--plum);
}
.story-text { font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; color: var(--ink); }
.story-text .lead { font-size: 1.35rem; font-weight: 600; margin-bottom: 1rem; }
.story-text strong { color: var(--plum-dark); }
.story-text p { margin-bottom: 1rem; }

/* ---------- Cartes produit ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.8rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex; flex-direction: column;
    box-shadow: var(--shadow-sm);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.product-image {
    aspect-ratio: 1 / 1;
    background: linear-gradient(150deg, var(--rose-light), var(--rose));
    display: flex; align-items: center; justify-content: center;
    position: relative;
    overflow: hidden;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-image img { transform: scale(1.06); }

.product-image .placeholder {
    font-family: var(--font-script);
    font-size: 3.4rem;
    color: var(--plum);
}

.product-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.product-body h3 { font-size: 1.12rem; }
.product-botanical { font-style: italic; color: var(--ink-soft); font-size: .82rem; font-family: var(--font-serif); }
.product-desc { font-size: .9rem; color: var(--ink-soft); flex: 1; }
.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: .8rem; }
.product-price {
    font-weight: 700; font-size: 1.02rem; color: var(--plum-dark);
    background: var(--rose-light); border-radius: 999px; padding: .3rem .9rem;
}
.product-price .compare { text-decoration: line-through; color: var(--ink-soft); font-weight: 400; font-size: .88rem; margin-right: .4rem; }

.badge-out { background: var(--rose); color: var(--plum-dark); font-size: .75rem; padding: .2rem .6rem; border-radius: 999px; }

/* ---------- Sections valeurs ---------- */
.values { background: var(--white); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2.2rem; margin-top: 2.5rem; }
.value-card {
    text-align: center; padding: 2rem 1.4rem;
    background: var(--rose-light); border-radius: var(--radius);
    transition: transform .3s ease, box-shadow .3s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.value-icon {
    width: 68px; height: 68px; margin: 0 auto 1.1rem;
    background: var(--white);
    border: 2px solid var(--rose-dark);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
}
.value-card h3 { font-size: 1.2rem; margin-bottom: .4rem; color: var(--plum-dark); }
.value-card p { font-size: .92rem; color: var(--ink-soft); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.8rem; }

.blog-card {
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex; flex-direction: column;
    box-shadow: var(--shadow-sm);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-cover { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--rose-light), var(--rose)); overflow: hidden; }
.blog-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-cover img { transform: scale(1.05); }
.blog-body { padding: 1.3rem 1.4rem 1.6rem; }
.blog-date { font-size: .78rem; letter-spacing: 1px; text-transform: uppercase; color: var(--orchid); font-weight: 700; }
.blog-body h3 { font-size: 1.22rem; margin: .4rem 0 .5rem; }
.blog-body p { font-size: .92rem; color: var(--ink-soft); }

.article { max-width: 760px; margin: 0 auto; }
.article-header { text-align: center; margin-bottom: 2.5rem; }
.article-header h1 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); margin: .6rem 0; }
.article-content { font-size: 1.05rem; }
.article-content p { margin-bottom: 1.3rem; }
.article-content h2 { margin: 2rem 0 .8rem; color: var(--plum-dark); }
.article-content ul { margin: 0 0 1.3rem 1.4rem; }

/* ---------- Détail produit ---------- */
.product-detail { display: grid; grid-template-columns: minmax(0, 400px) 1fr; gap: 3rem; align-items: start; }
.product-detail .product-image {
    border-radius: var(--radius); box-shadow: var(--shadow-sm);
    position: sticky; top: 100px;
}
.product-detail h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.detail-price { font-size: 1.6rem; font-weight: 700; color: var(--plum-dark); margin: 1rem 0; }
.detail-format { color: var(--ink-soft); font-size: .92rem; margin-bottom: 1rem; }
.detail-section { margin-top: 1.8rem; }
.detail-section h3 { font-size: 1.15rem; margin-bottom: .5rem; color: var(--plum-dark); }
.detail-section ul { margin-left: 1.3rem; }
.qty-row { display: flex; gap: 1rem; align-items: center; margin-top: 1.6rem; }
/* input[type=number] pour battre la règle générique width:100% */
input[type="number"].qty-input {
    width: 64px; flex: 0 0 auto;
    padding: .55rem .3rem;
    border: 1.5px solid var(--rose-dark); border-radius: 10px;
    font-size: .95rem; text-align: center; background: var(--white);
}

/* ---------- Formulaires ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }

label { font-size: .85rem; font-weight: 600; display: block; margin-bottom: .3rem; color: var(--noir); }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="password"], select, textarea {
    width: 100%;
    padding: .78rem .95rem;
    border: 1.5px solid var(--rose-dark);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: .95rem;
    background: var(--white);
    transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--plum);
    box-shadow: 0 0 0 3px rgba(140, 74, 104, .12);
}

textarea { min-height: 140px; resize: vertical; }

.field { margin-bottom: 1rem; }
.field-validation-error { color: #B33A3A; font-size: .8rem; }
.validation-summary-errors { color: #B33A3A; font-size: .9rem; margin-bottom: 1rem; }

.alert-success {
    background: var(--rose-light); border: 1.5px solid var(--plum);
    color: var(--plum-dark); padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 1.5rem;
}

/* ---------- Panier ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.5rem; align-items: start; }
.cart-layout > div { min-width: 0; }

.cart-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.cart-table th { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; color: var(--ink-soft); padding: 1rem 1.2rem; border-bottom: 1px solid var(--rose-dark); }
.cart-table td { padding: 1rem 1.2rem; border-bottom: 1px solid var(--rose-light); vertical-align: middle; }
.cart-product { display: flex; align-items: center; gap: 1rem; }
.cart-thumb { width: 60px; height: 60px; border-radius: 12px; background: linear-gradient(150deg, var(--rose-light), var(--rose)); overflow: hidden; flex-shrink: 0; display:flex; align-items:center; justify-content:center; color: var(--plum); font-family: var(--font-script); font-size: 1.4rem; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.btn-link { background: none; border: none; color: var(--orchid); cursor: pointer; font-size: .85rem; text-decoration: underline; }

.cart-summary { background: var(--white); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.cart-summary h3 { margin-bottom: 1.2rem; color: var(--plum-dark); }
.summary-row { display: flex; justify-content: space-between; padding: .45rem 0; font-size: .95rem; }
.summary-row.total { border-top: 1.5px solid var(--rose-dark); margin-top: .6rem; padding-top: 1rem; font-weight: 700; font-size: 1.15rem; }
.free-shipping-hint { font-size: .82rem; color: var(--orchid); margin-top: .5rem; }
.secure-note { font-size: .8rem; color: var(--ink-soft); margin-top: 1rem; text-align: center; }

/* ---------- Page confirmation ---------- */
.confirm-box { max-width: 620px; margin: 0 auto; text-align: center; background: var(--white); border-radius: var(--radius); padding: 3.5rem 2.5rem; box-shadow: var(--shadow); }
.confirm-box .icon { font-size: 3rem; margin-bottom: 1rem; }
.order-number { display: inline-block; background: var(--rose); border-radius: 999px; padding: .4rem 1.2rem; font-weight: 700; color: var(--plum-dark); margin: 1rem 0; }

/* ---------- Page adaptogènes (éducative) ---------- */
.edu-hero { background: linear-gradient(165deg, var(--rose-light), var(--rose)); padding: 4.5rem 0; }
.edu-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); max-width: 700px; }
.edu-banner { border-radius: var(--radius); margin: 2.5rem 0; box-shadow: var(--shadow); }
.edu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.8rem; margin-top: 2.5rem; }
.edu-card {
    background: var(--rose-light); border-radius: var(--radius); padding: 1.8rem;
    transition: transform .3s ease, box-shadow .3s ease;
}
.edu-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.edu-card h3 { font-size: 1.25rem; margin-bottom: .6rem; color: var(--plum-dark); }
.edu-card p { font-size: .93rem; color: var(--ink-soft); }

/* ---------- Filtres catégorie ---------- */
.cat-filters { display: flex; gap: .7rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.cat-filters a {
    padding: .5rem 1.25rem; border-radius: 999px; font-size: .88rem; font-weight: 600;
    border: 1.5px solid var(--rose-dark); background: var(--white); color: var(--ink);
    transition: all .2s ease;
}
.cat-filters a.active, .cat-filters a:hover {
    background: var(--gradient); color: var(--white); border-color: transparent;
    box-shadow: 0 4px 14px rgba(140, 74, 104, .3);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--rose);
    color: var(--ink);
    margin-top: 5rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2.5rem; padding: 3.5rem 24px 2rem; }
.brand-footer { margin-bottom: .8rem; }
.site-footer h4 { color: var(--plum-dark); font-family: var(--font-display); font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: .9rem; }
.site-footer a { display: block; color: var(--ink); font-size: .92rem; padding: .22rem 0; transition: color .2s; }
.site-footer a:hover { color: var(--plum); }
.footer-shipping { margin-top: 1rem; font-size: .88rem; color: var(--plum-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
.footer-contact { font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; }
.footer-contact a { display: inline; }
.payment-badges { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; }
.payment-badges span {
    background: var(--white); border: 1px solid var(--rose-dark); border-radius: 8px;
    padding: .28rem .65rem; font-size: .72rem; font-weight: 700; color: var(--ink);
}
.footer-bottom { border-top: 1px solid var(--rose-dark); padding: 1.4rem 24px 2rem; font-size: .82rem; }
.disclaimer { font-size: .78rem; color: var(--ink-soft); margin-bottom: .5rem; }

/* ---------- Slider d'accueil ---------- */
.hero-slider { position: relative; }
.slider { position: relative; height: min(70vh, 600px); overflow: hidden; background: var(--rose); }
.slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity .8s ease; z-index: 1;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
}
.slide.active { opacity: 1; z-index: 2; pointer-events: auto; }
.slide-caption {
    text-align: center;
    background: rgba(26, 26, 26, .45);
    color: var(--white);
    padding: 1.6rem 2.4rem;
    border-radius: var(--radius);
    max-width: 660px; margin: 0 20px;
    backdrop-filter: blur(4px);
    transform: translateY(16px); opacity: 0;
    transition: transform .7s ease .3s, opacity .7s ease .3s;
}
.slide.active .slide-caption { transform: none; opacity: 1; }
.slide-caption h2 { color: var(--white); font-size: clamp(1.3rem, 3vw, 2rem); margin-bottom: .35rem; }
.slide-caption p { font-size: clamp(.95rem, 2vw, 1.15rem); margin-bottom: .9rem; }
.slider-prev, .slider-next {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
    width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255, 255, 255, .85); color: var(--noir);
    font-size: 1.4rem; line-height: 1; font-family: inherit;
    transition: background .2s;
}
.slider-prev:hover, .slider-next:hover { background: var(--white); }
.slider-prev { left: 18px; }
.slider-next { right: 18px; }
.slider-dots {
    position: absolute; bottom: 16px; left: 0; right: 0; z-index: 5;
    display: flex; gap: .5rem; justify-content: center;
}
.slider-dots button {
    width: 10px; height: 10px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255, 255, 255, .55); padding: 0;
}
.slider-dots button.active { background: var(--white); }

/* ---------- Blocs de réassurance ---------- */
.trust-section { padding: 2.4rem 0 1rem; }
.trust-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1rem; }
.trust-card {
    flex: 1 1 155px; max-width: 210px;
    background: var(--white);
    border: 1px solid var(--rose-dark);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem 1rem 1.2rem;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}
.trust-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trust-card svg { height: 54px; width: auto; margin: 0 auto .85rem; display: block; }
.trust-card span {
    font-family: var(--font-display); font-weight: 700;
    font-size: .76rem; letter-spacing: .8px; text-transform: uppercase;
    color: var(--ink-soft);
}
.ship-note {
    text-align: center; font-weight: 700; font-size: .85rem;
    color: var(--plum-dark); letter-spacing: .4px; text-transform: uppercase;
    padding-bottom: 1.8rem;
}

/* ---------- Section histoire : photo ---------- */
.story-photo img { border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.story-photo figcaption { font-size: .8rem; color: var(--ink-soft); text-align: center; margin-top: .5rem; }

/* ---------- Section spécialiste 01-04 ---------- */
.numbers-section h2 { text-align: center; font-size: clamp(1.5rem, 2.8vw, 2.1rem); max-width: 820px; margin: 0 auto .6rem; }
.numbers-section .tagline-olive {
    text-align: center; color: #A8B369; font-weight: 700;
    font-family: var(--font-display); font-size: clamp(1.05rem, 2.2vw, 1.4rem);
    margin-bottom: 3rem;
}
.num-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem 3rem; }
.num-item { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; }
.num-item .num {
    font-family: var(--font-display); font-weight: 700;
    font-size: 3.2rem; line-height: 1; color: #C68E8E;
}
.num-item h3 { color: #A8B369; font-size: 1.25rem; margin-bottom: .4rem; }
.num-item p { font-size: .92rem; color: var(--ink-soft); }

/* ---------- Galerie de production ---------- */
.prod-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.2rem; }
.prod-gallery img {
    width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
    border-radius: var(--radius); box-shadow: var(--shadow-sm);
    transition: transform .3s ease;
}
.prod-gallery img:hover { transform: scale(1.03); }

/* ---------- Icônes réseaux sociaux ---------- */
.social-icons { display: flex; gap: .6rem; margin-top: 1rem; }
.social-icons a {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--plum); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    padding: 0; transition: background .2s, transform .2s;
}
.social-icons a:hover { background: var(--plum-dark); color: var(--white); transform: translateY(-2px); }
.social-icons svg { width: 19px; height: 19px; }

/* ---------- Tableaux scrollables ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    /* Menu mobile animé */
    .main-nav {
        display: flex;
        position: absolute; top: 80px; left: 0; right: 0;
        background: var(--white); flex-direction: column; gap: 0;
        border-bottom: 1px solid var(--rose-dark);
        box-shadow: 0 18px 30px rgba(140, 74, 104, .14);
        padding: .5rem 0 .8rem;
        visibility: hidden; opacity: 0; transform: translateY(-10px);
        transition: opacity .25s ease, transform .25s ease, visibility .25s;
        pointer-events: none;
    }
    body.nav-open .main-nav {
        visibility: visible; opacity: 1; transform: none; pointer-events: auto;
    }
    .main-nav a { padding: .95rem 24px; font-size: 1.05rem; }
    .main-nav a::after { display: none; }
    .main-nav a:active { background: var(--rose-light); }

    /* Burger → croix */
    .nav-toggle { display: flex; }
    .nav-toggle span { transition: transform .25s ease, opacity .2s ease; }
    body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .product-detail, .cart-layout, .story-grid, .num-grid { grid-template-columns: 1fr; }
    .product-detail .product-image { position: static; max-width: 340px; margin: 0 auto; }
    .prod-gallery { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
    .slider { height: 440px; }
    .story-quote { border-right: none; border-bottom: 2px solid var(--plum); padding: 0 0 1.5rem; }
    .story-photo { max-width: 380px; margin: 0 auto; }
    .story::before { font-size: 7rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
    .form-grid { grid-template-columns: 1fr; }
    .section { padding: 3rem 0; }
    .hero { padding: 4rem 0; }
    .cart-table { min-width: 560px; }
}

@media (max-width: 560px) {
    body { font-size: 15px; }
    .container { padding: 0 16px; }

    .header-inner { height: 64px; gap: .8rem; }
    .brand img { height: 36px; }
    .main-nav { top: 64px; }
    .promo-bar { font-size: .74rem; padding: .45rem .8rem; }
    .lang-switch { font-size: .72rem; padding: .2rem .55rem; }

    .slider { height: 380px; }
    .slide-caption { padding: 1.1rem 1.3rem; margin: 0 14px; }
    .slide-caption .btn { padding: .6rem 1.4rem; font-size: .85rem; }
    .slider-prev, .slider-next { width: 36px; height: 36px; font-size: 1.1rem; }
    .slider-prev { left: 10px; }
    .slider-next { right: 10px; }

    .trust-card { flex: 1 1 42%; max-width: none; padding: 1.1rem .7rem .9rem; }
    .trust-card svg { height: 44px; }
    .ship-note { font-size: .74rem; padding: 0 16px 1.6rem; }

    .num-item .num { font-size: 2.4rem; }
    .section-title { font-size: 1.5rem; }
    .story::before { font-size: 4.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .confirm-box { padding: 2.2rem 1.4rem; }
    .cart-summary { padding: 1.3rem; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
    .product-body { padding: 1rem 1rem 1.1rem; }
    .product-body h3 { font-size: 1rem; }
    .product-desc { display: none; }
}
